[wix-users] Limitation of shortcut target length LGHT1076 ICE03

Rob Mensching rob at firegiant.com
Fri Aug 31 13:14:18 PDT 2018


Some lengths matter (Feature Id is one case, IIRC) but all do not.
_____________________________________________________________
 Short replies here. Complete answers over there: http://www.firegiant.com/

-----Original Message-----
From: wix-users <wix-users-bounces at lists.wixtoolset.org> On Behalf Of Helge Kruse via wix-users
Sent: Wednesday, August 29, 2018 11:30 PM
To: Edwin Castro <egcastr at gmail.com>; WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Cc: Helge Kruse <Helge.Kruse at gmx.net>
Subject: Re: [wix-users] Limitation of shortcut target length LGHT1076 ICE03

Am 29.08.2018 um 16:33 schrieb Edwin Castro:
> Why do you think some data is missing?
The message tells me "String overflow (greater than length permitted in
column)". If any maximum length is permitted I expect that the string is
truncated.

If it is not truncated I find the message inappropriate. Should I
suppress ICE03? What is it good for, if the installation is working?

> Have you used orca or instedit to look at the Shortcut table in your MSI?
> ICE validation runs on MSIs so it already exists. You'll see the entire
> string in the MSI.
Yes, the string is complete.

> The ICE03 warning is telling you the length of the string in the Target
> column on the Shortcut table for the row key SbReleaseHistoryShortcut is
> longer than the "max allowed" length as defined in the definition of the
> Shortcut table.
What does that mean? Although not allowed the string is in the table.

> To address this warning you must decrease the length of that string.
Well the string is the path to a file that shall be started with the
shortcut. I can't decrease the length since the path name has that length.

> I tried to find the length of the Target column online bur only found
> 
> https://docs.microsoft.com/en-us/windows/desktop/msi/shortcut-table
> 
> which doesn't mention the length. 
I found the length with Orca. With the table context menu item "Adjust
Schema" a maximum length of 72 is displayed. I don't know how the
underlying database can store 73 characters here.

Best regards
Helge



____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/


More information about the wix-users mailing list