This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Problem with using IS_SQLSERVER_PASSWORD within script
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Oct 10, 2008
04:11 AM
Problem with using IS_SQLSERVER_PASSWORD within script
I am trying the dynamically update a database connection within a web.config file. But when I try to use the property IS_SQLSERVER_PASSWORD, the property only returns the first letter of the password.
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Oct 10, 2008
12:58 PM
How do you retrieve the value of the IS_SQLSERVER_PASSWORD property? I just tested with the MsiGetProperty function in an InstallScript custom action, and I was able to get the whole string stored in the property.
function MyFunction(hMSI)
// To Do: Declare local variables.
string szValue;
number nValue;
begin
// To Do: Write script that will be executed when MyFunction is called.
nValue = 250;
MsiGetProperty(ISMSI_HANDLE, "IS_SQLSERVER_PASSWORD", szValue, nValue);
MessageBox( szValue, MB_OK );
end;