There is an unsaved comment in progress. You will lose your changes if you continue. Are you sure you want to reopen the work item?
.NET equivalent of install.ps1, uninstall.ps1 and init.ps1
I think we should consider adding support for a .NET equivalent of the above PowerShells scripts. Although PowerShell is great and Oisin's upcoming PS helper library will help a lot, the truth is not all developers are comfortable writing
PS scripts (or at least they don't want to learn it to create a package.) So to reduce the "barrier to entry" for package authors, it'd be great to allow them to write .NET code for post-installation actions.
It could be as simple as a class in a specially-named assembly within the package, and the methods in it are decorated with [InstallAction], [UninstallAction], [InitAction] attributes respectively.