我建立與維克斯定製安裝應用程序,已經開始使用此教程: 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
。
是否有可能在運行時從我的視圖模型中設置製造商的價值?
謝謝,我會這麼做的。 – 2013-03-07 05:55:13