kumarkiranc
Posts: 85
Joined: Tue Sep 18, 2007 6:49 am

Problem In uninstall

Hi,

While uninstalling my application iam uninstalling the MSDE also.

For uninstalling MSDE iam using custom action of

Code
msiexec /x {E09B48B5-E141-427A-AB0C-D3605127224A} and selected in Execution Properties

Asynchronous execution, do not wait for return

now my problem is while uninstalling the application the a windows installer msgbox appears asking "Are you sure you want to uninstall this product?" if i click on yes it gives me the error saying that " another application is running"

how can I make MSDE to uninstalling after my application uninstalls.

Thanks
Kiran
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi Kiran,

You get that error because two MSI package cannot be run at the same time.

The only way to do what you want is to schedule that custom action under "InstallExecuteSequence->InstallFinalize" and set it as "Asynchronous execution, do not wait for return" with (REMOVE="ALL") as execution condition.

Regards,
Gigi
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com/

Return to “Common Problems”