HighTechTalks DotNet Forums  

Automated Install of a .NET application

Dotnet General Discussions microsoft.public.dotnet.general


Discuss Automated Install of a .NET application in the Dotnet General Discussions forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
MANILAS.BRAHMS@googlemail.com
 
Posts: n/a

Default Automated Install of a .NET application - 12-20-2007 , 09:27 AM






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.

Reply With Quote
  #2  
Old   
Phil Wilson
 
Posts: n/a

Default Re: Automated Install of a .NET application - 12-20-2007 , 11:01 AM






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 (DOT) com> wrote

Quote:
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.



Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.