I'm creating a Basic MSI and in a merge module I have 3 components, one of which has the registry entries. The string values have a value of [SOURCEDIR]SomeDirectory. The merge module is added to an IS12 installer project.
After the install, the user computer registry entry equates to D:\SomeDirectory. (D:\ being the CD ROM drive.) No problem so far.
During a REPAIR, the drive letter disappears and the directory remains. I need to keep that CD ROM drive letter.
I have tried setting the condition on the component to "NOT Installed" hoping that the registry entry will not be changed but that didn't work.
Any suggestions?
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.
Merge Module Component and Conditions
Started by
Tyler Curtis
, Mar 10 2007 01:49
2 replies to this topic
Posted 13 March 2007 - 22:18
Properties are not persisted, so you would have to read the regsitry entry into a property (using System Search) at the beginning of your setup.
What you could try is a condition of Not Installed and "re-evaluate condition" set to yes. But that could make the entry disappear completely in case of repair.
What you could try is a condition of Not Installed and "re-evaluate condition" set to yes. But that could make the entry disappear completely in case of repair.
Stefan Krüger
InstallSite.org twitter facebook