Bugs item #1536981, was opened at 2006-08-08 20:51
Message generated for change (Settings changed) made by barnson
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: Closed
Resolution: Fixed
Priority: 5
Private: No
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-15 00:14

Message:
Logged In: YES 
user_id=518766

Should be fixed in the next weekly release.

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

Comment By: Jean-Luc Brouillet (jeanlucb)
Date: 2006-08-11 16:46

Message:
Logged In: YES 
user_id=1571556

Thanks!  I was offsite yesterday and was planning to create
the simplified version today.

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

Comment By: Derek (derekc)
Date: 2006-08-11 07: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-09 06: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

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
WiX-devs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-devs

Reply via email to