开发者

How can I create a WIX installer that will install both to IIS6 and IIS7

开发者 https://www.devze.com 2023-02-26 21:25 出处:网络
I\'m uing various different versions of WIX trying to get an installer to be able to install to both IIS versions. I\'ve heard that WIX doesn\'t natively support IIS7 so one must make a CA to provide

I'm uing various different versions of WIX trying to get an installer to be able to install to both IIS versions. I've heard that WIX doesn't natively support IIS7 so one must make a CA to provide the functionality

Does anyone have an example of how to create functionality which can do this? I've already got an installer to install the web site to IIS6 but can't attach this with an IIS7 custom action I've found.

Edit: Ahh okay I'll rephrase my question.

How would I create a UI to allow a user to choose the web site to use for IIS6 and IIS7 (i.e support all ve开发者_运维问答rsions of IIS to query)?


WiX 3.5 supports IIS7. You should use the same elements of IIsExtension you normally do for IIS6. Besides, "IIS6 compatibility" prerequisite is not required any longer.

0

精彩评论

暂无评论...
验证码 换一张
取 消