I have a WiX installer for an x86 application. However, it needs to write to the x64 region of the registry for a single component. To do this, I have something like the following
<Component Id=foo"..." Win64="yes">
<Condition>VersionNT64</Condition>
<RegistryValue
Root="HKLM" Key="SOFTWARE\Microsoft\...."
....
</Component>
.....
<Feature Id='MyFeature' Level='0'>
<ComponentRef Id='foo' />
<Condition Level='1'>VersionNT64</Condition>
</Feature>
This works fine when I try to run the installer on an x64 system. When I run on an x86 system(Even though I don't expect this component to be installed due to the condition), I get the following error:
SchedSecureObjectsRollback_x64 3: SchedSecureObjectsRollback 4: C:\Windows\Installer\MSIA98C.tmp
MSI (c) (84:80) [20:31:05:701]: Font created. Charset: Req=0, Ret=0, Font: Req=MS Shell Dlg, Ret=MS Shell Dlg
Error 1723. There is a problem with this Windows Installer package. A DLL required for this install to complete could not be run. Contact your support personnel or package vendor. ............
If I take out the Win64 attribute, all works fine. However, I do need the Win64 attribute for x64 systems.
Any ideas would be appreciated, thanks!