I am trying to write a custom actions class library for my WiX install package. I've read that I should use CustomActionAttribute to mark the methods that I am planning to call from install package. There is no Votive plugin for VS2010, so when I type [CustomAction] above my method name, VS2010 doesn't find it. So what should I do to write a custom action method?
相关问题
- How does the setup bootstrapper detect if prerequi
- Wix: How can I set, at runtime, the text to be dis
- Wix variable name formats with spaces and other ch
- Cancel installation from my custom action
- WiX: Multiple MSI files?
相关文章
- How do I require a value in a textbox in a Wix cus
- How to prevent WiX bundle with same UpgradeCode/Ve
- How do I pass a default 'install location'
- Running msiexec from a service (Local System accou
- Can I use msilib or other Python libraries to extr
- WIX 3.8 msiexec.exe /quiet Error 1603
- Wix Harvest: Same Component/File ID when files are
- Cancel Installation and Rollback using wix burn Bo
There is Voitve support for Visual Studio 2010 in Wix 3.5 and up. With Votive you get a project template for creating managed custom actions which will set up all of the dependencies you need to add the CustomAction attribute.
You can add a reference to the Microsoft.Deployment.WindowsInstaller.dll to resolve the reference manually, but the project template sets up a few more needed steps to create the CA.
From this and other blog posts Rob has made, I thought WiX v3.5's Votive had VS2010 support, just not out of the box (last minute ship-decision?). Someone correct me if I'm wrong.