cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
ThePerfectWave
Level 5

Sequences Installatin Execute, just for installation not for uninstallation

Hi,

I call an own script funtion, via a user action, in Sequences->Installation->Execute

Everything works during the installation fine :=) nice !

But when I uninstall my software package, this user-action and herewith my own script funtion also is called.

---

I need a way to suppress the execution/call of my user-action/own script-function durring the uninstallation.

How can I do that?

Any fast and good answers are very welcome.

I must be able to suppress that exectuion during the uninstallation or everything of my uninstallation fails, since my script function only can be called / must be called durring the installation. :confused:
Labels (1)
0 Kudos
(2) Replies
RobertDickau
Flexera Alumni

Please see the help topic "Detecting First-Time Installations", and perhaps this old newsletter tip (PDF): http://www.acresso.com/webdocuments/PDF/msiconditions.pdf.
0 Kudos
ThePerfectWave
Level 5

ok, thanks.

adding:

if (MAINTENANCE) then
retur n 0;
endif;

to my script, before calling my start function from my dll, assures that I start my service only in the case of installation.
0 Kudos