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
219 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
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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

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…
For those of you who don't follow the news, or just happen to live under rocks, Microsoft Research released a beta SDK (http://www.microsoft.com/en-us/download/details.aspx?id=27876) for the Xbox 360 Kinect. If you don't know what a Kinect is (http:…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

786 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