Uninstalling another MSI not working in Windows XP - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

gunnerl3510
Posts: 6
Joined: Thu Aug 09, 2012 2:02 am

Uninstalling another MSI not working in Windows XP

I followed the directions in the "how to" here http://www.advancedinstaller.com/user-g ... l-msi.html for uninstalling another MSI from within my installer. The *only* thing different as far as I can tell is that I am calling the msi with /quiet instead of /qb.

For Windows 7 and Windows Vista it works correctly and the other MSI's uninstallation is completed as expected. However, on Windows XP it does not. Looking at the uninstall logs it appears as though the MSI that we're calling is not being delayed until after the currently executing MSI has completed and therefore is silently failing with the "cannot run two msiexec".

All test machines are clean machines with updates applied. The Windows Installer version on the XP machine is 3.1.

Attachments are emailed, relevant sections in the .aip:

Code: Select all

  
  <COMPONENT cid="caphyon.advinst.msicomp.MsiCustActComponent">
    <ROW Action="UninstallThirdParty" Type="226" Source="SystemFolder" Target=""[SystemFolder]msiexec.exe" /X{5E33D30D-D896-4D92-B033-5F45819B2937} /quiet"/>
  </COMPONENT>

  <COMPONENT cid="caphyon.advinst.msicomp.MsiInstExSeqComponent">
    <ROW Action="UninstallThirdParty" Condition="( Installed AND ( REMOVE = "ALL" OR AI_INSTALL_MODE = "Remove" ) )" Sequence="6600"/>
  </COMPONENT>
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Uninstalling another MSI not working in Windows XP

Hello,

I've tested your scenario, but I cannot reproduce the behavior. Can you please send us a verbose log of the uninstallation to support at advancedinstaller dot com so we can investigate it?

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
gunnerl3510
Posts: 6
Joined: Thu Aug 09, 2012 2:02 am

Re: Uninstalling another MSI not working in Windows XP

Verbose log sent.

Return to “Common Problems”