/bundles/itninjaweb/img/Breadcrumb_cap_w.png
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   [ - ] Hide Comments

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
Answer this question or Comment on this question for clarity

Answers

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
Answered 08/18/2008 by: Inabus
Second Degree Green Belt

Please log in to comment
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
Answered 08/18/2008 by: daher
Orange Belt

Please log in to comment
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
Answered 08/18/2008 by: Inabus
Second Degree Green Belt

Please log in to comment