Мы используем InstallerLinker для создания install.exe, который сначала устанавливает все необходимые компоненты. У нас есть ниже, чтобы сказать, чтобы установить. NET 4.6.1, если это не в системе. Но это не так. Кажется, кажется, что он установлен (это не так).
Нужно ли делать что-то еще / другое?
<component executable="#CABPATH\dotnetfx461setup.exe" executable_silent="" executable_basic="" install_directory="" responsefile_source="" responsefile_target="" responsefile_format="none" uninstall_executable="" uninstall_executable_silent="" uninstall_executable_basic="" uninstall_responsefile_source="" uninstall_responsefile_target="" returncodes_success="" returncodes_reboot="" exeparameters="" exeparameters_basic="" exeparameters_silent="" uninstall_exeparameters="" uninstall_exeparameters_basic="" uninstall_exeparameters_silent="" disable_wow64_fs_redirection="False" id="dotnetfx461setup.exe" display_name=".NET 4.6.1 Install" uninstall_display_name="" os_filter="" os_filter_min="" os_filter_max="" os_filter_lcid="" type="exe" installcompletemessage="" uninstallcompletemessage="" mustreboot="False" reboot_required="" must_reboot_required="False" failed_exec_command_continue="" allow_continue_on_error="True" default_continue_on_error="False" required_install="True" required_uninstall="True" selected_install="True" selected_uninstall="True" note="" processor_architecture_filter="" status_installed="" status_notinstalled="" supports_install="True" supports_uninstall="False" show_progress_dialog="True" show_cab_dialog="True">
<installedcheck path="Software\Microsoft\NET Framework Setup\NDP\v4" fieldname="Install" fieldvalue="0" defaultvalue="False" fieldtype="REG_DWORD" comparison="key_exists" rootkey="HKEY_LOCAL_MACHINE" wowoption="NONE" type="check_registry_value" description="Installed Check: .NET 4.0"/>
<installedcheck path="Software\Microsoft\NET Framework Setup\NDP\v4\Full" fieldname="Version" fieldvalue="4.6.1" defaultvalue="False" fieldtype="REG_SZ" comparison="version_ge" rootkey="HKEY_LOCAL_MACHINE" wowoption="NONE" type="check_registry_value" description="Installed Check: .NET 4.6.1"/>
<downloaddialog dialog_caption=".NET Distribution 4.6.1 - Download" dialog_message="Press 'Start' to download the .NET Framework distribution (required)" dialog_message_downloading="Downloading ..." dialog_message_copying="Copying ..." dialog_message_connecting="Connecting ..." dialog_message_sendingrequest="Sending request ..." autostartdownload="True" buttonstart_caption="Start" buttoncancel_caption="Cancel">
<download componentname="Download File" sourceurl="https://download.microsoft.com/download/3/5/9/35980F81-60F4-4DE3-88FC-8F962B97253B/NDP461-KB3102438-Web.exe" sourcepath="" destinationpath="#CABPATH" destinationfilename="dotnetfx461setup.exe" alwaysdownload="True" clear_cache="False"/>
</downloaddialog>
</component>