hi,

Here is some more information
we are using

Windows Server 2003
Dot net 1.1
Wix 2.0.4103.0

Thanks,
Anjali

anjali kulkarni <[EMAIL PROTECTED]> wrote: Hi,

I want to create a group called "TestUsers" in the installer of my Test.dll and 
in my Test.wxs, I want to create a folder and grant some permissions to this 
"TestUsers" group.

The problem here was that, Since CreateFolders is executed before 
InstallFinalize (Where in my group would be created), I was getting the error 
that "TestUsers" is not a valid group or user.

So I am now using SecureObjects Custom action. The snippet from my Test.wxs is :
<CreateFolder>
    <Permission User="TestUsers" GenericRead="yes" Read="yes" Extended="yes"/>
</CreateFolder>

 <CustomAction Id="SchedSecureObjects" DllEntry="SchedSecureObjects" 
    BinaryKey="wixca" Execute="immediate" Return="check" />

<InstallExecuteSequence>
    <Custom After="InstallFinalize"Action="SchedSecureObjects"/>
</InstallExecuteSequence>   

With this, when I install my Test.msi,  it creates my group  and installs my 
application but I could see that the TestUsers group is not added to  required 
folders' security settings.

Could you please give some directions?

Thanks,
Anjali
        

---------------------------------
Looking for earth-friendly autos? 
 Browse Top Cars by "Green Rating" at Yahoo! Autos' Green Center.  
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


 
---------------------------------
Now that's room service! Choose from over 150,000 hotels 
in 45,000 destinations on Yahoo! Travel to find your fit.
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to