Remove File During Install
I currently install a 3rd party tool which is then used in a custom action, at the moment this 3rd party tool stays installed, I was wondering if possible to remove the 3rd party tool once the custom action is completed?
Any ideas how to do this or if it is possible?
I am using installshield 2008 pro.
Thanks in Advance
Any ideas how to do this or if it is possible?
I am using installshield 2008 pro.
Thanks in Advance
0 Comments
[ + ] Show comments
Answers (1)
Please log in to answer
Posted by:
anonymous_9363
15 years ago
Easy. Instead of having the CA set to 'Execute Program from Installed Files' (a Type 18 action), set it to 'Execute program from Installation' (Type 2). The file will be copied into the Binary table when you compile the MSI. On installation, it'll get expanded into %TEMP%, executed, then deleted.
Don't forget to remove the file from your current package.
Don't forget to remove the file from your current package.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.