To change these default settings you have to create the file
scripts/custom-windows.bat and overwrite the different settings
without effect to the SCM (git). Example for
There are issues with the NSIS_DIR path on 64 Bit Windows. When NSIS
is installed in the Program Files (x86) folder and NSIS_DIR is added
to the PATH, something goes wrong in the build process.
In this case use the command dir /X \ and get an output like this:
09/02/2014 09:50 PM <DIR> PROGRA~1 Program Files
10/27/2014 12:33 PM <DIR> PROGRA~2 Program Files (x86)
08/16/2014 10:49 PM <DIR> Qt
dir /X \
Open up a command prompt and literally type
dir /X \. The output will show the mapping between the short folder names and the long ones.
Your goal is to use the correct short form representation for
Program Files (x86) in
NSIS_DIR, since it's not always
PROGRA~2. It can vary from filesystem to filesystem, based on the history of the filesystem.