As requested:

<util:Group Id="grpIIS_IUSRS" Name="IIS_IUSRS" Domain="[%USERDOMAIN]" />


...


<util:User Id ="$(var.myWindowsUser)" CanNotChangePassword="yes" 
CreateUser="yes" Disabled="no" Domain="[%USERDOMAIN]" FailIfExists="no" 
LogonAsService="no" Name="$(var.myWindowsUser)" 
Password="I8JDoe7gzMCEB9rIwxDcl8ZQyxFxVnd0Nhs3wI9sSxf2oOrBPN7wB4JITsY6kio" 
PasswordExpired="no" PasswordNeverExpires="yes" RemoveOnUninstall="yes" 
UpdateIfExists="yes">
                                                                <util:GroupRef 
Id="grpIIS_IUSRS" />
                                                        </util:User>


The following is the user account for the IIS Anonymous authentication and 
Identity for the Application Pool. I've not set or done anything with 
%USERDOMAIN. It is, what it is.


WiX Toolset v3.6.1321.0
Fails on Target Windows 7 OS in a workgroup, but works perfectly on Target 
Windows Server 2008 also in Workgroup. Something weird going on.




> From: pierson....@microsoft.com
> To: wix-users@lists.sourceforge.net
> Date: Tue, 15 Feb 2011 20:06:18 +0000
> Subject: Re: [WiX-users] Login failed using User Element, IIS Application 
> pool and SQL Server Login
> 
> Can I see your <user> element? What are you specifying as the Domain? 
> 
> -----Original Message-----
> From: Peter Wilson [mailto:peterwilson...@hotmail.com] 
> Sent: Monday, February 14, 2011 7:56 AM
> To: wix-users@lists.sourceforge.net
> Subject: [WiX-users] Login failed using User Element, IIS Application pool 
> and SQL Server Login
> 
> 
> 
> 
> This is my first post to this group, so I would like to start with something 
> positive first! "Thank you and well Done to the Wix development team for such 
> a wonderful product. I can't thank you enough! Wix is the first thing I 
> consider before building a new product, and I couldn't imagine my software 
> development life without it!"
> 
> 
> ...and now a question:
> 
> 
> 
> 
> Is this a bug, or have I done something wrong with the User Element (Util 
> Extension)?
> 
> 
> 
> The IIS7 Application Pool's Identity (setup by Wix) is not authenticating 
> with a SQL Server Login on the same box (also setup by Wix).
> 
> 
> 
> "Login failed. The login is from an untrusted domain and cannot be used with 
> Windows authentication. [CLIENT: <local machine>]"
> 
> 
> What really confuses me, is I can solve the above error by manually 
> re-entering the User Identity of the Application Pool, using the exact 
> username and password as Wix. So why is Wix failing me on something so 
> trivial?
> 
> 
> The target computer is in a Workgroup, not a Domain, and I suspect this may 
> be causative. The same Wix installation also setups the SQL Server Express 
> Database, Login, Role and Permissions... although the Login is scripted and 
> does not use the Wix User element (of course).
> 
> 
> Cheers,
> 
> 
> Peter
> 
                                          
------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to