473,387 Members | 1,520 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

MSI install in silent mode

Hi, I've created an application that uses crystal report in VB dotnet
environment. I've created an MSI package to be installed on the
client pc to make the crystal report to work. However, the MSI
requires User Intervention. Does anyone know how to create MSI in a
silent mode in visual studio. This application will be pushed to the
client from the server and the MSI package needs to be in a silent
mode meaning all the user intervention should be pre-defined or
pre-answered in the package. Any help is greatly appreciated.

Thanks,
Teresa
Jul 21 '05 #1
3 41791
You can do it in command line mode:
msiexec /i <path to msi file> /q
where /q has a choice of flavors of quietness, qn, qb, qb+ etc

Another choice is a vb script (or program equivalent) to this:

set obj = createobject("WindowsInstaller.Installer")
obj.uilevel = 2
obj.InstallProduct("path to your.msi")

The default installation folder depends on ProductName and Manufacturer
properties in the setup project's properties, so that would be automatic. That
leaves mainly "Everyone" or "Just me" choices in the UI to be resolved, and you
can fix that by getting Orca (install from Orca.msi in the Platform SDK, Windows
Installer section) and editing FormFolder_AllUsers in the Property table to be
ALL instead of ME if you want a per-machine installation.
--
Phil Wilson [MVP Windows Installer]
----
"TThai" <tp****@pepco.com> wrote in message
news:7f**************************@posting.google.c om...
Hi, I've created an application that uses crystal report in VB dotnet
environment. I've created an MSI package to be installed on the
client pc to make the crystal report to work. However, the MSI
requires User Intervention. Does anyone know how to create MSI in a
silent mode in visual studio. This application will be pushed to the
client from the server and the MSI package needs to be in a silent
mode meaning all the user intervention should be pre-defined or
pre-answered in the package. Any help is greatly appreciated.

Thanks,
Teresa

Jul 21 '05 #2
Or, you can just delete all the dialogs from the User Interface editor. I
think Nick's suggestions are technically better, but this is another
approach.
---
David Guyer - VBQA Deployment Testing
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
Reply-To: "Phil Wilson" <ph*********@unisys.spamcom>
From: "Phil Wilson" <ph*********@unisys.spamcom>
References: <7f**************************@posting.google.com >
Subject: Re: MSI install in silent mode
Date: Fri, 12 Sep 2003 11:01:46 -0700
Lines: 34
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
Message-ID: <e0**************@TK2MSFTNGP12.phx.gbl>
Newsgroups: microsoft.public.dotnet.general
NNTP-Posting-Host: 192.59.186.207
Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTN GP12.phx.gbl
Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.general:108316
X-Tomcat-NG: microsoft.public.dotnet.general

You can do it in command line mode:
msiexec /i <path to msi file> /q
where /q has a choice of flavors of quietness, qn, qb, qb+ etc

Another choice is a vb script (or program equivalent) to this:

set obj = createobject("WindowsInstaller.Installer")
obj.uilevel = 2
obj.InstallProduct("path to your.msi")

The default installation folder depends on ProductName and Manufacturer
properties in the setup project's properties, so that would be automatic. Thatleaves mainly "Everyone" or "Just me" choices in the UI to be resolved, and youcan fix that by getting Orca (install from Orca.msi in the Platform SDK, WindowsInstaller section) and editing FormFolder_AllUsers in the Property table to beALL instead of ME if you want a per-machine installation.
--
Phil Wilson [MVP Windows Installer]
----
"TThai" <tp****@pepco.com> wrote in message
news:7f**************************@posting.google. com...
Hi, I've created an application that uses crystal report in VB dotnet
environment. I've created an MSI package to be installed on the
client pc to make the crystal report to work. However, the MSI
requires User Intervention. Does anyone know how to create MSI in a
silent mode in visual studio. This application will be pushed to the
client from the server and the MSI package needs to be in a silent
mode meaning all the user intervention should be pre-defined or
pre-answered in the package. Any help is greatly appreciated.

Thanks,
Teresa



Jul 21 '05 #3
Umm.. I mean Phil's suggestions. My apologies!

