This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: Remove File During Install
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Feb 11, 2009
09:41 AM
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
Tracey
Any ideas how to do this or if it is possible?
I am using installshield 2008 pro.
Thanks in Advance
Tracey
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Feb 11, 2009
01:58 PM
mutchie wrote:
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
Tracey
Yes.. indeed it is possible..
you have following options.
1. if you call "3rd party" installer to install the application then you would need to find the Product code being used by 3rd party installer and call there setup.exe with PrductCode as an argument.
2. if you are using their binaries (DLL etc) then you could simply delete them using DeleteFile() function at the end of your installation (How.. this would depend on what type of installshield project you are using).
HTH
