Hello all,

I'm new to WiX and Windows Installer and am wondering if this is a bug or 
something I'm doing wrong but I can't get
the following simple bit working, any help greatly appreciated as I'm about to 
start losing hair!

<?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" />

<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]"/>
</CreateFolder>
</Component>
</Directory>
</Directory>
</Directory>

<Feature Id="ProductFeature" Title="WixProject2" Level="1">
<ComponentRef Id="CreateDataFolder"/>
</Feature>
</Product>
</Wix>

The above fails with the following error,

SchedSecureObjects:  Error 0x80070002: failed to get security info for object: 
C:\ProgramData\TestFolder\

Platform is Windows Vista with UAC enabled and I'm using WiX build 3.0.3815.0.

Please help!

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to