You are correct! I had to look at my old Install Shield installation to figure all this out. I am using part of their custom actions just to do this:
Extract XCACLS.vbs to SUPPORTDIR and then call it through another custom VBScript. I know all things I shouldn't be doing. I would love to use the <Permission> element but it didn't seem to edit the ACL. I am using the following command lines for XCACLS.vbs: "My Directory" /E /G "NT AUTHORITY\NETWORK SERVICE":XW /E Edit ACL instead of replacing it. This is the big one I can't seem to get WIX to do /G user:GUI Grant security permissions similar to Windows GUI standard (non-advanced) choices. X read & eXecute W Write I would love to get rid of all this old reliance on Install shield. And I don't really need special permissions. Just the ones that I would normally get with the Windows GUI security tab, "read and eXecute" and "Write". Can I do the above in the <Permission> element? I just don't see how to edit the ACL instead of overwriting the whole thing. And how do I use the <User> element. I just couldn't figure all this out! Thanks! Brandon -----Original Message----- From: Mike Dimmick [mailto:[EMAIL PROTECTED] Sent: Saturday, November 11, 2006 8:08 AM To: Brandon Tyler; wix-users@lists.sourceforge.net Subject: RE: [WiX-users] Creating and populating your own MSI table in WIX >From the name, I'd guess that XCACLS.vbs calls the xcacls command line utility to set advanced permissions on some folder. You might get better results using the <Permission> element with the @Extended attribute set to 'yes' (WiX 2.0.x) or a <PermissionEx> element from the Util schema (Wix 3.0.x). Could you confirm which version of WiX you're using? I'd try as hard as possible to remove any remaining dependencies on InstallShield. -- Mike Dimmick -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Brandon Tyler Sent: 11 November 2006 00:22 To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Creating and populating your own MSI table in WIX Rats! I used dark to get the following wix fragment: <CustomTable Id="ISSetupFile"> <Column Id="ISSetupFile" Nullable="yes" Type="string" Width="72" PrimaryKey="yes" /> <Column Id="FileName" Nullable="yes" Type="string" Width="255" /> <Column Id="Stream" Nullable="yes" Type="binary" /> <Row> <Data Column="ISSetupFile"><![CDATA[SetupFile12]]></Data> <Data Column="FileName"><![CDATA[XCACLS.vbs]]></Data> <Data Column="Stream" SourceFile="ISSetupFile\ISSetupFileFileName.ibd" /> </Row> </CustomTable> I put this in my code and I get: testcustomactions.wxs(52) : error CNDL0134 : The CustomTable/@Type attribute's value, 'OBJECT', is not currently a supported column type. This is a known issue and will not get fixed until the CustomTable processing code is rewritten. testcustomactions\testcustomactions.wxs(59) : error CNDL0004 : The Data element contains an unexpected attribute 'SourceFile'. light.exe : fatal error LGHT0005: File of type 'Source' with name 'msi\testcustomactions.wixobj' could not be found. Bummer! Anyone know a workaround for this? -----Original Message----- From: Cullen Waters [mailto:[EMAIL PROTECTED] Sent: Friday, November 10, 2006 4:10 PM To: Brandon Tyler; wix-users@lists.sourceforge.net Subject: RE: [WiX-users] Creating and populating your own MSI table in WIX Check the <CustomTable> element This e-mail transmission may contain information that is proprietary, privileged and/or confidential and is intended exclusively for the person(s) to whom it is addressed. Any use, copying, retention or disclosure by any person other than the intended recipient or the intended recipient's designees is strictly prohibited. If you are the intended recipient, you must treat the information in confidence and in accordance with all laws related to the privacy and confidentiality of such information. If you are not the intended recipient or their designee, please notify the sender immediately by return e-mail and delete all copies of this email, including all attachments. ------------------------------------------------------------------------ - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users This e-mail transmission may contain information that is proprietary, privileged and/or confidential and is intended exclusively for the person(s) to whom it is addressed. Any use, copying, retention or disclosure by any person other than the intended recipient or the intended recipient's designees is strictly prohibited. If you are the intended recipient, you must treat the information in confidence and in accordance with all laws related to the privacy and confidentiality of such information. If you are not the intended recipient or their designee, please notify the sender immediately by return e-mail and delete all copies of this email, including all attachments. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users