Thanks for the reply. The problem is that we are building a general purpose 
product and have no control on what the user is going to do. We test various 
scenarios before launching a product and this was one of our test areas.
 
Now, I suppose we have fixed the issue. We have made that component 'Permanent' 
so that it is not executed during uninstall. We then created another component 
which has a 'RemoveFolder' element and that one runs upon uninstall. We have a 
custom action which removes any sharing before the folder is deleted. I know 
this is a very twisted approach, but, we were finding no other way to deal with 
this problem.
 
 
Thanks.
// Sudripta.
 
 
 
-----Original Message-----
From: "Carter Young"
Sent: Thursday, 27 February, 2014 9:49pm
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Product removal fails as ConfiguresmbUninstall fails



To Add to this, another option is to install/uninstall as the Local  
Administrator, not the Domain Administrator or Domain User

Carter

Quoting Carter Young <ecyo...@grandecom.net>:

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




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