If I (accidentlly) make an error in my .msi's .wxs source as you see
below:

<?xml version="1.0" encoding="utf-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi";>
<!-- Generated by Perl::Dist::WiX using Perl::Dist::WiX 1.102101 -->
  <Product Id='81DD00CE-2D7F-3E74-8009-C0C079D838A0'
    Language='1033'
        Manufacturer='Vanilla Perl Project'
        Name='Vanilla Perl'
        UpgradeCode='BE14FACC-784D-358E-B7DC-E5E43324C29E'
        Version='5.11.1282' >
    
    <Package Description='Perl for Win32 operating systems.' Id='*'
    Languages='1033'
      Platform='x86' InstallerVersion='200' Compressed='yes'
      InstallPrivileges='elevated' />
....

as compared to the merge module's .wxs source:

<?xml version="1.0" encoding="utf-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi";>
<!-- Merge module generated by Perl::Dist::WiX using Perl::Dist::WiX
1.102101 -->
  <Module Id='Perl_MM'
    Language='1033'
    Version='5.11.1282' >
    
    <Package Description='Perl for Win32 operating systems.'
    Languages='1033'
      Platform='x64' InstallerVersion='200' InstallPrivileges='elevated'
      Id='D29E211F-3F70-3EB9-833E-C0A3E1EAF2E7' Manufacturer='Vanilla
      Perl Project' />

...

I get this messy error.  I'm suggesting that this is catchable and it
could be less messy.

(Of course, I fixed the error in my generation code right after I saw
this error... but it would still be nice to fix.)

Microsoft (R) Windows Installer Xml Linker version 3.0.5419.0
Copyright (C) Microsoft Corporation. All rights reserved.

light.exe : error LGHT0001 : Encountered an unexpected merge error of
type 'msmErrorPlatformMismatch' for which there is
 currently no error message to display.  More information about the
 merge and the failure can be found in the merge log:
 'C:\Users\Curtis\AppData\Local\Temp\4yd2-mtj\merge.log'

Exception Type: InvalidOperationException

Stack Trace:
   at System.Environment.GetStackTrace(Exception e, Boolean
   needFileInfo)
   at System.Environment.get_StackTrace()
   at Microsoft.Tools.WindowsInstallerXml.Binder.MergeModules(String
   tempDatabaseFile, Output output, FileRowCollection
fileRows, StringCollection suppressedTableNames)
   at Microsoft.Tools.WindowsInstallerXml.Binder.BindDatabase(Output
   output, String databaseFile)
   at Microsoft.Tools.WindowsInstallerXml.Binder.Bind(Output output,
   String file)
   at Microsoft.Tools.WindowsInstallerXml.Tools.Light.Run(String[] args)
   at Microsoft.Tools.WindowsInstallerXml.Tools.Light.Main(String[]
   args)
--
Curtis Jewell
swords...@csjewell.fastmail.us

%DCL-E-MEM-BAD, bad memory
-VMS-F-PDGERS, pudding between the ears

[I use PC-Alpine, which deliberately does not display colors and pictures in 
HTML mail]


------------------------------------------------------------------------------
Download Intel&#174; 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