[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 298
  • Last Modified:

VB.Net program to launch setup file depending on Outlook version

I developed 3 VSTO programs targetting Outlook 2003, 2007 and 2010.  I would now like to create an installer program that launches the correct setup program depending on the user Outlook version.  I can figure out the Office version but how do I launch the vsto setup program?  I'm planning on storing the different setup and msi files at an http site.  Can this work or should I be looking at some other method?

(using Visual Studio 2008)  
0
inkineu
Asked:
inkineu
  • 6
  • 6
1 Solution
 
CodeCruiserCommented:
You can have an exe which checks the version and runs the appropriate setup.
0
 
inkineuAuthor Commented:
Right, but what vb statement do I use to invoke the setup.exe file?  I had tried the process.start but it came up with an error stating that this program cannot run in DOS mode.
0
 
CodeCruiserCommented:
Try the Shell command. You can also try to launch the setup.exe instead of the MSI.
0
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!

 
inkineuAuthor Commented:
What method do sites like LogMeIn use to install their programs?  I need to create a similar method, as in, User enters a secure site, clicks a button that then runs the setup.exe file for their particular setup.
0
 
CodeCruiserCommented:
I have never used Logmein but sites like MSDN give user the options and user can download appropriate setup.
0
 
inkineuAuthor Commented:
I suppose what I'm trying to find out is am I using the best tool / method to accomplish my task or do websites use alternate / better methods.
0
 
CodeCruiserCommented:
You can use the info sent by browser with the request to find out certain things such as Operating System version but you cant check the outlook version.
0
 
inkineuAuthor Commented:
So then I guess the way to do it is from the site have the user download the installer program and that would then pickup the correct setup version from the http site. Correct?
0
 
CodeCruiserCommented:
Yeah you can do that. Many sites work this way. But you would also provide a full version for offline installation right?
0
 
inkineuAuthor Commented:
We wouldn't need an offline installation as they would need internet access for the application.
0
 
CodeCruiserCommented:
Cool.
0
 
inkineuAuthor Commented:
Thank you
0

Featured Post

Get your Conversational Ransomware Defense e‑book

This e-book gives you an insight into the ransomware threat and reviews the fundamentals of top-notch ransomware preparedness and recovery. To help you protect yourself and your organization. The initial infection may be inevitable, so the best protection is to be fully prepared.

  • 6
  • 6
Tackle projects and never again get stuck behind a technical roadblock.
Join Now