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
212 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
Comment Utility
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
Comment Utility
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
Comment Utility
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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Many of us here at EE write code. Many of us write exceptional code; just as many of us write exception-prone code. As we all should know, exceptions are a mechanism for handling errors which are typically out of our control. From database errors, t…
A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

763 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now