Bugs item #1898015, was opened at 2008-02-20 08:38 Message generated for change (Comment added) made by robmen You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=642714&aid=1898015&group_id=105970
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: extensions Group: v3.0 >Status: Closed >Resolution: Invalid Priority: 5 Private: No Submitted By: KStuart (kstuart) >Assigned to: Rob Mensching (robmen) Summary: PermissionEx fails if Domain attribute is omitted Initial Comment: Platform: Windows Vista Ultimate 6.0.6000 Installer run from a local administrative account. Still fails if UAC disabled. Please view line 887 of the attached log for the failure point (failed to get sid for account). Wix Source: <?xml version="1.0" encoding="UTF-8"?> <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi" xmlns:util="http://schemas.microsoft.com/wix/UtilExtension"> <Product Id="F1B39707-066C-44B6-BB41-7C1B5901037E" Name="WixProject2" Language="1033" Version="1.0.0.0" Manufacturer="WixProject2" UpgradeCode="1FC1B1DA-6642-477B-9236-46B6FE72FAD4"> <Package InstallerVersion="200" Compressed="yes" /> <Media Id="1" Cabinet="WixProject2.cab" EmbedCab="yes" /> <Property Id="ALLUSERS" Value="1"/> <Directory Id="TARGETDIR" Name="SourceDir"> <Directory Id="ProgramFilesFolder"> <Directory Id="INSTALLLDIR" Name="WixProject2"> </Directory> </Directory> <Directory Id="CommonAppDataFolder"> <Directory Id="DATADIR" Name="TestFolder"> <Component Id="CreateDataFolder" Guid="5E996772-155C-4374-8916-33FA39FBF680"> <CreateFolder> <util:PermissionEx GenericAll="yes" User="[LogonUser]" Domain="Maverick"/> </CreateFolder> </Component> </Directory> </Directory> </Directory> <Feature Id="ProductFeature" Title="WixProject2" Level="1"> <ComponentRef Id="CreateDataFolder"/> </Feature> </Product> </Wix> ---------------------------------------------------------------------- >Comment By: Rob Mensching (robmen) Date: 2008-05-02 01:55 Message: Logged In: YES user_id=991639 Originator: NO If the Domain is not specified the CustomAction uses the local machine (aka: ".") to resolve the user name. If there is no local machine account with the name from "User" attribute then the CustomAction fails. This seems like a reasonable design. ---------------------------------------------------------------------- Comment By: KStuart (kstuart) Date: 2008-02-20 08:40 Message: Logged In: YES user_id=2014795 Originator: YES WiX Version: 3.0.3815.0 ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=642714&aid=1898015&group_id=105970 ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ WiX-devs mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wix-devs
