I’m working on a setup project and have my own custom installer class in a separate library. From within my custom class I override the install, rollback, commit and uninstall methods.
From the setup project, custom actions I add my custom library project output to each available folder. (Install Uninstall, Commit, and Rollback)
I find that there isn’t a corresponding folder for other install methods.
What should I do if I decide to override other methods like OnBeforeInstall开发者_StackOverflow or OnAfterInstall?
Thanks
If you add your Custom Action primary project output to the Install folder, then I think the following methods will be called in this order:
- OnBeforeInstall
- Install
- OnAfterInstall
The same goes for Uninstall, Commit and Rollback. So the OnBeforeXXX and OnAfterXXX methods don't require their own folder.
精彩评论