This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: Sequences Installatin Execute, just for installation not for uninstallation
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 11, 2009
12:05 PM
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:
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:
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 11, 2009
12:44 PM
Please see the help topic "Detecting First-Time Installations", and perhaps this old newsletter tip (PDF): http://www.acresso.com/webdocuments/PDF/msiconditions.pdf.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 14, 2009
05:46 AM
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.
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.