Thanks, Neil! This indeed turned out to be an acceptable way. -- Yan
-----Original Message----- From: Neil Sleightholm [mailto:n...@x2systems.com] Sent: Tuesday, July 28, 2009 8:50 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] A call to aspnet_regiis -s fails for newlycreatedsite >> However, I've seen the samples like this and I'm not sure it is a >> flexible solution. You simply hardcode the script maps, but what if >> newer versions of IIS add some more? Or if there were customizations on >> a target machine I'm not aware about? Simply add the ones you need, I think this is more flexible but YMMV. >> Due to the fact that aspnet_regiis does the things, why is it a bad >> practice to use it? And also, the main question is why it breaks ASP.NET >> down being called as a custom action? As you have found running exes from custom actions is not reliable, also you cannot undo the change easily. I find this solution works reliably so chose to use it, your situation may be different. Neil ------------------------------------------------------------------------ ------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users