Automated Install of a .NET application

Automated Install of a .NET application

am 20.12.2007 15:27:49 von MANILAS.BRAHMS

I would like to do an unattended/automated installation of a .NET
application.
I have a deployment project which creates a setup.exe and *.msi file
which asks the user for a couple of parameters while installing.
As part of my automated build/deploy process, I would like to automate
(1) removing the old version and (2) installing this msi file using
msiexec and to take these parameters from a configuration file. I am
struggling to find any useful documentation on the internet. Any help,
pointers, links would be greatly appreciated.

Re: Automated Install of a .NET application

am 20.12.2007 17:01:18 von Phil Wilson

You can't get parameters from a file. Specify properties on the command line
such as:
msiexec /i MYPROP=XX /qn

where /q is silent install.

--
Phil Wilson
[Microsoft MVP-Windows Installer]

wrote in message
news:98d73011-7411-4786-b516-29f2865bbb2e@n20g2000hsh.google groups.com...
>I would like to do an unattended/automated installation of a .NET
> application.
> I have a deployment project which creates a setup.exe and *.msi file
> which asks the user for a couple of parameters while installing.
> As part of my automated build/deploy process, I would like to automate
> (1) removing the old version and (2) installing this msi file using
> msiexec and to take these parameters from a configuration file. I am
> struggling to find any useful documentation on the internet. Any help,
> pointers, links would be greatly appreciated.

Re: Automated Install of a .NET application

am 28.01.2008 13:15:02 von MANILAS.BRAHMS

Phil, thanks for your reply.

In my setup project I have a TEXTBOXES (A) dialog in my user
interface. Here I ask for input from the user to specify a database
server. In VS this property,
Edit1Property, is specified as EDITA1.
I have attempted to set this property at the command line by using the
following line:

msiexec /i CodexServerSetup.msi EDITA1= /qn

However this does not seem to work and the setup always uses the
default setting in the project. Am I missing something obvious?

Many thanks