This website uses cookies. By clicking OK, 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.
Chris_McElyea
Pilgrim
Apr 19, 2013
11:09 AM
Dear Community, I have an InstallScript that needs to pass 2 parameters to the LaunchAppandWait function. The problem is that the parameters use the INSTALLDIR as part of the parameter. If the INSTALLDIR has spaces in it, the external program views that as another parameter and causes it to fail. How do I pass the first and second parameters to the external program so that the spaces are not viewed as parameter separators. He is the code: STRING szParm1, szParm2, szParm3; szParm1 = INSTALLDIR^"MyApp.exe "; szParm2 = INSTALLDIR^"MyApp.ini"; szParm3 = szParm1 + szParm2; LaunchAppAndWait(INSTALLDIR ^ "ChangeIt.exe", szParm3, LAAW_OPTION_WAIT);
... View more
Labels
Mar 26, 2013
03:55 PM
I'm new to IS. I am trying to setup a prerequisite for Adobe Reader. If Adobe Reader is not installed, send the user to Adobe's download site and let them install the current version of Reader. I don't know what to put in the command line box under the Application to Run tab in the Prerequisite Editor. A registry key does or does not exist key name to check: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\AcroRd32.exe Run this prerequisite: If the specified registry key DOES NOT EXIST Files to include: N/A Application to Run: START "http://get.adobe.com/reader/?promoid=DINRS" This does not work! Any help would be greatly appreciated.
... View more
Labels
Latest posts by Chris_McElyea
Subject | Views | Posted |
---|---|---|
1551 | Apr 19, 2013 11:09 AM | |
3982 | Mar 26, 2013 03:55 PM |
Activity Feed
- Posted Problem using LaunchAppAndWait on InstallShield Forum. Apr 19, 2013 11:09 AM
- Tagged Problem using LaunchAppAndWait on InstallShield Forum. Apr 19, 2013 11:09 AM
- Posted Launch a download URL if preq needs to be installed on InstallShield Forum. Mar 26, 2013 03:55 PM
- Tagged Launch a download URL if preq needs to be installed on InstallShield Forum. Mar 26, 2013 03:55 PM
- Tagged Launch a download URL if preq needs to be installed on InstallShield Forum. Mar 26, 2013 03:55 PM
- Tagged Launch a download URL if preq needs to be installed on InstallShield Forum. Mar 26, 2013 03:55 PM
- Tagged Launch a download URL if preq needs to be installed on InstallShield Forum. Mar 26, 2013 03:55 PM
Contact Me
Online Status |
Offline
|
Date Last Visited |
Mar 18, 2019
12:11 PM
|