Bugs item #1536981, was opened at 2006-08-08 13:51
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=642714&aid=1536981&group_id=105970

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: light
Group: v3.0
Status: Open
Resolution: None
Priority: 5
Submitted By: Jean-Luc Brouillet (jeanlucb)
Assigned to: Nobody/Anonymous (nobody)
Summary: Light.exe crashes when using -loc for a patch

Initial Comment:
I'm trying to use a .wxs and a .wxl file while creating
a .pcp file (to enventually make an .msp file).

My .wxs file contains the line:
    <PatchMetadata Description="!(loc.Description)"

My .wxl file is:
  <?xml version='1.0' encoding='Windows-1252' ?>
  <WixLocalization  
xmlns='http://schemas.microsoft.com/wix/2003/11/localization'
  Codepage='1252' Culture='en'>
    <String Id='LANG'>1033</String>
    <String Id='Description'>MyPatchDescription</String>
</WixLocalization>

I get this crash with 3.0.1926:

light.exe : error LGHT0001 : Object reference not set
to an instance of an object.

Exception Type: System.NullReferenceException

Stack Trace:
   at
Microsoft.Tools.WindowsInstallerXml.WixVariableResolver.ResolveVariables(L
ocalizer localizer, SourceLineNumberCollection
sourceLineNumbers, String value,
Boolean localizationOnly, Boolean& isDefault)
   at
Microsoft.Tools.WindowsInstallerXml.Binder.Bind(Output
output, String data
baseFile)
   at
Microsoft.Tools.WindowsInstallerXml.Tools.Light.Run(String[]
args)

Unhandled Exception: System.NullReferenceException:
Object reference not set to
an instance of an object.
   at
Microsoft.Tools.WindowsInstallerXml.WixVariableResolver.ResolveVariables(L
ocalizer localizer, SourceLineNumberCollection
sourceLineNumbers, String value,
Boolean localizationOnly, Boolean& isDefault)
   at
Microsoft.Tools.WindowsInstallerXml.Binder.Bind(Output
output, String data
baseFile)
   at
Microsoft.Tools.WindowsInstallerXml.Tools.Light.Run(String[]
args)
   at
Microsoft.Tools.WindowsInstallerXml.Tools.Light.Main(String[]
args)
scons: ***
[build\dbg\obj\filetypes_test\PatchMFC.msp.pcp] Error
-1073741819

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=642714&aid=1536981&group_id=105970

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
WiX-devs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-devs

Reply via email to