Solved

MSI File

Posted on 2006-06-23
5
195 Views
Last Modified: 2010-04-16
Is there a way to bypass the different dialog install windows and have the install program directly do the install.  The user does not need to change the TARGETDIR.  I am trying to minimize the amount of click and user interaction during install process.


thanks
0
Comment
Question by:ramrocket
5 Comments
 
LVL 12

Expert Comment

by:sumix
ID: 16974323
In a VS Net deployment project you can open 'User Interface Editor' designer, and delete all the leafs in Install->Start,Progress,End nodes
0
 
LVL 3

Expert Comment

by:rinksno1
ID: 16974618
look for a silent installation option (if any) that will do the trick....
0
 
LVL 5

Expert Comment

by:aaronfeng
ID: 16975978
You can run the msi on the command line by using msiexec command.  Depending on how the msi was built, you might be able to use the /quiet option on msiexec command to avoid user interaction.  For more information on the msiexec you can do msiexec /? to find out all the options.

Cheers,

Aaron
http://www.geekswithblogs.com/afeng
0
 

Author Comment

by:ramrocket
ID: 16976124
sumix, I like your approach.  I didnt know you can delete the all the leaf nodes.  Do you know of any documentation on this.  Once you delete all the nodes, what determines the process flow.  Do you have a sample setup project I can take a look at?
0
 
LVL 12

Accepted Solution

by:
sumix earned 100 total points
ID: 16979253

There's a lot of documentation about creting setup project with vs, for example this article gives some details about setup projects editors, including 'User Interface Editor'.

http://www.codeguru.com/csharp/.net/net_vs_addins/visualstudioadd-ins/article.php/c7245

To access this editor you simply select the setup project in solution explorer, then in main menu go to View->Editor->User Interface. If you delete all the leaf nodes in Install root node, when you try to install lthe application you'll get a window at start, but you will not see the installation progress and you will not know when the setup ends. So, at least Progress window (Progress node) and Finished (End node) should be kept.
0

Featured Post

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Extention Methods in C# 3.0 by Ivo Stoykov C# 3.0 offers extension methods. They allow extending existing classes without changing the class's source code or relying on inheritance. These are static methods invoked as instance method. This…
Introduction Hi all and welcome to my first article on Experts Exchange. A while ago, someone asked me if i could do some tutorials on object oriented programming. I decided to do them on C#. Now you may ask me, why's that? Well, one of the re…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

828 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