Yeah, I got that.  Besides the MSDN is this documented anywhere in WiX?  I am
going to guess NO since the Search feature found nothing.

You should consider this something like the SQL Query Analyzer, and at least
provide a link to the documentation for Windows Installer, the way it does
to TSQL.

And then there is the question of the examples which NEVER mention this
issue.  Lastly there is the problem that I have to discover and MANUALLY
REMOVE registry keys, just so I can cleanly uninstall a COMPlusApplication. 
WHAT is up with THAT?

The following is the WIX file for a VERY simple test application:
<?xml version="1.0" encoding="UTF-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2003/01/wi";
xmlns:pca="http://schemas.microsoft.com/wix/2005/02/pubca";>
  <Product Id="F61AD41f-6C22-4187-87EB-C1E78AD7BF64" Name="Test WiX"
Language="1033" Version="0.0.0.0" Manufacturer="Your Company">
    <Package Id="????????-????-????-????-????????????"
Description="Description for Test WiX" Comments="This will install the Test
WiX." InstallerVersion="200" Compressed="yes" />
    <Property Id="ALLUSERS" Value="1"/>
    <Media Id="1" Cabinet="TestWiX.cab" EmbedCab="yes" />
    <Directory Id="TARGETDIR" Name="SourceDir">
      <Directory Id="ProgramFilesFolder">
        <Directory Id="Dir" Name="TestWiX" LongName="Test WiX Directory">
          <Component Id="C__F3902C1CE01342C5B4134F300D23CE2A"
Guid="F00EB45A-0F66-DD92-BDBB-0E40B9E984FE">
            <File Id="_F3902C1CE01342C5B4134F300D23CE2A" Name="TESTWI~1.DLL"
LongName="TestWiXProject.dll" Vital="yes" KeyPath="yes" DiskId="1"
Source="C:\TestWiXProject.dll"/>
            <Registry Id="REM_Interface" Root="HKCR"
Key="Interface\{3311A504-2A50-42D8-8E06-A2F6B9D0B614}"
Action="removeKeyOnUninstall" />
            <Registry Id="REM_TypeLib" Root="HKCR"
Key="TypeLib\{293374B9-5CD7-42B3-804C-76F4FB4108B8}"
Action="removeKeyOnUninstall" />
            
            <!-- Remove leftover self register -->
            <Registry Id="REM_SelfReg0" Root="HKLM"
Key="SOFTWARE\Microsoft\COM3\SelfReg\CLSID\{0FF48E3E-7FBF-43A1-90A3-61D43371DB92}"
Action="removeKeyOnUninstall" />
            <Registry Id="REM_SelfReg1" Root="HKLM"
Key="SOFTWARE\Microsoft\COM3\SelfReg\TestWiXProject.TestWiX"
Action="removeKeyOnUninstall" />
            <Registry Id="REM_SelfReg2" Root="HKLM"
Key="SOFTWARE\Microsoft\COM3\SelfReg\TypeLib\{293374B9-5CD7-42B3-804C-76F4FB4108B8}"
Action="removeKeyOnUninstall" />
            <Registry Id="REM_SelfReg3" Root="HKLM"
Key="SOFTWARE\Microsoft\COM3\SelfReg\Interface\{3311A504-2A50-42D8-8E06-A2F6B9D0B614}"
Action="removeKeyOnUninstall" />
            
            <pca:ComPlusApplication Id="MyCOMApp" Name="My COM+ Application"
Identity="DOMAIN\USER" Password="PASSWORD">
              <pca:ComPlusAssembly Id="MyComPlusAssembly" Type="native"
DllPath="[#_F3902C1CE01342C5B4134F300D23CE2A]">
                <pca:ComPlusComponent Id="MyComPlusComponent"
CLSID="0FF48E3E-7FBF-43A1-90A3-61D43371DB92" IISIntrinsics="no" />
              </pca:ComPlusAssembly>
            </pca:ComPlusApplication>
          </Component>
      </Directory>
      </Directory>
    </Directory>

    <Feature Id="ProductFeature" Title="Test WiX Feature" Level="1">
      <ComponentRef Id="C__F3902C1CE01342C5B4134F300D23CE2A" />
    </Feature>
  </Product>
</Wix>

Just to get to this point I had to spend the last week or so reading
documentation and installing/uninstalling the test app many, many, many
times.  Not to mention removing the registry keys manually just to be sure
that the system was in a clean state. Now imagine the file for a system with
hundreds of COM Components, and 40 or so packages.

It appears to me that WiX after nearly two years, is still NOT ready for
prime time.  Have I just missed all the good examples, or is Windows
Installer itself so broken that these issues cannot be overcome?
-- 
View this message in context: 
http://www.nabble.com/Registry-Issue-tf1886724.html#a5183690
Sent from the wix-users forum at Nabble.com.


Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to