Solved

Visual Basic InstallShield help

Posted on 2000-04-11
1
231 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

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…
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…

863 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

27 Experts available now in Live!

Get 1:1 Help Now