external application installer using vb.net

35 pts.
Tags:
Software Quality
Software Quality Assurance
VB.NET
Hi, I'm trying to create a simple application launcher in vb.net i would use at work, I'm a computer tech and i constantly need to install the same package of software on newly deployed workstations (antivirus, works, media player, etc). I've tried the following: Shell("installer path") and system.diagnostics.process.start("installer path") and even process.start("installer path) Let's use AVG antivirus as an example, all those 3 lines of code do the same, which is start the installation, but at the end unknown errors ocur and I can't finish it, it's just the same with any other program i try to install, i know the installers themselves are not corrupted because they work perfectly fine if i just simply browse the directory and double click, but doing that defeats the purpose of creating my application launcher in the first place. A coworker mentioned i have to assign resources and give the launched application total control of the machine and process.start won't do that by itself. Thanks for your help

Answer Wiki

Thanks. We'll let you know when a new response is added.

The easiest method to use would be to simply use a batch file. After each installer is launched put in a pause command so that only one is launched at a time. This way it’s very easy to modify and add additional commands later without having to recompile the launcher app.

<pre>\\FileServer\Share\AVG\setup.exe
pause
\\fileServer\Share\mplayer\setup.exe
pause
…</pre>

Thanks, but i was thinking of assigning a button to each installer, have you ever used Hiren’s Tools? kinda like that, with menus and launching an installer from an option in those menus.

Another approach can be by using the <a href=”http://technet.microsoft.com/en-us/sysinternals/bb897553.aspx”>PSEXEC </a> utility that can be launched from any console against any computer.

Discuss This Question: 1  Reply

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • alessandro.panzetta
    If what you are using are MSI files probably you need to pass some command line switches to have them working. Bye
    9,725 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following