Hi List,

I'm trying to split the files in an installation to one or more .cab 
files. If I have understood the schema correct, this is done by adding a 
"media" node with [EMAIL PROTECTED]"no", and then by having the component 
or file nodes referencing it's "Id" attribute with their "DiskId" attribute.

The problem is that the .cab files ends up empty. In stead of putting 
the content in the specified .cab files, the content ends up in the file 
system in a directory-structure similar to the one that will be created 
on the target system, with the root-directory (in my case "Program 
Files") in the same directory as the .msi and .cab files.

Light.exe outputs the warning: "warning LGHT1079 : The cabinet 
'Setup1.cab' does not contain any files.  If this installation contains 
no files, this warning can likely be safely ignored.  Otherwise, please 
add files to the cabinet or remove it."

This simple .wxs file gives me this problem:

   http://warsetup.jgaa.com/files/Setup.wxs

The output from candle and light:
----------------
Executing: "C:\Program Files (x86)\Windows Installer XML 
v3\bin\candle.exe" "C:\devel\current\war\warlib\Setup\Test.wxs" "-ext" 
"C:\Program Files (x86)\Windows Installer XML v3\bin\WixUIExtension.dll" 
"-out" "C:\devel\current\war\warlib\Setup\Test.wixobj"
Microsoft (R) Windows Installer Xml Compiler version 3.0.2420.0
Copyright (C) Microsoft Corporation 2003. All rights reserved.

Test.wxs

Executing: "C:\Program Files (x86)\Windows Installer XML 
v3\bin\light.exe" "-out" "C:\devel\current\war\warlib\Setup\Test.msi" 
"C:\devel\current\war\warlib\Setup\Test.wixobj" "-ext" "C:\Program Files 
(x86)\Windows Installer XML v3\bin\WixUIExtension.dll" "-cultures:en-US" 
"-sval" "-b" "C:\Program Files (x86)\Jgaa's Internet\War Setup\Licenses"
Microsoft (R) Windows Installer Xml Linker version 3.0.2420.0
Copyright (C) Microsoft Corporation 2003. All rights reserved.

C:\devel\current\war\warlib\Setup\Test.wxs(7) : warning LGHT1079 : The 
cabinet 'Setup1.cab' does not contain any files.  If this installation 
contains no files, this warning can likely be safely ignored. Otherwise, 
please add files to the cabinet or remove it.
----------------

If anyone can give a hint about what I'm doing wrong, I will be very 
grateful.

Jarle
-- 
Jarle Aase                      email: [EMAIL PROTECTED]
Author of freeware.             http://www.jgaa.com

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to