Bugs item #1536981, was opened at 2006-08-08 13:51
Message generated for change (Comment added) made by derekc
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: Derek (derekc)
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
----------------------------------------------------------------------
>Comment By: Derek (derekc)
Date: 2006-08-11 00:16
Message:
Logged In: YES
user_id=518766
Sorry, nevermind, I just read the description more closely
and figured out the problem from what you provided. I've
got a fix - it should be in the next release.
----------------------------------------------------------------------
Comment By: Derek (derekc)
Date: 2006-08-08 23:03
Message:
Logged In: YES
user_id=518766
Could you please do one of the following:
1. Get a stack trace with line numbers (I think you need to
put the pdb files next to the exe files).
2. Provide the wxl and wixobj files you run in light so we
can repro the break.
----------------------------------------------------------------------
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