Hi Bob, thanks for the reply, yes it was causing a rollback, however, being new to WiX I was not reading the verbose debug log properly and just searching for the first error and assuming that was the failure point , looking again I noticed a similar SchedSecureObject error further down regarding the SID and worked out it was because the 'Domain' attribute seems to be required for PermissionEx to operate properly, if that's the case it should probably be marked at such in the schema, anyway I can't use [ComputerName] as the domain value as that would be assuming the logged on user was local, however if it interests anyone I played around a bit and came up with the following simple solution which will resolve to the computer named or domain name depending on whether the logged on user is local or on a domain.
<Property Id="SVC_DOMAIN"><RegistrySearch Id="RegSearchServiceDomain" Root="HKCU" Key="Volatile Environment" Name="USERDOMAIN" Type="raw"/></Property> Would it not be possible for PermissionEx to resolve this itself if the 'Domain' attribute was not specified? PS: although as a beginner it's a little frustrating I'm quite enjoying discovering WiX, so thanks to all the team for providing the community with such a nice tool, keep up the good work :) Bob Arnson-6 wrote: > > [EMAIL PROTECTED] wrote: >> The above fails with the following error, >> >> SchedSecureObjects: Error 0x80070002: failed to get security info for >> object: C:\ProgramData\TestFolder\ >> > > Does it cause the install to fail and roll back? > > -- > sig://boB > http://joyofsetup.com/ > > > > ------------------------------------------------------------------------- > 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 > > -- View this message in context: http://www.nabble.com/-Wix-3.0--Can%27t-get-PermissionEx-working...-tp15551996p15573858.html Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------- 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