all groups > dotnet setup > february 2007 >
You're in the

dotnet setup

group:

Passing parameter to MSI


Passing parameter to MSI Cleyton
2/7/2007 4:55:01 AM
dotnet setup:
Hello!

Someone knows if I can pass the path where I want to install my application
to a MSI, passing like parameters?

For instance: MyMsiIntaller.msi /something="mypath"

Re: Passing parameter to MSI Cleyton
2/8/2007 5:22:00 AM
Really thanks!!! It's this that I was looking for.

[quoted text, click to view]
Re: Passing parameter to MSI jacky kwok
2/8/2007 10:00:58 AM
[quoted text, click to view]

take a look of the installer service parameters:

http://msdn2.microsoft.com/en-us/library/aa367988.aspx

http://msdn2.microsoft.com/en-us/library/aa372024.aspx

e.g. for installation path of window app (not web app)

"msiexec /i installer.msi TARGETDIR=c:\abcdefg"

--
Jacky Kwok
AddThis Social Bookmark Button