Bob,

Thanks for the information. Based on the blog this is what I created.

+++++++++++++++ in Product.wxs ++++++++++++++++++++++++++++++++++++

    <Directory Id="TARGETDIR" Name="SourceDir">
      
      <Directory Id="PersonalFolder">
        <Directory Id="PERSONALFOLDERSPELLING" Name="Spelling">
          <Component Id="IntelliCADSpellingComponent"
Guid="{708BD1D9-0DAC-4a0a-9164-AAC5895E0A28}">
            <!--<CreateFolder />-->
            <RegistryKey Id="REGA8625786B015412cBBB6AA1EAC4C939F"
                         Action="createAndRemoveOnUninstall"
                         Key="$(var.IntelliCADKeyRoot)"
                         Root="HKCU"/>
            <RegistryValue Id="regC4CC220D273A480e95BCAB4288B58B11"
                          Root="HKCU" Key="$(var.IntelliCADKeyRoot)"
                          Name="Installed" Value="[BinDir]"
                          Type="string" KeyPath="yes" />
            <RemoveFolder Id="CleanupIntelliCADSpellingFolder"
Directory="PERSONALFOLDERSPELLING" On="uninstall" />

          </Component>
        </Directory>
      </Directory>

++++++++++++ in CustomSpellingFiles.wxs ++++++++++++++++++++++++++

<?xml version="1.0" encoding="utf-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi";>
    <Fragment>
      <DirectoryRef Id="PERSONALFOLDERSPELLING">
          <Component Id="en_US.aff"
Guid="{1F9DFF37-51ED-42BF-8F7C-401030FBD56C}">
            <File Id="en_US.aff" Name="en_US.aff" KeyPath="no"
Source="C:\JMATECH_PROGRAMS\IntelliCAD_6_6_Standard_Install\IntelliCAD_6
_6_Standard_Install\Spelling\en_US\en_US.aff" />
            <RegistryKey Root="HKCU" Key="English">
              <RegistryValue Value ="en_US.aff" KeyPath ="yes"
Type="string"></RegistryValue>
            </RegistryKey>
            <RemoveFile Id="Remove_en_US_aff" Name="en_US.aff"
On="uninstall"/>
          </Component>
          <Component Id="en_US.dic"
Guid="{B007884F-C35D-40D9-B7D1-25A4335F7E7A}">
            <File Id="en_US.dic" Name="en_US.dic" KeyPath="no"
Source="C:\JMATECH_PROGRAMS\IntelliCAD_6_6_Standard_Install\IntelliCAD_6
_6_Standard_Install\Spelling\en_US\en_US.dic" />
            <RegistryKey Root="HKCU" Key="English">
              <RegistryValue Value ="en_US.dic" KeyPath ="yes"
Type="string"></RegistryValue>
            </RegistryKey>
            <RemoveFile Id="Remove_en_US_dic" Name="en_US.dic"
On="uninstall"/>
          </Component>
          <Component Id="icad.cus"
Guid="{7BEFCD07-F696-4531-8970-6BDE3E650801}">
            <File Id="icad.cus" Name="icad.cus" KeyPath="no"
Source="C:\JMATECH_PROGRAMS\IntelliCAD_6_6_Standard_Install\IntelliCAD_6
_6_Standard_Install\Spelling\en_US\icad.cus" />
            <RegistryKey Root="HKCU" Key="English">
              <RegistryValue Value ="icad.cus" KeyPath ="yes"
Type="string"></RegistryValue>
            </RegistryKey>
            <RemoveFile Id="Remove_icad_cus" Name="icad.cus"
On="uninstall"/>
          </Component>
          <Component Id="README_en_US.txt"
Guid="{2AB88D6A-AE54-4887-8428-DD3B4E3A0234}">
            <File Id="README_en_US.txt" Name="README_en_US.txt"
KeyPath="no"
Source="C:\JMATECH_PROGRAMS\IntelliCAD_6_6_Standard_Install\IntelliCAD_6
_6_Standard_Install\Spelling\en_US\README_en_US.txt" />
            <RegistryKey Root="HKCU" Key="English">
              <RegistryValue Value ="README_en_US.txt" KeyPath ="yes"
Type="string"></RegistryValue>
            </RegistryKey>
            <RemoveFile Id="Remove_README_en_US_txt"
Name="README_en_US.txt" On="uninstall"/>
          </Component>
      </DirectoryRef>
    </Fragment>
    <Fragment>
        <ComponentGroup Id="en_US_SpellingComponentGroup">
            <ComponentRef Id="en_US.aff" />
            <ComponentRef Id="en_US.dic" />
            <ComponentRef Id="icad.cus" />
            <ComponentRef Id="README_en_US.txt" />
        </ComponentGroup>
    </Fragment>
</Wix>

I just get the feeling that the above code is not complete right.

I am getting an ICE91 warning for ALLUSER to per user install. 

Any suggestion of improving or correcting the above code snippet. 


Regards,
 
John E. McLean, Jr.
Tel: 713-780-7262
Fax: 713-780-3010
http://www.jmatech.com
 
This message and its attachments are for the sole use of the intended
recipients. They may contain confidential, privileged or proprietary
information or other information subject to legal protection and
restrictions. If you are not the intended recipient of this message,
please do not read, copy or disclose the content of this message or its
attachments and immediately notify the sender of the erroneous
transmission by replying to the message. You should then delete or
destroy all copies of the message and attachments in all forms of media.

-----Original Message-----
From: Bob Arnson [mailto:b...@joyofsetup.com] 
Sent: Saturday, January 03, 2009 3:12 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Registry Table Error

John McLean, Jr. wrote:
> The line that is causing the problem is this. 
>
> <RegistryValue Root="HKCR"
> Key="CLSID\{D5DE8D20-5BB8-11D1-A1E3-00A0C90F2731}\InProcServer32"
> Value="C:\WINDOWS\system32\MSVBVM60.DLL" Type="string" Action="write" 
> />
>   

You can remove it. The Class element creates that value (and more
correctly, since this one hard-codes the Windows directory).

> ICE38: Component en_US.aff installs to user profile. It must use a 
> registry key under HKCU as its KeyPath, not a file.
>   

See
http://robmensching.com/blog/archive/2007/04/27/How-to-create-an-uninsta
ll-shortcut-and-pass-all-the.aspx.

--
sig://boB
http://joyofsetup.com/



------------------------------------------------------------------------
------
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



------------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to