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

Changing INSTALLDIR on run time


1 reply to this topic

Artyom

Artyom
  • Full Members
  • 6 posts

Posted 06 September 2006 - 07:08

Is there a way to determine INSTALLDIR on run time? from an ini file, for instance, or by checking files that are going to be installed.

Thanks.

Barbara

Barbara
  • Members
  • 89 posts

Posted 06 September 2006 - 08:19

You can use a custom action with the MSISetProperty funtion and set the INSTALLDIR at runtime. If you can read the INSTALLDIR e.g. from the registry you can use the AppSearch and RegLocator tables to set the INSTALLDIR to a specific value.

Barbara
The difference between theory and practice is larger in practice than in the theory.