That just runs MsiZap in the end and leaves your machine in a dirty state. I 
always told my testers that if they came to me with a installation bug after 
running MsiZap to format the machine and try again. I didn't like hunting the 
voodoo bugs that came from dealing with a machine that had MsiZap run on it. 
YMMV.

-----Original Message-----
From: Scott Moyer [mailto:scott.mo...@appliedvision.com] 
Sent: Tuesday, March 25, 2014 12:48 PM
To: 'General discussion about the WiX toolset.'
Subject: Re: [WiX-users] (Gentle Reminder)Creating directory under 
C:\Programdata same as what the user specified in the UI dialogue

I found a tool, called MicrosoftFixit*, that you can use to fix orphaned 
installs that did not show up in ARP but were causing sharing issues with some 
of my files. I now know what to do if this happens again. Thanks.

See http://support.microsoft.com/mats/Program_Install_and_Uninstall

Scott Moyer


-----Original Message-----
From: Phil Wilson [mailto:phildgwil...@gmail.com]
Sent: Tuesday, March 25, 2014 2:41 PM
To: General discussion about the WiX toolset.
Subject: Re: [WiX-users] (Gentle Reminder)Creating directory under 
C:\Programdata same as what the user specified in the UI dialogue

We seem to have crossed threads here,  Suvra's "disallowing uninstallation" and 
Scott's similar sounding problem,.

Suvra is off looking at the actual file, as far as I know.  I've no idea why 
Scott would see "disallowing uninstallation" messages referring to component 
ids that re not in the MSI file, unless it's an upgrade and they are related to 
the older product being removed.

Turn this into a vbs script and run it. It lists every component id on the 
system and the owning products, so it might be overkill, but look in the output 
for the questionable ids.


Option Explicit
Public installer, fullmsg, comp, a, prod, fso, pname, ploc, pid, psorce Set fso 
= CreateObject("Scripting.FileSystemObject")
Set a = fso.CreateTextFile("comps.txt", True) ' Connect to Windows Installer 
object Set installer = CreateObject("WindowsInstaller.Installer")
a.writeline ("MSI Components")
on error resume next
For Each comp In installer.components
   a.writeline (comp & " is used by the product:")
   for each prod in Installer.ComponentClients (comp)
      pid = installer.componentpath (prod, comp)
      pname = installer.productinfo (prod, "InstalledProductName")
      a.Writeline ("     " & pname & " " & prod & "and is installed at " & pid)
   Next
Next


---------------
Phil Wilson


