Go Premium for a chance to win a PS4. Enter to Win

x
?
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
Medium Priority
?
232 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 2000 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

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

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

This document covers how to connect to SQL Server and browse its contents.  It is meant for those new to Visual Studio and/or working with Microsoft SQL Server.  It is not a guide to building SQL Server database connections in your code.  This is mo…
Hello there! As a developer I have modified and refactored the unit tests which was written by fellow developers in the past. On the course, I have gone through various misconceptions and technical challenges when it comes to implementation. I would…
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…
When cloud platforms entered the scene, users and companies jumped on board to take advantage of the many benefits, like the ability to work and connect with company information from various locations. What many didn't foresee was the increased risk…
Suggested Courses

783 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