64-bit installer DefaultLocation RRS feed

  • Question

  • Hi,

    I'm creating an installer for both a x64 and a x86 release. When you leave everything default, it is very easy to just switch the TargetPlatform property between x86 and x64. The DefaultLocation of the Application Folder in File System Editor is altered automatically when the TargetPlatform property is changed.  However, when I change the value of DefaultLocation and set it to e.g. [ProgramFilesFolder]MyFolder\MySubFolder then the [ProgramFilesFolder] is no longer altered when changing the TargetPlatform. Is there any way to correct this, maybe set an expression in the DefaultLocation that checks for the TargetPlatform or something? Now it looks like I have to create another setup and deployment project just for changing the targetdir.

    Cheers, Stefan

    Friday, June 8, 2012 10:26 AM


All replies