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
- :
- Re: LaunchApplication and mklink
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
‎Mar 15, 2011
10:00 AM
LaunchApplication and mklink
Does anyone have experience how to run mklink /D from a installscript
With direcotry paramters that requrie "" due to white spaces in their names?
I can not figure out the proper LaunchApplication command
any help would be much apreciated.
With direcotry paramters that requrie "" due to white spaces in their names?
I can not figure out the proper LaunchApplication command
any help would be much apreciated.
(4) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 18, 2011
12:20 AM
It's may be different information you want.....
Why don't you see the example?
http://kb.flexerasoftware.com/doc/Helpnet/InstallShield2011/mergedProjects/installshield17langref/LangrefLaunchAppAndWait_example.htm
(LaunchAppAndwait function is a kind of alias of LaunchApplication)
Why don't you see the example?
http://kb.flexerasoftware.com/doc/Helpnet/InstallShield2011/mergedProjects/installshield17langref/LangrefLaunchAppAndWait_example.htm
(LaunchAppAndwait function is a kind of alias of LaunchApplication)
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 18, 2011
03:10 AM
Thx for the reply,
But I'm not having a problem with LaunchApp command its more that
MKLINK is not actually an application, but a shell command.
Further testing results in GetLasterror returning 2 (File not found).
So I'm unsure how I run this MKLINK from an installscript project.
But I'm not having a problem with LaunchApp command its more that
MKLINK is not actually an application, but a shell command.
Further testing results in GetLasterror returning 2 (File not found).
So I'm unsure how I run this MKLINK from an installscript project.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 25, 2011
01:34 AM
Is the mklink a kind of shell command?
If so, you may want to use the following command line.
* replace NOTEPAD to shell command you want to invoke.
If so, you may want to use the following command line.
LaunchAppAndWait( WINSYSDIR^"cmd.exe","/c NOTEPAD",LAAW_OPTION_WAIT);
* replace NOTEPAD to shell command you want to invoke.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 28, 2011
03:42 PM
In InstallScript code, you'll want to prototype and call out to the Windows API directly. See CreateSymbolicLink Function for documentation on the API. Remember to use WSTRING instead of STRING unless you specifically call CreateSymbolicLinkA, and not to use this function on a platform before Windows Vista. There's some more information on calling Windows API functions in the online help.