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
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