I'm trying to create a folder that's either writable by the installing
user, or by all users, depending on ALLUSERS.

What would I need to do to set permissions specific to the installing
user?  I attempted to use the USERSID property, and got no error, but
the resulting older had an odd BUILTIN\BUILTIN user entry with a
question mark, instead of one for the user who performed the install.

 

Ive basically done the following:

 

<Component      Id="workfolder.all" 

                                    ...

                                    Location="either">

            <Condition>ALLUSERS</Condition>

            <CreateFolder>

                        <Permission      User="Everyone"
GenericAll="yes" />

            </CreateFolder>

</Component>

<Component      Id="workfolder.single" 

                                    ...

                                    Location="either">

            <Condition>NOT ALLUSERS</Condition>

            <CreateFolder>

                        <Permission User="[USERSID]" GenericAll="yes" />

            </CreateFolder>

</Component>

-------------------------------------------------------------------------
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