Skip to content
⌘ NSIS Forum Archive

Setting install dir as command prompt parameter

3 posts

cvc#

Setting install dir as command prompt parameter

Hello,

Been searching the forum a while now and have not found the answer to my problem.

I have a compiled and working install file. What I would like to to do is to change the parameter InstallDir from the windows command prompt so that the default shown value of the install directory will be my new set input:
MySetupFile.exe "$InstallDir=C:\Program1"

Is this possible to do?

Any help would be greatly appreciated!
Thank you in advance!

Kristian
pengyou#
The answer is in the manual (Common Options):

cvc#
Thank you very much! And sorry for beeing sloppy and not looking through the manual carefully enough...