i have problem when uninstalling app not removing files. find out there when app uninstalling in log prints:
... msi (s) (0c:84) [11:39:07:836]: disallowing uninstallation of component: {51db6066-afcd-5a03-be34-09e197799057} since client exists ...
then find out using wix toolset has api called dtf (mentioned in wix toolset: complete cleanup after "disallowing uninstallation of component since client exists"), , executed query in linqpad (c# statement):
(f4 press import namespaces , additiona reference)
//using microsoft.deployment.windowsinstaller; //using system.linq; // <ref>"c:\program files (x86)\wix toolset v3.9\sdk\ microsoft.deployment.windowsinstaller.dll"</ref> var client = componentinstallation.allcomponents .where (c => c.componentcode == "{72ed6979-0aad-317c-a25c-ab9a121e6d30}") .select(c => c); client.dump(); that there old recods: 
i cant remove them using "msiexec /x {guid}" becouse these products marked "isinstalled=false".
so how remove these old records?
disallowing uninstallation of component: {51db6066-afcd-5a03-be34-09e197799057} since client exists
this means there 1 or more products installed on system reference component.
have made sure there no other product on system references component?
you dont want sort of clean-up windows installer handles of without sort of user intervention.
have installed older version of product earlier or file installed merge module?
Comments
Post a Comment