Error 1722 on 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!

ahinton
Posts: 7
Joined: Tue May 26, 2009 7:16 pm

Error 1722 on Uninstall

I'm uninstalling the application I built and then it throws up an error message and here is what the event log looks like for this error message.
I have attached a picture of the Custom Action that seems to be called during uninstalling the application.
I have no idea why this Action is being called during the uninstall
This script should only be caused by the Installation.

Your help is greatly appreciated.

Event Type: Error
Event Source: MsiInstaller
Event Category: None
Event ID: 11722
Date: 6/9/2009
Time: 4:25:53 PM
User: OMNIRIM\alanh
Computer: PROJECTSERVER
Description:
Product: OmniRIM Email Notification Engine -- Error 1722. There is a problem with this Windows Installer package. A program run as part of the setup did not finish as expected. Contact your support personnel or package vendor. Action CopyConfiguration, location: C:\Documents and Settings\All Users\Desktop\, command: "C:\WINDOWS\system32\cmd.exe" /C COPY /Y "" "C:\Program Files\OmniRIM Email Notification Engine\"

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
Data:
0000: 7b 30 41 45 39 32 36 32 {0AE9262
0008: 34 2d 39 41 42 30 2d 34 4-9AB0-4
0010: 38 36 44 2d 41 45 41 42 86D-AEAB
0018: 2d 45 31 44 38 34 31 38 -E1D8418
0020: 36 36 34 33 42 7d 6643B}
Attachments
AdvancedInstallerError.JPG
AdvancedInstallerError.JPG (154.37 KiB) Viewed 3979 times
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Error 1722 on Uninstall

Hi,

I noticed that the action in the error is named "CopyConfiguration" while the custom action in the screen-shot is named "CopyConfigurationFile". Is the package with the problem an older version? If so, what condition is used for the custom action in the old package?

To remove the broken install you can try using the Windows Installer Cleanup utility.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
ahinton
Posts: 7
Joined: Tue May 26, 2009 7:16 pm

Re: Error 1722 on Uninstall

How would I check for what condition is used for the custom script ?

Sorry that screen shot was from another Installer package that uses the same code
That is why you notice the difference.

Here is the right screen shot.
Attachments
CustomActionsScreenShot.JPG
CustomActionsScreenShot.JPG (160.99 KiB) Viewed 3973 times
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Error 1722 on Uninstall

Hi,

The "Expression" field in the "Execution Condition" section on this screen-shot is empty. This means that the custom action doesn't have a condition, so it will always run. To run it only during install you can set this condition in the "Expression" field:

Code: Select all

(Not Installed)
Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”