maziyar
06-09-2006, 09:41 AM
Hello,
I can't seem to launch an .msi package where the same code with .exe works perfectly..I checked the path and it finds the path correctly, I have some checks before this so I don't want to use custom actions directly..
//start installing apache
szPath = "C:\\Focus\\apache_2.0.55.msi";
if (LaunchAppAndWait (szPath, "/quiet",WAIT) < 0) then
MessageBox("Unable to start " + szPath, SEVERE);
abort;
endif;
anyone has come across this problem?
thanks
I can't seem to launch an .msi package where the same code with .exe works perfectly..I checked the path and it finds the path correctly, I have some checks before this so I don't want to use custom actions directly..
//start installing apache
szPath = "C:\\Focus\\apache_2.0.55.msi";
if (LaunchAppAndWait (szPath, "/quiet",WAIT) < 0) then
MessageBox("Unable to start " + szPath, SEVERE);
abort;
endif;
anyone has come across this problem?
thanks