Is it possible to call a *.exe only during the uninstall for an application. If so, how can this be done in ORCA for a *.MST. I must call this *.exe during the uninstall for post uninstallation cleanup.
thank you.
0 Comments   [ + ] Show 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.


Yes, it's easy.

Try a type "2" custom action (runs an exe from the binary table) as follows:

1) Open your msi, then select "Transform\New Transform".

2) Add your "exe" to the "binary" table using orca and give the new row a unique key in the "Name" column.

3) Add a row to the "CustomAction" table. Call the action what you want ("Action" column), enter 1026 (2+1024 for deferred mode) in the "Type" column (or 3074 to run as system), enter the name of your binary entry in the "Source" column, and add any command line options in the "Target" column.

4) Add an entry to the desired sequence table ("InstallExecuteSequence" for example). Name your action in the "Action" column, enter your condition in the "Condition" table (REMOVE ~= "ALL"), and a sequence number in the "Sequence" column depending when you want it to run (maybe just before "Installfinalise").

5) Then select "Transform\Generate Transform" to save the transform .
Answered 05/16/2005 by: WiseUser
Fourth Degree Brown Belt

Please log in to comment
WiseUser, thank you for your reply on this. It worked!

Follow up question:
Is there a admin guide for ORCA that discuss in detail the different tables and colums/rows in ORCA. For example you have mentioned in your thread with specific information that needed to be entered in column and rows. Is this stuff documented anywhere. I like to learn more about the Ins and Outs of ORCA. Once again thank you.

Answered 05/17/2005 by: njholdem
Senior Yellow Belt

Please log in to comment
No problem.

What you're looking for is the MSI SDK documentation which is available in ".CHM" format with the SDK.

It's also available online here:
Answered 05/17/2005 by: WiseUser
Fourth Degree Brown Belt

Please log in to comment
Answer this question or Comment on this question for clarity