Jump to content


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.
Photo

Merge Module Component and Conditions


2 replies to this topic

Tyler Curtis

Tyler Curtis
  • Full Members
  • 24 posts

Posted 10 March 2007 - 01:49

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?
Thanks!
Tyler Curtis
Craftsman Book Company

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

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.

Tyler Curtis

Tyler Curtis
  • Full Members
  • 24 posts

Posted 21 March 2007 - 16:29

Thanks, I'll look into both!
Thanks!
Tyler Curtis
Craftsman Book Company