A difficult question:

I have an initial installer (V1.0) with a Pre-uninstalltion Action:


And I have an installer for a new Software version (V2.0) with a similar call in the Pre-uninstalltion Actions, but with a slightly differnt directory:


When installing V1.0 and uninstalling it, the right Pre-uninstallation action is called:


Everything fine, so far.

When clean installing (no update!) V2.0 and uninstalling it, the right Pre-uninstallation action is called either:


Everything fine, so far.

But when installing V1.0 and updating this Version to V2.0 and then an uninstallation is performed, the Pre-uninstallation action from version V1.0 is called:


But for me, this is an error, I expect the call from V2.0 there:


Installer project was edited with 15.10.1 and installer was created with 15.10.1 AND 16.3.0 - but same results.

asked 07 Apr '16, 05:34

CV1's gravatar image

accept rate: 0%

edited 07 Apr '16, 07:35

Please note that when using the upgrade mode, the new actions set in the pre/postUninstallationActionLists will not be added to the existing uninstallers. The upgrade installers will only add the new unpacked files for uninstalling them. Please find more information in this section of the documentation:



answered 12 Apr '16, 13:23

alejandror's gravatar image

alejandror ♦♦
accept rate: 31%

So it is not a bug but a feature. But is it a cool feature?

Anyway, so I habe update an existing installation using the regular mode! This makes me a lot of test effort now. I hope I am not running in other problems then...

(13 Apr '16, 04:15) CV1
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: 07 Apr '16, 05:34

Seen: 366 times

Last updated: 13 Apr '16, 04:16