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
ramrocketAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
C#

From novice to tech pro — start learning today.