Solved

Visual Basic InstallShield help

Posted on 2000-04-11
1
230 Views
Last Modified: 2013-11-25
I am creating a setup program using InstallShield 5. I need to know how to shell and launch executables from setup.
Any help or direction greatly appreciated.
0
Comment
Question by:mcdonald_g
1 Comment
 

Accepted Solution

by:
BEVIS earned 50 total points
ID: 2708144
Hi you can use LaunchApp
or LaunchAppAndWait
Here is an example for LaunchApp

#define APPLICATION WINDIR^"Notepad.exe"
#define CMD_LINE    WINDIR^"Readme.txt"

program

   // Launch the Windows Notepad application to edit
   // the Windows Readme.txt file.
   if (LaunchApp (APPLICATION, CMD_LINE) < 0) then

      MessageBox ("Unable to launch "+APPLICATION+".", SEVERE);

   endif;

endprogram
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

707 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

12 Experts available now in Live!

Get 1:1 Help Now