Please nominate your Qt Champions for 2021! https://forum.qt.io/topic/132134/looking-for-the-2021-qt-champions
Setting Target Directory To "Program Files" When Using Installer Framework
oracle3001 last edited by
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.
Bump. I have the same problem
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
alex.araratyan last edited by
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?
You need to add
in your config.xml