[Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 200
  • Last Modified:

MSI File

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
ramrocket
Asked:
ramrocket
1 Solution
 
sumixCommented:
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
 
rinksno1Commented:
look for a silent installation option (if any) that will do the trick....
0
 
aaronfengCommented:
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
 
ramrocketAuthor Commented:
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
 
sumixCommented:

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

Prep for the ITIL® Foundation Certification Exam

December’s Course of the Month is now available! Enroll to learn ITIL® Foundation best practices for delivering IT services effectively and efficiently.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now