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.

Changeing the target directory

1 reply to this topic


  • Full Members
  • 30 posts

Posted 26 September 2005 - 15:28


I created a small MSI file via visual studio .net (deployment project)
I want to set the Installation Target dir to d:\myApp.
I made this change and it works great.

But the problems occours on machines which doesn't have Drive D.
The installation cannot start itself because it says that drive D is not exists.

Can I set the TargetDir to Drive D and If it not exist to Set it back to C ??



  • Full Members
  • 121 posts

Posted 28 September 2005 - 16:05

Your INSTALLDIR should look some thing like "[ProgramFilesFolder]myApp"

If you want myApp folder to be on root instead of inside Program Files folder, then INSTALLDIR should look like "[WindowsVolume]myApp"
  ankur tyagi