On Tue, Mar 25, 2014 at 11:15 AM, Hoover, Jacob <jacob.hoo...@greenheck.com> 
wrote:
> I believe the ID's are encoded in the registry to prevent manual scrubbing, 
> but the MsiZap may be able to help you if you can find a copy.   You might 
> want to scan ARP on your dev machine after the application is uninstalled to 
> see if there is an old MSI lying around (or even look for old MSI's you may 
> have built that are still on your machine).  If you can find the old MSI's 
> you can use them to remove the data.
>
> One option would be to change your path of your installation (not optimal) so 
> that the auto-generated components have a different ID.
>
> And some more info on the location of the stored references and how 
> the GUID's are compressed:
> http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Windows-
> Installer-Service-and-reference-counting-td702967.html
>
>
> -----Original Message-----
> From: Scott Moyer [mailto:scott.mo...@appliedvision.com]
> Sent: Tuesday, March 25, 2014 12:42 PM
> To: 'General discussion about the WiX toolset.'
> Subject: Re: [WiX-users] (Gentle Reminder)Creating directory under 
> C:\Programdata same as what the user specified in the UI dialogue
>
> I found some "Disallowing uninstallation of component: {<guid>} since another 
> client exists" messages in the uninstall log, which look to be referencing 
> the exe files, but can't find any references to the those guids in my MSI or 
> in the Registry. They are not from a merge module, and I have never used the 
> Permanent or Shared attributes. I have been running on my dev machine (not in 
> a VM). Sounds like there is no recovery for this situation?
>
> Thanks,
> Scott
>
> -----Original Message-----
> From: Phil Wilson [mailto:phildgwil...@gmail.com]
> Sent: Tuesday, March 25, 2014 1:07 PM
> To: General discussion about the WiX toolset.
> Subject: Re: [WiX-users] (Gentle Reminder)Creating directory under 
> C:\Programdata same as what the user specified in the UI dialogue
>
> If the issue is that "disallowing uninstallation" message, then look up the 
> component guid in your MSI to see what it is, a file name or registry item. 
> Without that detail it's impossible to say if it's working correctly. It may 
> be shared because it's from a merge module used by other products (Microsoft 
> support Dlls etc); it may be that you have used the same physical test system 
> (instead of a clean VM) for all your testing and it's now an unreliable test 
> machine; you may have marked that guid as permanent at one time in an 
> install; you may have marked it shared at one time.
> ---------------
> Phil Wilson
>
>
> On Tue, Mar 25, 2014 at 8:06 AM, Phill Hogland <phogl...@rimage.com> wrote:
>> I suspect the issue is that you need to remember the values of your 
>> properties and retrieve them prior to doing the uninstall.
>> http://robmensching.com/blog/posts/2010/5/2/the-wix-toolsets-remember
>> -
>> property-pattern
>> http://www.nichesoftware.co.nz/node/633
>>
>>
>>
>>
>> --
>> View this message in context:
>> http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Creatin
>> g
>> -directory-under-C-Programdata-same-as-what-the-user-specified-in-the
>> -
>> UI-dialogue-tp7593357p7593740.html
>> Sent from the wix-users mailing list archive at Nabble.com.
>>
>> ---------------------------------------------------------------------
>> -
>> -------- Learn Graph Databases - Download FREE O'Reilly Book "Graph 
>> Databases" is the definitive new guide to graph databases and their 
>> applications. Written by three acclaimed leaders in the field, this 
>> first edition is now available. Download your free book today!
>> http://p.sf.net/sfu/13534_NeoTech
>> _______________________________________________
>> WiX-users mailing list
>> WiX-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/wix-users
>
> ----------------------------------------------------------------------
> -------- Learn Graph Databases - Download FREE O'Reilly Book "Graph 
> Databases" is the definitive new guide to graph databases and their 
> applications. Written by three acclaimed leaders in the field, this first 
> edition is now available. Download your free book today!
> http://p.sf.net/sfu/13534_NeoTech
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
> ________________________________
>
> NOTICE: The information contained in this electronic mail transmission is 
> intended by Applied Vision Corporation and its affiliates for the sole use of 
> the named individual or entity to which it is directed, and may contain 
> confidential information and/or trade secrets. This electronic mail is not 
> intended for transmission to, or receipt by, anyone other than the named 
> addressee (or a person authorized to deliver it to the named addressee). This 
> electronic mail should not be copied or forwarded to any unauthorized 
> persons. If you have received this electronic mail transmission in error, 
> please delete it from your system without copying or forwarding it, and 
> notify the sender of the error by reply email or by calling Applied Vision 
> Corporation at 330.926.2222, so that our address record can be corrected.
>
> ----------------------------------------------------------------------
> -------- Learn Graph Databases - Download FREE O'Reilly Book "Graph 
> Databases" is the definitive new guide to graph databases and their 
> applications. Written by three acclaimed leaders in the field, this first 
> edition is now available. Download your free book today!
> http://p.sf.net/sfu/13534_NeoTech
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
> ----------------------------------------------------------------------
> -------- Learn Graph Databases - Download FREE O'Reilly Book "Graph 
> Databases" is the definitive new guide to graph databases and their 
> applications. Written by three acclaimed leaders in the field, this 
> first edition is now available. Download your free book today!
> http://p.sf.net/sfu/13534_NeoTech
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the 
definitive new guide to graph databases and their applications. Written by 
three acclaimed leaders in the field, this first edition is now available. 
Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

________________________________

NOTICE: The information contained in this electronic mail transmission is 
intended by Applied Vision Corporation and its affiliates for the sole use of 
the named individual or entity to which it is directed, and may contain 
confidential information and/or trade secrets. This electronic mail is not 
intended for transmission to, or receipt by, anyone other than the named 
addressee (or a person authorized to deliver it to the named addressee). This 
electronic mail should not be copied or forwarded to any unauthorized persons. 
If you have received this electronic mail transmission in error, please delete 
it from your system without copying or forwarding it, and notify the sender of 
the error by reply email or by calling Applied Vision Corporation at 
330.926.2222, so that our address record can be corrected.

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the 
definitive new guide to graph databases and their applications. Written by 
three acclaimed leaders in the field, this first edition is now available. 
Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to