1
我有這樣的關鍵:如何使用WiX在64位機器上的註冊表中記錄32位密鑰?
<Package
InstallerVersion="200"
Compressed="yes"
SummaryCodepage="1251"
Platform="x64"
InstallScope="perMachine"/>
<Component Id="RegistryEntries1" Guid="*">
<RegistryKey Root="HKLM"
Key="Software\SolidWorks\Addins\{GUID-PLACEHOLDER}"
Action="createAndRemoveOnUninstall">
<RegistryValue Type="integer" Value="0"/>
<RegistryValue Name="Description" Value="SomeText" Type="string"/>
<RegistryValue Name="Title" Value="ProductName" Type="string"/>
</RegistryKey>
</Component>
此鍵需要被寫入32位註冊表部分,即使Windows版本是64位的。我怎樣才能做到這一點?
如果我將平臺更改爲「x86」並在64位mashine上運行安裝程序,則無論如何請將鍵放入wow64。 – streamdown 2014-09-28 14:16:07
嘗試在組件中設置Win64 =「no」。那麼它將是32位,這是你想要的。組件的位數可能是缺省的包的位數。 – PhilDW 2014-09-28 17:23:39
此選項無效。 – streamdown 2014-09-30 03:41:44