Solved

Visual Basic InstallShield help

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

Guide to Performance: Optimization & Monitoring

Nowadays, monitoring is a mixture of tools, systems, and codes—making it a very complex process. And with this complexity, comes variables for failure. Get DZone’s new Guide to Performance to learn how to proactively find these variables and solve them before a disruption occurs.

Question has a verified solution.

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

With User Account Control (UAC) enabled in Windows 7, one needs to open an elevated Command Prompt in order to run scripts under administrative privileges. Although the elevated Command Prompt accomplishes the task, the question How to run as script…
Create a Windows 10 custom Image with custom task bar and custom start menu using XML for deployment.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

729 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