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
- :
- LaunchAppEx
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
Feb 04, 2008
12:59 AM
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;
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;
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Feb 04, 2008
11:29 AM
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.
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
InstallSite.org