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: Custom Action
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
‎Oct 29, 2009
09:28 AM
Custom Action
How do I invoke Custom Action 1 during install and Custom Action 2 during uninstall.
Custom Action 1 must only be called on install
Custom Action 2 must only be called on Uninstall
I have a Basic MSI project
Custom Action 1 must only be called on install
Custom Action 2 must only be called on Uninstall
I have a Basic MSI project
(5) Replies
‎Oct 29, 2009
12:44 PM
Naveed:
Thanks for that. That worked. Another newbie question. When I go to run 'Uninstall' things work fine, except that the directories created during install still exist, I can delete them manually, and are not deleted during uninstall process. Something in the Custom Action or a different setting?
Thanks for that. That worked. Another newbie question. When I go to run 'Uninstall' things work fine, except that the directories created during install still exist, I can delete them manually, and are not deleted during uninstall process. Something in the Custom Action or a different setting?
‎Oct 30, 2009
07:10 AM
Is anything left in these folders? If the application creates files when it runs then the installer will not remove these because it didn't install them and doesn't know to remove them and will leave behind the folder structure that they are in.
If you application does do this and you do want to remove those files, you can provide an entry in the removefile table. MSDN provides details on the entires to add to this table here: http://msdn.microsoft.com/en-us/library/aa371201(VS.85).aspx. Please note that the file column can contain wildcards such as *.log or even *.*
If you application does do this and you do want to remove those files, you can provide an entry in the removefile table. MSDN provides details on the entires to add to this table here: http://msdn.microsoft.com/en-us/library/aa371201(VS.85).aspx. Please note that the file column can contain wildcards such as *.log or even *.*