I am trying to install the MSXML Parser 6 from within an Installshield Installation. I am trying to do it this way:
function InstallXMLParser()
NUMBER nLaunchValue;
begin
nLaunchValue = LaunchAppAndWait(SUPPORTDIR ^ "MSXML6.MSI",
"", WAIT);
if (nLaunchValue < 0) then
MessageBox("Unable to install MSXML Parser!\nSee user's guide to install manually.", WARNING);
abort;
endif;
end;
For some reason I cannot install it this way. "LaunchAppAndWait" returns a value of less then 0. Any ideas.
Raj
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.
Running MSI files from LaunchAppAndWait
Started by
rajkulkarni
, Mar 30 2007 19:32
1 reply to this topic
Posted 02 April 2007 - 14:31
That's because MSIs are not a supported program extension and therefore cannot be launched directly.
Instead they need to be passed as an argument to the MSIEXEC.EXE application and that's documented over here in the Basic FAQ.
Instead they need to be passed as an argument to the MSIEXEC.EXE application and that's documented over here in the Basic FAQ.