This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- something about LaunchAppAndWait()
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Jul 17, 2010
03:50 AM
something about LaunchAppAndWait()
i want to use this function to launch another application, but i meet some troubles in the path of the app.
what can szCmdLine be?
follows some script:
szCmdLine =SUPPORTDIR^"AUTORUN.EXE";
SETUPINI_DIR =SUPPORTDIR^"AUTORUN.INI";
LongPathToShortPath(szCmdLine);
if (LaunchAppAndWait( szCmdLine ," " , WAIT) < 0) then
MessageBox("SQL 2000 install error",WARNING)
what can szCmdLine be?
follows some script:
szCmdLine =SUPPORTDIR^"AUTORUN.EXE";
SETUPINI_DIR =SUPPORTDIR^"AUTORUN.INI";
LongPathToShortPath(szCmdLine);
if (LaunchAppAndWait( szCmdLine ," " , WAIT) < 0) then
MessageBox("SQL 2000 install error",WARNING)
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Jul 19, 2010
01:34 AM
Why is LongPathToShortPath() required there?
Try removing that and using LongPathToQuote(szCmdLine, TRUE); instead.
Try removing that and using LongPathToQuote(szCmdLine, TRUE); instead.