Automated Install of a .NET application

  • Thread starter Thread starter MANILAS.BRAHMS
  • Start date Start date
M

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.
 
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, 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
 
Back
Top