Hi, I have a problem with "INSTALLDIR".
I change the "INSTALLDIR" from "[ProgramFilesFolder]MUDPRO" to "C:\PVI\MUDPRO". In this case, the software is not installed to the program file folder, but "C:\PVI\MUDPRO" instead.
The path "C:\PVI\MUDPRO" is an absolute path. If user's operating system is not installed on disk C, for example disk D, the software is stilled installed at "C:\PVI\MUDPRO".
But I hope that it can automatically detect which disk the operating system is installed. If the OS is at disk C, the default installation directory is "C:\PVI\MUDPRO", if the OS is at disk D, the default installation directory is "D:\PVI\MUDPRO".
Could anyone tell me how to configure the "INSTALLDIR" to make it work?
Thank you so much.
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.

Absolute or relative "INSTALLDIR"
Started by
joeychou1985
, Oct 06 2010 17:37
2 replies to this topic
Posted 07 October 2010 - 06:36
Have a look at this:
http://msdn.microsof...y/aa372817.aspx
Also, it is not advisable to have an installation path as you are using currently.
The proper way is to have your application installed in [ProgramFilesFolder].
Please adhere to Windows Installer installation rules to avoid issues in the future.
http://msdn.microsof...y/aa372817.aspx
Also, it is not advisable to have an installation path as you are using currently.
The proper way is to have your application installed in [ProgramFilesFolder].
Please adhere to Windows Installer installation rules to avoid issues in the future.