Weird error when trying to Uninstall... - 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!

ssearles
Posts: 65
Joined: Tue Oct 30, 2007 12:54 pm

Weird error when trying to Uninstall...

I've got an MSI that installs and performs fine, but when I go to uninstall it errors out. Running a log at the uninstall it seems to crash with this:

Code: Select all

Action start 11:30:25: InstallFinalize.
DEBUG: Error 2720:  Error opening sourcelist key. Error: '2'
MSI (s) (C8:34) [11:30:39:667]: Product: _BETA_ EDMS XM (System Patch - ) - v01.09.08.14 -- The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2720. The arguments are: 2, , 

The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2720. The arguments are: 2, , 
Action ended 11:30:39: InstallFinalize. Return value 3.
Now here's the kicker... I have no custom actions at the InstallFinalize stage... I used too, but not anymore and it doesn't even list anything there.

What am I doing wrong? Is there something I should look for in the raw file .aip file to see what's causing the problem?


Thx in advance,
ssearles
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Weird error when trying to Uninstall...

Hi,

I'm not sure why you are encountering this behavior. Can you please send us the AIP you are using to support at advancedinstaller dot com so we can investigate it? Also, does this happen on multiple machines?

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
ssearles
Posts: 65
Joined: Tue Oct 30, 2007 12:54 pm

Re: Weird error when trying to Uninstall...

email sent with AIP.
ssearles
Posts: 65
Joined: Tue Oct 30, 2007 12:54 pm

Re: Weird error when trying to Uninstall...

Actually it looks like I may have figured a way around it... apparently calling functions/subs with parameters that are passed to other functions is something Installer doesn't like. I broke up my logic loops and it seemed to take it easier.


Still not sure why InstallFinalize was where it showed up, but least now the msi is working on uninstall as well as installs.
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Weird error when trying to Uninstall...

Hi,

Yes, Windows Installer does not support "()" after the name of the function you want to call and it doesn't support parameters either. So the "Commit" custom actions seem to be the problem. The error was reported on InstallFinalize because these two custom actions run asynchronously. So when the installation stops, the broken custom actions are also stopped.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
ssearles
Posts: 65
Joined: Tue Oct 30, 2007 12:54 pm

Re: Weird error when trying to Uninstall...

oh ok... that makes a little more sense then... thank you. Good to know.

Return to “Common Problems”