I am trying to launch an application after the install is done, before the finished screen appears (the code is within OnFirstUIAfter). The install tries to lauch the app but returns my error.
The code is required to replace text (#S#) from file (a) with the server name entered from a dialog box provided in the install and pipe all the text and replaced entries to file ( ...
if infoUser.bInstallExeCode then
svParam = "\"s/#s#/\\\\\\\\"
+ "/\" < "
+ INSTALLDIR ^ "InstallExeCode\\upg_data_tbl_install_exe_code.txt > "
+ INSTALLDIR ^ "InstallExeCode\\r5_upg_data_tbl_install_exe_code.sql";
if(LaunchApp(SystemFolder^"Sed.exe", svParam) < 0 ) then
szMsg1 = "Error generating tbl_install_exe_code sql file. Command ="
All I get is my error display showing. If I type the code in at the dos prompt it works fine, so I know the function sed.exe is getting installed correctly
- so where am I going wrong?
This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
1 reply to this topic