Changing INSTALLDIR in command line - Advanced Installer Community

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!

fazza
Posts: 12
Joined: Tue May 19, 2009 11:22 am

Changing INSTALLDIR in command line

Hi,

I created an MSI using AdvancedInstaller. I'm using the following line to install the MSI:

Code: Select all

msiexec.exe /i Product.msi /qn INSTALLDIR=D:\ProductFolder
Somehow the APPDIR is not updated and it is still using the default path defined in the project. I tried to use:

Code: Select all

msiexec.exe /i Product.msi /qn APPDIR=D:\ProductFolder
No luck so far. Any idea what is wrong?

thanks,
Faried
fazza
Posts: 12
Joined: Tue May 19, 2009 11:22 am

Re: Changing INSTALLDIR in command line

I think the problem lies in the path length. I manage to make it work using APPDIR with shorter path.

Sorry for the trouble.

fazza wrote:Hi,

I created an MSI using AdvancedInstaller. I'm using the following line to install the MSI:

Code: Select all

msiexec.exe /i Product.msi /qn INSTALLDIR=D:\ProductFolder
Somehow the APPDIR is not updated and it is still using the default path defined in the project. I tried to use:

Code: Select all

msiexec.exe /i Product.msi /qn APPDIR=D:\ProductFolder
No luck so far. Any idea what is wrong?

thanks,
Faried

Return to “Common Problems”