如果是這樣,指定x64構建的適當方法是什麼?WIX:是否確實棄用了Package元素的Platform屬性?
在我.wxs文件,我有這樣的事情:
<Package Description ="$(var.pkgDescription)"
Comments ='Produced: Sun 17 April 2011'
Manufacturer ="Mfr name here"
InstallerVersion ='200'
Platform ='$(var.Platform)'
Compressed ='yes' />
...在我的candle.exe命令行上使用-dPlatform=x64
。這似乎工作。
但是,在WIX3文檔中,它指出Platform
屬性和Platforms
屬性都被棄用。它沒有描述什麼替換它們,或者開發者應該用什麼替代它們。
當我刪除從上述元素的平臺屬性,並運行構建,我得到一個ICE80錯誤:
Product.wxs(285) : error LGHT0204 : ICE80: This package contains 64 bit component 'C.Textfiles' but the Template Summary Property does not contain Intel64 or x64.
它成功地建立,如果我使用Platform
屬性,但由於的文件,我不確定這是否正確。
構建x64 MSI的正確方法是什麼?
謝謝你,樂於助人。 – Cheeso 2011-04-18 02:43:11