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
- :
- Re: changing value of string table identifier within the Installscript
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
‎Apr 22, 2009
08:06 PM
changing value of string table identifier within the Installscript
Is it possible to change the value of a string table identifier within the Installscript? I have an Installscript MSI project that creates two websites in IIS as well as virtual directories and application pools, and I would like for the user to be able to provide names for these during the installation. I thought I could set these up in the IDE using a variable name for the ID_STRING value and then substitute the user response for each through the script. So far no luck, and I don't want to spend any more time on it if it isn't possible.
I would greatly appreciate any insight.
I would greatly appreciate any insight.
(5) Replies
‎Aug 07, 2019
10:32 PM
It only work with properties, not String Identifiers
‎Apr 23, 2009
07:53 AM
The following may help:
Using Windows Installer Properties to Dynamically Modify IIS Settings
Using Windows Installer Properties to Dynamically Modify IIS Settings
‎Aug 07, 2019
10:31 PM
You are able to read with the method LoadStringFromStringTable ("ID_STRING", svIdString);
equivalent to svIdString = @ID_STRING; //Not ANSI supported
unlike of
MsiGetProperty (hMSI, "YourProperty", svYourProperty, nvSize); that it is for read Property values.
But there is no way to set values into StringTable, I think it is due to the string names are converted to its value in compilation time (I am not sure at 100% of this)
equivalent to svIdString = @ID_STRING; //Not ANSI supported
unlike of
MsiGetProperty (hMSI, "YourProperty", svYourProperty, nvSize); that it is for read Property values.
But there is no way to set values into StringTable, I think it is due to the string names are converted to its value in compilation time (I am not sure at 100% of this)