MyWixUI_InstallDir.wxs:
Мой пользовательский диалог имеет:
<Control Id="DBServer" Type="Text" X="20" Y="60" Width="290" Height="13"
NoPrefix="yes" Text="Name of the SQL Server to deploy the DTA script" />
<Control Id="DBSText" Type="Edit" X="20" Y="72" Width="290" Height="18"
Property="DTAServer" />
Продукт.wxs:
<util:XmlFile Id="AppConfigSetConnStr" Action="setValue" Permanent="yes" File="[INSTALLLOCATION]TestService.exe.config"
ElementPath="/configuration/startup/supportedRuntime[\[]@version='v4.0'[\]]" Name="version"
Value="----" />
Как я могу установить «значение» так же, как то, что пользователь ввел через пользовательский интерфейс, или как я могу получить доступ к свойству «DTAServer» в Product.wxs. Пожалуйста, помогите.