2013-03-06 57 views
1

我建立與維克斯定製安裝應用程序,已經開始使用此教程: http://bryanpjohnston.com/2012/09/28/custom-wix-managed-bootstrapper-application/WiX刻錄:如何更改引導程序應用程序中的'WixBundleManufacturer'?

的設置必須是定製的,所以我需要從我的MainViewModel這裏面設置一些變量是一個例子:

var customProductName = "The Custom Product"; 
this.Bootstrapper.Engine.StringVariables["WixBundleName"] = theCustomProduct; 

這工作如何預期。但是,我無法設置變量WixBundleManufacturer。我得到System.ArgumentException: Value does not fall within the expected range

是否有可能在運行時從我的視圖模型中設置製造商的價值?

回答

2

feature request已在v3.10.0.1719中實施。該變量現在可以像任何其他Burn變量一樣寫入。

3

不,WixBundleManufacturer是來自編寫的Bundle元素Manufacturer屬性的只讀變量集。您可以打開功能請求。

+0

謝謝,我會這麼做的。 – 2013-03-07 05:55:13

相關問題