问题
The requirements for my current project include a Azure WebRole application and also means to install this using a installer.
I've used Wix for previous projects and also published Azure applications (using VS publish) but I'm at a loss at where to start....
Anyone tried publishing Azure WebRole using an installer possibly WIX? What are you're recommendations on this.
Why using an installer? We will be using nightly builds, these builds are version-ed and will be used to installed in DTAP environments. When a version is accepted the same version it can be used to install in production by Application Manager (non-english person here) without the usage of a Visual Studio.
回答1:
You can deploy your service/role to Azure using Service Management API. Write a module which does the deployment and invoke it from WIX.
http://msdn.microsoft.com/en-us/library/ee460807.aspx
回答2:
I've suggested this solution before, but take a look at the Windows Azure Accelerator for Web Roles. If nothing else you can call the web deploy from the installer or implement your own deployment module. But at least you have everything else finished.
来源:https://stackoverflow.com/questions/6663919/publish-azure-webrole-using-installer-like-wix