开发者

How do I allow the user to select an existing IIS website to install to using WiX?

开发者 https://www.devze.com 2023-01-15 18:42 出处:网络
Does anyone know of a complete, downloadable/copyable example of a WiX installer that allows the user to select an existing website when installing a web application?

Does anyone know of a complete, downloadable/copyable example of a WiX installer that allows the user to select an existing website when installing a web application?

I'm trying to get this working and, after seeing that it开发者_StackOverflow seems to be a significant piece of work, I'd like to get an example running first so that I have a working project to base my own work on.

I found this (code is pasted as images) and this (can't get it running).

Just to confirm... Is it really as much work as the sites above suggest to allow a user to select the site to install to? Am I missing a trick?


I found this blog post that does the custom action in C# and has a complete downloadable sample. Pretty easy to follow.


Yes, that would be quite a bit of work to do it in WiX. I don't typically give a user this much choice. You might just want to do it as an after install configuration step if it's important to you.

0

精彩评论

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