Automated Install of a .NET application

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.
MANILAS.BRAHMS [ Do, 20 Dezember 2007 15:27 ] [ ID #1891123 ]

Re: Automated Install of a .NET application

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

where /q is silent install.

--
Phil Wilson
[Microsoft MVP-Windows Installer]

<MANILAS.BRAHMS [at] googlemail.com> wrote in message
news:98d73011-7411-4786-b516-29f2865bbb2e [at] 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.
Phil Wilson [ Do, 20 Dezember 2007 17:01 ] [ ID #1891128 ]

Re: Automated Install of a .NET application

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=<Database_name> /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
MANILAS.BRAHMS [ Mo, 28 Januar 2008 13:15 ] [ ID #1917821 ]
Microsoft » microsoft.public.dotnet.general » Automated Install of a .NET application

Vorheriges Thema: Printing to a network printer from windows 2003 server fails...
Nächstes Thema: Sorting lists in .Net - why it sucks