Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

How to ignore a failing Custom Action on uninstall?


Best Answer Stefan Krueger , 04 December 2014 - 12:42

You're already ignoring the exit code, so this is a bit strange. What's in the log in case of failure?

Go to the full post


2 replies to this topic

nkm

nkm
  • Full Members
  • 6 posts

Posted 04 December 2014 - 12:34

We're running a custom action on uninstall with the following parameters:

 

Executable Filekey - Name of exefile to be run, it's installed during installation

Return Processing - Synchronus (Ignores exit code)

In-Script Execution - Immediate Execution

Execution Scheduling - Always execute

Run During Patch Uninstall - No

 

Sequence, Install Exec Condition - REMOVE="ALL"

 

This works for most of our customers, but for unknown reasons, the CA fails for some customers. This stops the uninstallation and completely prevents uninstallation. It's not critical that the CA succeeds and we would rather have the uninstallation to continue rather than stop on this error.

 

In what way can we accomplish this?

 

Any help is greatly appreciated! 

 
Regards,
Morten


Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 04 December 2014 - 12:42   Best Answer

You're already ignoring the exit code, so this is a bit strange. What's in the log in case of failure?



nkm

nkm
  • Full Members
  • 6 posts

Posted 04 December 2014 - 13:34

Thanks for confirming that Return Processing - Synchronus (Ignores exit code) is the correct way of handling it! I just noticed that the installation previous to our current does not ignore the exit code. So that explains why some customers have this problem. But for the future things should be working well.