wix-iisextension

Can I allow a user to choose either applicationPoolIdentity or specify a user using WiX-IIS extension?

北慕城南 提交于 2019-12-22 18:32:49
问题 My web application typically will be installed to use applicationPoolIdentity: <iis:WebAppPool Id="MyAppPool" Identity="applicationPoolIdentity" Name="MyAppPool"/> but I have a class of users that will want to use a specific domain user instead, which I would typically author like this: <util:User Id="MyUser" Name="[MY_USER]" Domain="[MY_DOMAIN]" Password="[MY_PASSWORD]" CreateUser="no"/> <iis:WebAppPool Id="MyAppPool" Identity="other" User="MyUser" Name="MyAppPool" /> Making the user

Can I allow a user to choose either applicationPoolIdentity or specify a user using WiX-IIS extension?

回眸只為那壹抹淺笑 提交于 2019-12-06 05:37:33
My web application typically will be installed to use applicationPoolIdentity: <iis:WebAppPool Id="MyAppPool" Identity="applicationPoolIdentity" Name="MyAppPool"/> but I have a class of users that will want to use a specific domain user instead, which I would typically author like this: <util:User Id="MyUser" Name="[MY_USER]" Domain="[MY_DOMAIN]" Password="[MY_PASSWORD]" CreateUser="no"/> <iis:WebAppPool Id="MyAppPool" Identity="other" User="MyUser" Name="MyAppPool" /> Making the user interface for this is simple enough, but is there a way to conditionally switch between Identity=