"Media", in Windows Installer, doesn't just refer to CABs containing files
described in the File table (whether those cabs are embedded in the MSI or
not), it also refers to the media containing the files external to the MSI
(outside of any cabs). Any File element requires at least one Media element.
You can "configure" the Media element with an Id of "1" to not cab anything
to get the layout you are describing.

-----Original Message-----
From: Shabbir Ahsan [mailto:shabbir_ah...@hotmail.com] 
Sent: Monday, March 08, 2010 9:46 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] help


 

Hi,
 
I am trying to build an installer with wix and have been really struggeling.
I started off with a separate wxs files and placing the features in teh
individual folders.  That failed, and I have resorted back to putting
everything into the one wxs file.  Using candle, the wixobj file is created
no problem, but when I try to create the msi I get teh following errors:
 
C:\Program Files (x86)\Windows Installer XML
v3\bin\NeuscanAI_Setup\NeuScanAISetup.wxs(41) : error LGHT0094 : Unresolved
reference to symbol 'Media:1' in section
'Product:{25457996-A4C4-4EB4-AFC2-D9890ED9B2F5}'.
C:\Program Files (x86)\Windows Installer XML
v3\bin\NeuscanAI_Setup\NeuScanAISetup.wxs(42) : error LGHT0094 : Unresolved
reference to symbol 'Media:1' in section
'Product:{25457996-A4C4-4EB4-AFC2-D9890ED9B2F5}'.
C:\Program Files (x86)\Windows Installer XML
v3\bin\NeuscanAI_Setup\NeuScanAISetup.wxs(45) : error LGHT0094 : Unresolved
reference to symbol 'SqlDatabase:master' in section
'Product:{25457996-A4C4-4EB4-AFC2-D9890ED9B2F5}'.
C:\Program Files (x86)\Windows Installer XML
v3\bin\NeuscanAI_Setup\NeuScanAISetup.wxs(46) : error LGHT0094 : Unresolved
reference to symbol 'SqlDatabase:master' in section
'Product:{25457996-A4C4-4EB4-AFC2-D9890ED9B2F5}'.
C:\Program Files (x86)\Windows Installer XML
v3\bin\NeuscanAI_Setup\NeuScanAISetup.wxs(67) : error LGHT0094 : Unresolved
reference to symbol 'Media:1' in section
'Product:{25457996-A4C4-4EB4-AFC2-D9890ED9B2F5}'.
C:\Program Files (x86)\Windows Installer XML
v3\bin\NeuscanAI_Setup\NeuScanAISetup.wxs(68) : error LGHT0094 : Unresolved
reference to symbol 'Media:1' in section
'Product:{25457996-A4C4-4EB4-AFC2-D9890ED9B2F5}'.
C:\Program Files (x86)\Windows Installer XML
v3\bin\NeuscanAI_Setup\NeuScanAISetup.wxs(69) : error LGHT0094 : Unresolved
reference to symbol 'Media:1' in section
'Product:{25457996-A4C4-4EB4-AFC2-D9890ED9B2F5}'.
C:\Program Files (x86)\Windows Installer XML
v3\bin\NeuscanAI_Setup\NeuScanAISetup.wxs(86) : error LGHT0094 : Unresolved
reference to symbol 'Media:1' in section
'Product:{25457996-A4C4-4EB4-AFC2-D9890ED9B2F5}'.
C:\Program Files (x86)\Windows Installer XML
v3\bin\NeuscanAI_Setup\NeuScanAISetup.wxs(87) : error LGHT0094 : Unresolved
reference to symbol 'Media:1' in section
'Product:{25457996-A4C4-4EB4-AFC2-D9890ED9B2F5}'.
C:\Program Files (x86)\Windows Installer XML
v3\bin\NeuscanAI_Setup\NeuScanAISetup.wxs(88) : error LGHT0094 : Unresolved
reference to symbol 'Media:1' in section
'Product:{25457996-A4C4-4EB4-AFC2-D9890ED9B2F5}'.
C:\Program Files (x86)\Windows Installer XML
v3\bin\NeuscanAI_Setup\NeuScanAISetup.wxs(103) : error LGHT0094 : Unresolved
reference to symbol 'Media:1' in section
'Product:{25457996-A4C4-4EB4-AFC2-D9890ED9B2F5}'.
 
The thing is I dont have any reference to media:1 or diskid in the wxs file
as I am not including them in the MSI, but instead am going to keep the
files along side the installer as the raw files.
 
Can anyone help?
 
Thanks

                                          
_________________________________________________________________
Do you have a story that started on Hotmail? Tell us now
http://clk.atdmt.com/UKM/go/195013117/direct/01/
----------------------------------------------------------------------------
--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to