cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
nidheesh_kuvil
Level 4

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
Labels (1)
0 Kudos
(2) Replies
Not applicable

Try to DeleteFolderIcon function.
0 Kudos
TsungH
Level 12

Create a rollback custom action to delete the shortcut and schedule it before the custom cation that creates the shortcut.
0 Kudos