---
David Guyer - VBQA Deployment Testing
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
Newsgroups: microsoft.public.dotnet.general
From: da****@online.microsoft.com (David Guyer [MS])
Organization: Microsoft
Date: Fri, 12 Sep 2003 19:37:01 GMT
Subject: Re: MSI install in silent mode
X-Tomcat-NG: microsoft.public.dotnet.general
MIME-Version: 1.0
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

Or, you can just delete all the dialogs from the User Interface editor. I
think Nick's suggestions are technically better, but this is another
approach.
---
David Guyer - VBQA Deployment Testing
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
Reply-To: "Phil Wilson" <ph*********@unisys.spamcom>
From: "Phil Wilson" <ph*********@unisys.spamcom>
References: <7f**************************@posting.google.com >
Subject: Re: MSI install in silent mode
Date: Fri, 12 Sep 2003 11:01:46 -0700
Lines: 34
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
Message-ID: <e0**************@TK2MSFTNGP12.phx.gbl>
Newsgroups: microsoft.public.dotnet.general
NNTP-Posting-Host: 192.59.186.207
Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTN GP12.phx.gbl
Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.general:108316
X-Tomcat-NG: microsoft.public.dotnet.general

You can do it in command line mode:
msiexec /i <path to msi file> /q
where /q has a choice of flavors of quietness, qn, qb, qb+ etc

Another choice is a vb script (or program equivalent) to this:

set obj = createobject("WindowsInstaller.Installer")
obj.uilevel = 2
obj.InstallProduct("path to your.msi")

The default installation folder depends on ProductName and Manufacturer
properties in the setup project's properties, so that would be automatic.

That
leaves mainly "Everyone" or "Just me" choices in the UI to be resolved,

and you
can fix that by getting Orca (install from Orca.msi in the Platform SDK,

Windows
Installer section) and editing FormFolder_AllUsers in the Property table

to be
ALL instead of ME if you want a per-machine installation.
--
Phil Wilson [MVP Windows Installer]
----
"TThai" <tp****@pepco.com> wrote in message
news:7f**************************@posting.google .com...
Hi, I've created an application that uses crystal report in VB dotnet
environment. I've created an MSI package to be installed on the
client pc to make the crystal report to work. However, the MSI
requires User Intervention. Does anyone know how to create MSI in a
silent mode in visual studio. This application will be pushed to the
client from the server and the MSI package needs to be in a silent
mode meaning all the user intervention should be pre-defined or
pre-answered in the package. Any help is greatly appreciated.

Thanks,
Teresa



Jul 21 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Analyst | last post by:
Is it possible to install DB2 CAE v5.2 using a response file ? From one of IBMs tech article, I found that the IBM DB2 Universal DB can be installed using a response file. My objective it to...
2
by: ray well | last post by:
hi, if a earlier version of mdac_typ.exe is run to install (i would be doing that in silent mode)on a machine that already has a later version installed in it, what happens? does it get...
3
by: TThai | last post by:
Hi, I've created an application that uses crystal report in VB dotnet environment. I've created an MSI package to be installed on the client pc to make the crystal report to work. However, the...
3
by: Chad Smith | last post by:
Hi, I have created a .NET deployment project in Visual Studio 2003. I have specified an entry point into my own code in this installer which launches into the familiar: public override void...
4
by: Steve Teeples | last post by:
I have created an application install project that conditionally installs ..NET Frameworks 2.0 if it doesn't already exist on the target system before the app is installed. What I want to do is...
3
by: Olav | last post by:
Hi all, I can not install CF 2.0 SP 1 on an Symbol PPT8800 running WinCE 4.2. The Install-Log say's cgacutil.exe failed with exit-code 80000004 and I get a messagebox indicating a support-Info...
1
by: goose28 | last post by:
Instructions for creating a silent install project in Visual Studio.NET 2003 for "All Users". 1) Create a default setup project for your application using Visual Studio (File/New/Setup and...
0
by: MNMikew | last post by:
I'm attempting to do a silent install of NetSearch Extender (NSE) on a Windows 64bit machine and it is not creating the Windows service. If I run the GUI install in record mode (setup.exe -r) it...
3
by: Jean-Marc Blaise | last post by:
Hi, I've been trying for 2 hours to install in silent mode a DB2 9 runtime client. Why didn't you make this process as simple as for the CLIENT install ? It is not the same setup command, you...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.