The linking of of library results in error
light.exe : error LGHT0001: Unexpected complex reference child type: Feature
The new version 3.0.3907 reports an error which was not reported in 3.0.3704.
The link command is:
Light.exe -ai -b c:\v10.0\obj\ -cc c:\v10.0\obj\ -ct 5 -cultures:en-US -out c:\v10.0\exe\Test.msi -pdbout c:\v10.0\exe\Test.wixpdb -pedantic -reusecab -sacl -sice:ICE39 -spdb -ss -sv -sval -sw1076 -wx c:\v10.0\obj\Test.wixlib
I have two features in my library and 3 references to one of them and 1 to the other one; and a lot of billboards referencing one of them and none referencing the other one.
In 3.0.3704 I was able to light my lit candles, now in 3.0.3907 candle and lit works, but light no longer.
Logged In: YES
user_id=991639
Originator: NO
The only way that I can see that this would happen is if features were being included into a Merge Module. Is it possible that's what you're doing? If not can you provide a bit more detail about your particular case? I'm just not seeing how this repros.
Logged In: YES
user_id=991639
Originator: NO
I'm resolving this bug since there hasn't been any additional comment. If more information can be provided please do re-open the bug.
Logged In: YES
user_id=2050356
Originator: YES
I retried with WIX 3.0.4422 and same result:
C:\Programme\Windows Installer XML v3\bin\Light.exe -sw1076 -wx -ai -b c
:\v10.0\obj\w32\InnovatorInstallation\ -cc c:\v10.0\obj\w32\InnovatorInstallatio
n\ -ct 5 -cultures:de-DE -out c:\v10.0\exe\w32\Deutsch_Innovator10.0.3.msi -pdbo
ut c:\v10.0\exe\w32\Deutsch_Innovator10.0.3.wixpdb -pedantic -reusecab -sacl -si
ce:ICE39 -spdb -ss -sv -sval c:\v10.0\obj\w32\InnovatorInstallation\Innovator10.
0.3.wixlib
Microsoft (R) Windows Installer Xml Linker version 3.0.4422.0
Copyright (C) Microsoft Corporation. All rights reserved.
ture
es(Output output, SectionCollection sections, StringCollection referencedSymbols
, ConnectToFeatureCollection componentsToFeatures, ConnectToFeatureCollection fe
aturesToFeatures, ConnectToFeatureCollection modulesToFeatures)
bei Microsoft.Tools.WindowsInstallerXml.Linker.Link(SectionCollection
sections, ArrayList transforms, OutputType expectedOutputType)
bei Microsoft.Tools.WindowsInstallerXml.Tools.Light.Run(String[] args
)
Binder temporary directory located at 'C:\Dokumente und Einstellungen\jm
back\Lokale Einstellungen\Temp\apfsy_ss'.
Validator temporary directory located at 'C:\Dokumente und Einstellungen
\jmback\Lokale Einstellungen\Temp\yhoq6uvl'.
Der Befehl wurde mit Code 1 beendet.
I attached all temporary directories.
Logged In: YES
user_id=2050356
Originator: YES
File Added: installation.7z
My nearly complete WIX sources, error is probably located in Innovator.wxs, because there are the features and merges included.
Logged In: YES
user_id=991639
Originator: NO
I set everything up and this does not reproduce for me. Make sure that when you upgrade that you recompile all of our .wixobjs and .wixlibs with the new compiler before using the new light.exe.
Logged In: YES
user_id=2050356
Originator: YES
Indeed my failure was to not delete the wixlib. After deleting all wixobj and wixlib, it works.
Thanks!