PDA

View Full Version : dynamic registry entries ?



FatDave
09-08-2004, 02:20 PM
I have the InstallShield X Express edition. I am trying to create a registry entry with a dynamically assigned value. Is this possible with InstallShield X Express ?

I have seen that there may be ways to do it with InstallScript (don't really know what that is).

Also, I would prefer if InstallShield (or windows installer) actually put the registry entry in place. i.e. I don't want a dll, exe, or VBScript to actually put the reg file in place. However, I was thinking I might have to create the dynamic reg file itself with one of the above.

Thanks for any help !

TsungH
09-08-2004, 02:30 PM
With Express Edition, you will probably need to create Custom Action to set property value in order to create dynamic registry entries as indicated in Creating Registry Values (http://documentation.installshield.com/Robo/BIN/Robo.dll?tpc=/robo/projects/isxhelpx/IHelpRegistryValues.htm).

FatDave
09-08-2004, 02:39 PM
This sounds like it would be a good thing to try. How does one "set property value" or where can I find documentation on this. What if I wanted to set property value to some dynamically generated decimal number ? Is that possible ?

TsungH
09-08-2004, 03:00 PM
For setting/getting property value, please look up KB article Q108003, HOWTO: Setting or Getting the Value of a Property Via a VBScript Custom Action, in InstallShield.com Search (http://www.installshield.com/search/).

In MSI, properties value is of text data type. Numbers will have to be treated as strings. For additional information, please refer to Property Table (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/msi/setup/property_table.asp).

FatDave
09-08-2004, 03:10 PM
Thank you