A difficult question:

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

${installdir}DeploymentConsoleDeploy.exe

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:

${installdir}BinariesConsoleDeploy.exe

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

C:\Programms\OurSoftware\Deployment\ConsoleDeploy.exe

Everything fine, so far.

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

C:\Programms\OurSoftware\Binaries\ConsoleDeploy.exe

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:

C:\Programms\OurSoftware\Deployment\ConsoleDeploy.exe

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

C:\Programms\OurSoftware\Binaries\ConsoleDeploy.exe

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

CV1
36799
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:

http://installbuilder.bitrock.com/docs/installbuilder-userguide.html#_using_normal_mode_when_upgrading

link

answered 12 Apr '16, 13:23

alejandror's gravatar image

alejandror ♦♦
1.3k127
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

By RSS:

Answers

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

Tags:

×83
×54
×19

Asked: 07 Apr '16, 05:34

Seen: 332 times

Last updated: 13 Apr '16, 04:16