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”