Windows Develop Bookmark and Share   
 index > ClickOnce and Setup & Deployment Projects > Do I need to add a rollback custom action
 

Do I need to add a rollback custom action

I have added a driver install as a CA on install and a driver uninstaller on uninstall. Should I add the uninstaller as a CA on rollback?
BarberColman  Wednesday, September 23, 2009 2:52 PM
An uninstall custom action won't be executed in a rollback scenario. If the installation can fail after it has successfullyinstalled the driver then you need a rollback custom action that will uninstall the driver in a rollback scenario.
  • Marked As Answer byBarberColman Wednesday, September 23, 2009 5:08 PM
  •  
ColbyRingeisen  Wednesday, September 23, 2009 4:46 PM
An uninstall custom action won't be executed in a rollback scenario. If the installation can fail after it has successfullyinstalled the driver then you need a rollback custom action that will uninstall the driver in a rollback scenario.
  • Marked As Answer byBarberColman Wednesday, September 23, 2009 5:08 PM
  •  
ColbyRingeisen  Wednesday, September 23, 2009 4:46 PM

You can use google to search for other answers

Custom Search

More Threads

• WebSetup can't replace web.config
• Advice on how to debug a installation problem.
• Registering dll in global assembly catch without using utility
• add/remove program icon showing folder icon
• Application is improperly formatted
• No touch deployment working in some computers but not in others
• Is visual studio bootstrapper and clickonce bootstrapper the same thing?
• Unknown Publisher
• Error: Unable to install . . requires stdole Version 7.0.33 be installed in GAC
• dependecies not updated on target computer changing version