cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
jothibhatt_s
Level 2

LaunchAppEx

Hi,

If i compile the following install script I am getting the error

D:\InstallShield\SA\Sales Analyser\IMS Sales Analyzer\script files\setup.rul(47) : fatal error F8511: can't open include file


Can Anybody help me?


function NUMBER InstallMSXML6(hMSI)
NUMBER nRes, nRet;
STRING sApp, sArg;
STRING REG_SZ;
begin
RegDBSetDefaultRoot(HKEY_LOCAL_MACHINE);
REG_SZ="SOFTWARE\MICROSOFT\MSXML60";
if (RegDBKeyExist(REG_SZ ^ "{AEB9948B-4FF2-47C9-990E-47014492A0FE}") == 1) then
//MSXML 6 already installed
return 0;
endif;
//install MSXML 6
//sArg = "/i \"" + SUPPORTDIR ^ "msxml6.msi\" /qb";
sARG ="C:\msxml6\msxml6.msi"
LongPathToQuote(sARG, TRUE);
nRet = LaunchAppEx(sARG,"", WAIT, SW_HIDE, -1, nRes);
//you can take LaunchApp here
if (nRet == 0) && (nRes == 0) then
return 0;
else
return -1;
endif;
end;
Labels (1)
0 Kudos
(1) Reply
Stefan_Krueger
Level 9

Which of these lines is line 47?
Do you have an #include statement for LaunchAppEx? Is the path correct?
LaunchAppEx is obsolete in IS 2008 because similar functionality exists in the built in LaunchAppAndWait functions with its associated parameter structures.
Stefan Krueger
InstallSite.org
0 Kudos