Page 1 of 1

Change <InstallDir> from command line

Posted: Mon Oct 30, 2023 3:15 pm
by djransom
I have a user that wants to run my app installer via a script on the command line. They want to be able to change the default install directory. Is this possible?

I've tried using the /D switch with no luck so far. I tried something like:

Code: Select all

C:Setup.exe /D C:/NewPath/

Re: Change <InstallDir> from command line

Posted: Wed Nov 08, 2023 5:39 am
by Leo
Please try this:

Code: Select all

C:\Setup.exe /D "C:\NewPath"
Make sure the path to the setup executable is correct.