/build/static/layout/Breadcrumb_cap_w.png

how to call *.exe in ORCA during uninstall only

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

Answers (3)

Posted by: WiseUser 18 years ago
Fourth Degree Brown Belt
0
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 .
Posted by: njholdem 18 years ago
Senior Yellow Belt
0
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.

njholdem
Posted by: WiseUser 18 years ago
Fourth Degree Brown Belt
0
No problem.

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

http://www.microsoft.com/downloads/details.aspx?FamilyId=889482FC-5F56-4A38-B838-DE776FD4138C

It's also available online here:

http://msdn.microsoft.com/library/en-us/msi/setup/windows_installer_start_page.asp
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