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
- :
- Run a install script while rollback
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
‎Nov 24, 2011
04:28 AM
Run a install script while rollback
Hi Friends,
We are developing a basic MSI project for a windows application with c#. We are using one script to create a shortcut on desktop, because the name of the shortcut is dynamic. its working fine.
Now while installation if the user clicks "Cancel" button i need to Rollback whatever the changes i had done. All the files are getting deleted other than the Shortcuts.
We wrote one script for deleting the shortcuts. but i dont know how to execute it..
Can any one please help me on this
Thanks in advance
Regards,
Nidheesh
09886492390
We are developing a basic MSI project for a windows application with c#. We are using one script to create a shortcut on desktop, because the name of the shortcut is dynamic. its working fine.
Now while installation if the user clicks "Cancel" button i need to Rollback whatever the changes i had done. All the files are getting deleted other than the Shortcuts.
We wrote one script for deleting the shortcuts. but i dont know how to execute it..
Can any one please help me on this
Thanks in advance
Regards,
Nidheesh
09886492390
(2) Replies
Not applicable
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 24, 2011
07:36 PM
Try to DeleteFolderIcon function.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 28, 2011
06:58 PM
Create a rollback custom action to delete the shortcut and schedule it before the custom cation that creates the shortcut.