Solved

Run MSI in silent mode -- where is User Interface View in VS2005?

Posted on 2010-09-20
4
766 Views
Last Modified: 2012-05-10
I have created an MSI for some third party files that is going to be deployed to my users (by someone else who is responsible for deployments) with my main application using One-Click Deploy.   I would like the MSI to run silently, with no user intervention.

Googling brought me this:

"Go into the User Interface view and delete all the dialogs under the Start node, Progress node and the End node. "

But I cannot seem to find the User Interface view this refers to in VS2005.  I can't find any "Nodes" at all....can someone guide me to the UI view?

Thanks!


0
Comment
Question by:codefinger
  • 2
  • 2
4 Comments
 
LVL 29

Expert Comment

by:nffvrxqgrcfqvvc
ID: 33718324
The full silent option won't work on Vista and later if UAC is enabled because the MSI package must ask to elevate the process. You would have to use the silent option that shows with atleast the progress dialog.
The click-once deployment feature doesn't give you much control over how installation works unless you have setup click-once to open an already existing MSI package in that case you would have to pass the correct command line parameters.

// Unattended mode - progress bar only

msiexec.exe /i "c:\setup.msi" /passive



// Quiet mode, no user interaction

msiexec.exe /i "c:\setup.msi" /quiet

Open in new window

0
 

Author Comment

by:codefinger
ID: 33720140
egl1044:
--------------------
Thank you for that information, which I am sure will prove very useful, but in your kindly haste to educate me you kinda bypassed the original question.  <grin>  

Where is the User Interface View for an MSI project in VS 2005?   I was kind of expecting an answer like File/Tools/User Interface....

BTW, I am working in XP, and all my users will have XP or lower, so Vista and above will not be an issue.

Thanks!

0
 
LVL 29

Accepted Solution

by:
nffvrxqgrcfqvvc earned 350 total points
ID: 33720232
Whoops... I hinted that the clickonce deployment doesn't give you many customizing options. You might be confusing ClickOnce with a Setup and Deployment Project which you have the options to customize the dialogs.
Walkthrough: Deploying a Windows-based Application  
http://msdn.microsoft.com/en-us/library/k3bb4tfd(v=VS.80).aspx
0
 

Author Closing Comment

by:codefinger
ID: 33720533
There was definitely some confusion, but the link provided my answer.   My part of the project was to create the silent MSI, but some one else will be deploying along with the main application using ClickONce.   The link brought me to a walk through that help me locate the User INterface, which is exactly what I needed.
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

This tutorial demonstrates one way to create an application that runs without any Forms but still has a GUI presence via an Icon in the System Tray. The magic lies in Inheriting from the ApplicationContext Class and passing that to Application.Ru…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

747 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now