Re: [WiX-users] Letting user select network service or domain account for WebAppPool custom action
I ended up going a different route. I created two components, one that installed the app pool as a domain user, and the other that installed the app pool as Network Service. Then I used conditions to make sure that only one of the two components were installed. Thanks for your help, --matt From: Rob Mensching Sent: Friday, February 09, 2007 5:16 AM To: Matt Hoover (VSNC); wix-users@lists.sourceforge.net Subject: RE: [WiX-users] Letting user select network service or domain account for WebAppPool custom action I've made a fix in very recent WiX v2 build to support using NT AUTHORITY\NETWORK SERVICE as the "User" for an AppPool and have the correct thing happen under the covers. If you get the latest WiX v2 build, you should see this working. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Matt Hoover (VSNC) Sent: Wednesday, February 07, 2007 11:50 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Letting user select network service or domain account for WebAppPool custom action I am trying to install a web app and I want to let the user select the Identity that the App Pool uses. They should be able to select between Network Service and a domain account that they provide. The problem that I am running into is when I try to use a property in the Identity parameter of the WebAppPool tag. I am trying the following: I get the following error when I do this: 1>vstfwebtieractions.fragment.wxs(26) : error CNDL0027: The 'Identity' attribute has an invalid value according to its data type. If I replace "[WEB_IDENTITY]" with "other" or "networkService" it compiles, but the type of Identity is determined at compile time, not install time. Is there an example WiX fragment that shows how to determine if the App Pool will run as Network Service or a domain account at install time instead of at compile time? Thanks in advance for your help, --matt hoover - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Letting user select network service or domain account for WebAppPool custom action
I've made a fix in very recent WiX v2 build to support using NT AUTHORITY\NETWORK SERVICE as the "User" for an AppPool and have the correct thing happen under the covers. If you get the latest WiX v2 build, you should see this working. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Matt Hoover (VSNC) Sent: Wednesday, February 07, 2007 11:50 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Letting user select network service or domain account for WebAppPool custom action I am trying to install a web app and I want to let the user select the Identity that the App Pool uses. They should be able to select between Network Service and a domain account that they provide. The problem that I am running into is when I try to use a property in the Identity parameter of the WebAppPool tag. I am trying the following: I get the following error when I do this: 1>vstfwebtieractions.fragment.wxs(26) : error CNDL0027: The 'Identity' attribute has an invalid value according to its data type. If I replace "[WEB_IDENTITY]" with "other" or "networkService" it compiles, but the type of Identity is determined at compile time, not install time. Is there an example WiX fragment that shows how to determine if the App Pool will run as Network Service or a domain account at install time instead of at compile time? Thanks in advance for your help, --matt hoover - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Letting user select network service or domain account for WebAppPool custom action
I am trying to install a web app and I want to let the user select the Identity that the App Pool uses. They should be able to select between Network Service and a domain account that they provide. The problem that I am running into is when I try to use a property in the Identity parameter of the WebAppPool tag. I am trying the following: I get the following error when I do this: 1>vstfwebtieractions.fragment.wxs(26) : error CNDL0027: The 'Identity' attribute has an invalid value according to its data type. If I replace "[WEB_IDENTITY]" with "other" or "networkService" it compiles, but the type of Identity is determined at compile time, not install time. Is there an example WiX fragment that shows how to determine if the App Pool will run as Network Service or a domain account at install time instead of at compile time? Thanks in advance for your help, --matt hoover - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users