When I get a 'strange' error, I use Notepad++ to search the wix source.  In
this case I did not fince that string.  I think that LGHT0001 is a catch-all
error message and the actual message is bubbling up from .Net, but I could
be wrong.

However the problem is probably related to the following code:
        <Chain>  
        <?if $(var.Platform) = x86 ?>   
        <MsiPackage Id="MainPackage" SourceFile="*Win32.msi" />         
        <?else?> 
        <MsiPackage Id="MainPackage" SourceFile="*-Win64.msi" />        
        <?endif?> 

Again the <?if $(var.Platform) = x86 ?>  is a preprocessor statement which
is evaluated at the time you build or compile your bundle.  This is not what
you want.  Rather one approach would be to do the following, so that when
the bundle is launched (at runtime rather than at compile time) the 64 bit
package is installed and the x86 package is not installed:

        <Chain>  
        <MsiPackage Id="MainPackage" SourceFile="*Win32.msi"
InstallCondition="NOT VersionNT64" />   
        <MsiPackage Id="MainPackage" SourceFile="*-Win64.msi"
InstallCondition="VersionNT64" />        
        </Chain>        





--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Installer-for-x86-and-x64-tp7598936p7599002.html
Sent from the wix-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to