Setting Target Directory To "Program Files" When Using Installer Framework
-
When using the installer framework, in the config.xml you set the Target Directory.
<TargetDir>@RootDir ?????? </TargetDir>
I would like it to have to choose Program Files or Program Files (x86) dependent on the machine being 32 or 64 bit. Is there an @ variable to call here.
Note:- This will be a windows installer, so no concerns about cross platform.
-
Looking at the source code I found that there's a var for the current applications dir so that you can set it as a default.
the var is: ApplicationsDir (line 85).
I use that
-
Thanks! It works.
But now the "Next" button is disabled in the installation wizard. It complains that "Program Files" folder contains space.
It looks like there is no way to select installation folder containing space.
Anyone else has this issue?