I was hoping for some help with a problem I'm having with uninstall from the
Wix Maintenance dialog.

As part of my installer I generate a registry entry to store the location
for a Java directory the user specifies.  This is done with a dialog (a
version of the Install directory dialog) and a property JAVA_LOC. Here's the
definition:

    <DirectoryRef Id="APPLICATIONFOLDER">
      <Component Id="CMP_WriteJavaLoc"
Guid="93BE1E26-1927-44B5-95EF-B30242B357D0">
        <RegistryValue Id="JavaLocRegistryValue" KeyPath="yes"
Action="write" Root="HKLM" Key="Software\Kaazing\HTML5\3.3" Name="JAVA_LOC"
Value="[JAVA_LOC]" Type="string" />
        <Condition>
          NOT (REMOVE~="ALL")
        </Condition>
      </Component>
    </DirectoryRef>

When I initially tried this, the installer complained during installation
that there was no entry in the Directory table for JAVA_LOC (even though the
directory has no contents.)  So I created an empty directory entry
<Directory Id="JAVA_LOC"></Directory>.  Now the installer passes (no "extra"
directory is created, which is correct.)  However, when I run the installer
again and choose Uninstall, everything is correctly uninstalled except the
registry entry.  All files and other directories are gone, but the registry
key and value remain.  When I just run the Uninstall from the 'Uninstall a
Program' control panel, it works fine--everything goes away.  When I run a
shortcut I created with the target

Target="[System64Folder]msiexec.exe" Arguments="/x [ProductCode]"

everything uninstalls.  Any help with this doesn't work?  I've attached a
log file from the uninstall.

Thanks!
Dave
------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2dcopy2
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to