Last post Feb 19, 2010 12:15 PM by drhender
Feb 17, 2010 11:42 AM|drhender|LINK
I have a VS project (web service) for which I created a standard VS Web Setup project. That project creates the typical setup.exe and project.msi files. When run interactively, the setup prompts the user to select an IIS Site, a Virtual directory and the
Application Pool. I'd like to drive this setup silently from a script, passing the necessary args on the command-line such that the user isn't prompted. I've played some with the args in an attempt to set those three prompts using properties, but without
Can anyone tell me if there are public properies on the MSI that would allow me to set those prompts via the command-line?
installation setup command-line
Feb 19, 2010 12:15 PM|drhender|LINK
Using a n MSI Viewer that I found via Bing, I was able to find the public properties that are exposed by the MSI created by the web setup project. Only two of the three properties I was looking for appear to be exposed: TARGETSITE and TARGETAPPPOOL.
So to drive this from the command line...
msiexec.exe /i MyWebProject.msi /q TARGETAPPPOOL="My App Pool" TARGETSITE="My App Site"
Hope others find the info useful.