hello!
what can i do if i want the installdir depending on a registry entry. the default installpath shoud be read from the registry.
thanks,
Quentin Denis
This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
INSTALLDIR from registry
Started by
denisq
, Jan 24 2003 11:20
5 replies to this topic
Posted 24 January 2003 - 22:08
This is fairly easy - You can do this with a custom action: grab the value from the registry in installscript RegGetDBRegistryValue or some similar function and store the value in the INSTALLDIR property using MSiSetProperty.
Posted 21 April 2003 - 19:58
QUOTE (denisq @ 2003-01-25 10:27) |
and if i want the setup to quit if the entry is not present? |
Easy - if you create a Property value called "IsRegPresent" and assign it a 0 - if not present. and 1 - if it is present within the custom action that you wrote.
now that the property is set, you can check for this property in the install sequence. if 0, then quit.
Posted 25 April 2003 - 09:44
How do you get the value of the INSTALLDIR into the vbscript portion of a custom action ?
is it a normal property ?
is it a normal property ?
Posted 27 April 2003 - 18:58
snippet :
Dim myProp
myProp = session.Property("INSTALLDIR")
Dim myProp
myProp = session.Property("INSTALLDIR")
Rajiv Madassery
Galway Scripting Center
Digital GlobalSoft Ltd.
(Subsidiary of Hewlett-Packard Company)
Galway Scripting Center
Digital GlobalSoft Ltd.
(Subsidiary of Hewlett-Packard Company)