[wix-users] ICE validation errors

Hoover, Jacob Jacob.Hoover at greenheck.com
Wed Feb 5 13:46:37 PST 2020


>From the docs: Shortcut/@Target

If you specify this value, its value should be a property identifier enclosed by square brackets ([ ]), that is expanded into the file or a folder pointed to by the shortcut.

You should have a property in there, and use a search such as a DirectorySearch and FileSearch to get to the path populated into the property.  There is no guarantee that the user chose to install access on the C drive, or  that C is even the OS drive.

-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Charles Christie via wix-users
Sent: Wednesday, February 5, 2020 11:56 AM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Cc: Charles Christie <cchristie at generaldigital.com>
Subject: [wix-users] ICE validation errors

I am creating an installer for an Access 2007 database project. The problem is that it only works in Access 2007; newer versions of Access refuse to open it. I tried to create unregistered Shortcuts so that I could target the company-wide installation location for the Access 2007 Runtime (C:\Program Files (x86)\Microsoft Office\Office12\MSACCESS.EXE) but I get the following messages:

C:\Users\cchristie\source\repos\GDMSPInstaller\UniTracker Setup\Artifacts\bin\UTInstaller.wxs(91): error LGHT0204: ICE03: Bad shortcut target; Table: Shortcut, Column: Target, Key(s): ProgramMenuFolder.UTShortcut C:\Users\cchristie\source\repos\GDMSPInstaller\UniTracker Setup\Artifacts\bin\UTInstaller.wxs(139): error LGHT0204: ICE03: Bad shortcut target; Table: Shortcut, Column: Target, Key(s): DesktopFolder.DesktopShortcut

What can I do to correct these, if anything? Wix source below:
          <Component Id="Component.UTShortcut" Guid="283ad75e-0125-40ab-beb7-9edd6ad5c1b4">
            <Shortcut Id="ProgramMenuFolder.Universal_Tracker.UTShortcut" WorkingDirectory="INSTALLDIR" Target="C:\Program Files (x86)\Microsoft Office\Office12\MSACCESS.EXE" Arguments="[INSTALLDIR]UT.ade" Name="Universal Tracker.lnk" Icon="IconFile1_UTIcon.ico" IconIndex="0" />

            <RegistryKey Root="HKCU" Key="Software\WixSharp\Used">
              <RegistryValue Value="0" Type="string" KeyPath="yes" />
            </RegistryKey>
          </Component>

Note that if I suppress the ICE03 message, the icons are just never created at all when the installer is run.

____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/
NOTE: This email was received from an external source. Please use caution when opening links or attachments in the message.




More information about the wix-users mailing list