/build/static/layout/Breadcrumb_cap_w.png

Custom Action related to a feautre

Hi all

I made a custom action Execute Program from installed files with name "Action1" that register a service.exe with argument -service.
service.exe is found in an installed file. This file is installed when a feature is selected.

However when i choose not to install the related feature i get tthe following error:

Internal Error 2753. service.exe
I think that means he is trying to execute the custom action but the related is not found since it is bot installed.

how can I disable this action or bypass it when the feature is not installed?

Thanks in advance

Best Regards

0 Comments   [ + ] Show comments

Answers (3)

Posted by: Inabus 15 years ago
Second Degree Green Belt
0
I am assuming that your setting an InstallLevel when the user selects the Feature in question that contains this "Service.exe" if thats the case you simply need to use a conditon on the custom action of "INSTALLLEVEL=x", where x is the Install level you set on the feature in question.

P
Posted by: daher 15 years ago
Orange Belt
0
Thanks for your reply
i just tried it and it is working.

another question how can set an action on uninstall. For example:

Action2 : run file from installed files with argument -unregserver.

Where should i insert this action?
I want it to be done before files are deleted or uninstalled!!!

Thanks in advance
Posted by: Inabus 15 years ago
Second Degree Green Belt
0
Set the conditon to REMOVE = "ALL", as for the placement I would place the custom action after "UnregisterMIMEInfo" ensuring that the "In-Script Execution" is "Deferred Execution".

P
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