set installation folder path from cmd... - Advanced Installer Community
istok20
Posts: 2
Joined: Wed Oct 19, 2016 6:02 pm

set installation folder path from cmd...

How to set the custom installation folder path when running msi from cmd? (installdir, appdir parameters did not work)
Catalin
Posts: 7852
Joined: Wed Jun 13, 2018 7:49 am

Re: set installation folder path from cmd...

Hello,

In order to set the installation folder from command line, the APPDIR property should be used.

Please note that the property should be passed as full capital letters (i.e. APPDIR not appdir or Appdir).

Additionally, no space characters should be inserted before and after the "=" character.

Working example:

Code: Select all

APPDIR=C:\
Not working example:

Code: Select all

APPDIR = C:\
For instance, the command line can look something as it follows:

setAppdir.png
setAppdir.png (87.11 KiB) Viewed 3993 times

Hope this helps.

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”