Archive: NSIS default instal directory.


NSIS default instal directory.
I am using NSIS " HM NIS EDIT" ver 2.0.3.
I have first created an installer with default instal directory as "e:\Program Files\xxxx\Application\example code1.0.0\".The installation went on well with no issues.
During the installation . The install Location window displays the Destination folder as "e:\Program Files\xxxx\Application\example code1.0.0\". This is correct.

Later I have created another installer with default install directory as "e:\Program Files\xxxx\Application\example code1.1.1\". During the installation of this new installer, I found that the
destination folder as "e:\Program Files\xxxx\Application\example code1.0.0\". But it shold have taken destination folder path as "..\..\..\example code 1.1.1.
Also I have attached a NSIS script file

Please let me know , where is the problem


2nd installer gets the value from InstallDirRegKey, you must change the definition PRODUCT_DIR_REGKEY for both installers to unique values.