If this isn't a 2 GB limitation, then it's a serious coincidence. :)
Light successfully builds the cab files. In this case, the two big ones are
just under 2 GB each (so the final msi should be almost 4 GB). Then it starts
building the msi file. The msi file grows until it reaches 2,147,418,112
bytes, then stops growing. Light then churns for a while longer, until finally
it creates the _Validation.idt file (attached), and then dies with the LGHT0136
error message.
Unfortunately, I have strict requirements for the installer to be a single msi
file, so I can't split out the cabs into external files.
________________________________________
From: Rob Mensching [r...@robmensching.com]
Sent: Thursday, January 13, 2011 1:07 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] error compiling large MSI
That doesn't sound right to me. Also, the error you're getting is about
_Validation table failing to IDT file is corrupt or something more sinister.
Tim, can you try running light with the "-notidy" switch and capture the
_Validation.idt file? From there we should begin the diagnosis.
On Wed, Jan 12, 2011 at 5:06 PM, Michael Urman <mur...@gmail.com> wrote:
> The underlying storage for the .msi database cannot handle sizes over
> 2GB, so your assessment seems correct. Unfortunately the only
> workaround I'm aware of is to move the large data outside the .msi,
> necessitating external files (either .cab or raw source files).
>
> On Wed, Jan 12, 2011 at 15:47, Tim McDaniel <tmcdan...@aspyr.com> wrote:
> > I have a very simple WiX project which has worked without problems for
> many installers. But I am now running into an error with the latest
> attempted installer. The only difference I can see is that this is the
> first time the MSI has tried to grow above 2 GB. The error from Light is
> this:
> >
> > C:\Users\Tim\AppData\Local\Temp\uttmwr23\_Validation.idt : error
> LGHT0136: There was an error importing table '_Validation' from file
> 'C:\Users\Tim\AppData\Local\Temp\uttmwr23\_Validation.idt
> >
> > This is not a case of exceeding limits on number of files, etc. The
> total number of files is only around 10. But there is a large amount of
> data, which I zip up into a set of zip files of less than 2 GB each. Each
> of these zip files goes into it's own uncompressed and embedded Media cab.
> >
> > The reason I suspect a 2GB limit somewhere is that the MSI file being
> built in the temp folder specified in the error message is just at 2 GB when
> the error occurs.
> >
> > Thanks,
> > Tim McDaniel
> > Aspyr Media
> >
> ------------------------------------------------------------------------------
> > Protect Your Site and Customers from Malware Attacks
> > Learn about various malware tactics and how to avoid them. Understand
> > malware threats, the impact they can have on your business, and how you
> > can protect your company and customers by using code signing.
> > http://p.sf.net/sfu/oracle-sfdevnl
> > _______________________________________________
> > WiX-users mailing list
> > WiX-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wix-users
> >
>
>
> ------------------------------------------------------------------------------
> Protect Your Site and Customers from Malware Attacks
> Learn about various malware tactics and how to avoid them. Understand
> malware threats, the impact they can have on your business, and how you
> can protect your company and customers by using code signing.
> http://p.sf.net/sfu/oracle-sfdevnl
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
--
virtually, Rob Mensching - http://RobMensching.com LLC
------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand
malware threats, the impact they can have on your business, and how you
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
Table Column Nullable MinValue MaxValue KeyTable
KeyColumn Category Set Description
s32 s32 s4 I4 I4 S255 I2 S32 S255 S255
_Validation Table Column
_SummaryInformation PropertyId N
_SummaryInformation Value N
_Validation Table N Identifier
Name of table
_Validation Column N Identifier
Name of column
_Validation Nullable N
Y;N Whether the column is nullable
_Validation MinValue Y -2147483647 2147483647
Minimum value allowed
_Validation MaxValue Y -2147483647 2147483647
Maximum value allowed
_Validation KeyTable Y
Identifier For foreign key, Name of table to which data must link
_Validation KeyColumn Y 1 32
Column to which foreign key connects
_Validation Category Y
Text;Formatted;Template;Condition;Guid;Path;Version;Language;Identifier;Binary;UpperCase;LowerCase;Filename;Paths;AnyPath;WildCardFilename;RegPath;KeyFormatted;CustomSource;Property;Cabinet;Shortcut;URL
String category
_Validation Set Y Text
Set of values that are permitted
_Validation Description Y Text
Description of column
AdminExecuteSequence Action N
Identifier Name of action to invoke, either in the engine or the
handler DLL.
AdminExecuteSequence Condition Y
Condition Optional expression which skips the action if evaluates
to expFalse.If the expression syntax is invalid, the engine will terminate,
returning iesBadActionData.
AdminExecuteSequence Sequence Y -4 32767
Number that determines the sort order in which the actions are
to be executed. Leave blank to suppress action.
AdminUISequence Action N Identifier
Name of action to invoke, either in the engine or the handler DLL.
AdminUISequence Condition Y
Condition Optional expression which skips the action if evaluates
to expFalse.If the expression syntax is invalid, the engine will terminate,
returning iesBadActionData.
AdminUISequence Sequence Y -4 32767
Number that determines the sort order in which the actions are to be
executed. Leave blank to suppress action.
AdvtExecuteSequence Action N
Identifier Name of action to invoke, either in the engine or the
handler DLL.
AdvtExecuteSequence Condition Y
Condition Optional expression which skips the action if evaluates
to expFalse.If the expression syntax is invalid, the engine will terminate,
returning iesBadActionData.
AdvtExecuteSequence Sequence Y -4 32767
Number that determines the sort order in which the actions are
to be executed. Leave blank to suppress action.
Binary Name N Identifier
Unique key identifying the binary data.
Binary Data N Binary The
unformatted binary data.
Component Component N
Identifier Primary key used to identify a particular component
record.
Component ComponentId Y Guid
A string GUID unique to this component, version, and language.
Component Directory_ N Directory 1
Identifier Required key of a Directory table record. This is
actually a property name whose value contains the actual path, set either by
the AppSearch action or with the default setting obtained from the Directory
table.
Component Attributes N
Remote execution option, one of irsEnum
Component Condition Y
Condition A conditional statement that will disable this
component if the specified condition evaluates to the 'True' state. If a
component is disabled, it will not be installed, regardless of the 'Action'
state associated with the component.
Component KeyPath Y File;Registry;ODBCDataSource
1 Identifier Either the primary key into the File table,
Registry table, or ODBCDataSource table. This extract path is stored when the
component is installed, and is used to detect the presence of the component and
to return the path to it.
CustomAction Action N Identifier
Primary key, name of action, normally appears in sequence table unless
private use.
CustomAction Type N 1 32767
The numeric custom action type, consisting of source location, code type,
entry, option flags.
CustomAction Source Y CustomSource
The table reference of the source of the code.
CustomAction Target Y Formatted
Excecution parameter, depends on the type of custom action
CustomAction ExtendedType Y 0 2147483647
A numeric custom action type that extends code type or option
flags of the Type column.
Directory Directory N
Identifier Unique identifier for directory entry, primary key. If
a property by this name is defined, it contains the full path to the directory.
Directory Directory_Parent Y Directory
1 Identifier Reference to the entry in this table specifying
the default parent directory. A record parented to itself or with a Null parent
represents a root of the install tree.
Directory DefaultDir N
DefaultDir The default sub-path under parent's path.
Feature Feature N Identifier
Primary key used to identify a particular feature record.
Feature Feature_Parent Y Feature 1 Identifier
Optional key of a parent record in the same table. If the parent is not
selected, then the record will not be installed. Null indicates a root item.
Feature Title Y Text Short
text identifying a visible feature item.
Feature Description Y Text
Longer descriptive text describing a visible feature item.
Feature Display Y 0 32767 Numeric
sort order, used to force a specific display ordering.
Feature Level N 0 32767 The
install level at which record will be initially selected. An install level of 0
will disable an item and prevent its display.
Feature Directory_ Y Directory 1
UpperCase The name of the Directory that can be configured by the
UI. A non-null value will enable the browse button.
Feature Attributes N
0;1;2;4;5;6;8;9;10;16;17;18;20;21;22;24;25;26;32;33;34;36;37;38;48;49;50;52;53;54
Feature attributes
FeatureComponents Feature_ N Feature 1
Identifier Foreign key into Feature table.
FeatureComponents Component_ N Component
1 Identifier Foreign key into Component table.
File File N Identifier
Primary key, non-localized token, must match identifier in cabinet. For
uncompressed files, this field is ignored.
File Component_ N Component 1
Identifier Foreign key referencing Component that controls the
file.
File FileName N Filename
File name used for installation, may be localized. This may contain a
"short name|long name" pair.
File FileSize N 0 2147483647
Size of file in bytes (long integer).
File Version Y File 1 Version Version
string for versioned files; Blank for unversioned files.
File Language Y Language
List of decimal language Ids, comma-separated if more than one.
File Attributes Y 0 32767
Integer containing bit flags representing file attributes (with the decimal
value of each bit position in parentheses)
File Sequence N 1 2147483647
Sequence with respect to the media images; order must track cabinet
order.
Icon Name N Identifier
Primary key. Name of the icon file.
Icon Data N Binary Binary
stream. The binary icon data in PE (.DLL or .EXE) or icon (.ICO) format.
InstallExecuteSequence Action N
Identifier Name of action to invoke, either in the engine or the
handler DLL.
InstallExecuteSequence Condition Y
Condition Optional expression which skips the action if evaluates
to expFalse.If the expression syntax is invalid, the engine will terminate,
returning iesBadActionData.
InstallExecuteSequence Sequence Y -4 32767
Number that determines the sort order in which the actions are
to be executed. Leave blank to suppress action.
InstallUISequence Action N
Identifier Name of action to invoke, either in the engine or the
handler DLL.
InstallUISequence Condition Y
Condition Optional expression which skips the action if evaluates
to expFalse.If the expression syntax is invalid, the engine will terminate,
returning iesBadActionData.
InstallUISequence Sequence Y -4 32767
Number that determines the sort order in which the actions are
to be executed. Leave blank to suppress action.
Media DiskId N 1 32767 Primary
key, integer to determine sort order for table.
Media LastSequence N 0 2147483647
File sequence number for the last file for this media.
Media DiskPrompt Y Text
Disk name: the visible text actually printed on the disk. This will be used to
prompt the user when this disk needs to be inserted.
Media Cabinet Y Cabinet If some
or all of the files stored on the media are compressed in a cabinet, the name
of that cabinet.
Media VolumeLabel Y Text
The label attributed to the volume.
Media Source Y Property
The property defining the location of the cabinet file.
MsiFileHash File_ N File 1 Identifier
Primary key, foreign key into File table referencing file with this hash
MsiFileHash Options N 0 32767
Various options and attributes for this hash.
MsiFileHash HashPart1 N
Size of file in bytes (long integer).
MsiFileHash HashPart2 N
Size of file in bytes (long integer).
MsiFileHash HashPart3 N
Size of file in bytes (long integer).
MsiFileHash HashPart4 N
Size of file in bytes (long integer).
Property Property N
Identifier Name of property, uppercase if settable by launcher or
loader.
Property Value N Text
String value for property. Never null or empty.
Registry Registry N
Identifier Primary key, non-localized token.
Registry Root N -1 3
The predefined root key for the registry value, one of rrkEnum.
Registry Key N RegPath
The key for the registry value.
Registry Name Y Formatted
The registry value name.
Registry Value Y Formatted
The registry value.
Registry Component_ N Component 1
Identifier Foreign key into the Component table referencing
component that controls the installing of the registry value.
RemoveFile FileKey N Identifier
Primary key used to identify a particular file entry
RemoveFile Component_ N Component 1
Identifier Foreign key referencing Component that controls the
file to be removed.
RemoveFile FileName Y
WildCardFilename Name of the file to be removed.
RemoveFile DirProperty N
Identifier Name of a property whose value is assumed to resolve to
the full pathname to the folder of the file to be removed.
RemoveFile InstallMode N
1;2;3 Installation option, one of iimEnum.
Shortcut Shortcut N
Identifier Primary key, non-localized token.
Shortcut Directory_ N Directory 1
Identifier Foreign key into the Directory table denoting the
directory where the shortcut file is created.
Shortcut Name N Filename
The name of the shortcut to be created.
Shortcut Component_ N Component 1
Identifier Foreign key into the Component table denoting the
component whose selection gates the the shortcut creation/deletion.
Shortcut Target N Shortcut
The shortcut target. This is usually a property that is expanded to a
file or a folder that the shortcut points to.
Shortcut Arguments Y
Formatted The command-line arguments for the shortcut.
Shortcut Description Y Text
The description for the shortcut.
Shortcut Hotkey Y 0 32767
The hotkey for the shortcut. It has the virtual-key code for the key in the
low-order byte, and the modifier flags in the high-order byte.
Shortcut Icon_ Y Icon 1 Identifier
Foreign key into the File table denoting the external icon file for the
shortcut.
Shortcut IconIndex Y -32767 32767
The icon index for the shortcut.
Shortcut ShowCmd Y 1;3;7
The show command for the application window.The following values may be used.
Shortcut WkDir Y Identifier
Name of property defining location of working directory.
Shortcut DisplayResourceDLL Y
Formatted The Formatted string providing the full path to the
language neutral file containing the MUI Manifest.
Shortcut DisplayResourceId Y 0 32767
The display name index for the shortcut. This must be a
non-negative number.
Shortcut DescriptionResourceDLL Y
Formatted The Formatted string providing the full path to the
language neutral file containing the MUI Manifest.
Shortcut DescriptionResourceId Y 0 32767
The description name index for the shortcut. This must be a
non-negative number.
WixGameExplorer InstanceId N Guid
The instance ID of the game executable to be registered in Game
Explorer.
WixGameExplorer File_ N File 1 Identifier
The file representing the game executable.
------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand
malware threats, the impact they can have on your business, and how you
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users