Hello,
I'm trying to migrate a vdproj (Visual Studio Setup Project) to AI 9.6. I think this may be a bug:
How to reproduce:
* Create a new C# class library solution in VS 2010
* Add an Installer class (System.Configuration.Install.Installer) to the project (say, one that displays a message box on Install/Commit/Rollback/Uninstall)
* Add a setup project
* Add the class library project's output to the setup
* Add a custom action to the setup
* Create a new AI project based on this (New -> Import -> Visual Studio Setup Project)
* The imported custom actions in AI are broken: "Function" is set to "Your Function", and "Action Data" is empty and doesn't offer the wizard which is usually there for .NET Installer class custom actions. Of course, trying to run the installer produces an error (see attachments).
So it seems I'll have to add the custom actions myself in AI (Add Custom Action -> .NET Installer class action). I have some questions about this:
* Only the Install and Uninstall methods are overridden in my actual Installer class; should I still add actions for Commit and Rollback to make sure the base implementation of these methods is called?
* AI automatically adds a 32-bit and a 64-bit custom action for each click on the Add button; can I safely delete one of them (and remove the VersionNT64 condition in the other one) if I don't care whether my Installer class dll is run in a 32-bit or 64-bit CLR?
FOLLOW US
Get the latest news in Application Packaging