Solved

Visual Basic InstallShield help

Posted on 2000-04-11
1
237 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Get free NFR key for Veeam Availability Suite 9.5

Veeam is happy to provide a free NFR license (1 year, 2 sockets) to all certified IT Pros. The license allows for the non-production use of Veeam Availability Suite v9.5 in your home lab, without any feature limitations. It works for both VMware and Hyper-V environments

Question has a verified solution.

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

Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
Create a Windows 10 custom Image with custom task bar and custom start menu using XML for deployment.
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…
Suggested Courses
Course of the Month9 days, 9 hours left to enroll

623 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