What does a verbose log say? If you are not certain as to the value of your
IUSR_USERNAME property, it will be hard to verify that what account was
given write access to your file.

-Blair

-----Original Message-----
From: gapearce [mailto:mr_gapea...@yahoo.com] 
Sent: Wednesday, May 25, 2011 12:42 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] IUSR

I'm trying to set permissions on a file like this, using WiX 3.5:

      <Component Id="MT_PHPLog.log"
Guid="0FFF2708-5B65-418A-A4C7-F6FFF5B7ACD9">
        <File Id="MT_PHPLog.log" Name="PHPLog.log"
Source="$(var.WebFolder)webroot\PHPLog.log">
          <Permission GenericAll="yes" User="[WIX_ACCOUNT_NETWORKSERVICE]"
/>
          <Permission GenericAll="yes" User="[WIX_ACCOUNT_ADMINISTRATORS]"
/>
          <Permission GenericRead="yes" GenericExecute="yes"
User="[WIX_ACCOUNT_USERS]" />
          <Permission GenericWrite="yes" User="[IUSR_USERNAME]"
Domain="[IUSR_DOMAIN]" />
        </File>
      </Component>

And after install I don't see any explicit permissions for [IUSR_USERNAME],
(which should resolve to NT_AUTHORITY/IUSR on my Windows 7 box, I think). 
Network Service and administrators and Users are there, correctly.

What Am I doing wrong here?

--
View this message in context:
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/IUSR-tp6404206
p6404206.html
Sent from the wix-users mailing list archive at Nabble.com.

----------------------------------------------------------------------------
--
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------------
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to