Also, it seems if I use 63 or more characters, *candle* complains and tells me:
c:\InstallerBuilder\TrainingMaterials\Training Materials-Materiels de Formation\ Wxs\TrainingMaterials-Training Materials-Materiels de Formation-20140414103809.w xs(7) : error CNDL0032 : The Media/@Cabinet attribute's value, 'a012345678901234 567890123456789012345678901234567890123456789.cab', is 65 characters long. The name is too long for an embedded cabinet. It cannot be more than than 62 charac ters long. It seems that the maximum allowed is changed by the space. 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 -----Original Message----- From: keith.doug...@statcan.gc.ca [mailto:keith.doug...@statcan.gc.ca] Sent: April-14-14 10:50 AM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Cabinet properties It doesn't seem that spaces by themselves are a problem to produce an output - only if the name is long. Spaces do produce ICE03 but the error doesn't seem to be fatal. 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 -----Original Message----- From: Carter Young [mailto:ecyo...@grandecom.net] Sent: April-14-14 10:45 AM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Cabinet properties From: http://www.installworld.com/index.php?view=article&catid=42%3Aice&id=233%3Aice03&option=com_content&Itemid=138 Bad cabinet syntax/name Only Cabinet data type is allowed. The Cabinet data type must be used in the Cabinet column of the Media table. If the cabinet name is preceded by the number sign, the cabinet is stored as a data stream inside the package. The character string which follows the # is an Identifier for this data stream. Note that if the cabinet is stored as a data stream, the name of a cabinet is case-sensitive. ------------ Just a hunch here, but I would stay away from spaces in the cabinet file name... Carter Quoting keith.doug...@statcan.gc.ca: > 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 > > ------------------------------------------------------------------------------ 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 ------------------------------------------------------------------------------ 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 ------------------------------------------------------------------------------ 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