Hi All, In my setup I need to create a folder and give permissions to certain users. I have used the following code:
<Component Id='ComponentShare' Guid='<Guid>'> <util:FileShare Id='ShareProduct' Name='Shared'> <util:FileSharePermission User="AllUsers" GenericExecute='yes' GenericRead='yes' Read='yes' /> <util:FileSharePermission User="ProdUser" GenericAll='yes' /> </util:FileShare> <CreateFolder> <util:PermissionEx User="Everyone" GenericExecute='yes' GenericRead='yes' Read='yes' /> <util:PermissionEx User="[WUSER]" Domain='[USEDOMAIN] GenericAll='yes' /> </CreateFolder> </Component> Where 'ProdUser' and 'WUSER' are defined in two user elements. It is working perfectly. But, when the computer is moved to another domain or workgroup (after the product has been installed), the product removal starts failing. In the log it shows that 'ConfiguresmbUninstall' fails to get the SID and fails. But, this is not a desired outcome as product removal shouldn't fail. I don't need the permission to be removed as the whole folder itself is getting removed in a separate component using the 'RemoveFolder' element. To stop the permission from getting removed during uninstall, I added the following condition within the above component: <Condition><![CDATA[NOT REMOVE]]></Condition> But, still the ConfiguresmbUninstall is getting executed and it fails for which the product removal fails. Please help me find a way to either make the removal to continue even if it fails, or stop the above component from getting executed during removal. Thanks. // Sudripta. ------------------------------------------------------------------------------ Flow-based real-time traffic analytics software. Cisco certified tool. Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer Customize your own dashboards, set traffic alerts and generate reports. Network behavioral analysis & security monitoring. All-in-one tool. http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users