I wrote a script function:
function RemoveMySQL(hMSI)
begin
if(LaunchAppAndWait(WINSYSDIR^"msiexec.exe","/uninstall \"" + INSTALLDIR^"mysql.msi" + "\"",LAAW_OPTION_WAIT)< 0) then
MessageBox ("Unable Remove My SQL.",SEVERE);
abort;
endif;
end;
And then, I add custom action to call above function.
If I add it to UI sequence then it's OK. But if I add it to Exec sequence then it's Error when run.
Error content : another installer is running. waitting for it finish.
In my task manager, it has 2 processes of msiexec.exe.
pls, help me!
Edited by binoco, 25 March 2010 - 09:34.