Installshield Run EXE only during installation

I have another question regarding exe and user actions in Installshield.

I currently have a set of custom actions that run executable files in silent mode.

During the return process, it is set for synchronous mode (Check exit code), and it is set for deferred execution in the system context.

My question is this:

When I install my application, everything is fine. He goes through the installers and sets the necessary conditions. My problem is when I want to remove the application from the computer, because it starts again with the same installers (and tries to install them again, even if we uninstall).

I looked around and can't find a good job for this.

Does anyone have experience with this and is aware of a way to get the installation to start only when the installer starts, and not when uninstalling?

Significant rating ...

Thanks -Kyle

+3
source share
2 answers

You must set your CustomAction to Not Installed. The "Not installed" condition ensures that the action is performed only during the first installation, and not during the maintenance or uninstall mode.

Check out this link from Flexera: http://www.flexerasoftware.com/webdocuments/PDF/IS_Tip_Executable-Custom-Actions-for-MSIs.pdf

+3
source

, " ". , , "" "".

+2

Source: https://habr.com/ru/post/1761575/


All Articles