We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

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: 7853
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 4005 times

Hope this helps.

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

Return to “Common Problems”