I have determined through some trial and error that I was running into length 
limitations on the Cabinet attribute on the Media tag. I note that it only 
seems to have come up when using light ; candle doesn't seem to care. In Wix 
3.7 (we are slow moving on upgrades) this produces a 

light.exe : error LGHT0001 : Function failed during execution

Exception Type: Microsoft.Tools.WindowsInstallerXml.Msi.MsiException

Stack Trace:
   at Microsoft.Tools.WindowsInstallerXml.Msi.Database.Commit()
   at Microsoft.Tools.WindowsInstallerXml.Binder.GenerateDatabase(Output output,
 String databaseFile, Boolean keepAddedColumns, Boolean useSubdirectory)
   at Microsoft.Tools.WindowsInstallerXml.Binder.BindDatabase(Output output, Str
ing databaseFile)
   at Microsoft.Tools.WindowsInstallerXml.Binder.Bind(Output output, String file
)
   at Microsoft.Tools.WindowsInstallerXml.Tools.Light.Run(String[] args)

A slightly shorter name triggers ICE03 but builds an MSI anyway (excerpt only 
below). 

C:\installerbuilder\TrainingMaterials\Training Materials-Materiels de Formation\
Wxs\TrainingMaterials-Training Materials-Materiels de Formation-20140414093140.w
xs(7) : error LGHT0204 : ICE03: Bad cabinet syntax/name; Table: Media, Column: C
abinet, Key(s): 1

What is the limitation here? Is this fixed in 3.8 and documented? I looked in 
the WiX and the MSI documentation and don't seem to see anything about lengths 
here. 

My two examples are (without the strings:
"Training Materials-MaterielsdeFormation-20140414093140.cab" works
"Training Materials-Materiels de Formation-20140414093140.cab" does not

The names are autogenerated by our Wix front end as being the same as the MSI 
will ultimately be for simplicity's sake for the time being. Since at present 
we don't care what the internal CAB name is anyway, I can change this, but 
knowing the specification will help.




Keith Douglas
Statistics Canada | 170 Tunney's Pasture Driveway, Ottawa ON K1A 0T6
Statistique Canada | 170, promenade Tunney's Pasture, Ottawa ON K1A 0T6
keith.doug...@statcan.gc.ca
Telephone | Téléphone 613-951-4405
Facsimile | Télécopieur 613-951-1966
Government of Canada | Gouvernement du Canada 



------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to