I make up the InstallDir using:
InstallDir "$PROGRAMFILES\MyCompany\${PRODUCT_FULL_NAME}"Where the variables are something like;So the install dir should look something like
!define PRODUCT_NAME "MyProgram"
!define PRODUCT_VERSION "2.0 RC2"
!define PRODUCT_FULL_NAME "${PRODUCT_NAME} ${PRODUCT_VERSION}"
"C:\Program Files\MyCompany\MyProgram 2.0 RC2"
But instead I get
"C:\Program Files\MyCompany\MyProgram 2.0 RC1"
which I previously used as installdir.
I'm 100% positive that I changed the variable in the NSIS script. The variable is used in the output file, why I know it's right.
Any ideas to why this happens?