Solved

In VB.NET (NOT vbcript) Is it possible to make a program that installs multiple 3rd party programs?

Posted on 2011-03-08
3
227 Views
Last Modified: 2012-06-21
I have 3 third party programs that each have their own .msi's for installation.  I need to be able to write a vb application that will install them all AND have no user interfaces come up that have them click next next next next etc.

I have already accomplished it with vbscript using msiexe.exe /q - but we now need it to be an application.  Preferrably a One Click application.

Is this possible and can anyone give me some links or examples?
Thank you!
0
Comment
Question by:RichardRiga
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 17

Expert Comment

by:nepaluz
ID: 35074347
I am sure you can accomplish this using Visual Studio (I do not know how, I use the Express versions which can NOT do it), however, try the NSIS package which you can configure to run your 3rd Party MSI's sequentially. (just do a google search for NSIS, its on Sourceforge)
0
 
LVL 23

Accepted Solution

by:
wdosanjos earned 500 total points
ID: 35074354
It should be something like:

Dim p As Process = Process.Start("MSIExec.exe", "/q /i mymsi.msi")

p.WaitForExit()

If p.ExitCode <> 0 Then
	' Execution Failed
End If

Open in new window

0
 
LVL 1

Author Closing Comment

by:RichardRiga
ID: 35074459
Thanks all, for taking the time.  Wdosanjos that's exactly what i was looking for.

NSIS seems to be a standalone application.  It does look neat though, thanks for the link!
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

In my previous article (http://www.experts-exchange.com/Programming/Languages/.NET/.NET_Framework_3.x/A_4362-Serialization-in-NET-1.html) we saw the basics of serialization and how types/objects can be serialized to Binary format. In this blog we wi…
Creating an analog clock UserControl seems fairly straight forward.  It is, after all, essentially just a circle with several lines in it!  Two common approaches for rendering an analog clock typically involve either manually calculating points with…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.

623 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