I'm compiling my installer on WiX 3.0.4805. Here is the error(s) I get...

C:\Documents and Settings\Curtis\Local 
Settings\Temp\perldist\wix_fragments\Icons.wxs(5) : error LGHT0204 : ICE38: 
Component C_S_CPA
N_Client installs to user profile. It must use a registry key under HKCU as 
its KeyPath, not a file.
C:\Documents and Settings\Curtis\Local 
Settings\Temp\perldist\wix_fragments\Icons.wxs(5) : error LGHT0204 : ICE43: 
Component C_S_CPA
N_Client has non-advertised shortcuts. It should use a registry key under 
HKCU as its KeyPath, not a file. -- Curtis Jewell (Personal e-mail) 
swords...@csjewell.fastmail.us

Here's the component in question...

<?xml version='1.0' encoding='windows-1252'?>
<Wix xmlns='http://schemas.microsoft.com/wix/2006/wi'>
   <Fragment Id='Fr_Icons'>
     <DirectoryRef Id='D_App_Menu'>
       <Component Id='C_S_CPAN_Client' 
Guid='DE7DA1DA-FE75-393C-AB1E-FF6E826BD2F9'>
         <Shortcut Id='S_CPAN_Client'
                   Name='CPAN Client'
                   Description='CPAN Client'
                   Target='[D_38F7F36E_C5DC_36DA_897C_C13F6A817F9F]cpan.bat'
                   WorkingDirectory='D_38F7F36E_C5DC_36DA_897C_C13F6A817F9F' 
/>
         <CreateFolder Directory="D_App_Menu" />
       </Component>
... (4 more of those)

and here's the important parts of the main file, as far as I can tell...

<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi";>
   <Product Id='817ED352-A249-3288-AFD8-E5BCE106DD5D'
     Language='1033'
        Manufacturer="Vanilla Perl Project"
        Name="Blueberry Perl"
        UpgradeCode="3449E58D-5732-3BF6-BA27-EB22844C08AC"
        Version="5.10.5" >

     <Package Description='Perl for Win32 operating systems.' Id='*'
       Comments='Debug Build.'
       InstallScope='perMachine' Platform='x86'
       InstallerVersion='200' Compressed='yes' InstallPrivileges='elevated' 
/>
     <Property Id='MsiLogging'>voIcewarmupx!</Property>

...

     <Property Id="INSTALLDIR">C:\blueberry</Property>

     <Directory Id='TARGETDIR' Name='SourceDir'>
       <Directory Id='INSTALLDIR'>
         <Directory Id='D_Perl' Name='perl'>
           <Directory Id='D_38F7F36E_C5DC_36DA_897C_C13F6A817F9F' Name='bin' 
/>
...

       <Directory Id='ProgramMenuFolder'>
         <Directory Id='D_App_Menu' Name='Blueberry Perl' />
       </Directory>
     </Directory>

     <Feature Id='Complete' Title='Blueberry Perl 5.10.0.5 Beta 1' 
Description='The complete package.' Level='1'>
...
       <ComponentRef Id='C_S_CPAN_Client' />
...
      </Feature>

...

---------------

Pachkage/@InstallScope='perMachine' should turn on ALLUSERS=1 and 
therefore, avoid those particular 2 ICE's, correct?  If not, why not? I'm 
puzzled.

--Curtis


"Killed enough? ... Yes, Your Highness, I think we all have."
   --John Patrick Ryan (from 'The Sum Of All Fears', Tom Clancy)

[I use PC-Alpine, which deliberately does not display colors
  and pictures in HTML mail]


------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to