Can you not Remove the Product before moving the computer to the new  
Domain, the perform a reinstall in the new domain?  Your Product  
unistall will always Fail, as the MSI database stores the USERID along  
with the Domain somewhere in the table that you can view with Orca, in  
the form <Domain>\<USERID>.  Moving the Computer updates the Active  
Directory Service on your domain controller but will never update the  
MSI table as that is a Local Database, i.e. local to the machine the  
product is installed on.

Carter

Quoting sudrip...@sarangsoft.co.in:

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




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

Reply via email to