Automated Install of a .NET application

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.
 
P

Phil Wilson

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.
 
M

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=<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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top