summaryrefslogtreecommitdiffstats
path: root/src/VBox/Installer/win
diff options
context:
space:
mode:
Diffstat (limited to 'src/VBox/Installer/win')
-rw-r--r--src/VBox/Installer/win/Binary/Banner.jpgbin0 -> 1946 bytes
-rw-r--r--src/VBox/Installer/win/Binary/Dialog.jpgbin0 -> 10742 bytes
-rw-r--r--src/VBox/Installer/win/Binary/Exclamation.icobin0 -> 766 bytes
-rw-r--r--src/VBox/Installer/win/Binary/New.icobin0 -> 318 bytes
-rw-r--r--src/VBox/Installer/win/Binary/Remove.icobin0 -> 2998 bytes
-rw-r--r--src/VBox/Installer/win/Binary/Repair.icobin0 -> 2998 bytes
-rw-r--r--src/VBox/Installer/win/Binary/Up.icobin0 -> 318 bytes
-rw-r--r--src/VBox/Installer/win/Binary/info.icobin0 -> 1078 bytes
-rw-r--r--src/VBox/Installer/win/CommonProperties.wxi31
-rw-r--r--src/VBox/Installer/win/Defines.wxi71
-rw-r--r--src/VBox/Installer/win/InstallHelper/Makefile.kmk65
-rw-r--r--src/VBox/Installer/win/InstallHelper/VBoxCommon.cpp103
-rw-r--r--src/VBox/Installer/win/InstallHelper/VBoxCommon.h44
-rw-r--r--src/VBox/Installer/win/InstallHelper/VBoxInstallHelper.cpp2097
-rw-r--r--src/VBox/Installer/win/InstallHelper/VBoxInstallHelper.def51
-rw-r--r--src/VBox/Installer/win/InstallHelper/VBoxInstallHelper.rc61
-rw-r--r--src/VBox/Installer/win/Makefile.kmk1363
-rw-r--r--src/VBox/Installer/win/MsiHack/Makefile.kmk52
-rw-r--r--src/VBox/Installer/win/MsiHack/MsiHack.cpp1017
-rw-r--r--src/VBox/Installer/win/MsiHack/MsiHackExtension.cs84
-rw-r--r--src/VBox/Installer/win/NLS/de_DE.wxl619
-rw-r--r--src/VBox/Installer/win/NLS/el_GR.wxl624
-rw-r--r--src/VBox/Installer/win/NLS/en_US.wxl620
-rw-r--r--src/VBox/Installer/win/NLS/fa_IR.wxl548
-rw-r--r--src/VBox/Installer/win/NLS/fr_FR.wxl618
-rw-r--r--src/VBox/Installer/win/NLS/it_IT.wxl548
-rw-r--r--src/VBox/Installer/win/NLS/ru_RU.wxl620
-rw-r--r--src/VBox/Installer/win/NLS/tr_TR.wxl620
-rw-r--r--src/VBox/Installer/win/NLS/zh_CN.wxl620
-rw-r--r--src/VBox/Installer/win/NLS/zh_TW.wxl620
-rw-r--r--src/VBox/Installer/win/Permissions.wxi34
-rw-r--r--src/VBox/Installer/win/PublicProperties.wxi52
-rw-r--r--src/VBox/Installer/win/Resources/Makefile.kmk96
-rw-r--r--src/VBox/Installer/win/Resources/VBoxRes.rc64
-rw-r--r--src/VBox/Installer/win/Resources/dummy.cpp36
-rw-r--r--src/VBox/Installer/win/Resources/resource.h46
-rw-r--r--src/VBox/Installer/win/Scripts/Combined-1-Prepare.cmd314
-rw-r--r--src/VBox/Installer/win/Scripts/Combined-3-Repack.cmd349
-rw-r--r--src/VBox/Installer/win/Scripts/Combined-3-RepackAdditions.cmd370
-rw-r--r--src/VBox/Installer/win/Scripts/Makefile.kup0
-rw-r--r--src/VBox/Installer/win/Scripts/PackDriversForSubmission.cmd347
-rw-r--r--src/VBox/Installer/win/Scripts/RepackExtPack.cmd240
-rw-r--r--src/VBox/Installer/win/Scripts/Single-1-Prepare.cmd248
-rw-r--r--src/VBox/Installer/win/Scripts/Single-3-Repack.cmd291
-rw-r--r--src/VBox/Installer/win/Scripts/UnpackBlessedDrivers.cmd185
-rw-r--r--src/VBox/Installer/win/Scripts/VBoxExtPackPuel.inf69
-rw-r--r--src/VBox/Installer/win/Scripts/VMMR0.inf67
-rw-r--r--src/VBox/Installer/win/Stub/Makefile.kmk174
-rw-r--r--src/VBox/Installer/win/Stub/VBoxStub.cpp1522
-rw-r--r--src/VBox/Installer/win/Stub/VBoxStub.h40
-rw-r--r--src/VBox/Installer/win/Stub/VBoxStub.manifest28
-rw-r--r--src/VBox/Installer/win/Stub/VBoxStub.rc66
-rw-r--r--src/VBox/Installer/win/Stub/VBoxStubCertUtil.cpp152
-rw-r--r--src/VBox/Installer/win/Stub/VBoxStubCertUtil.h37
-rw-r--r--src/VBox/Installer/win/Stub/crypt32.def35
-rw-r--r--src/VBox/Installer/win/Stub/msi.def33
-rw-r--r--src/VBox/Installer/win/Stub/resource.h42
-rw-r--r--src/VBox/Installer/win/Stub/shell32.def32
-rw-r--r--src/VBox/Installer/win/Stub/user32.def33
-rw-r--r--src/VBox/Installer/win/Stub/ws2_32.def32
-rw-r--r--src/VBox/Installer/win/StubBld/Makefile.kmk38
-rw-r--r--src/VBox/Installer/win/StubBld/VBoxStubBld.cpp331
-rw-r--r--src/VBox/Installer/win/StubBld/VBoxStubBld.h88
-rw-r--r--src/VBox/Installer/win/UserInterface.wxi1247
-rw-r--r--src/VBox/Installer/win/VBoxKey.wxi5
-rw-r--r--src/VBox/Installer/win/VBoxMergeApp.wxi487
-rw-r--r--src/VBox/Installer/win/VBoxMergeApp.wxs89
-rw-r--r--src/VBox/Installer/win/VBoxMergeAppCA.wxi39
-rw-r--r--src/VBox/Installer/win/VBoxMergeAppSeq.wxi37
-rw-r--r--src/VBox/Installer/win/VBoxMergeCOM32On64.wxi67
-rw-r--r--src/VBox/Installer/win/VBoxMergeCOM32On64.wxs60
-rw-r--r--src/VBox/Installer/win/VBoxMergeCOM32On64CA.wxi30
-rw-r--r--src/VBox/Installer/win/VBoxMergeCOM32On64Seq.wxi30
-rw-r--r--src/VBox/Installer/win/VBoxMergeNetAdp.wxi48
-rw-r--r--src/VBox/Installer/win/VBoxMergeNetAdp.wxs82
-rw-r--r--src/VBox/Installer/win/VBoxMergeNetAdp6.wxi63
-rw-r--r--src/VBox/Installer/win/VBoxMergeNetAdp6.wxs82
-rw-r--r--src/VBox/Installer/win/VBoxMergeNetAdp6CA.wxi42
-rw-r--r--src/VBox/Installer/win/VBoxMergeNetAdp6Seq.wxi75
-rw-r--r--src/VBox/Installer/win/VBoxMergeNetAdpCA.wxi39
-rw-r--r--src/VBox/Installer/win/VBoxMergeNetAdpSeq.wxi75
-rw-r--r--src/VBox/Installer/win/VBoxMergeNetFlt.wxi55
-rw-r--r--src/VBox/Installer/win/VBoxMergeNetFlt.wxs82
-rw-r--r--src/VBox/Installer/win/VBoxMergeNetFltCA.wxi44
-rw-r--r--src/VBox/Installer/win/VBoxMergeNetFltSeq.wxi90
-rw-r--r--src/VBox/Installer/win/VBoxMergeNetLwf.wxi66
-rw-r--r--src/VBox/Installer/win/VBoxMergeNetLwf.wxs82
-rw-r--r--src/VBox/Installer/win/VBoxMergeNetLwfCA.wxi44
-rw-r--r--src/VBox/Installer/win/VBoxMergeNetLwfSeq.wxi90
-rw-r--r--src/VBox/Installer/win/VBoxMergePython.wxi60
-rw-r--r--src/VBox/Installer/win/VBoxMergePython.wxs68
-rw-r--r--src/VBox/Installer/win/VBoxMergePythonCA.wxi35
-rw-r--r--src/VBox/Installer/win/VBoxMergePythonSeq.wxi52
-rw-r--r--src/VBox/Installer/win/VBoxMergeUSB.wxi72
-rw-r--r--src/VBox/Installer/win/VBoxMergeUSB.wxs60
-rw-r--r--src/VBox/Installer/win/VBoxMergeUSBCA.wxi30
-rw-r--r--src/VBox/Installer/win/VBoxMergeUSBSeq.wxi30
-rw-r--r--src/VBox/Installer/win/VirtualBox.wxs690
-rw-r--r--src/VBox/Installer/win/VirtualBox_TypeLib.xsl195
-rw-r--r--src/VBox/Installer/win/VirtualBox_TypeLibWithInterfaces.xsl318
-rw-r--r--src/VBox/Installer/win/dep.xsl79
-rw-r--r--src/VBox/Installer/win/dep2.xsl93
102 files changed, 21519 insertions, 0 deletions
diff --git a/src/VBox/Installer/win/Binary/Banner.jpg b/src/VBox/Installer/win/Binary/Banner.jpg
new file mode 100644
index 00000000..4d54a71f
--- /dev/null
+++ b/src/VBox/Installer/win/Binary/Banner.jpg
Binary files differ
diff --git a/src/VBox/Installer/win/Binary/Dialog.jpg b/src/VBox/Installer/win/Binary/Dialog.jpg
new file mode 100644
index 00000000..da8746c1
--- /dev/null
+++ b/src/VBox/Installer/win/Binary/Dialog.jpg
Binary files differ
diff --git a/src/VBox/Installer/win/Binary/Exclamation.ico b/src/VBox/Installer/win/Binary/Exclamation.ico
new file mode 100644
index 00000000..906ce324
--- /dev/null
+++ b/src/VBox/Installer/win/Binary/Exclamation.ico
Binary files differ
diff --git a/src/VBox/Installer/win/Binary/New.ico b/src/VBox/Installer/win/Binary/New.ico
new file mode 100644
index 00000000..27881dfe
--- /dev/null
+++ b/src/VBox/Installer/win/Binary/New.ico
Binary files differ
diff --git a/src/VBox/Installer/win/Binary/Remove.ico b/src/VBox/Installer/win/Binary/Remove.ico
new file mode 100644
index 00000000..097cafe2
--- /dev/null
+++ b/src/VBox/Installer/win/Binary/Remove.ico
Binary files differ
diff --git a/src/VBox/Installer/win/Binary/Repair.ico b/src/VBox/Installer/win/Binary/Repair.ico
new file mode 100644
index 00000000..6fb68610
--- /dev/null
+++ b/src/VBox/Installer/win/Binary/Repair.ico
Binary files differ
diff --git a/src/VBox/Installer/win/Binary/Up.ico b/src/VBox/Installer/win/Binary/Up.ico
new file mode 100644
index 00000000..86f6b5a8
--- /dev/null
+++ b/src/VBox/Installer/win/Binary/Up.ico
Binary files differ
diff --git a/src/VBox/Installer/win/Binary/info.ico b/src/VBox/Installer/win/Binary/info.ico
new file mode 100644
index 00000000..7e0ff7f1
--- /dev/null
+++ b/src/VBox/Installer/win/Binary/info.ico
Binary files differ
diff --git a/src/VBox/Installer/win/CommonProperties.wxi b/src/VBox/Installer/win/CommonProperties.wxi
new file mode 100644
index 00000000..3e806698
--- /dev/null
+++ b/src/VBox/Installer/win/CommonProperties.wxi
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ VirtualBox Windows Installation Script (WiX), common properties (private).
+-->
+<!--
+ Copyright (C) 2014-2023 Oracle and/or its affiliates.
+
+ This file is part of VirtualBox base platform packages, as
+ available from https://www.virtualbox.org.
+
+ This program is free software; you can redistribute it and/or
+ modify it under the terms of the GNU General Public License
+ as published by the Free Software Foundation, in version 3 of the
+ License.
+
+ This program is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, see <https://www.gnu.org/licenses>.
+
+ SPDX-License-Identifier: GPL-3.0-only
+-->
+
+<Include xmlns="http://schemas.microsoft.com/wix/2006/wi"
+ xmlns:difxapp="http://schemas.microsoft.com/wix/DifxAppExtension">
+
+</Include>
+
diff --git a/src/VBox/Installer/win/Defines.wxi b/src/VBox/Installer/win/Defines.wxi
new file mode 100644
index 00000000..bf38eaa3
--- /dev/null
+++ b/src/VBox/Installer/win/Defines.wxi
@@ -0,0 +1,71 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ VirtualBox Windows Installation Script (WiX), preprocessor defines.
+-->
+<!--
+ Copyright (C) 2014-2023 Oracle and/or its affiliates.
+
+ This file is part of VirtualBox base platform packages, as
+ available from https://www.virtualbox.org.
+
+ This program is free software; you can redistribute it and/or
+ modify it under the terms of the GNU General Public License
+ as published by the Free Software Foundation, in version 3 of the
+ License.
+
+ This program is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, see <https://www.gnu.org/licenses>.
+
+ SPDX-License-Identifier: GPL-3.0-only
+-->
+
+<Include xmlns="http://schemas.microsoft.com/wix/2006/wi"
+ xmlns:difxapp="http://schemas.microsoft.com/wix/DifxAppExtension">
+
+ <!-- TODO: Add "VBox" prefix! -->
+ <?define Property_RegKey = "Software\$(env.VBOX_VENDOR_SHORT)\VirtualBox" ?>
+ <?define Property_RegKeyInstall = "Software\$(env.VBOX_VENDOR_SHORT)\VirtualBox\Install" ?>
+ <?define Property_Upgrade = "yes" ?>
+ <?define Property_Version = "$(env.VBOX_VERSION_STRING_RAW)" ?>
+ <?define Property_VersionExt = "$(env.VBOX_VERSION_STRING)" ?>
+
+ <?if $(env.KBUILD_TARGET_ARCH) = "amd64" ?>
+ <?define Property_ProgramFiles = "ProgramFiles64Folder" ?>
+ <?define Property_Platform = "x64" ?>
+ <?define Property_Win64 = "yes" ?>
+
+ <?if $(env.VBOX_SIGNING_MODE)!= none ?>
+ <?define Property_DriverLegacy = "no" ?>
+ <?else ?>
+ <?define Property_DriverLegacy = "yes" ?>
+ <?endif ?>
+
+ <?else ?>
+ <?define Property_ProgramFiles = "ProgramFilesFolder" ?>
+ <?define Property_Platform = "x86" ?>
+ <?define Property_Win64 = "no" ?>
+
+ <?if $(env.VBOX_SIGNING_MODE)!= none ?>
+ <!-- Note: Settings this to 'no' breaks Windows 2000 installs (!) -->
+ <?define Property_DriverLegacy = "yes" ?>
+ <?else ?>
+ <?define Property_DriverLegacy = "yes" ?>
+ <?endif ?>
+
+ <?endif ?>
+
+ <!-- If we build a combined installer (32- and 64-bit in one installer), we
+ use two installer "disks": One for all platform-specific stuff and one which
+ contains all common (platform independent) stuff (like manuals, bitmaps etc) -->
+ <?if $(env.VBOX_WITH_COMBINED_PACKAGE) = "yes" ?>
+ <?define Property_DiskIdCommon = "2" ?>
+ <?else ?>
+ <?define Property_DiskIdCommon = "1" ?>
+ <?endif ?>
+
+</Include>
diff --git a/src/VBox/Installer/win/InstallHelper/Makefile.kmk b/src/VBox/Installer/win/InstallHelper/Makefile.kmk
new file mode 100644
index 00000000..cad3c4c3
--- /dev/null
+++ b/src/VBox/Installer/win/InstallHelper/Makefile.kmk
@@ -0,0 +1,65 @@
+# $Id: Makefile.kmk $
+## @file
+# Sub-Makefile for VBoxInstallHelper.dll.
+#
+
+#
+# Copyright (C) 2008-2023 Oracle and/or its affiliates.
+#
+# This file is part of VirtualBox base platform packages, as
+# available from https://www.virtualbox.org.
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation, in version 3 of the
+# License.
+#
+# This program is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, see <https://www.gnu.org/licenses>.
+#
+# SPDX-License-Identifier: GPL-3.0-only
+#
+
+SUB_DEPTH = ../../../../..
+include $(KBUILD_PATH)/subheader.kmk
+
+
+DLLS += VBoxInstallHelper
+VBoxInstallHelper_TEMPLATE = VBoxR3StaticDllNoAsan
+VBoxInstallHelper_SDKS = ReorderCompilerIncs $(VBOX_WINPSDK) $(VBOX_WINDDK)
+VBoxInstallHelper_DEFS = _WIN32_WINNT=0x0501 _UNICODE UNICODE VBOX_SVN_REV=$(VBOX_SVN_REV)
+ifdef VBOX_WITH_NETFLT
+ VBoxInstallHelper_SDKS += VBoxWinNewDevLib
+ VBoxInstallHelper_DEFS += VBOX_WITH_NETFLT=1
+endif
+VBoxInstallHelper_DEPS = $(VBOX_SVN_REV_KMK)
+VBoxInstallHelper_SOURCES = \
+ VBoxInstallHelper.cpp \
+ VBoxInstallHelper.def \
+ VBoxInstallHelper.rc \
+ VBoxCommon.cpp
+ifndef VBOX_OSE
+ VBoxInstallHelper_SOURCES += \
+ internal/VBoxSerial.cpp
+endif
+VBoxInstallHelper_LIBS = \
+ $(PATH_SDK_$(VBOX_WINPSDK)_LIB)/Msi.lib
+ifdef VBOX_WITH_NETFLT
+ VBoxInstallHelper_LIBS += \
+ $(PATH_STAGE_LIB)/WinNetConfigSharedStatic.lib \
+ $(PATH_STAGE_LIB)/VBoxDrvCfgSharedStatic.lib \
+ $(PATH_TOOL_$(VBOX_VCC_TOOL)_LIB)/comsupp.lib \
+ $(PATH_SDK_$(VBOX_WINPSDK)_LIB)/WbemUuid.Lib
+endif
+
+if "$(KBUILD_TARGET)" == "win" && defined(VBOX_WITH_TESTCASES) && !defined(VBOX_OSE)
+ include $(PATH_SUB_CURRENT)/testcase/Makefile.kmk
+endif
+
+include $(FILE_KBUILD_SUB_FOOTER)
+
diff --git a/src/VBox/Installer/win/InstallHelper/VBoxCommon.cpp b/src/VBox/Installer/win/InstallHelper/VBoxCommon.cpp
new file mode 100644
index 00000000..f02447bc
--- /dev/null
+++ b/src/VBox/Installer/win/InstallHelper/VBoxCommon.cpp
@@ -0,0 +1,103 @@
+/* $Id: VBoxCommon.cpp $ */
+/** @file
+ * VBoxCommon - Misc helper routines for install helper.
+ *
+ * This is used by internal/serial.cpp and VBoxInstallHelper.cpp.
+ */
+
+/*
+ * Copyright (C) 2008-2023 Oracle and/or its affiliates.
+ *
+ * This file is part of VirtualBox base platform packages, as
+ * available from https://www.virtualbox.org.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation, in version 3 of the
+ * License.
+ *
+ * This program is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, see <https://www.gnu.org/licenses>.
+ *
+ * SPDX-License-Identifier: GPL-3.0-only
+ */
+
+
+/*********************************************************************************************************************************
+* Header Files *
+*********************************************************************************************************************************/
+#include <iprt/win/windows.h>
+#include <msi.h>
+#include <msiquery.h>
+
+#include <iprt/string.h>
+#include <iprt/utf16.h>
+
+
+UINT VBoxGetMsiProp(MSIHANDLE hMsi, const WCHAR *pwszName, WCHAR *pwszValueBuf, DWORD cwcValueBuf)
+{
+ RT_BZERO(pwszValueBuf, cwcValueBuf * sizeof(pwszValueBuf[0]));
+
+ /** @todo r=bird: why do we need to query the size first and then the data.
+ * The API should be perfectly capable of doing that without our help. */
+ DWORD cwcNeeded = 0;
+ UINT uiRet = MsiGetPropertyW(hMsi, pwszName, L"", &cwcNeeded);
+ if (uiRet == ERROR_MORE_DATA)
+ {
+ ++cwcNeeded; /* On output does not include terminating null, so add 1. */
+
+ if (cwcNeeded > cwcValueBuf)
+ return ERROR_MORE_DATA;
+ uiRet = MsiGetPropertyW(hMsi, pwszName, pwszValueBuf, &cwcNeeded);
+ }
+ return uiRet;
+}
+
+#if 0 /* unused */
+/**
+ * Retrieves a MSI property (in UTF-8).
+ *
+ * Convenience function for VBoxGetMsiProp().
+ *
+ * @returns VBox status code.
+ * @param hMsi MSI handle to use.
+ * @param pcszName Name of property to retrieve.
+ * @param ppszValue Where to store the allocated value on success.
+ * Must be free'd using RTStrFree() by the caller.
+ */
+int VBoxGetMsiPropUtf8(MSIHANDLE hMsi, const char *pcszName, char **ppszValue)
+{
+ PRTUTF16 pwszName;
+ int rc = RTStrToUtf16(pcszName, &pwszName);
+ if (RT_SUCCESS(rc))
+ {
+ WCHAR wszValue[1024]; /* 1024 should be enough for everybody (tm). */
+ if (VBoxGetMsiProp(hMsi, pwszName, wszValue, sizeof(wszValue)) == ERROR_SUCCESS)
+ rc = RTUtf16ToUtf8(wszValue, ppszValue);
+ else
+ rc = VERR_NOT_FOUND;
+
+ RTUtf16Free(pwszName);
+ }
+
+ return rc;
+}
+#endif
+
+UINT VBoxSetMsiProp(MSIHANDLE hMsi, const WCHAR *pwszName, const WCHAR *pwszValue)
+{
+ return MsiSetPropertyW(hMsi, pwszName, pwszValue);
+}
+
+UINT VBoxSetMsiPropDWORD(MSIHANDLE hMsi, const WCHAR *pwszName, DWORD dwVal)
+{
+ wchar_t wszTemp[32];
+ RTUtf16Printf(wszTemp, RT_ELEMENTS(wszTemp), "%u", dwVal);
+ return VBoxSetMsiProp(hMsi, pwszName, wszTemp);
+}
+
diff --git a/src/VBox/Installer/win/InstallHelper/VBoxCommon.h b/src/VBox/Installer/win/InstallHelper/VBoxCommon.h
new file mode 100644
index 00000000..1d8d0014
--- /dev/null
+++ b/src/VBox/Installer/win/InstallHelper/VBoxCommon.h
@@ -0,0 +1,44 @@
+/* $Id: VBoxCommon.h $ */
+/** @file
+ * VBoxCommon - Misc helper routines for install helper.
+ */
+
+/*
+ * Copyright (C) 2008-2023 Oracle and/or its affiliates.
+ *
+ * This file is part of VirtualBox base platform packages, as
+ * available from https://www.virtualbox.org.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation, in version 3 of the
+ * License.
+ *
+ * This program is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, see <https://www.gnu.org/licenses>.
+ *
+ * SPDX-License-Identifier: GPL-3.0-only
+ */
+
+#ifndef VBOX_INCLUDED_SRC_InstallHelper_VBoxCommon_h
+#define VBOX_INCLUDED_SRC_InstallHelper_VBoxCommon_h
+#ifndef RT_WITHOUT_PRAGMA_ONCE
+# pragma once
+#endif
+
+#if (_MSC_VER < 1400) /* Provide _stprintf_s to VC < 8.0. */
+int swprintf_s(WCHAR *buffer, size_t cbBuffer, const WCHAR *format, ...);
+#endif
+
+UINT VBoxGetMsiProp(MSIHANDLE hMsi, const WCHAR *pwszName, WCHAR *pwszValueBuf, DWORD cwcValueBuf);
+int VBoxGetMsiPropUtf8(MSIHANDLE hMsi, const char *pcszName, char **ppszValue);
+UINT VBoxSetMsiProp(MSIHANDLE hMsi, const WCHAR *pwszName, const WCHAR *pwszValue);
+UINT VBoxSetMsiPropDWORD(MSIHANDLE hMsi, const WCHAR *pwszName, DWORD dwVal);
+
+#endif /* !VBOX_INCLUDED_SRC_InstallHelper_VBoxCommon_h */
+
diff --git a/src/VBox/Installer/win/InstallHelper/VBoxInstallHelper.cpp b/src/VBox/Installer/win/InstallHelper/VBoxInstallHelper.cpp
new file mode 100644
index 00000000..f82f0848
--- /dev/null
+++ b/src/VBox/Installer/win/InstallHelper/VBoxInstallHelper.cpp
@@ -0,0 +1,2097 @@
+/* $Id: VBoxInstallHelper.cpp $ */
+/** @file
+ * VBoxInstallHelper - Various helper routines for Windows host installer.
+ */
+
+/*
+ * Copyright (C) 2008-2023 Oracle and/or its affiliates.
+ *
+ * This file is part of VirtualBox base platform packages, as
+ * available from https://www.virtualbox.org.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation, in version 3 of the
+ * License.
+ *
+ * This program is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, see <https://www.gnu.org/licenses>.
+ *
+ * SPDX-License-Identifier: GPL-3.0-only
+ */
+
+
+/*********************************************************************************************************************************
+* Header Files *
+*********************************************************************************************************************************/
+#ifdef VBOX_WITH_NETFLT
+# include "VBox/VBoxNetCfg-win.h"
+# include "VBox/VBoxDrvCfg-win.h"
+#endif
+
+#include <msi.h>
+#include <msiquery.h>
+
+#define _WIN32_DCOM
+#include <iprt/win/windows.h>
+
+#include <shellapi.h>
+#define INITGUID
+#include <guiddef.h>
+#include <cfgmgr32.h>
+#include <devguid.h>
+
+#include <iprt/win/objbase.h>
+#include <iprt/win/setupapi.h>
+#include <iprt/win/shlobj.h>
+
+#include <VBox/version.h>
+
+#include <iprt/assert.h>
+#include <iprt/alloca.h>
+#include <iprt/mem.h>
+#include <iprt/path.h> /* RTPATH_MAX, RTPATH_IS_SLASH */
+#include <iprt/string.h> /* RT_ZERO */
+#include <iprt/utf16.h>
+
+#include "VBoxCommon.h"
+#ifndef VBOX_OSE
+# include "internal/VBoxSerial.h"
+#endif
+
+
+/*********************************************************************************************************************************
+* Defined Constants And Macros *
+*********************************************************************************************************************************/
+#ifdef DEBUG
+# define NonStandardAssert(_expr) Assert(_expr)
+#else
+# define NonStandardAssert(_expr) do{ }while(0)
+#endif
+
+#define MY_WTEXT_HLP(a_str) L##a_str
+#define MY_WTEXT(a_str) MY_WTEXT_HLP(a_str)
+
+
+
+/**
+ * DLL entry point.
+ */
+BOOL WINAPI DllMain(HANDLE hInst, ULONG uReason, LPVOID pReserved)
+{
+ RT_NOREF(hInst, uReason, pReserved);
+
+#if 0
+ /*
+ * This is a trick for allowing the debugger to be attached, don't know if
+ * there is an official way to do that, but this is a pretty efficient.
+ *
+ * Monitor the debug output in DbgView and be ready to start windbg when
+ * the message below appear. This will happen 3-4 times during install,
+ * and 2-3 times during uninstall.
+ *
+ * Note! The DIFxApp.DLL will automatically trigger breakpoints when a
+ * debugger is attached. Just continue on these.
+ */
+ if (uReason == DLL_PROCESS_ATTACH)
+ {
+ WCHAR wszMsg[128];
+ RTUtf16Printf(wszMsg, RT_ELEMENTS(wszMsg), "Waiting for debugger to attach: windbg -g -G -p %u\n", GetCurrentProcessId());
+ for (unsigned i = 0; i < 128 && !IsDebuggerPresent(); i++)
+ {
+ OutputDebugStringW(wszMsg);
+ Sleep(1001);
+ }
+ Sleep(1002);
+ __debugbreak();
+ }
+#endif
+
+ return TRUE;
+}
+
+/**
+ * Format and add message to the MSI log.
+ *
+ * UTF-16 strings are formatted using '%ls' (lowercase).
+ * ANSI strings are formatted using '%s' (uppercase).
+ */
+static UINT logStringF(MSIHANDLE hInstall, const char *pszFmt, ...)
+{
+ PMSIHANDLE hMSI = MsiCreateRecord(2 /* cParms */);
+ if (hMSI)
+ {
+ wchar_t wszBuf[RTPATH_MAX + 256];
+ va_list va;
+ va_start(va, pszFmt);
+ ssize_t cwc = RTUtf16PrintfV(wszBuf, RT_ELEMENTS(wszBuf), pszFmt, va);
+ va_end(va);
+
+ MsiRecordSetStringW(hMSI, 0, wszBuf);
+ MsiProcessMessage(hInstall, INSTALLMESSAGE(INSTALLMESSAGE_INFO), hMSI);
+
+ MsiCloseHandle(hMSI);
+ return cwc < RT_ELEMENTS(wszBuf) ? ERROR_SUCCESS : ERROR_BUFFER_OVERFLOW;
+ }
+ return ERROR_ACCESS_DENIED;
+}
+
+UINT __stdcall IsSerialCheckNeeded(MSIHANDLE hModule)
+{
+#ifndef VBOX_OSE
+ /*BOOL fRet =*/ serialCheckNeeded(hModule);
+#else
+ RT_NOREF(hModule);
+#endif
+ return ERROR_SUCCESS;
+}
+
+UINT __stdcall CheckSerial(MSIHANDLE hModule)
+{
+#ifndef VBOX_OSE
+ /*BOOL bRet =*/ serialIsValid(hModule);
+#else
+ RT_NOREF(hModule);
+#endif
+ return ERROR_SUCCESS;
+}
+
+/**
+ * Runs an executable on the OS.
+ *
+ * @returns Windows error code.
+ * @param hModule Windows installer module handle.
+ * @param pwszImage The executable to run.
+ * @param pwszArgs The arguments (command line w/o executable).
+ */
+static UINT procRun(MSIHANDLE hModule, const wchar_t *pwszImage, wchar_t const *pwszArgs)
+{
+ /*
+ * Construct a full command line.
+ */
+ size_t const cwcImage = RTUtf16Len(pwszImage);
+ size_t const cwcArgs = RTUtf16Len(pwszArgs);
+
+ wchar_t *pwszCmdLine = (wchar_t *)alloca((1 + cwcImage + 1 + 1 + cwcArgs + 1) * sizeof(wchar_t));
+ pwszCmdLine[0] = '"';
+ memcpy(&pwszCmdLine[1], pwszImage, cwcImage * sizeof(wchar_t));
+ pwszCmdLine[1 + cwcImage] = '"';
+ pwszCmdLine[1 + cwcImage + 1] = ' ';
+ memcpy(&pwszCmdLine[1 + cwcImage + 1 + 1], pwszArgs, (cwcArgs + 1) * sizeof(wchar_t));
+
+ /*
+ * Construct startup info.
+ */
+ STARTUPINFOW StartupInfo;
+ RT_ZERO(StartupInfo);
+ StartupInfo.cb = sizeof(StartupInfo);
+ StartupInfo.hStdInput = GetStdHandle(STD_INPUT_HANDLE);
+ StartupInfo.hStdOutput = GetStdHandle(STD_OUTPUT_HANDLE);
+ StartupInfo.hStdError = GetStdHandle(STD_ERROR_HANDLE);
+ StartupInfo.dwFlags = STARTF_USESTDHANDLES;
+#ifndef DEBUG
+ StartupInfo.dwFlags |= STARTF_USESHOWWINDOW;
+ StartupInfo.wShowWindow = SW_HIDE;
+#endif
+
+ /*
+ * Start it.
+ */
+ UINT rcWin;
+ PROCESS_INFORMATION ChildInfo = { NULL, NULL, 0, 0 };
+ if (CreateProcessW(pwszImage, pwszCmdLine, NULL /*pProcessAttribs*/, NULL /*pThreadAttribs*/, TRUE /*fInheritHandles*/,
+ 0 /*fFlags*/, NULL /*pwszEnv*/, NULL /*pwszCwd*/, &StartupInfo, &ChildInfo))
+ {
+ logStringF(hModule, "procRun: Info: Started process %u: %ls", ChildInfo.dwProcessId, pwszCmdLine);
+ CloseHandle(ChildInfo.hThread);
+ DWORD const dwWait = WaitForSingleObject(ChildInfo.hProcess, RT_MS_30SEC);
+ DWORD dwExitCode = 0xf00dface;
+ if (GetExitCodeProcess(ChildInfo.hProcess, &dwExitCode))
+ {
+ if (dwExitCode == 0)
+ {
+ logStringF(hModule, "procRun: Info: Process '%ls' terminated exit code zero", pwszCmdLine);
+ rcWin = ERROR_SUCCESS;
+ }
+ else
+ {
+ logStringF(hModule, "procRun: Process '%ls' terminated with non-zero exit code: %u (%#x)",
+ pwszCmdLine, dwExitCode, dwExitCode);
+ rcWin = ERROR_GEN_FAILURE;
+ }
+ }
+ else
+ {
+ rcWin = GetLastError();
+ logStringF(hModule, "procRun: Process '%ls' is probably still running: rcWin=%u dwWait=%u (%#x)",
+ pwszCmdLine, rcWin, dwWait, dwWait);
+ }
+ }
+ else
+ {
+ rcWin = GetLastError();
+ logStringF(hModule, "procRun: Creating process '%ls' failed: rcWin=%u\n", pwszCmdLine, rcWin);
+ }
+ return rcWin;
+}
+
+/**
+ * Tries to retrieve the Python installation path on the system, extended version.
+ *
+ * @returns Windows error code.
+ * @param hModule Windows installer module handle.
+ * @param hKeyRoot Registry root key to use, e.g. HKEY_LOCAL_MACHINE.
+ * @param pwszPythonPath Buffer to return the path for python.exe in.
+ * @param cwcPythonPath Buffer size in UTF-16 units.
+ * @param fReturnExe Return the path to python.exe if true, otherwise
+ * just the python install directory.
+ */
+static UINT getPythonPathEx(MSIHANDLE hModule, HKEY hKeyRoot, wchar_t *pwszPythonPath, size_t cwcPythonPath, bool fReturnExe)
+{
+ *pwszPythonPath = '\0';
+
+ /*
+ * Enumerate the subkeys of python core installation key.
+ *
+ * Note: The loop ASSUMES that later found versions are higher, e.g. newer
+ * Python versions. For now we always go by the newest version.
+ */
+ HKEY hKeyPythonCore = NULL;
+ LSTATUS dwErr = RegOpenKeyExW(hKeyRoot, L"SOFTWARE\\Python\\PythonCore", 0, KEY_READ, &hKeyPythonCore);
+ if (dwErr != ERROR_SUCCESS)
+ return dwErr;
+
+ UINT rcWinRet = ERROR_PATH_NOT_FOUND;
+ for (DWORD i = 0; i < 16384; ++i)
+ {
+ static wchar_t const s_wszInstallPath[] = L"\\InstallPath";
+ static wchar_t const s_wszPythonExe[] = L"python.exe";
+
+ /* Get key name: */
+ wchar_t wszBuf[RTPATH_MAX + RT_MAX(RT_ELEMENTS(s_wszInstallPath), RT_ELEMENTS(s_wszPythonExe)) + 2];
+ DWORD cwcKeyNm = RTPATH_MAX;
+ DWORD dwKeyType = REG_SZ;
+ dwErr = RegEnumKeyExW(hKeyPythonCore, i, wszBuf, &cwcKeyNm, NULL, NULL, NULL, NULL);
+ if (dwErr == ERROR_NO_MORE_ITEMS)
+ break;
+ if (dwErr != ERROR_SUCCESS)
+ continue;
+ if (dwKeyType != REG_SZ)
+ continue;
+ if (cwcKeyNm == 0)
+ continue;
+ NonStandardAssert(cwcKeyNm <= sizeof(wszBuf));
+
+ /* Try Open the InstallPath subkey: */
+ memcpy(&wszBuf[cwcKeyNm], s_wszInstallPath, sizeof(s_wszInstallPath));
+
+ HKEY hKeyInstallPath = NULL;
+ dwErr = RegOpenKeyExW(hKeyPythonCore, wszBuf, 0, KEY_READ, &hKeyInstallPath);
+ if (dwErr != ERROR_SUCCESS)
+ continue;
+
+ /* Query the value. We double buffer this so we don't overwrite an okay
+ return value with this. Use the smaller of cwcPythonPath and wszValue
+ so RegQueryValueExW can do all the buffer overflow checking for us.
+ For paranoid reasons, we reserve a space for a terminator as well as
+ a slash. (ASSUMES reasonably sized output buffer.) */
+ NonStandardAssert(cwcPythonPath > RT_ELEMENTS(s_wszPythonExe) + 16);
+ DWORD cbValue = (DWORD)RT_MIN( cwcPythonPath * sizeof(wchar_t)
+ - (fReturnExe ? sizeof(s_wszInstallPath) - sizeof(wchar_t) * 2 : sizeof(wchar_t) * 2),
+ RTPATH_MAX * sizeof(wchar_t));
+ DWORD dwValueType = REG_SZ;
+ dwErr = RegQueryValueExW(hKeyInstallPath, L"", NULL, &dwValueType, (LPBYTE)wszBuf, &cbValue);
+ RegCloseKey(hKeyInstallPath);
+ if ( dwErr == ERROR_SUCCESS
+ && dwValueType == REG_SZ
+ && cbValue >= sizeof(L"C:\\") - sizeof(L""))
+ {
+ /* Find length in wchar_t unit w/o terminator: */
+ DWORD cwc = cbValue / sizeof(wchar_t);
+ while (cwc > 0 && wszBuf[cwc - 1] == '\0')
+ cwc--;
+ wszBuf[cwc] = '\0';
+ if (cwc > 2)
+ {
+ /* Check if the path leads to a directory with a python.exe file in it. */
+ if (!RTPATH_IS_SLASH(wszBuf[cwc - 1]))
+ wszBuf[cwc++] = '\\';
+ memcpy(&wszBuf[cwc], s_wszPythonExe, sizeof(s_wszPythonExe));
+ DWORD const fAttribs = GetFileAttributesW(wszBuf);
+ if (fAttribs != INVALID_FILE_ATTRIBUTES)
+ {
+ if (!(fAttribs & FILE_ATTRIBUTE_DIRECTORY))
+ {
+ /* Okay, we found something that can be returned. */
+ if (fReturnExe)
+ cwc += RT_ELEMENTS(s_wszPythonExe) - 1;
+ wszBuf[cwc] = '\0';
+ logStringF(hModule, "getPythonPath: Found: \"%ls\"", wszBuf);
+
+ NonStandardAssert(cwcPythonPath > cwc);
+ memcpy(pwszPythonPath, wszBuf, cwc * sizeof(wchar_t));
+ pwszPythonPath[cwc] = '\0';
+ rcWinRet = ERROR_SUCCESS;
+ }
+ else
+ logStringF(hModule, "getPythonPath: Warning: Skipping \"%ls\": is a directory (%#x)", wszBuf, fAttribs);
+ }
+ else
+ logStringF(hModule, "getPythonPath: Warning: Skipping \"%ls\": Does not exist (%u)", wszBuf, GetLastError());
+ }
+ }
+ }
+
+ RegCloseKey(hKeyPythonCore);
+ if (rcWinRet != ERROR_SUCCESS)
+ logStringF(hModule, "getPythonPath: Unable to find python");
+ return rcWinRet;
+}
+
+/**
+ * Retrieves the absolute path of the Python installation.
+ *
+ * @returns Windows error code.
+ * @param hModule Windows installer module handle.
+ * @param pwszPythonPath Buffer to return the path for python.exe in.
+ * @param cwcPythonPath Buffer size in UTF-16 units.
+ * @param fReturnExe Return the path to python.exe if true, otherwise
+ * just the python install directory.
+ */
+static UINT getPythonPath(MSIHANDLE hModule, wchar_t *pwszPythonPath, size_t cwcPythonPath, bool fReturnExe = false)
+{
+ UINT rcWin = getPythonPathEx(hModule, HKEY_LOCAL_MACHINE, pwszPythonPath, cwcPythonPath, fReturnExe);
+ if (rcWin != ERROR_SUCCESS)
+ rcWin = getPythonPathEx(hModule, HKEY_CURRENT_USER, pwszPythonPath, cwcPythonPath, fReturnExe);
+ return rcWin;
+}
+
+/**
+ * Retrieves the absolute path of the Python executable.
+ *
+ * @returns Windows error code.
+ * @param hModule Windows installer module handle.
+ * @param pwszPythonExe Buffer to return the path for python.exe in.
+ * @param cwcPythonExe Buffer size in UTF-16 units.
+ */
+static UINT getPythonExe(MSIHANDLE hModule, wchar_t *pwszPythonExe, size_t cwcPythonExe)
+{
+ return getPythonPath(hModule, pwszPythonExe, cwcPythonExe, true /*fReturnExe*/);
+}
+
+/**
+ * Checks if all dependencies for running the VBox Python API bindings are met.
+ *
+ * @returns VBox status code, or error if depedencies are not met.
+ * @param hModule Windows installer module handle.
+ * @param pwszPythonExe Path to Python interpreter image (.exe).
+ */
+static int checkPythonDependencies(MSIHANDLE hModule, const wchar_t *pwszPythonExe)
+{
+ /*
+ * Check if importing the win32api module works.
+ * This is a prerequisite for setting up the VBox API.
+ */
+ logStringF(hModule, "checkPythonDependencies: Checking for win32api extensions ...");
+
+ UINT rcWin = procRun(hModule, pwszPythonExe, L"-c \"import win32api\"");
+ if (rcWin == ERROR_SUCCESS)
+ logStringF(hModule, "checkPythonDependencies: win32api found\n");
+ else
+ logStringF(hModule, "checkPythonDependencies: Importing win32api failed with %u (%#x)\n", rcWin, rcWin);
+
+ return rcWin;
+}
+
+/**
+ * Checks for a valid Python installation on the system.
+ *
+ * Called from the MSI installer as custom action.
+ *
+ * @returns Always ERROR_SUCCESS.
+ * Sets public property VBOX_PYTHON_INSTALLED to "0" (false) or "1" (success).
+ * Sets public property VBOX_PYTHON_PATH to the Python installation path (if found).
+ *
+ * @param hModule Windows installer module handle.
+ */
+UINT __stdcall IsPythonInstalled(MSIHANDLE hModule)
+{
+ wchar_t wszPythonPath[RTPATH_MAX];
+ UINT rcWin = getPythonPath(hModule, wszPythonPath, RTPATH_MAX);
+ if (rcWin == ERROR_SUCCESS)
+ {
+ logStringF(hModule, "IsPythonInstalled: Python installation found at \"%ls\"", wszPythonPath);
+ VBoxSetMsiProp(hModule, L"VBOX_PYTHON_PATH", wszPythonPath);
+ VBoxSetMsiProp(hModule, L"VBOX_PYTHON_INSTALLED", L"1");
+ }
+ else
+ {
+ logStringF(hModule, "IsPythonInstalled: Error: No suitable Python installation found (%u), skipping installation.", rcWin);
+ logStringF(hModule, "IsPythonInstalled: Python seems not to be installed; please download + install the Python Core package.");
+ VBoxSetMsiProp(hModule, L"VBOX_PYTHON_INSTALLED", L"0");
+ }
+
+ return ERROR_SUCCESS; /* Never return failure. */
+}
+
+/**
+ * Checks if all dependencies for running the VBox Python API bindings are met.
+ *
+ * Called from the MSI installer as custom action.
+ *
+ * @returns Always ERROR_SUCCESS.
+ * Sets public property VBOX_PYTHON_DEPS_INSTALLED to "0" (false) or "1" (success).
+ *
+ * @param hModule Windows installer module handle.
+ */
+UINT __stdcall ArePythonAPIDepsInstalled(MSIHANDLE hModule)
+{
+ wchar_t wszPythonExe[RTPATH_MAX];
+ UINT dwErr = getPythonExe(hModule, wszPythonExe, RTPATH_MAX);
+ if (dwErr == ERROR_SUCCESS)
+ {
+ dwErr = checkPythonDependencies(hModule, wszPythonExe);
+ if (dwErr == ERROR_SUCCESS)
+ logStringF(hModule, "ArePythonAPIDepsInstalled: Dependencies look good.");
+ }
+
+ if (dwErr != ERROR_SUCCESS)
+ logStringF(hModule, "ArePythonAPIDepsInstalled: Failed with dwErr=%u", dwErr);
+
+ VBoxSetMsiProp(hModule, L"VBOX_PYTHON_DEPS_INSTALLED", dwErr == ERROR_SUCCESS ? L"1" : L"0");
+ return ERROR_SUCCESS; /* Never return failure. */
+}
+
+/**
+ * Checks if all required MS CRTs (Visual Studio Redistributable Package) are installed on the system.
+ *
+ * Called from the MSI installer as custom action.
+ *
+ * @returns Always ERROR_SUCCESS.
+ * Sets public property VBOX_MSCRT_INSTALLED to "" (false, to use "NOT" in WiX) or "1" (success).
+ *
+ * Also exposes public properties VBOX_MSCRT_VER_MIN + VBOX_MSCRT_VER_MAJ strings
+ * with the most recent MSCRT version detected.
+ *
+ * @param hModule Windows installer module handle.
+ *
+ * @sa https://docs.microsoft.com/en-us/cpp/windows/redistributing-visual-cpp-files?view=msvc-170
+ */
+UINT __stdcall IsMSCRTInstalled(MSIHANDLE hModule)
+{
+ HKEY hKeyVS = NULL;
+ LSTATUS lrc = RegOpenKeyExW(HKEY_LOCAL_MACHINE,
+ L"SOFTWARE\\Microsoft\\VisualStudio\\14.0\\VC\\Runtimes\\X64",
+ 0, KEY_READ, &hKeyVS);
+ if (lrc == ERROR_SUCCESS)
+ {
+ DWORD dwVal = 0;
+ DWORD cbVal = sizeof(dwVal);
+ DWORD dwValueType = REG_DWORD; /** @todo r=bird: output only parameter, optional, so pointless. */
+ lrc = RegQueryValueExW(hKeyVS, L"Installed", NULL, &dwValueType, (LPBYTE)&dwVal, &cbVal);
+ if (lrc == ERROR_SUCCESS)
+ {
+ if (dwVal >= 1)
+ {
+ DWORD dwMaj = 0; /** @todo r=bird: It's purdent to initialize values if you don't bother to check the type and size! */
+ lrc = RegQueryValueExW(hKeyVS, L"Major", NULL, &dwValueType, (LPBYTE)&dwMaj, &cbVal);
+ if (lrc == ERROR_SUCCESS)
+ {
+ VBoxSetMsiPropDWORD(hModule, L"VBOX_MSCRT_VER_MAJ", dwMaj);
+
+ DWORD dwMin = 0;
+ lrc = RegQueryValueExW(hKeyVS, L"Minor", NULL, &dwValueType, (LPBYTE)&dwMin, &cbVal);
+ if (lrc == ERROR_SUCCESS)
+ {
+ VBoxSetMsiPropDWORD(hModule, L"VBOX_MSCRT_VER_MIN", dwMin);
+
+ logStringF(hModule, "IsMSCRTInstalled: Found v%u.%u\n", dwMaj, dwMin);
+
+ /* Check for at least 2019. */
+ if (dwMaj > 14 || (dwMaj == 14 && dwMin >= 20))
+ VBoxSetMsiProp(hModule, L"VBOX_MSCRT_INSTALLED", L"1");
+ }
+ else
+ logStringF(hModule, "IsMSCRTInstalled: Found, but 'Minor' key not present (lrc=%d)", lrc);
+ }
+ else
+ logStringF(hModule, "IsMSCRTInstalled: Found, but 'Major' key not present (lrc=%d)", lrc);
+ }
+ else
+ {
+ logStringF(hModule, "IsMSCRTInstalled: Found, but not marked as installed");
+ lrc = ERROR_NOT_INSTALLED;
+ }
+ }
+ else
+ logStringF(hModule, "IsMSCRTInstalled: Found, but 'Installed' key not present (lrc=%d)", lrc);
+ }
+
+ if (lrc != ERROR_SUCCESS)
+ logStringF(hModule, "IsMSCRTInstalled: Failed with lrc=%ld", lrc);
+
+ return ERROR_SUCCESS; /* Never return failure. */
+}
+
+/**
+ * Checks if the running OS is (at least) Windows 10 (e.g. >= build 10000).
+ *
+ * Called from the MSI installer as custom action.
+ *
+ * @returns Always ERROR_SUCCESS.
+ * Sets public property VBOX_IS_WINDOWS_10 to "" (empty / false) or "1" (success).
+ *
+ * @param hModule Windows installer module handle.
+ */
+UINT __stdcall IsWindows10(MSIHANDLE hModule)
+{
+ /*
+ * Note: We cannot use RtlGetVersion() / GetVersionExW() here, as the Windows Installer service
+ * all shims this, unfortunately. So we have to go another route by querying the major version
+ * number from the registry.
+ */
+ HKEY hKeyCurVer = NULL;
+ LSTATUS lrc = RegOpenKeyExW(HKEY_LOCAL_MACHINE, L"SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion", 0, KEY_READ, &hKeyCurVer);
+ if (lrc == ERROR_SUCCESS)
+ {
+ DWORD dwVal = 0;
+ DWORD cbVal = sizeof(dwVal);
+ DWORD dwValueType = REG_DWORD; /** @todo r=bird: Again, the type is an optional output parameter. pointless to init or pass it unless you check. */
+ lrc = RegQueryValueExW(hKeyCurVer, L"CurrentMajorVersionNumber", NULL, &dwValueType, (LPBYTE)&dwVal, &cbVal);
+ if (lrc == ERROR_SUCCESS)
+ {
+ logStringF(hModule, "IsWindows10/CurrentMajorVersionNumber: %u", dwVal);
+
+ VBoxSetMsiProp(hModule, L"VBOX_IS_WINDOWS_10", dwVal >= 10 ? L"1" : L"");
+ }
+ else
+ logStringF(hModule, "IsWindows10/RegOpenKeyExW: Error reading CurrentMajorVersionNumber (%ld)", lrc);
+
+ RegCloseKey(hKeyCurVer);
+ }
+ else
+ logStringF(hModule, "IsWindows10/RegOpenKeyExW: Error opening CurrentVersion key (%ld)", lrc);
+
+ return ERROR_SUCCESS; /* Never return failure. */
+}
+
+/**
+ * Installs and compiles the VBox Python bindings.
+ *
+ * Called from the MSI installer as custom action.
+ *
+ * @returns Always ERROR_SUCCESS.
+ * Sets public property VBOX_API_INSTALLED to "0" (false) or "1" (success).
+ *
+ * @param hModule Windows installer module handle.
+ */
+UINT __stdcall InstallPythonAPI(MSIHANDLE hModule)
+{
+ logStringF(hModule, "InstallPythonAPI: Checking for installed Python environment(s) ...");
+
+ /** @todo r=bird: Can't we get the VBOX_PYTHON_PATH property here? */
+ wchar_t wszPythonExe[RTPATH_MAX];
+ UINT rcWin = getPythonExe(hModule, wszPythonExe, RTPATH_MAX);
+ if (rcWin != ERROR_SUCCESS)
+ {
+ VBoxSetMsiProp(hModule, L"VBOX_API_INSTALLED", L"0");
+ return ERROR_SUCCESS;
+ }
+
+ /*
+ * Set up the VBox API.
+ */
+ /* Get the VBox API setup string. */
+ WCHAR wszVBoxSDKPath[RTPATH_MAX];
+ rcWin = VBoxGetMsiProp(hModule, L"CustomActionData", wszVBoxSDKPath, RT_ELEMENTS(wszVBoxSDKPath));
+ if (rcWin == ERROR_SUCCESS)
+ {
+ /* Make sure our current working directory is the VBox installation path. */
+ if (SetCurrentDirectoryW(wszVBoxSDKPath))
+ {
+ /* Set required environment variables. */
+ if (SetEnvironmentVariableW(L"VBOX_INSTALL_PATH", wszVBoxSDKPath))
+ {
+ logStringF(hModule, "InstallPythonAPI: Invoking vboxapisetup.py in \"%ls\" ...", wszVBoxSDKPath);
+
+ rcWin = procRun(hModule, wszPythonExe, L"vboxapisetup.py install");
+ if (rcWin == ERROR_SUCCESS)
+ {
+ logStringF(hModule, "InstallPythonAPI: Installation of vboxapisetup.py successful");
+
+ /*
+ * Do some sanity checking if the VBox API works.
+ */
+ logStringF(hModule, "InstallPythonAPI: Validating VBox API ...");
+
+ rcWin = procRun(hModule, wszPythonExe, L"-c \"from vboxapi import VirtualBoxManager\"");
+ if (rcWin == ERROR_SUCCESS)
+ {
+ logStringF(hModule, "InstallPythonAPI: VBox API looks good.");
+ VBoxSetMsiProp(hModule, L"VBOX_API_INSTALLED", L"1");
+ return ERROR_SUCCESS;
+ }
+
+ /* failed */
+ logStringF(hModule, "InstallPythonAPI: Validating VBox API failed with %u (%#x)", rcWin, rcWin);
+ }
+ else
+ logStringF(hModule, "InstallPythonAPI: Calling vboxapisetup.py failed with %u (%#x)", rcWin, rcWin);
+ }
+ else
+ logStringF(hModule, "InstallPythonAPI: Could set environment variable VBOX_INSTALL_PATH: LastError=%u",
+ GetLastError());
+ }
+ else
+ logStringF(hModule, "InstallPythonAPI: Could set working directory to \"%ls\": LastError=%u",
+ wszVBoxSDKPath, GetLastError());
+ }
+ else
+ logStringF(hModule, "InstallPythonAPI: Unable to retrieve VBox installation directory: rcWin=%u (%#x)", rcWin, rcWin);
+
+ VBoxSetMsiProp(hModule, L"VBOX_API_INSTALLED", L"0");
+ logStringF(hModule, "InstallPythonAPI: Installation failed");
+ return ERROR_SUCCESS; /* Do not fail here. */
+}
+
+static LONG installBrandingValue(MSIHANDLE hModule,
+ const WCHAR *pwszFileName,
+ const WCHAR *pwszSection,
+ const WCHAR *pwszValue)
+{
+ LONG rc;
+ WCHAR wszValue[MAX_PATH];
+ if (GetPrivateProfileStringW(pwszSection, pwszValue, NULL, wszValue, sizeof(wszValue), pwszFileName) > 0)
+ {
+ WCHAR wszKey[MAX_PATH + 64];
+ if (RTUtf16ICmpAscii(pwszSection, "General") != 0)
+ RTUtf16Printf(wszKey, RT_ELEMENTS(wszKey), "SOFTWARE\\%s\\VirtualBox\\Branding\\%ls", VBOX_VENDOR_SHORT, pwszSection);
+ else
+ RTUtf16Printf(wszKey, RT_ELEMENTS(wszKey), "SOFTWARE\\%s\\VirtualBox\\Branding", VBOX_VENDOR_SHORT);
+
+ HKEY hkBranding = NULL;
+ rc = RegOpenKeyExW(HKEY_LOCAL_MACHINE, wszKey, 0, KEY_WRITE, &hkBranding);
+ if (rc == ERROR_SUCCESS)
+ {
+ rc = RegSetValueExW(hkBranding,
+ pwszValue,
+ NULL,
+ REG_SZ,
+ (BYTE *)wszValue,
+ (DWORD)RTUtf16Len(wszValue));
+ if (rc != ERROR_SUCCESS)
+ logStringF(hModule, "InstallBranding: Could not write value %s! Error %d", pwszValue, rc);
+ RegCloseKey(hkBranding);
+ }
+ }
+ else
+ rc = ERROR_NOT_FOUND;
+ return rc;
+}
+
+/**
+ * @note Both paths strings must have an extra terminator.
+ */
+static UINT CopyDir(MSIHANDLE hModule, const WCHAR *pwszzDstDir, const WCHAR *pwszzSrcDir)
+{
+ NonStandardAssert(pwszzDstDir[RTUtf16Len(pwszzDstDir) + 1] == '\0');
+ NonStandardAssert(pwszzSrcDir[RTUtf16Len(pwszzSrcDir) + 1] == '\0');
+
+ SHFILEOPSTRUCTW s = {0};
+ s.hwnd = NULL;
+ s.wFunc = FO_COPY;
+ s.pTo = pwszzDstDir;
+ s.pFrom = pwszzSrcDir;
+ s.fFlags = FOF_SILENT
+ | FOF_NOCONFIRMATION
+ | FOF_NOCONFIRMMKDIR
+ | FOF_NOERRORUI;
+
+ logStringF(hModule, "CopyDir: pwszzDstDir=%ls, pwszzSrcDir=%ls", pwszzDstDir, pwszzSrcDir);
+ int r = SHFileOperationW(&s);
+ if (r == 0)
+ return ERROR_SUCCESS;
+ logStringF(hModule, "CopyDir: Copy operation returned status %#x", r);
+ return ERROR_GEN_FAILURE;
+}
+
+/**
+ * @note The directory string must have two zero terminators!
+ */
+static UINT RemoveDir(MSIHANDLE hModule, const WCHAR *pwszzDstDir)
+{
+ NonStandardAssert(pwszzDstDir[RTUtf16Len(pwszzDstDir) + 1] == '\0');
+
+ SHFILEOPSTRUCTW s = {0};
+ s.hwnd = NULL;
+ s.wFunc = FO_DELETE;
+ s.pFrom = pwszzDstDir;
+ s.fFlags = FOF_SILENT
+ | FOF_NOCONFIRMATION
+ | FOF_NOCONFIRMMKDIR
+ | FOF_NOERRORUI;
+
+ logStringF(hModule, "RemoveDir: pwszzDstDir=%ls", pwszzDstDir);
+ int r = SHFileOperationW(&s);
+ if (r == 0)
+ return ERROR_SUCCESS;
+ logStringF(hModule, "RemoveDir: Remove operation returned status %#x", r);
+ return ERROR_GEN_FAILURE;
+}
+
+/**
+ * @note Both paths strings must have an extra terminator.
+ */
+static UINT RenameDir(MSIHANDLE hModule, const WCHAR *pwszzDstDir, const WCHAR *pwszzSrcDir)
+{
+ NonStandardAssert(pwszzDstDir[RTUtf16Len(pwszzDstDir) + 1] == '\0');
+ NonStandardAssert(pwszzSrcDir[RTUtf16Len(pwszzSrcDir) + 1] == '\0');
+
+ SHFILEOPSTRUCTW s = {0};
+ s.hwnd = NULL;
+ s.wFunc = FO_RENAME;
+ s.pTo = pwszzDstDir;
+ s.pFrom = pwszzSrcDir;
+ s.fFlags = FOF_SILENT
+ | FOF_NOCONFIRMATION
+ | FOF_NOCONFIRMMKDIR
+ | FOF_NOERRORUI;
+
+ logStringF(hModule, "RenameDir: pwszzDstDir=%ls, pwszzSrcDir=%ls", pwszzDstDir, pwszzSrcDir);
+ int r = SHFileOperationW(&s);
+ if (r == 0)
+ return ERROR_SUCCESS;
+ logStringF(hModule, "RenameDir: Rename operation returned status %#x", r);
+ return ERROR_GEN_FAILURE;
+}
+
+/** RTPathAppend-like function. */
+static UINT AppendToPath(wchar_t *pwszPath, size_t cwcPath, wchar_t *pwszAppend, bool fDoubleTerm = false)
+{
+ size_t cwcCurPath = RTUtf16Len(pwszPath);
+ size_t cwcSlash = cwcCurPath > 1 && RTPATH_IS_SLASH(pwszPath[cwcCurPath - 1]) ? 0 : 1;
+ while (RTPATH_IS_SLASH(*pwszAppend))
+ pwszAppend++;
+ size_t cwcAppend = RTUtf16Len(pwszAppend);
+ if (cwcCurPath + cwcCurPath + cwcAppend + fDoubleTerm < cwcPath)
+ {
+ if (cwcSlash)
+ pwszPath[cwcCurPath++] = '\\';
+ memcpy(&pwszPath[cwcCurPath], pwszAppend, (cwcAppend + 1) * sizeof(wchar_t));
+ if (fDoubleTerm)
+ pwszPath[cwcCurPath + cwcAppend + 1] = '\0';
+ return ERROR_SUCCESS;
+ }
+ return ERROR_BUFFER_OVERFLOW;
+}
+
+/** RTPathJoin-like function. */
+static UINT JoinPaths(wchar_t *pwszPath, size_t cwcPath, wchar_t *pwszPath1, wchar_t *pwszAppend, bool fDoubleTerm = false)
+{
+ size_t cwcCurPath = RTUtf16Len(pwszPath1);
+ if (cwcCurPath < cwcPath)
+ {
+ memcpy(pwszPath, pwszPath1, (cwcCurPath + 1) * sizeof(wchar_t));
+ return AppendToPath(pwszPath, cwcPath, pwszAppend, fDoubleTerm);
+ }
+ return ERROR_BUFFER_OVERFLOW;
+}
+
+UINT __stdcall UninstallBranding(MSIHANDLE hModule)
+{
+ logStringF(hModule, "UninstallBranding: Handling branding file ...");
+
+ WCHAR wszPath[RTPATH_MAX];
+ UINT rc = VBoxGetMsiProp(hModule, L"CustomActionData", wszPath, RT_ELEMENTS(wszPath));
+ if (rc == ERROR_SUCCESS)
+ {
+ size_t const cwcPath = RTUtf16Len(wszPath);
+ rc = AppendToPath(wszPath, RTPATH_MAX, L"custom", true /*fDoubleTerm*/);
+ if (rc == ERROR_SUCCESS)
+ rc = RemoveDir(hModule, wszPath);
+
+ /* Check for .custom directory from a failed install and remove it. */
+ wszPath[cwcPath] = '\0';
+ rc = AppendToPath(wszPath, RTPATH_MAX, L".custom", true /*fDoubleTerm*/);
+ if (rc == ERROR_SUCCESS)
+ rc = RemoveDir(hModule, wszPath);
+ }
+
+ logStringF(hModule, "UninstallBranding: Handling done. (rc=%u (ignored))", rc);
+ return ERROR_SUCCESS; /* Do not fail here. */
+}
+
+UINT __stdcall InstallBranding(MSIHANDLE hModule)
+{
+ logStringF(hModule, "InstallBranding: Handling branding file ...");
+
+ /*
+ * Get the paths.
+ */
+ wchar_t wszSrcPath[RTPATH_MAX];
+ UINT rc = VBoxGetMsiProp(hModule, L"SOURCEDIR", wszSrcPath, RT_ELEMENTS(wszSrcPath));
+ if (rc == ERROR_SUCCESS)
+ {
+ wchar_t wszDstPath[RTPATH_MAX];
+ rc = VBoxGetMsiProp(hModule, L"CustomActionData", wszDstPath, RT_ELEMENTS(wszDstPath) - 1);
+ if (rc == ERROR_SUCCESS)
+ {
+ /*
+ * First we copy the src\.custom dir to the target.
+ */
+ rc = AppendToPath(wszSrcPath, RT_ELEMENTS(wszSrcPath) - 1, L".custom", true /*fDoubleTerm*/);
+ if (rc == ERROR_SUCCESS)
+ {
+ rc = CopyDir(hModule, wszDstPath, wszSrcPath);
+ if (rc == ERROR_SUCCESS)
+ {
+ /*
+ * The rename the '.custom' directory we now got in the target area to 'custom'.
+ */
+ rc = JoinPaths(wszSrcPath, RT_ELEMENTS(wszSrcPath), wszDstPath, L".custom", true /*fDoubleTerm*/);
+ if (rc == ERROR_SUCCESS)
+ {
+ rc = AppendToPath(wszDstPath, RT_ELEMENTS(wszDstPath), L"custom", true /*fDoubleTerm*/);
+ if (rc == ERROR_SUCCESS)
+ rc = RenameDir(hModule, wszDstPath, wszSrcPath);
+ }
+ }
+ }
+ }
+ }
+
+ logStringF(hModule, "InstallBranding: Handling done. (rc=%u (ignored))", rc);
+ return ERROR_SUCCESS; /* Do not fail here. */
+}
+
+#ifdef VBOX_WITH_NETFLT
+
+/** @todo should use some real VBox app name */
+#define VBOX_NETCFG_APP_NAME L"VirtualBox Installer"
+#define VBOX_NETCFG_MAX_RETRIES 10
+#define NETFLT_PT_INF_REL_PATH L"VBoxNetFlt.inf"
+#define NETFLT_MP_INF_REL_PATH L"VBoxNetFltM.inf"
+#define NETFLT_ID L"sun_VBoxNetFlt" /** @todo Needs to be changed (?). */
+#define NETADP_ID L"sun_VBoxNetAdp" /** @todo Needs to be changed (?). */
+
+#define NETLWF_INF_NAME L"VBoxNetLwf.inf"
+
+static MSIHANDLE g_hCurrentModule = NULL;
+
+static UINT _uninstallNetFlt(MSIHANDLE hModule);
+static UINT _uninstallNetLwf(MSIHANDLE hModule);
+
+static VOID vboxDrvLoggerCallback(VBOXDRVCFG_LOG_SEVERITY_T enmSeverity, char *pszMsg, void *pvContext)
+{
+ RT_NOREF1(pvContext);
+ switch (enmSeverity)
+ {
+ case VBOXDRVCFG_LOG_SEVERITY_FLOW:
+ case VBOXDRVCFG_LOG_SEVERITY_REGULAR:
+ break;
+ case VBOXDRVCFG_LOG_SEVERITY_REL:
+ if (g_hCurrentModule)
+ logStringF(g_hCurrentModule, "%s", pszMsg);
+ break;
+ default:
+ break;
+ }
+}
+
+static DECLCALLBACK(void) netCfgLoggerCallback(const char *pszString)
+{
+ if (g_hCurrentModule)
+ logStringF(g_hCurrentModule, "%s", pszString);
+}
+
+static VOID netCfgLoggerDisable()
+{
+ if (g_hCurrentModule)
+ {
+ VBoxNetCfgWinSetLogging(NULL);
+ g_hCurrentModule = NULL;
+ }
+}
+
+static VOID netCfgLoggerEnable(MSIHANDLE hModule)
+{
+ NonStandardAssert(hModule);
+
+ if (g_hCurrentModule)
+ netCfgLoggerDisable();
+
+ g_hCurrentModule = hModule;
+
+ VBoxNetCfgWinSetLogging(netCfgLoggerCallback);
+ /* uncomment next line if you want to add logging information from VBoxDrvCfg.cpp */
+// VBoxDrvCfgLoggerSet(vboxDrvLoggerCallback, NULL);
+}
+
+static UINT errorConvertFromHResult(MSIHANDLE hModule, HRESULT hr)
+{
+ UINT uRet;
+ switch (hr)
+ {
+ case S_OK:
+ uRet = ERROR_SUCCESS;
+ break;
+
+ case NETCFG_S_REBOOT:
+ {
+ logStringF(hModule, "Reboot required, setting REBOOT property to \"force\"");
+ HRESULT hr2 = MsiSetPropertyW(hModule, L"REBOOT", L"Force");
+ if (hr2 != ERROR_SUCCESS)
+ logStringF(hModule, "Failed to set REBOOT property, error = %#x", hr2);
+ uRet = ERROR_SUCCESS; /* Never fail here. */
+ break;
+ }
+
+ default:
+ logStringF(hModule, "Converting unhandled HRESULT (%#x) to ERROR_GEN_FAILURE", hr);
+ uRet = ERROR_GEN_FAILURE;
+ }
+ return uRet;
+}
+
+static MSIHANDLE createNetCfgLockedMsgRecord(MSIHANDLE hModule)
+{
+ MSIHANDLE hRecord = MsiCreateRecord(2);
+ if (hRecord)
+ {
+ UINT uErr = MsiRecordSetInteger(hRecord, 1, 25001);
+ if (uErr != ERROR_SUCCESS)
+ {
+ logStringF(hModule, "createNetCfgLockedMsgRecord: MsiRecordSetInteger failed, error = %#x", uErr);
+ MsiCloseHandle(hRecord);
+ hRecord = NULL;
+ }
+ }
+ else
+ logStringF(hModule, "createNetCfgLockedMsgRecord: Failed to create a record");
+
+ return hRecord;
+}
+
+static UINT doNetCfgInit(MSIHANDLE hModule, INetCfg **ppnc, BOOL bWrite)
+{
+ MSIHANDLE hMsg = NULL;
+ UINT uErr = ERROR_GEN_FAILURE;
+ int MsgResult;
+ int cRetries = 0;
+
+ do
+ {
+ LPWSTR lpszLockedBy;
+ HRESULT hr = VBoxNetCfgWinQueryINetCfg(ppnc, bWrite, VBOX_NETCFG_APP_NAME, 10000, &lpszLockedBy);
+ if (hr != NETCFG_E_NO_WRITE_LOCK)
+ {
+ if (FAILED(hr))
+ logStringF(hModule, "doNetCfgInit: VBoxNetCfgWinQueryINetCfg failed, error = %#x", hr);
+ uErr = errorConvertFromHResult(hModule, hr);
+ break;
+ }
+
+ /* hr == NETCFG_E_NO_WRITE_LOCK */
+
+ if (!lpszLockedBy)
+ {
+ logStringF(hModule, "doNetCfgInit: lpszLockedBy == NULL, breaking");
+ break;
+ }
+
+ /* on vista the 6to4svc.dll periodically maintains the lock for some reason,
+ * if this is the case, increase the wait period by retrying multiple times
+ * NOTE: we could alternatively increase the wait timeout,
+ * however it seems unneeded for most cases, e.g. in case some network connection property
+ * dialog is opened, it would be better to post a notification to the user as soon as possible
+ * rather than waiting for a longer period of time before displaying it */
+ if ( cRetries < VBOX_NETCFG_MAX_RETRIES
+ && RTUtf16ICmpAscii(lpszLockedBy, "6to4svc.dll") == 0)
+ {
+ cRetries++;
+ logStringF(hModule, "doNetCfgInit: lpszLockedBy is 6to4svc.dll, retrying %d out of %d", cRetries, VBOX_NETCFG_MAX_RETRIES);
+ MsgResult = IDRETRY;
+ }
+ else
+ {
+ if (!hMsg)
+ {
+ hMsg = createNetCfgLockedMsgRecord(hModule);
+ if (!hMsg)
+ {
+ logStringF(hModule, "doNetCfgInit: Failed to create a message record, breaking");
+ CoTaskMemFree(lpszLockedBy);
+ break;
+ }
+ }
+
+ UINT rTmp = MsiRecordSetStringW(hMsg, 2, lpszLockedBy);
+ NonStandardAssert(rTmp == ERROR_SUCCESS);
+ if (rTmp != ERROR_SUCCESS)
+ {
+ logStringF(hModule, "doNetCfgInit: MsiRecordSetStringW failed, error = #%x", rTmp);
+ CoTaskMemFree(lpszLockedBy);
+ break;
+ }
+
+ MsgResult = MsiProcessMessage(hModule, (INSTALLMESSAGE)(INSTALLMESSAGE_USER | MB_RETRYCANCEL), hMsg);
+ NonStandardAssert(MsgResult == IDRETRY || MsgResult == IDCANCEL);
+ logStringF(hModule, "doNetCfgInit: MsiProcessMessage returned (%#x)", MsgResult);
+ }
+ CoTaskMemFree(lpszLockedBy);
+ } while(MsgResult == IDRETRY);
+
+ if (hMsg)
+ MsiCloseHandle(hMsg);
+
+ return uErr;
+}
+
+static UINT vboxNetFltQueryInfArray(MSIHANDLE hModule, OUT LPWSTR pwszPtInf, DWORD cwcPtInf,
+ OUT LPWSTR pwszMpInf, DWORD cwcMpInf)
+{
+ DWORD cwcEffBuf = cwcPtInf - RT_MAX(sizeof(NETFLT_PT_INF_REL_PATH), sizeof(NETFLT_MP_INF_REL_PATH)) / sizeof(WCHAR);
+ UINT uErr = MsiGetPropertyW(hModule, L"CustomActionData", pwszPtInf, &cwcEffBuf);
+ if ( uErr == ERROR_SUCCESS
+ && cwcEffBuf > 0)
+ {
+ int vrc = RTUtf16Copy(pwszMpInf, cwcMpInf, pwszPtInf);
+ AssertRCReturn(vrc, ERROR_BUFFER_OVERFLOW);
+
+ vrc = RTUtf16Cat(pwszPtInf, cwcPtInf, NETFLT_PT_INF_REL_PATH);
+ AssertRCReturn(vrc, ERROR_BUFFER_OVERFLOW);
+ logStringF(hModule, "vboxNetFltQueryInfArray: INF 1: %ls", pwszPtInf);
+
+ vrc = RTUtf16Cat(pwszMpInf, cwcMpInf, NETFLT_MP_INF_REL_PATH);
+ AssertRCReturn(vrc, ERROR_BUFFER_OVERFLOW);
+ logStringF(hModule, "vboxNetFltQueryInfArray: INF 2: %ls", pwszMpInf);
+ }
+ else if (uErr != ERROR_SUCCESS)
+ logStringF(hModule, "vboxNetFltQueryInfArray: MsiGetPropertyW failed, error = %#x", uErr);
+ else
+ {
+ logStringF(hModule, "vboxNetFltQueryInfArray: Empty installation directory");
+ uErr = ERROR_GEN_FAILURE;
+ }
+
+ return uErr;
+}
+
+#endif /*VBOX_WITH_NETFLT*/
+
+/*static*/ UINT _uninstallNetFlt(MSIHANDLE hModule)
+{
+#ifdef VBOX_WITH_NETFLT
+ INetCfg *pNetCfg;
+ UINT uErr;
+
+ netCfgLoggerEnable(hModule);
+
+ BOOL bOldIntMode = SetupSetNonInteractiveMode(FALSE);
+
+ __try
+ {
+ logStringF(hModule, "Uninstalling NetFlt");
+
+ uErr = doNetCfgInit(hModule, &pNetCfg, TRUE);
+ if (uErr == ERROR_SUCCESS)
+ {
+ HRESULT hr = VBoxNetCfgWinNetFltUninstall(pNetCfg);
+ if (hr != S_OK)
+ logStringF(hModule, "UninstallNetFlt: VBoxNetCfgWinUninstallComponent failed, error = %#x", hr);
+
+ uErr = errorConvertFromHResult(hModule, hr);
+
+ VBoxNetCfgWinReleaseINetCfg(pNetCfg, TRUE);
+
+ logStringF(hModule, "Uninstalling NetFlt done, error = %#x", uErr);
+ }
+ else
+ logStringF(hModule, "UninstallNetFlt: doNetCfgInit failed, error = %#x", uErr);
+ }
+ __finally
+ {
+ if (bOldIntMode)
+ {
+ /* The prev mode != FALSE, i.e. non-interactive. */
+ SetupSetNonInteractiveMode(bOldIntMode);
+ }
+ netCfgLoggerDisable();
+ }
+#endif /* VBOX_WITH_NETFLT */
+
+ /* Never fail the uninstall even if we did not succeed. */
+ return ERROR_SUCCESS;
+}
+
+UINT __stdcall UninstallNetFlt(MSIHANDLE hModule)
+{
+ (void)_uninstallNetLwf(hModule);
+ return _uninstallNetFlt(hModule);
+}
+
+static UINT _installNetFlt(MSIHANDLE hModule)
+{
+#ifdef VBOX_WITH_NETFLT
+ UINT uErr;
+ INetCfg *pNetCfg;
+
+ netCfgLoggerEnable(hModule);
+
+ BOOL bOldIntMode = SetupSetNonInteractiveMode(FALSE);
+
+ __try
+ {
+
+ logStringF(hModule, "InstallNetFlt: Installing NetFlt");
+
+ uErr = doNetCfgInit(hModule, &pNetCfg, TRUE);
+ if (uErr == ERROR_SUCCESS)
+ {
+ WCHAR wszPtInf[MAX_PATH];
+ WCHAR wszMpInf[MAX_PATH];
+ uErr = vboxNetFltQueryInfArray(hModule, wszPtInf, RT_ELEMENTS(wszPtInf), wszMpInf, RT_ELEMENTS(wszMpInf));
+ if (uErr == ERROR_SUCCESS)
+ {
+ LPCWSTR const apwszInfs[] = { wszPtInf, wszMpInf };
+ HRESULT hr = VBoxNetCfgWinNetFltInstall(pNetCfg, &apwszInfs[0], RT_ELEMENTS(apwszInfs));
+ if (FAILED(hr))
+ logStringF(hModule, "InstallNetFlt: VBoxNetCfgWinNetFltInstall failed, error = %#x", hr);
+
+ uErr = errorConvertFromHResult(hModule, hr);
+ }
+ else
+ logStringF(hModule, "InstallNetFlt: vboxNetFltQueryInfArray failed, error = %#x", uErr);
+
+ VBoxNetCfgWinReleaseINetCfg(pNetCfg, TRUE);
+
+ logStringF(hModule, "InstallNetFlt: Done");
+ }
+ else
+ logStringF(hModule, "InstallNetFlt: doNetCfgInit failed, error = %#x", uErr);
+ }
+ __finally
+ {
+ if (bOldIntMode)
+ {
+ /* The prev mode != FALSE, i.e. non-interactive. */
+ SetupSetNonInteractiveMode(bOldIntMode);
+ }
+ netCfgLoggerDisable();
+ }
+#endif /* VBOX_WITH_NETFLT */
+
+ /* Never fail the install even if we did not succeed. */
+ return ERROR_SUCCESS;
+}
+
+UINT __stdcall InstallNetFlt(MSIHANDLE hModule)
+{
+ (void)_uninstallNetLwf(hModule);
+ return _installNetFlt(hModule);
+}
+
+
+/*static*/ UINT _uninstallNetLwf(MSIHANDLE hModule)
+{
+#ifdef VBOX_WITH_NETFLT
+ INetCfg *pNetCfg;
+ UINT uErr;
+
+ netCfgLoggerEnable(hModule);
+
+ BOOL bOldIntMode = SetupSetNonInteractiveMode(FALSE);
+
+ __try
+ {
+ logStringF(hModule, "Uninstalling NetLwf");
+
+ uErr = doNetCfgInit(hModule, &pNetCfg, TRUE);
+ if (uErr == ERROR_SUCCESS)
+ {
+ HRESULT hr = VBoxNetCfgWinNetLwfUninstall(pNetCfg);
+ if (hr != S_OK)
+ logStringF(hModule, "UninstallNetLwf: VBoxNetCfgWinUninstallComponent failed, error = %#x", hr);
+
+ uErr = errorConvertFromHResult(hModule, hr);
+
+ VBoxNetCfgWinReleaseINetCfg(pNetCfg, TRUE);
+
+ logStringF(hModule, "Uninstalling NetLwf done, error = %#x", uErr);
+ }
+ else
+ logStringF(hModule, "UninstallNetLwf: doNetCfgInit failed, error = %#x", uErr);
+ }
+ __finally
+ {
+ if (bOldIntMode)
+ {
+ /* The prev mode != FALSE, i.e. non-interactive. */
+ SetupSetNonInteractiveMode(bOldIntMode);
+ }
+ netCfgLoggerDisable();
+ }
+#endif /* VBOX_WITH_NETFLT */
+
+ /* Never fail the uninstall even if we did not succeed. */
+ return ERROR_SUCCESS;
+}
+
+UINT __stdcall UninstallNetLwf(MSIHANDLE hModule)
+{
+ (void)_uninstallNetFlt(hModule);
+ return _uninstallNetLwf(hModule);
+}
+
+static UINT _installNetLwf(MSIHANDLE hModule)
+{
+#ifdef VBOX_WITH_NETFLT
+ UINT uErr;
+ INetCfg *pNetCfg;
+
+ netCfgLoggerEnable(hModule);
+
+ BOOL bOldIntMode = SetupSetNonInteractiveMode(FALSE);
+
+ __try
+ {
+
+ logStringF(hModule, "InstallNetLwf: Installing NetLwf");
+
+ uErr = doNetCfgInit(hModule, &pNetCfg, TRUE);
+ if (uErr == ERROR_SUCCESS)
+ {
+ WCHAR wszInf[MAX_PATH];
+ DWORD cwcInf = RT_ELEMENTS(wszInf) - sizeof(NETLWF_INF_NAME) - 1;
+ uErr = MsiGetPropertyW(hModule, L"CustomActionData", wszInf, &cwcInf);
+ if (uErr == ERROR_SUCCESS)
+ {
+ if (cwcInf)
+ {
+ if (wszInf[cwcInf - 1] != L'\\')
+ {
+ wszInf[cwcInf++] = L'\\';
+ wszInf[cwcInf] = L'\0';
+ }
+
+ int vrc = RTUtf16Cat(wszInf, RT_ELEMENTS(wszInf), NETLWF_INF_NAME);
+ AssertRC(vrc);
+
+ HRESULT hr = VBoxNetCfgWinNetLwfInstall(pNetCfg, wszInf);
+ if (FAILED(hr))
+ logStringF(hModule, "InstallNetLwf: VBoxNetCfgWinNetLwfInstall failed, error = %#x", hr);
+
+ uErr = errorConvertFromHResult(hModule, hr);
+ }
+ else
+ {
+ logStringF(hModule, "vboxNetFltQueryInfArray: Empty installation directory");
+ uErr = ERROR_GEN_FAILURE;
+ }
+ }
+ else
+ logStringF(hModule, "vboxNetFltQueryInfArray: MsiGetPropertyW failed, error = %#x", uErr);
+
+ VBoxNetCfgWinReleaseINetCfg(pNetCfg, TRUE);
+
+ logStringF(hModule, "InstallNetLwf: Done");
+ }
+ else
+ logStringF(hModule, "InstallNetLwf: doNetCfgInit failed, error = %#x", uErr);
+ }
+ __finally
+ {
+ if (bOldIntMode)
+ {
+ /* The prev mode != FALSE, i.e. non-interactive. */
+ SetupSetNonInteractiveMode(bOldIntMode);
+ }
+ netCfgLoggerDisable();
+ }
+#endif /* VBOX_WITH_NETFLT */
+
+ /* Never fail the install even if we did not succeed. */
+ return ERROR_SUCCESS;
+}
+
+UINT __stdcall InstallNetLwf(MSIHANDLE hModule)
+{
+ (void)_uninstallNetFlt(hModule);
+ return _installNetLwf(hModule);
+}
+
+
+#if 0
+static BOOL RenameHostOnlyConnectionsCallback(HDEVINFO hDevInfo, PSP_DEVINFO_DATA pDev, PVOID pContext)
+{
+ WCHAR DevName[256];
+ DWORD winEr;
+
+ if (SetupDiGetDeviceRegistryPropertyW(hDevInfo, pDev,
+ SPDRP_FRIENDLYNAME , /* IN DWORD Property,*/
+ NULL, /*OUT PDWORD PropertyRegDataType, OPTIONAL*/
+ (PBYTE)DevName, /*OUT PBYTE PropertyBuffer,*/
+ sizeof(DevName), /* IN DWORD PropertyBufferSize,*/
+ NULL /*OUT PDWORD RequiredSize OPTIONAL*/
+ ))
+ {
+ HKEY hKey = SetupDiOpenDevRegKey(hDevInfo, pDev,
+ DICS_FLAG_GLOBAL, /* IN DWORD Scope,*/
+ 0, /*IN DWORD HwProfile, */
+ DIREG_DRV, /* IN DWORD KeyType, */
+ KEY_READ /*IN REGSAM samDesired*/
+ );
+ NonStandardAssert(hKey != INVALID_HANDLE_VALUE);
+ if (hKey != INVALID_HANDLE_VALUE)
+ {
+ WCHAR guid[50];
+ DWORD cbGuid=sizeof(guid);
+ winEr = RegQueryValueExW(hKey,
+ L"NetCfgInstanceId", /*__in_opt LPCTSTR lpValueName,*/
+ NULL, /*__reserved LPDWORD lpReserved,*/
+ NULL, /*__out_opt LPDWORD lpType,*/
+ (LPBYTE)guid, /*__out_opt LPBYTE lpData,*/
+ &cbGuid /*guid__inout_opt LPDWORD lpcbData*/
+ );
+ NonStandardAssert(winEr == ERROR_SUCCESS);
+ if (winEr == ERROR_SUCCESS)
+ {
+ WCHAR ConnectoinName[128];
+ ULONG cbName = sizeof(ConnectoinName);
+
+ HRESULT hr = VBoxNetCfgWinGenHostonlyConnectionName(DevName, ConnectoinName, &cbName);
+ NonStandardAssert(hr == S_OK);
+ if (SUCCEEDED(hr))
+ {
+ hr = VBoxNetCfgWinRenameConnection(guid, ConnectoinName);
+ NonStandardAssert(hr == S_OK);
+ }
+ }
+ }
+ RegCloseKey(hKey);
+ }
+ else
+ {
+ NonStandardAssert(0);
+ }
+
+ return TRUE;
+}
+#endif
+
+static UINT _createHostOnlyInterface(MSIHANDLE hModule, LPCWSTR pwszId, LPCWSTR pwszInfName)
+{
+#ifdef VBOX_WITH_NETFLT
+ netCfgLoggerEnable(hModule);
+
+ BOOL fSetupModeInteractive = SetupSetNonInteractiveMode(FALSE);
+
+ logStringF(hModule, "CreateHostOnlyInterface: Creating host-only interface");
+
+ HRESULT hr = E_FAIL;
+ GUID guid;
+ WCHAR wszMpInf[MAX_PATH];
+ DWORD cwcMpInf = RT_ELEMENTS(wszMpInf) - (DWORD)RTUtf16Len(pwszInfName) - 1 - 1;
+ LPCWSTR pwszInfPath = NULL;
+ bool fIsFile = false;
+ UINT uErr = MsiGetPropertyW(hModule, L"CustomActionData", wszMpInf, &cwcMpInf);
+ if (uErr == ERROR_SUCCESS)
+ {
+ if (cwcMpInf)
+ {
+ logStringF(hModule, "CreateHostOnlyInterface: NetAdpDir property = %ls", wszMpInf);
+ if (wszMpInf[cwcMpInf - 1] != L'\\')
+ {
+ wszMpInf[cwcMpInf++] = L'\\';
+ wszMpInf[cwcMpInf] = L'\0';
+ }
+
+ int vrc = RTUtf16Cat(wszMpInf, RT_ELEMENTS(wszMpInf), pwszInfName);
+ AssertRC(vrc);
+
+ pwszInfPath = wszMpInf;
+ fIsFile = true;
+
+ logStringF(hModule, "CreateHostOnlyInterface: Resulting INF path = %ls", pwszInfPath);
+ }
+ else
+ logStringF(hModule, "CreateHostOnlyInterface: VBox installation path is empty");
+ }
+ else
+ logStringF(hModule, "CreateHostOnlyInterface: Unable to retrieve VBox installation path, error = %#x", uErr);
+
+ /* Make sure the inf file is installed. */
+ if (pwszInfPath != NULL && fIsFile)
+ {
+ logStringF(hModule, "CreateHostOnlyInterface: Calling VBoxDrvCfgInfInstall(%ls)", pwszInfPath);
+ hr = VBoxDrvCfgInfInstall(pwszInfPath);
+ logStringF(hModule, "CreateHostOnlyInterface: VBoxDrvCfgInfInstall returns %#x", hr);
+ if (FAILED(hr))
+ logStringF(hModule, "CreateHostOnlyInterface: Failed to install INF file, error = %#x", hr);
+ }
+
+ if (SUCCEEDED(hr))
+ {
+ //first, try to update Host Only Network Interface
+ BOOL fRebootRequired = FALSE;
+ hr = VBoxNetCfgWinUpdateHostOnlyNetworkInterface(pwszInfPath, &fRebootRequired, pwszId);
+ if (SUCCEEDED(hr))
+ {
+ if (fRebootRequired)
+ {
+ logStringF(hModule, "CreateHostOnlyInterface: Reboot required for update, setting REBOOT property to force");
+ HRESULT hr2 = MsiSetPropertyW(hModule, L"REBOOT", L"Force");
+ if (hr2 != ERROR_SUCCESS)
+ logStringF(hModule, "CreateHostOnlyInterface: Failed to set REBOOT property for update, error = %#x", hr2);
+ }
+ }
+ else
+ {
+ //in fail case call CreateHostOnlyInterface
+ logStringF(hModule, "CreateHostOnlyInterface: VBoxNetCfgWinUpdateHostOnlyNetworkInterface failed, hr = %#x", hr);
+ logStringF(hModule, "CreateHostOnlyInterface: calling VBoxNetCfgWinCreateHostOnlyNetworkInterface");
+#ifdef VBOXNETCFG_DELAYEDRENAME
+ BSTR devId;
+ hr = VBoxNetCfgWinCreateHostOnlyNetworkInterface(pwszInfPath, fIsFile, NULL, &guid, &devId, NULL);
+#else /* !VBOXNETCFG_DELAYEDRENAME */
+ hr = VBoxNetCfgWinCreateHostOnlyNetworkInterface(pwszInfPath, fIsFile, NULL, &guid, NULL, NULL);
+#endif /* !VBOXNETCFG_DELAYEDRENAME */
+ logStringF(hModule, "CreateHostOnlyInterface: VBoxNetCfgWinCreateHostOnlyNetworkInterface returns %#x", hr);
+ if (SUCCEEDED(hr))
+ {
+ ULONG ip = inet_addr("192.168.56.1");
+ ULONG mask = inet_addr("255.255.255.0");
+ logStringF(hModule, "CreateHostOnlyInterface: calling VBoxNetCfgWinEnableStaticIpConfig");
+ hr = VBoxNetCfgWinEnableStaticIpConfig(&guid, ip, mask);
+ logStringF(hModule, "CreateHostOnlyInterface: VBoxNetCfgWinEnableStaticIpConfig returns %#x", hr);
+ if (FAILED(hr))
+ logStringF(hModule, "CreateHostOnlyInterface: VBoxNetCfgWinEnableStaticIpConfig failed, error = %#x", hr);
+#ifdef VBOXNETCFG_DELAYEDRENAME
+ hr = VBoxNetCfgWinRenameHostOnlyConnection(&guid, devId, NULL);
+ if (FAILED(hr))
+ logStringF(hModule, "CreateHostOnlyInterface: VBoxNetCfgWinRenameHostOnlyConnection failed, error = %#x", hr);
+ SysFreeString(devId);
+#endif /* VBOXNETCFG_DELAYEDRENAME */
+ }
+ else
+ logStringF(hModule, "CreateHostOnlyInterface: VBoxNetCfgWinCreateHostOnlyNetworkInterface failed, error = %#x", hr);
+ }
+ }
+
+ if (SUCCEEDED(hr))
+ logStringF(hModule, "CreateHostOnlyInterface: Creating host-only interface done");
+
+ /* Restore original setup mode. */
+ logStringF(hModule, "CreateHostOnlyInterface: Almost done...");
+ if (fSetupModeInteractive)
+ SetupSetNonInteractiveMode(fSetupModeInteractive);
+
+ netCfgLoggerDisable();
+
+#endif /* VBOX_WITH_NETFLT */
+
+ logStringF(hModule, "CreateHostOnlyInterface: Returns success (ignoring all failures)");
+ /* Never fail the install even if we did not succeed. */
+ return ERROR_SUCCESS;
+}
+
+UINT __stdcall CreateHostOnlyInterface(MSIHANDLE hModule)
+{
+ return _createHostOnlyInterface(hModule, NETADP_ID, L"VBoxNetAdp.inf");
+}
+
+UINT __stdcall Ndis6CreateHostOnlyInterface(MSIHANDLE hModule)
+{
+#if 0 /* Trick for allowing the debugger to be attached. */
+ for (unsigned i = 0; i < 128 && !IsDebuggerPresent(); i++)
+ {
+ logStringF(hModule, "Waiting for debugger to attach: windbg -p %u", GetCurrentProcessId());
+ Sleep(1001);
+ }
+ Sleep(1002);
+ __debugbreak();
+#endif
+ return _createHostOnlyInterface(hModule, NETADP_ID, L"VBoxNetAdp6.inf");
+}
+
+static UINT _removeHostOnlyInterfaces(MSIHANDLE hModule, LPCWSTR pwszId)
+{
+#ifdef VBOX_WITH_NETFLT
+ netCfgLoggerEnable(hModule);
+
+ logStringF(hModule, "RemoveHostOnlyInterfaces: Removing all host-only interfaces");
+
+ BOOL fSetupModeInteractive = SetupSetNonInteractiveMode(FALSE);
+
+ HRESULT hr = VBoxNetCfgWinRemoveAllNetDevicesOfId(pwszId);
+ if (SUCCEEDED(hr))
+ {
+ hr = VBoxDrvCfgInfUninstallAllSetupDi(&GUID_DEVCLASS_NET, L"Net", pwszId, SUOI_FORCEDELETE/* could be SUOI_FORCEDELETE */);
+ if (FAILED(hr))
+ logStringF(hModule, "RemoveHostOnlyInterfaces: NetAdp uninstalled successfully, but failed to remove INF files");
+ else
+ logStringF(hModule, "RemoveHostOnlyInterfaces: NetAdp uninstalled successfully");
+ }
+ else
+ logStringF(hModule, "RemoveHostOnlyInterfaces: NetAdp uninstall failed, hr = %#x", hr);
+
+ /* Restore original setup mode. */
+ if (fSetupModeInteractive)
+ SetupSetNonInteractiveMode(fSetupModeInteractive);
+
+ netCfgLoggerDisable();
+#endif /* VBOX_WITH_NETFLT */
+
+ /* Never fail the uninstall even if we did not succeed. */
+ return ERROR_SUCCESS;
+}
+
+UINT __stdcall RemoveHostOnlyInterfaces(MSIHANDLE hModule)
+{
+ return _removeHostOnlyInterfaces(hModule, NETADP_ID);
+}
+
+static UINT _stopHostOnlyInterfaces(MSIHANDLE hModule, LPCWSTR pwszId)
+{
+#ifdef VBOX_WITH_NETFLT
+ netCfgLoggerEnable(hModule);
+
+ logStringF(hModule, "StopHostOnlyInterfaces: Stopping all host-only interfaces");
+
+ BOOL fSetupModeInteractive = SetupSetNonInteractiveMode(FALSE);
+
+ HRESULT hr = VBoxNetCfgWinPropChangeAllNetDevicesOfId(pwszId, VBOXNECTFGWINPROPCHANGE_TYPE_DISABLE);
+ if (SUCCEEDED(hr))
+ logStringF(hModule, "StopHostOnlyInterfaces: Disabling host interfaces was successful, hr = %#x", hr);
+ else
+ logStringF(hModule, "StopHostOnlyInterfaces: Disabling host interfaces failed, hr = %#x", hr);
+
+ /* Restore original setup mode. */
+ if (fSetupModeInteractive)
+ SetupSetNonInteractiveMode(fSetupModeInteractive);
+
+ netCfgLoggerDisable();
+#endif /* VBOX_WITH_NETFLT */
+
+ /* Never fail the uninstall even if we did not succeed. */
+ return ERROR_SUCCESS;
+}
+
+UINT __stdcall StopHostOnlyInterfaces(MSIHANDLE hModule)
+{
+ return _stopHostOnlyInterfaces(hModule, NETADP_ID);
+}
+
+static UINT _updateHostOnlyInterfaces(MSIHANDLE hModule, LPCWSTR pwszInfName, LPCWSTR pwszId)
+{
+#ifdef VBOX_WITH_NETFLT
+ netCfgLoggerEnable(hModule);
+
+ logStringF(hModule, "UpdateHostOnlyInterfaces: Updating all host-only interfaces");
+
+ BOOL fSetupModeInteractive = SetupSetNonInteractiveMode(FALSE);
+
+ WCHAR wszMpInf[MAX_PATH];
+ DWORD cwcMpInf = RT_ELEMENTS(wszMpInf) - (DWORD)RTUtf16Len(pwszInfName) - 1 - 1;
+ LPCWSTR pwszInfPath = NULL;
+ bool fIsFile = false;
+ UINT uErr = MsiGetPropertyW(hModule, L"CustomActionData", wszMpInf, &cwcMpInf);
+ if (uErr == ERROR_SUCCESS)
+ {
+ if (cwcMpInf)
+ {
+ logStringF(hModule, "UpdateHostOnlyInterfaces: NetAdpDir property = %ls", wszMpInf);
+ if (wszMpInf[cwcMpInf - 1] != L'\\')
+ {
+ wszMpInf[cwcMpInf++] = L'\\';
+ wszMpInf[cwcMpInf] = L'\0';
+ }
+
+ int vrc = RTUtf16Cat(wszMpInf, RT_ELEMENTS(wszMpInf), pwszInfName);
+ AssertRC(vrc);
+ pwszInfPath = wszMpInf;
+ fIsFile = true;
+
+ logStringF(hModule, "UpdateHostOnlyInterfaces: Resulting INF path = %ls", pwszInfPath);
+
+ DWORD attrFile = GetFileAttributesW(pwszInfPath);
+ if (attrFile == INVALID_FILE_ATTRIBUTES)
+ {
+ DWORD dwErr = GetLastError();
+ logStringF(hModule, "UpdateHostOnlyInterfaces: File \"%ls\" not found, dwErr=%ld", pwszInfPath, dwErr);
+ }
+ else
+ {
+ logStringF(hModule, "UpdateHostOnlyInterfaces: File \"%ls\" exists", pwszInfPath);
+
+ BOOL fRebootRequired = FALSE;
+ HRESULT hr = VBoxNetCfgWinUpdateHostOnlyNetworkInterface(pwszInfPath, &fRebootRequired, pwszId);
+ if (SUCCEEDED(hr))
+ {
+ if (fRebootRequired)
+ {
+ logStringF(hModule, "UpdateHostOnlyInterfaces: Reboot required, setting REBOOT property to force");
+ HRESULT hr2 = MsiSetPropertyW(hModule, L"REBOOT", L"Force");
+ if (hr2 != ERROR_SUCCESS)
+ logStringF(hModule, "UpdateHostOnlyInterfaces: Failed to set REBOOT property, error = %#x", hr2);
+ }
+ }
+ else
+ logStringF(hModule, "UpdateHostOnlyInterfaces: VBoxNetCfgWinUpdateHostOnlyNetworkInterface failed, hr = %#x", hr);
+ }
+ }
+ else
+ logStringF(hModule, "UpdateHostOnlyInterfaces: VBox installation path is empty");
+ }
+ else
+ logStringF(hModule, "UpdateHostOnlyInterfaces: Unable to retrieve VBox installation path, error = %#x", uErr);
+
+ /* Restore original setup mode. */
+ if (fSetupModeInteractive)
+ SetupSetNonInteractiveMode(fSetupModeInteractive);
+
+ netCfgLoggerDisable();
+#endif /* VBOX_WITH_NETFLT */
+
+ /* Never fail the update even if we did not succeed. */
+ return ERROR_SUCCESS;
+}
+
+UINT __stdcall UpdateHostOnlyInterfaces(MSIHANDLE hModule)
+{
+ return _updateHostOnlyInterfaces(hModule, L"VBoxNetAdp.inf", NETADP_ID);
+}
+
+UINT __stdcall Ndis6UpdateHostOnlyInterfaces(MSIHANDLE hModule)
+{
+ return _updateHostOnlyInterfaces(hModule, L"VBoxNetAdp6.inf", NETADP_ID);
+}
+
+static UINT _uninstallNetAdp(MSIHANDLE hModule, LPCWSTR pwszId)
+{
+#ifdef VBOX_WITH_NETFLT
+ INetCfg *pNetCfg;
+ UINT uErr;
+
+ netCfgLoggerEnable(hModule);
+
+ BOOL bOldIntMode = SetupSetNonInteractiveMode(FALSE);
+
+ __try
+ {
+ logStringF(hModule, "Uninstalling NetAdp");
+
+ uErr = doNetCfgInit(hModule, &pNetCfg, TRUE);
+ if (uErr == ERROR_SUCCESS)
+ {
+ HRESULT hr = VBoxNetCfgWinNetAdpUninstall(pNetCfg, pwszId);
+ if (hr != S_OK)
+ logStringF(hModule, "UninstallNetAdp: VBoxNetCfgWinUninstallComponent failed, error = %#x", hr);
+
+ uErr = errorConvertFromHResult(hModule, hr);
+
+ VBoxNetCfgWinReleaseINetCfg(pNetCfg, TRUE);
+
+ logStringF(hModule, "Uninstalling NetAdp done, error = %#x", uErr);
+ }
+ else
+ logStringF(hModule, "UninstallNetAdp: doNetCfgInit failed, error = %#x", uErr);
+ }
+ __finally
+ {
+ if (bOldIntMode)
+ {
+ /* The prev mode != FALSE, i.e. non-interactive. */
+ SetupSetNonInteractiveMode(bOldIntMode);
+ }
+ netCfgLoggerDisable();
+ }
+#endif /* VBOX_WITH_NETFLT */
+
+ /* Never fail the uninstall even if we did not succeed. */
+ return ERROR_SUCCESS;
+}
+
+UINT __stdcall UninstallNetAdp(MSIHANDLE hModule)
+{
+ return _uninstallNetAdp(hModule, NETADP_ID);
+}
+
+static bool isTAPDevice(const WCHAR *pwszGUID)
+{
+ HKEY hNetcard;
+ bool bIsTapDevice = false;
+ LONG lStatus = RegOpenKeyExW(HKEY_LOCAL_MACHINE,
+ L"SYSTEM\\CurrentControlSet\\Control\\Class\\{4D36E972-E325-11CE-BFC1-08002BE10318}",
+ 0, KEY_READ, &hNetcard);
+ if (lStatus != ERROR_SUCCESS)
+ return false;
+
+ int i = 0;
+ for (;;)
+ {
+ WCHAR wszEnumName[256];
+ WCHAR wszNetCfgInstanceId[256];
+ DWORD dwKeyType;
+ HKEY hNetCardGUID;
+
+ DWORD dwLen = sizeof(wszEnumName);
+ lStatus = RegEnumKeyExW(hNetcard, i, wszEnumName, &dwLen, NULL, NULL, NULL, NULL);
+ if (lStatus != ERROR_SUCCESS)
+ break;
+
+ lStatus = RegOpenKeyExW(hNetcard, wszEnumName, 0, KEY_READ, &hNetCardGUID);
+ if (lStatus == ERROR_SUCCESS)
+ {
+ dwLen = sizeof(wszNetCfgInstanceId);
+ lStatus = RegQueryValueExW(hNetCardGUID, L"NetCfgInstanceId", NULL, &dwKeyType, (LPBYTE)wszNetCfgInstanceId, &dwLen);
+ if ( lStatus == ERROR_SUCCESS
+ && dwKeyType == REG_SZ)
+ {
+ WCHAR wszNetProductName[256];
+ WCHAR wszNetProviderName[256];
+
+ wszNetProductName[0] = 0;
+ dwLen = sizeof(wszNetProductName);
+ lStatus = RegQueryValueExW(hNetCardGUID, L"ProductName", NULL, &dwKeyType, (LPBYTE)wszNetProductName, &dwLen);
+
+ wszNetProviderName[0] = 0;
+ dwLen = sizeof(wszNetProviderName);
+ lStatus = RegQueryValueExW(hNetCardGUID, L"ProviderName", NULL, &dwKeyType, (LPBYTE)wszNetProviderName, &dwLen);
+
+ if ( !RTUtf16Cmp(wszNetCfgInstanceId, pwszGUID)
+ && !RTUtf16Cmp(wszNetProductName, L"VirtualBox TAP Adapter")
+ && ( (!RTUtf16Cmp(wszNetProviderName, L"innotek GmbH")) /* Legacy stuff. */
+ || (!RTUtf16Cmp(wszNetProviderName, L"Sun Microsystems, Inc.")) /* Legacy stuff. */
+ || (!RTUtf16Cmp(wszNetProviderName, MY_WTEXT(VBOX_VENDOR))) /* Reflects current vendor string. */
+ )
+ )
+ {
+ bIsTapDevice = true;
+ RegCloseKey(hNetCardGUID);
+ break;
+ }
+ }
+ RegCloseKey(hNetCardGUID);
+ }
+ ++i;
+ }
+
+ RegCloseKey(hNetcard);
+ return bIsTapDevice;
+}
+
+/** @todo r=andy BUGBUG WTF! Why do we a) set the rc to 0 (success), and b) need this macro at all!?
+ *
+ * @todo r=bird: Because it's returning a bool, not int? The return code is
+ * ignored anyway, both internally in removeNetworkInterface and in it's caller.
+ * There is similar code in VBoxNetCfg.cpp, which is probably where it was copied from. */
+#define SetErrBreak(args) \
+ if (1) { \
+ rc = 0; \
+ logStringF args; \
+ break; \
+ } else do {} while (0)
+
+int removeNetworkInterface(MSIHANDLE hModule, const WCHAR *pwszGUID)
+{
+ int rc = 1;
+ do /* break-loop */
+ {
+ WCHAR wszPnPInstanceId[512] = {0};
+
+ /* We have to find the device instance ID through a registry search */
+
+ HKEY hkeyNetwork = 0;
+ HKEY hkeyConnection = 0;
+
+ do /* break-loop */
+ {
+ WCHAR wszRegLocation[256];
+ RTUtf16Printf(wszRegLocation, RT_ELEMENTS(wszRegLocation),
+ "SYSTEM\\CurrentControlSet\\Control\\Network\\{4D36E972-E325-11CE-BFC1-08002BE10318}\\%ls", pwszGUID);
+ LONG lrc = RegOpenKeyExW(HKEY_LOCAL_MACHINE, wszRegLocation, 0, KEY_READ, &hkeyNetwork);
+ if (lrc != ERROR_SUCCESS || !hkeyNetwork)
+ SetErrBreak((hModule, "VBox HostInterfaces: Host interface network was not found in registry (%ls)! (lrc=%d) [1]",
+ wszRegLocation, lrc));
+
+ lrc = RegOpenKeyExW(hkeyNetwork, L"Connection", 0, KEY_READ, &hkeyConnection);
+ if (lrc != ERROR_SUCCESS || !hkeyConnection)
+ SetErrBreak((hModule, "VBox HostInterfaces: Host interface network was not found in registry (%ls)! (lrc=%d) [2]",
+ wszRegLocation, lrc));
+
+ DWORD len = sizeof(wszPnPInstanceId);
+ DWORD dwKeyType;
+ lrc = RegQueryValueExW(hkeyConnection, L"PnPInstanceID", NULL, &dwKeyType, (LPBYTE)&wszPnPInstanceId[0], &len);
+ if (lrc != ERROR_SUCCESS || dwKeyType != REG_SZ)
+ SetErrBreak((hModule, "VBox HostInterfaces: Host interface network was not found in registry (%ls)! (lrc=%d) [3]",
+ wszRegLocation, lrc));
+ }
+ while (0);
+
+ if (hkeyConnection)
+ RegCloseKey(hkeyConnection);
+ if (hkeyNetwork)
+ RegCloseKey(hkeyNetwork);
+
+ /*
+ * Now we are going to enumerate all network devices and
+ * wait until we encounter the right device instance ID
+ */
+
+ HDEVINFO hDeviceInfo = INVALID_HANDLE_VALUE;
+ BOOL fResult;
+
+ do /* break-loop */
+ {
+ /* initialize the structure size */
+ SP_DEVINFO_DATA DeviceInfoData = { sizeof(DeviceInfoData) };
+
+ /* copy the net class GUID */
+ GUID netGuid;
+ memcpy(&netGuid, &GUID_DEVCLASS_NET, sizeof (GUID_DEVCLASS_NET));
+
+ /* return a device info set contains all installed devices of the Net class */
+ hDeviceInfo = SetupDiGetClassDevs(&netGuid, NULL, NULL, DIGCF_PRESENT);
+ if (hDeviceInfo == INVALID_HANDLE_VALUE)
+ {
+ logStringF(hModule, "VBox HostInterfaces: SetupDiGetClassDevs failed (0x%08X)!", GetLastError());
+ SetErrBreak((hModule, "VBox HostInterfaces: Uninstallation failed!"));
+ }
+
+ /* enumerate the driver info list */
+ BOOL fFoundDevice = FALSE;
+ for (DWORD index = 0;; index++)
+ {
+ fResult = SetupDiEnumDeviceInfo(hDeviceInfo, index, &DeviceInfoData);
+ if (!fResult)
+ {
+ if (GetLastError() == ERROR_NO_MORE_ITEMS)
+ break;
+ continue;
+ }
+
+ /* try to get the hardware ID registry property */
+ WCHAR *pwszDeviceHwid;
+ DWORD size = 0;
+ fResult = SetupDiGetDeviceRegistryProperty(hDeviceInfo,
+ &DeviceInfoData,
+ SPDRP_HARDWAREID,
+ NULL,
+ NULL,
+ 0,
+ &size);
+ if (!fResult)
+ {
+ if (GetLastError() != ERROR_INSUFFICIENT_BUFFER)
+ continue;
+
+ pwszDeviceHwid = (WCHAR *)RTMemAllocZ(size);
+ if (!pwszDeviceHwid)
+ continue;
+
+ fResult = SetupDiGetDeviceRegistryProperty(hDeviceInfo,
+ &DeviceInfoData,
+ SPDRP_HARDWAREID,
+ NULL,
+ (PBYTE)pwszDeviceHwid,
+ size,
+ &size);
+ if (!fResult)
+ {
+ RTMemFree(pwszDeviceHwid);
+ continue;
+ }
+ }
+ else
+ {
+ /* something is wrong. This shouldn't have worked with a NULL buffer */
+ continue;
+ }
+
+ for (WCHAR *t = pwszDeviceHwid;
+ *t && t < &pwszDeviceHwid[size / sizeof(WCHAR)];
+ t += RTUtf16Len(t) + 1)
+ {
+ if (RTUtf16ICmpAscii(t, "vboxtap") == 0)
+ {
+ /* get the device instance ID */
+ WCHAR wszDevID[MAX_DEVICE_ID_LEN];
+ if (CM_Get_Device_IDW(DeviceInfoData.DevInst, wszDevID, MAX_DEVICE_ID_LEN, 0) == CR_SUCCESS)
+ {
+ /* compare to what we determined before */
+ if (RTUtf16Cmp(wszDevID, wszPnPInstanceId) == 0)
+ {
+ fFoundDevice = TRUE;
+ break;
+ }
+ }
+ }
+ }
+
+ RTMemFree(pwszDeviceHwid);
+
+ if (fFoundDevice)
+ break;
+ }
+
+ if (fFoundDevice)
+ {
+ fResult = SetupDiSetSelectedDevice(hDeviceInfo, &DeviceInfoData);
+ if (!fResult)
+ {
+ logStringF(hModule, "VBox HostInterfaces: SetupDiSetSelectedDevice failed (0x%08X)!", GetLastError());
+ SetErrBreak((hModule, "VBox HostInterfaces: Uninstallation failed!"));
+ }
+
+ fResult = SetupDiCallClassInstaller(DIF_REMOVE, hDeviceInfo, &DeviceInfoData);
+ if (!fResult)
+ {
+ logStringF(hModule, "VBox HostInterfaces: SetupDiCallClassInstaller (DIF_REMOVE) failed (0x%08X)!", GetLastError());
+ SetErrBreak((hModule, "VBox HostInterfaces: Uninstallation failed!"));
+ }
+ }
+ else
+ SetErrBreak((hModule, "VBox HostInterfaces: Host interface network device not found!"));
+ } while (0);
+
+ /* clean up the device info set */
+ if (hDeviceInfo != INVALID_HANDLE_VALUE)
+ SetupDiDestroyDeviceInfoList(hDeviceInfo);
+ } while (0);
+ return rc;
+}
+
+UINT __stdcall UninstallTAPInstances(MSIHANDLE hModule)
+{
+ static const wchar_t s_wszNetworkKey[] = L"SYSTEM\\CurrentControlSet\\Control\\Network\\{4D36E972-E325-11CE-BFC1-08002BE10318}";
+ HKEY hCtrlNet;
+
+ LSTATUS lrc = RegOpenKeyExW(HKEY_LOCAL_MACHINE, s_wszNetworkKey, 0, KEY_READ, &hCtrlNet);
+ if (lrc == ERROR_SUCCESS)
+ {
+ logStringF(hModule, "VBox HostInterfaces: Enumerating interfaces ...");
+ for (int i = 0; ; ++i)
+ {
+ WCHAR wszNetworkGUID[256] = { 0 };
+ DWORD dwLen = (DWORD)sizeof(wszNetworkGUID);
+ lrc = RegEnumKeyExW(hCtrlNet, i, wszNetworkGUID, &dwLen, NULL, NULL, NULL, NULL);
+ if (lrc != ERROR_SUCCESS)
+ {
+ switch (lrc)
+ {
+ case ERROR_NO_MORE_ITEMS:
+ logStringF(hModule, "VBox HostInterfaces: No interfaces found.");
+ break;
+ default:
+ logStringF(hModule, "VBox HostInterfaces: Enumeration failed: %ld", lrc);
+ break;
+ }
+ break;
+ }
+
+ if (isTAPDevice(wszNetworkGUID))
+ {
+ logStringF(hModule, "VBox HostInterfaces: Removing interface \"%ls\" ...", wszNetworkGUID);
+ removeNetworkInterface(hModule, wszNetworkGUID);
+ lrc = RegDeleteKeyW(hCtrlNet, wszNetworkGUID);
+ }
+ }
+ RegCloseKey(hCtrlNet);
+ logStringF(hModule, "VBox HostInterfaces: Removing interfaces done.");
+ }
+ return ERROR_SUCCESS;
+}
+
+
+/**
+ * This is used to remove the old VBoxDrv service before installation.
+ *
+ * The current service name is VBoxSup but the INF file won't remove the old
+ * one, so we do it manually to try prevent trouble as the device nodes are the
+ * same and we would fail starting VBoxSup.sys if VBoxDrv.sys is still loading.
+ *
+ * Status code is ignored for now as a reboot should fix most potential trouble
+ * here (and I don't want to break stuff too badly).
+ *
+ * @sa @bugref{10162}
+ */
+UINT __stdcall UninstallVBoxDrv(MSIHANDLE hModule)
+{
+ /*
+ * Try open the service.
+ */
+ SC_HANDLE hSMgr = OpenSCManager(NULL, NULL, SERVICE_CHANGE_CONFIG | SERVICE_STOP | SERVICE_QUERY_STATUS);
+ if (hSMgr)
+ {
+ SC_HANDLE hService = OpenServiceW(hSMgr, L"VBoxDrv", DELETE | SERVICE_STOP | SERVICE_QUERY_STATUS);
+ if (hService)
+ {
+ /*
+ * Try stop it before we delete it.
+ */
+ SERVICE_STATUS Status = { 0, 0, 0, 0, 0, 0, 0 };
+ QueryServiceStatus(hService, &Status);
+ if (Status.dwCurrentState == SERVICE_STOPPED)
+ logStringF(hModule, "VBoxDrv: The service old service was already stopped");
+ else
+ {
+ logStringF(hModule, "VBoxDrv: Stopping the service (state %u)", Status.dwCurrentState);
+ if (ControlService(hService, SERVICE_CONTROL_STOP, &Status))
+ {
+ /* waiting for it to stop: */
+ int iWait = 100;
+ while (Status.dwCurrentState == SERVICE_STOP_PENDING && iWait-- > 0)
+ {
+ Sleep(100);
+ QueryServiceStatus(hService, &Status);
+ }
+
+ if (Status.dwCurrentState == SERVICE_STOPPED)
+ logStringF(hModule, "VBoxDrv: Stopped service");
+ else
+ logStringF(hModule, "VBoxDrv: Failed to stop the service, status: %u", Status.dwCurrentState);
+ }
+ else
+ {
+ DWORD const dwErr = GetLastError();
+ if ( Status.dwCurrentState == SERVICE_STOP_PENDING
+ && dwErr == ERROR_SERVICE_CANNOT_ACCEPT_CTRL)
+ logStringF(hModule, "VBoxDrv: Failed to stop the service: stop pending, not accepting control messages");
+ else
+ logStringF(hModule, "VBoxDrv: Failed to stop the service: dwErr=%u status=%u", dwErr, Status.dwCurrentState);
+ }
+ }
+
+ /*
+ * Delete the service, or at least mark it for deletion.
+ */
+ if (DeleteService(hService))
+ logStringF(hModule, "VBoxDrv: Successfully delete service");
+ else
+ logStringF(hModule, "VBoxDrv: Failed to delete the service: %u", GetLastError());
+
+ CloseServiceHandle(hService);
+ }
+ else
+ {
+ DWORD const dwErr = GetLastError();
+ if (dwErr == ERROR_SERVICE_DOES_NOT_EXIST)
+ logStringF(hModule, "VBoxDrv: Nothing to do, the old service does not exist");
+ else
+ logStringF(hModule, "VBoxDrv: Failed to open the service: %u", dwErr);
+ }
+
+ CloseServiceHandle(hSMgr);
+ }
+ else
+ logStringF(hModule, "VBoxDrv: Failed to open service manager (%u).", GetLastError());
+
+ return ERROR_SUCCESS;
+}
+
diff --git a/src/VBox/Installer/win/InstallHelper/VBoxInstallHelper.def b/src/VBox/Installer/win/InstallHelper/VBoxInstallHelper.def
new file mode 100644
index 00000000..03cb5d60
--- /dev/null
+++ b/src/VBox/Installer/win/InstallHelper/VBoxInstallHelper.def
@@ -0,0 +1,51 @@
+; $Id: VBoxInstallHelper.def $
+;; @file
+; VBoxInstallHelper - Defines the exports the MSI engine uses.
+;
+
+;
+; Copyright (C) 2008-2023 Oracle and/or its affiliates.
+;
+; This file is part of VirtualBox base platform packages, as
+; available from https://www.virtualbox.org.
+;
+; This program is free software; you can redistribute it and/or
+; modify it under the terms of the GNU General Public License
+; as published by the Free Software Foundation, in version 3 of the
+; License.
+;
+; This program is distributed in the hope that it will be useful, but
+; WITHOUT ANY WARRANTY; without even the implied warranty of
+; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+; General Public License for more details.
+;
+; You should have received a copy of the GNU General Public License
+; along with this program; if not, see <https://www.gnu.org/licenses>.
+;
+; SPDX-License-Identifier: GPL-3.0-only
+;
+
+LIBRARY "VBoxInstallHelper"
+EXPORTS
+ IsSerialCheckNeeded
+ CheckSerial
+ IsMSCRTInstalled
+ IsPythonInstalled
+ IsWindows10
+ ArePythonAPIDepsInstalled
+ InstallPythonAPI
+ InstallBranding
+ UninstallBranding
+ InstallNetFlt
+ UninstallNetFlt
+ UninstallNetAdp
+ InstallNetLwf
+ UninstallNetLwf
+ UninstallTAPInstances
+ UninstallVBoxDrv
+ CreateHostOnlyInterface
+ StopHostOnlyInterfaces
+ UpdateHostOnlyInterfaces
+ RemoveHostOnlyInterfaces
+ Ndis6CreateHostOnlyInterface
+ Ndis6UpdateHostOnlyInterfaces
diff --git a/src/VBox/Installer/win/InstallHelper/VBoxInstallHelper.rc b/src/VBox/Installer/win/InstallHelper/VBoxInstallHelper.rc
new file mode 100644
index 00000000..ad8e363e
--- /dev/null
+++ b/src/VBox/Installer/win/InstallHelper/VBoxInstallHelper.rc
@@ -0,0 +1,61 @@
+/* $Id: VBoxInstallHelper.rc $ */
+/** @file
+ * VBoxInstallHelper - Resource file containing version info.
+ */
+
+/*
+ * Copyright (C) 2015-2023 Oracle and/or its affiliates.
+ *
+ * This file is part of VirtualBox base platform packages, as
+ * available from https://www.virtualbox.org.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation, in version 3 of the
+ * License.
+ *
+ * This program is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, see <https://www.gnu.org/licenses>.
+ *
+ * SPDX-License-Identifier: GPL-3.0-only
+ */
+
+#include <windows.h>
+#include <VBox/version.h>
+
+LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
+
+VS_VERSION_INFO VERSIONINFO
+ FILEVERSION VBOX_RC_FILE_VERSION
+ PRODUCTVERSION VBOX_RC_FILE_VERSION
+ FILEFLAGSMASK VS_FFI_FILEFLAGSMASK
+ FILEFLAGS VBOX_RC_FILE_FLAGS
+ FILEOS VBOX_RC_FILE_OS
+ FILETYPE VBOX_RC_TYPE_DLL
+ FILESUBTYPE VFT2_UNKNOWN
+BEGIN
+ BLOCK "StringFileInfo"
+ BEGIN
+ BLOCK "040904b0" // Lang=US English, CharSet=Unicode
+ BEGIN
+ VALUE "FileDescription", "VirtualBox Installation Helper\0"
+ VALUE "InternalName", "VBoxInstallHelper\0"
+ VALUE "OriginalFilename", "VBoxInstallHelper.dll\0"
+ VALUE "CompanyName", VBOX_RC_COMPANY_NAME
+ VALUE "FileVersion", VBOX_RC_FILE_VERSION_STR
+ VALUE "LegalCopyright", VBOX_RC_LEGAL_COPYRIGHT
+ VALUE "ProductName", VBOX_RC_PRODUCT_NAME_STR
+ VALUE "ProductVersion", VBOX_RC_PRODUCT_VERSION_STR
+ VBOX_RC_MORE_STRINGS
+ END
+ END
+ BLOCK "VarFileInfo"
+ BEGIN
+ VALUE "Translation", 0x409, 1200
+ END
+END
diff --git a/src/VBox/Installer/win/Makefile.kmk b/src/VBox/Installer/win/Makefile.kmk
new file mode 100644
index 00000000..4b91b460
--- /dev/null
+++ b/src/VBox/Installer/win/Makefile.kmk
@@ -0,0 +1,1363 @@
+# $Id: Makefile.kmk $
+## @file
+# Makefile for the Windows installer.
+#
+
+#
+# Copyright (C) 2006-2023 Oracle and/or its affiliates.
+#
+# This file is part of VirtualBox base platform packages, as
+# available from https://www.virtualbox.org.
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation, in version 3 of the
+# License.
+#
+# This program is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, see <https://www.gnu.org/licenses>.
+#
+# SPDX-License-Identifier: GPL-3.0-only
+#
+
+SUB_DEPTH = ../../../..
+include $(KBUILD_PATH)/subheader.kmk
+
+ifneq ($(KBUILD_HOST),win)
+ $(error "The Windows installer can only be built on Windows!")
+endif
+
+
+#
+# Include Sub-Makefiles.
+#
+include $(PATH_SUB_CURRENT)/InstallHelper/Makefile.kmk
+
+include $(PATH_SUB_CURRENT)/Stub/Makefile.kmk
+include $(PATH_SUB_CURRENT)/StubBld/Makefile.kmk
+include $(PATH_SUB_CURRENT)/Resources/Makefile.kmk
+ifdef VBOX_WITH_MSI_HACK
+ include $(PATH_SUB_CURRENT)/MsiHack/Makefile.kmk
+endif
+
+#
+# Profile for quickly testing the actual mechanisms of our installer.
+# This leaves out most of the optional stuff to make compilation / linking much
+# faster for development cycles. Tweak to your likings if needed.
+#
+# Note! Rather hacky approach -- this *only* works when 'packing' is executed
+# directly in the VBox\Installer directory; otherwise with WILL break the
+# build mostly likely, as we mess with dependencies between components.
+#
+# A better appraoch would be to define separate packing defines for dependencies
+# to decouple the building process from the packing more in such a scenario.
+#
+# Use with care!
+#
+ifdef VBOX_INSTALLER_QUICK
+ VBOX_INSTALLER_LANGUAGES := en_US
+ VBOX_WITH_LICENSE_DISPLAY :=
+ VBOX_WITH_SERIALNUMBER_INSTALL :=
+ VBOX_WITH_ADDITIONS_PACKING :=
+ VBOX_WITH_DEBUGGER_GUI :=
+ VBOX_WITH_EFIFW_PACKING :=
+ VBOX_WITH_EXTPACK :=
+ VBOX_WITH_NETADP :=
+ VBOX_WITH_NETFLT :=
+ VBOX_WITH_PYTHON :=
+ VBOX_WITH_SDS :=
+ VBOX_WITH_WEBSERVICES :=
+ VBOX_WITH_UNATTENDED :=
+ VBOX_WITH_DOCS_PACKING :=
+ VBOX_WITH_QTGUI :=
+ VBOX_WITH_USB :=
+ VBOX_WITH_VBOX_IMG :=
+ VBOX_WITH_VBOXSDL :=
+ VBOX_CAB_COMPRESSION_LEVEL := none
+endif
+
+#
+# Globals.
+#
+# Tip: Use VBOX_CAB_COMPRESSION_LEVEL=none on the kmk command line when working
+# on the installer.
+#
+VBOX_WIN_INST_MAKEFILE_DEP := $(MAKEFILE_CURRENT)
+ifndef VBOX_CAB_COMPRESSION_LEVEL
+ VBOX_CAB_COMPRESSION_LEVEL := high
+endif
+
+VBOX_PATH_WIN_INST_SRC := $(PATH_SUB_CURRENT)
+VBOX_WIN_INST_OUT_DIR := $(PATH_TARGET)/Installer/win
+VBOX_WIN_INST_REPACK_DIR := $(PATH_OUT)/repack
+
+# Note: en_US *must* come first for the dependency file generation.
+ifndef VBOX_INSTALLER_LANGUAGES
+ VBOX_INSTALLER_LANGUAGES = en_US de_DE el_GR fr_FR it_IT tr_TR zh_TW zh_CN
+ VBOX_INSTALLER_LANGUAGES += $(VBOX_INSTALLER_ADD_LANGUAGES)
+endif
+
+# Aliases for VBOX_SIGN_FILE_FN that allows better control of the MSI and MSM signing.
+VBOX_SIGN_MSI_FN ?= $(VBOX_SIGN_FILE_FN)
+VBOX_SIGN_MSM_FN ?= $(VBOX_SIGN_FILE_FN)
+VBOX_SIGN_CAB_FN ?= $(VBOX_SIGN_FILE_FN)
+
+#
+# List of merge modules to use.
+#
+ifndef VBOX_INSTALLER_MERGE_MODULES
+ VBOX_INSTALLER_MERGE_MODULES = App
+ ifdef VBOX_WITH_NETADP
+ VBOX_INSTALLER_MERGE_MODULES += NetAdp NetAdp6
+ endif
+ ifdef VBOX_WITH_NETFLT
+ VBOX_INSTALLER_MERGE_MODULES += NetLwf NetFlt
+ endif
+ ifdef VBOX_WITH_USB
+ VBOX_INSTALLER_MERGE_MODULES += USB
+ endif
+ ifdef VBOX_WITH_PYTHON
+ VBOX_INSTALLER_MERGE_MODULES += Python
+ endif
+endif
+ifeq ($(KBUILD_TARGET_ARCH),amd64)
+ VBOX_INSTALLER_MERGE_MODULES += COM32On64
+endif
+
+# We only ship the merge modules in locale en_US for the moment.
+ifdef VBOX_WITH_MSM_INSTALL
+ VBOX_INSTALLER_LANGUAGES := en_US
+ VBOX_INSTALLER_MERGE_LANGUAGES = $(VBOX_INSTALLER_LANGUAGES)
+endif
+
+#
+# Language IDs (LCID, decimal)
+#
+VBOX_BRAND_en_US_LANG_ID ?= 1033
+VBOX_BRAND_de_DE_LANG_ID ?= 1031
+VBOX_BRAND_el_GR_LANG_ID ?= 1032
+VBOX_BRAND_fa_IR_LANG_ID ?= 1065
+VBOX_BRAND_fr_FR_LANG_ID ?= 1036
+VBOX_BRAND_it_IT_LANG_ID ?= 1040
+VBOX_BRAND_tr_TR_LANG_ID ?= 1055
+VBOX_BRAND_zh_TW_LANG_ID ?= 1028
+VBOX_BRAND_zh_CN_LANG_ID ?= 2052
+
+# Standard language names (in the native language), to be extended as we go.
+# VBOX_BRAND_$(lang)_LANG_NAME must be defined for each language which occurs
+# in either VBOX_LICENSE_ADD_LANGUAGES or VBOX_MANUAL_ADD_LANGUAGES.
+VBOX_BRAND_en_US_LANG_NAME := English
+VBOX_BRAND_de_DE_LANG_NAME := Deutsch
+VBOX_BRAND_el_GR_LANG_NAME := Ελληνικά
+VBOX_BRAND_fr_FR_LANG_NAME := Français
+VBOX_BRAND_it_IT_LANG_NAME := Italiano
+VBOX_BRAND_tr_TR_LANG_NAME := Türkçe
+VBOX_BRAND_zh_TW_LANG_NAME := 正體中文
+VBOX_BRAND_zh_CN_LANG_NAME := 简体中文
+
+
+#
+# We don't have the license text in another language than English yet,
+# so just define the branding targets to use the English one for now.
+# The installer generation assumes that there is a translation for each
+# of VBOX_INSTALLER_LANGUAGES.
+#
+$(foreach lang,$(VBOX_INSTALLER_LANGUAGES), \
+ $(eval VBOX_BRAND_$(lang)_LICENSE_RTF := $(VBOX_BRAND_LICENSE_RTF)))
+
+#
+# Set the codepage for all languages to 1252, covers most cases.
+#
+$(foreach lang,$(sort $(VBOX_INSTALLER_LANGUAGES) $(VBOX_LICENSE_ADD_LANGUAGES) $(VBOX_MANUAL_ADD_LANGUAGES)), \
+ $(eval VBOX_BRAND_$(lang)_LANGUAGE_CODEPAGE := 1252))
+# Exceptions:
+VBOX_BRAND_zh_TW_LANGUAGE_CODEPAGE := 950
+VBOX_BRAND_zh_CN_LANGUAGE_CODEPAGE := 936
+VBOX_BRAND_fa_IR_LANGUAGE_CODEPAGE := 1256
+VBOX_BRAND_tr_TR_LANGUAGE_CODEPAGE := 1254
+
+#
+# If we want to build a combined package, we separate all common stuff
+# (that is all 100% identical content between 32-/64-bit builds)
+# into an own .cab file to save space. This .cab file then gets included
+# and used by the 32-/64-bit installers.
+#
+ifdef VBOX_WITH_COMBINED_PACKAGE
+ VBOX_INSTALLER_COMMON_DISKID := 2
+else
+ VBOX_INSTALLER_COMMON_DISKID := 1
+endif
+
+## @todo VBOX_ prefixes!
+PACKAGE_BASE := VirtualBox-$(VBOX_VERSION_STRING)
+PACKAGE_NAME_LANG := $(PACKAGE_BASE)-r$(VBOX_SVN_REV)
+PACKAGE_NAME_FINAL := $(PATH_STAGE_BIN)/$(PACKAGE_NAME_LANG).msi
+
+ifdef VBOX_WITH_COMBINED_PACKAGE
+ PATH_MULTIARCH_TEMP := $(PATH_OUT_BASE)/win.x86/$(KBUILD_TYPE)/obj/Installer
+ PATH_MULTIARCH_GUEST_ADDITIONS_ISO := $(PATH_OUT_BASE)/win.amd64/$(KBUILD_TYPE)/bin/additions
+ PACKAGE_NAME_MULTIARCH := $(PACKAGE_NAME_LANG)-MultiArch
+ PACKAGE_NAME_MULTIARCH.x86 := $(PACKAGE_NAME_MULTIARCH)_x86.msi
+ PACKAGE_NAME_MULTIARCH.amd64 := $(PACKAGE_NAME_MULTIARCH)_amd64.msi
+ PACKAGE_NAME_FINAL := $(PATH_MULTIARCH_TEMP)/$(PACKAGE_NAME_MULTIARCH.$(KBUILD_TARGET_ARCH))
+ PACKAGE_NAME_MULTIARCH_FINAL := $(PACKAGE_NAME_MULTIARCH).exe
+ # Always take the common.cab from the amd64 build, as it
+ # might contain certain files for x86 compatibility such
+ # as our 32-on-64-bit COM stuff.
+ PACKAGE_NAME_MULTIARCH_COMMONCAB := $(PATH_OUT_BASE)/win.amd64/$(KBUILD_TYPE)/obj/Installer/win/common.cab
+
+ BLDDIRS += $(PATH_MULTIARCH_TEMP)
+ PACKING += $(PACKAGE_NAME_FINAL)
+ ifeq ($(KBUILD_TARGET_ARCH),x86)
+ PACKING += $(PATH_STAGE_BIN)/$(PACKAGE_NAME_MULTIARCH_FINAL)
+ endif
+else
+ PACKAGE_NAME_MULTIARCH := $(PACKAGE_NAME_LANG)-MultiArch
+ PACKAGE_NAME_MULTIARCH_FINAL := $(PACKAGE_NAME_MULTIARCH).exe
+ PACKING += $(PACKAGE_NAME_FINAL) $(PATH_STAGE_BIN)/$(PACKAGE_NAME_MULTIARCH_FINAL)
+endif
+BLDDIRS += \
+ $(VBOX_WIN_INST_OUT_DIR) \
+ $(VBOX_WIN_INST_REPACK_DIR)/ \
+ $(foreach lang,$(VBOX_INSTALLER_LANGUAGES), \
+ $(VBOX_WIN_INST_OUT_DIR)/$(lang)/ \
+ $(VBOX_WIN_INST_REPACK_DIR)/files-VirtualBox_$(lang)/ ) \
+ $(VBOX_WIN_INST_OUT_DIR)/NLS/
+
+OTHER_CLEAN += \
+ $(VBOX_WIN_INST_OUT_DIR)/VirtualBox.wixobj \
+ $(VBOX_WIN_INST_OUT_DIR)/VirtualBox.wix \
+ $(VBOX_WIN_INST_REPACK_DIR)/VirtualBox.wix \
+ $(VBOX_WIN_INST_OUT_DIR)/VirtualBox.wixobj.dep \
+ $(VBOX_WIN_INST_OUT_DIR)/VirtualBox_TypeLib.wxi \
+ $(VBOX_WIN_INST_OUT_DIR)/VirtualBox_TypeLib_x86.wxi \
+ $(VBOX_WIN_INST_OUT_DIR)/VirtualBox_ProxyStub.wxi \
+ $(if $(VBOX_WITH_QTGUI),$(VBOX_WIN_INST_OUT_DIR)/VBoxGuiNLS.wxi) \
+ $(VBOX_WIN_INST_OUT_DIR)/VBoxKey.wxi \
+ $(VBOX_WIN_INST_OUT_DIR)/VBoxUnattendedTemplateComponent.wxi \
+ $(foreach lang,$(VBOX_INSTALLER_LANGUAGES), \
+ $(VBOX_WIN_INST_OUT_DIR)/NLS/Language_$(lang).wxl \
+ $(VBOX_WIN_INST_OUT_DIR)/NLS/License_$(lang).wxl \
+ $(VBOX_WIN_INST_OUT_DIR)/$(lang)/$(lang).mst \
+ $(VBOX_WIN_INST_OUT_DIR)/$(lang)/$(PACKAGE_NAME_LANG)_$(lang).wixpdb \
+ $(VBOX_WIN_INST_OUT_DIR)/$(lang)/$(PACKAGE_NAME_LANG)_$(lang).msi \
+ $(VBOX_WIN_INST_OUT_DIR)/$(lang)/VirtualBox_$(lang).wix \
+ $(VBOX_WIN_INST_OUT_DIR)/$(lang)/VirtualBox_$(lang).wixobj \
+ $(VBOX_WIN_INST_OUT_DIR)/$(lang)/VirtualBox_$(lang).wixobj.dep \
+ $(VBOX_WIN_INST_REPACK_DIR)/VirtualBox_$(lang).wix \
+ $(VBOX_WIN_INST_REPACK_DIR)/VirtualBox_$(lang).files \
+ $(VBOX_WIN_INST_REPACK_DIR)/2-link-$(PACKAGE_NAME_LANG).cmd \
+ $(VBOX_WIN_INST_REPACK_DIR)/files-VirtualBox_$(lang)/Language_$(lang).wxl \
+ $(VBOX_WIN_INST_REPACK_DIR)/files-VirtualBox_$(lang)/License_$(lang).wxl ) \
+ $(VBOX_WIN_INST_OUT_DIR)/DirComponentsAndFiles_DTrace.wxi \
+ $(VBOX_WIN_INST_OUT_DIR)/Files_Main.wxi \
+ $(VBOX_WIN_INST_OUT_DIR)/Files_Doc.wxi \
+ $(VBOX_WIN_INST_OUT_DIR)/Files_License.wxi \
+ $(VBOX_WIN_INST_OUT_DIR)/Shortcuts_StartMenu.wxi \
+ $(VBOX_WIN_INST_OUT_DIR)/$(PACKAGE_NAME_LANG).msi \
+ $(VBOX_WIN_INST_REPACK_DIR)/3-multilingual-$(PACKAGE_NAME_LANG).cmd \
+ $(PATH_STAGE_BIN)/$(PACKAGE_NAME_MULTIARCH_FINAL)
+
+ifdef VBOX_WITH_COMBINED_PACKAGE
+ ifeq ($(KBUILD_TARGET_ARCH),x86)
+ OTHER_CLEAN += \
+ $(VBOX_WIN_INST_REPACK_DIR)/4-multiarch-$(PACKAGE_NAME_MULTIARCH_FINAL).cmd \
+ $(PATH_MULTIARCH_TEMP)/$(PACKAGE_NAME_MULTIARCH.x86)
+ endif
+ ifndef VBOX_WITH_MSM_INSTALL
+ OTHER_CLEAN += \
+ $(VBOX_WIN_INST_OUT_DIR)/common.cab
+ endif
+else
+ OTHER_CLEAN += \
+ $(VBOX_WIN_INST_REPACK_DIR)/4-multiarch-$(PACKAGE_NAME_MULTIARCH_FINAL).cmd \
+ $(PACKAGE_NAME_FINAL)
+endif
+
+ifdef VBOX_WITH_MSM_INSTALL
+ OTHER_CLEAN += \
+ $(foreach module,$(VBOX_INSTALLER_MERGE_MODULES), \
+ $(foreach lang,$(VBOX_INSTALLER_MERGE_LANGUAGES), \
+ $(VBOX_WIN_INST_OUT_DIR)/VBoxMerge$(module)_$(lang)_$(KBUILD_TARGET_ARCH).msm \
+ $(VBOX_WIN_INST_OUT_DIR)/VBoxMerge$(module)_$(lang).wixobj \
+ $(VBOX_WIN_INST_OUT_DIR)/VBoxMerge$(module)_$(lang).wixobj.dep \
+ $(VBOX_WIN_INST_OUT_DIR)/VBoxMerge$(module)_$(lang).wixpdb \
+ $(VBOX_WIN_INST_REPACK_DIR)/VBoxMerge$(module)_$(lang).wix \
+ $(VBOX_WIN_INST_REPACK_DIR)/VBoxMerge$(module)_$(lang).files)
+ BLDDIRS += $foreach lang,$(VBOX_INSTALLER_MERGE_LANGUAGES), \
+ $(VBOX_WIN_INST_REPACK_DIR)/files-VBoxMerge$(module)_$(lang)/)
+endif
+
+#
+# Suppress/skip the following ICE (Internal Consistency Evaluators):
+# - ICE64: Checks that new directories in the user profile are removed correctly in roaming scenarios.
+# -> We don't want to remove system folders (like "Microsoft/Internet Explorer/Quick Launch").
+# - ICE69: Checks if file references are within the same component.
+# -> We reference to files within different components, but these components are installed using
+# the same feature, so that's fine.
+#
+VBOX_MSI_ICE_IGNORE := \
+ -ice:64 \
+ -ice:69
+
+#
+# Create intermediate XML file for languages (needed for .MSI linking).
+#
+# Note: The double escaping of $(dir $@) in the prereq/dep list is because we first have
+# to escape the expansion of the $(eval ) argument and then the definition of the
+# rule. The statement is finally expanded during second dependency expansion, which
+# takes place after all makefiles has been loaded and with the @ variable defined.
+#
+define def_vbox_lang_xml
+ $(VBOX_WIN_INST_OUT_DIR)/NLS/Language_$(lang).wxl: $(VBOX_PATH_WIN_INST_SRC)/NLS/$(lang).wxl | $$$$(dir $$$$@)
+ $$(call MSG_GENERATE,,$$@,$$<)
+ $(QUIET)$(INSTALL) -m 0644 $$< $$@
+endef
+
+$(foreach lang,$(VBOX_INSTALLER_LANGUAGES), \
+ $(eval $(def_vbox_lang_xml)))
+
+#
+# Create intermediate XML file for licenses (needed for .MSI linking).
+# These files are created from the original .RTF files in the /docs directory.
+#
+# Note: The redirect command below will open $$@ as stdout in append+text mode
+# and then exec cat, thus appending the license file to the result file.
+#
+# Note: The license_file variable has to be created before def_vbox_license_xml
+# is expanded by the 2nd eval because we rely on the that expansion
+# replacing all $(license_file) (and $(lang)) references before evaluation.
+#
+# Note: The REDIRECT + ECHO_EXT is because WiX gets upset if there a newline
+# between the tag and the RTF license text.
+#
+define def_vbox_license_xml
+ $(VBOX_WIN_INST_OUT_DIR)/NLS/License_$(lang).wxl: $(license_file) $(VBOX_WIN_INST_MAKEFILE_DEP) | $$$$(dir $$$$@)
+ $$(call MSG_GENERATE,,$$@,$$<)
+ $(APPEND) -t $$@ '<?xml version="1.0" encoding="utf-8"?>'
+ $(APPEND) $$@ '<WixLocalization xmlns="http://schemas.microsoft.com/wix/2006/localization" Codepage="$(VBOX_BRAND_$(lang)_LANGUAGE_CODEPAGE)" Culture="$(lang)">'
+
+ $(REDIRECT) -a+to $$@ -- $(ECHO_EXT) -n '<String Id="LicenseText">'
+ $(REDIRECT) -a+to $$@ -- $(SED) -e "s|<|\&lt;|g" -e "s|>|\&gt;|g" $(license_file)
+ $(APPEND) $$@ '</String>'
+
+ $(APPEND) $$@ '<String Id="LicenseFile">$(license_file)</String>'
+ $(APPEND) $$@ '<String Id="LicenseInstallFileLong">License_$(lang).rtf</String>'
+ $(APPEND) $$@ '<String Id="LicenseInstallFileShort">L_$(lang).rtf</String>'
+
+ $(APPEND) $$@ '</WixLocalization>'
+endef
+
+$(foreach lang,$(VBOX_INSTALLER_LANGUAGES), \
+ $(eval local license_file := $(VBOX_BRAND_$(subst en_US_,,$(lang)_)LICENSE_RTF)) \
+ $(eval $(def_vbox_license_xml)))
+
+#
+# Create one intermediate WXI (Windows Installer Include) file for all installers (needed for .MSI compiling).
+# This file includes all language-specific files (PDFs, CHMs, ...) to install.
+#
+# Note: When using the -n switch, append will append a new line after each
+# argument. The -t switch makes it truncate the file.
+#
+$(VBOX_WIN_INST_OUT_DIR)/Files_Main.wxi: $(VBOX_WIN_INST_MAKEFILE_DEP) | $$(dir $$@)
+ $(call MSG_GENERATE,,$@,$<)
+ $(APPEND) -t $@ '<?xml version="1.0" ?>'
+ $(APPEND) $@ '<Include xmlns="http://schemas.microsoft.com/wix/2006/wi">'
+ifdef VBOX_WITH_DOCS_PACKING
+ ifdef VBOX_WITH_DOCS_CHM_PACKING
+ $(APPEND) $@ ' <File Id="file_VirtualBox.chm" Name="VirtualBox.chm" DiskId="$(VBOX_INSTALLER_COMMON_DISKID)" Vital="yes" Source="$(subst /,\,$(PATH_STAGE_BIN)/VirtualBox.chm)"></File>'
+ $(APPEND) -n $@ $(foreach lang,$(VBOX_MANUAL_ADD_LANGUAGES), \
+ ' <File Id="file_VirtualBox_$(lang).chm" Name="VirtualBox_$(lang).chm" DiskId="$(VBOX_INSTALLER_COMMON_DISKID)" Vital="yes" Source="$(subst /,\,$(PATH_STAGE_BIN)/VirtualBox_$(lang).chm)"></File>')
+ endif
+ ifdef VBOX_WITH_DOCS_QHELP_PACKING
+ $(APPEND) $@ ' <File Id="file_UserManual.qch" Name="UserManual.qch" DiskId="$(VBOX_INSTALLER_COMMON_DISKID)" Vital="yes" Source="$(subst /,\,$(PATH_STAGE_BIN)/UserManual.qch)"></File>'
+ $(APPEND) $@ ' <File Id="file_UserManual.qhc" Name="UserManual.qhc" DiskId="$(VBOX_INSTALLER_COMMON_DISKID)" Vital="yes" Source="$(subst /,\,$(PATH_STAGE_BIN)/UserManual.qhc)"></File>'
+ $(APPEND) -n $@ $(foreach lang,$(VBOX_MANUAL_ADD_LANGUAGES), \
+ ' <File Id="file_UserManual_$(lang).qch" Name="UserManual_$(lang).qch" DiskId="$(VBOX_INSTALLER_COMMON_DISKID)" Vital="yes" Source="$(subst /,\,$(PATH_STAGE_BIN)/UserManual_$(lang).qch)"></File>' \
+ ' <File Id="file_UserManual_$(lang).qhc" Name="UserManual_$(lang).qhc" DiskId="$(VBOX_INSTALLER_COMMON_DISKID)" Vital="yes" Source="$(subst /,\,$(PATH_STAGE_BIN)/UserManual_$(lang).qhc)"></File>')
+ endif
+endif
+ $(APPEND) $@ '</Include>'
+
+$(VBOX_WIN_INST_OUT_DIR)/Files_Doc.wxi: $(VBOX_WIN_INST_MAKEFILE_DEP) | $$(dir $$@)
+ $(call MSG_GENERATE,,$@,$<)
+ $(APPEND) -t $@ '<?xml version="1.0" ?>'
+ $(APPEND) $@ '<Include xmlns="http://schemas.microsoft.com/wix/2006/wi">'
+ifdef VBOX_WITH_DOCS_PACKING
+ $(APPEND) $@ ' <File Id="file_UserManual.pdf" Name="UserManual.pdf" DiskId="$(VBOX_INSTALLER_COMMON_DISKID)" Vital="yes" Source="$(subst /,\,$(PATH_STAGE_BIN)/UserManual.pdf)">'
+ $(APPEND) $@ ' </File>'
+ $(APPEND) -n $@ $(foreach lang,$(VBOX_MANUAL_ADD_LANGUAGES), \
+ ' <File Id="file_UserManual_$(lang).pdf" Name="UserManual_$(lang).pdf" DiskId="$(VBOX_INSTALLER_COMMON_DISKID)" Vital="yes" Source="$(subst /,\,$(PATH_STAGE_BIN)/UserManual_$(lang).pdf)">' \
+ ' </File>')
+endif
+ $(APPEND) $@ '</Include>'
+
+$(VBOX_WIN_INST_OUT_DIR)/Files_License.wxi: $(VBOX_WIN_INST_MAKEFILE_DEP) | $$(dir $$@)
+ $(call MSG_GENERATE,,$@,$<)
+ $(APPEND) -t $@ '<?xml version="1.0" ?>'
+ $(APPEND) $@ '<Include xmlns="http://schemas.microsoft.com/wix/2006/wi">'
+ $(APPEND) $@ ' <File Id="file_License_en_US.rtf" Name="License_en_US.rtf" DiskId="$(VBOX_INSTALLER_COMMON_DISKID)" Vital="yes" Source="$(subst /,\,$(VBOX_BRAND_LICENSE_RTF))">' \
+ ' </File>'
+ $(APPEND) -n $@ $(foreach lang,$(VBOX_LICENSE_ADD_LANGUAGES), \
+ ' <File Id="file_License_$(lang).rtf" Name="License_$(lang).rtf" DiskId="$(VBOX_INSTALLER_COMMON_DISKID)" Vital="yes" Source="$(subst /,\,$(VBOX_BRAND_$(lang)_LICENSE_RTF))">' \
+ ' </File>')
+ $(APPEND) $@ '</Include>'
+
+$(VBOX_WIN_INST_OUT_DIR)/DirComponentsAndFiles_DTrace.wxi: $(VBOX_WIN_INST_MAKEFILE_DEP) $(PATH_SUB_CURRENT)/../Config.kmk | $$(dir $$@)
+ $(call MSG_GENERATE,,$@,$<)
+ $(QUIET)$(APPEND) -nt "$@" \
+ '<?xml version="1.0" ?>' \
+ '<Include xmlns="http://schemas.microsoft.com/wix/2006/wi">'
+ifdef VBOX_WITH_DTRACE
+ $(QUIET)$(APPEND) -n "$@" \
+ '<Directory Id="dir_DTrace" Name="dtrace">' \
+ ' <Directory Id="dir_DTrace_lib" Name="lib">' \
+ ' <Directory Id="dir_DTrace_lib_arch" Name="$(KBUILD_TARGET_ARCH)">' \
+ ' <Component Id="cp_dir_DTrace_lib_arch" Guid="7476CDF6-4157-2E17-5CCC-FF92528D2854" Win64="$$(var.Property_Win64)">' \
+ $(foreach file, $(VBOXINST_DTRACE_LIB_ARCH_FILES) \
+ , ' <File Id="file_dtrace_lib_arch_$(subst -,_,$(file))" Name="$(file)" Vital="yes" ' \
+ ' Source="$(subst /,\,$(PATH_STAGE_BIN)/dtrace/lib/$(KBUILD_TARGET_ARCH)/$(file))" />' ) \
+ ' </Component>' \
+ ' </Directory>' \
+ ' </Directory>' \
+ $(if $(VBOXINST_DTRACE_TESTCASE_ARCH_FILES), \
+ ' <Directory Id="dir_DTrace_testcase" Name="testcase">' \
+ ' <Directory Id="dir_DTrace_testcase_arch" Name="$(KBUILD_TARGET_ARCH)">' \
+ ' <Component Id="cp_dir_DTrace_testcase_arch" Guid="45DF7014-4431-6C40-6DB0-35AF7C690EE1" Win64="$$(var.Property_Win64)">' \
+ $(foreach file, $(VBOXINST_DTRACE_TESTCASE_ARCH_FILES) \
+ , ' <File Id="file_dtrace_testcase_arch_$(subst -,_,$(file))" Name="$(file)" Vital="yes" ' \
+ ' Source="$(subst /,\,$(PATH_STAGE_BIN)/dtrace/testcase/$(KBUILD_TARGET_ARCH)/$(file))" />' ) \
+ ' </Component>' \
+ ' </Directory>' \
+ ' </Directory>') \
+ $(if $(VBOXINST_DTRACE_SCRIPTS_FILES), \
+ ' <Directory Id="dir_DTrace_scripts" Name="scripts">' \
+ ' <Component Id="cp_dir_DTrace_scripts" Guid="AE07F9D5-4FD9-ACC7-C760-E9923CE01E16" Win64="$$(var.Property_Win64)">' \
+ $(foreach file, $(VBOXINST_DTRACE_SCRIPTS_FILES) \
+ , ' <File Id="file_dtrace_scripts_$(subst -,_,$(file))" Name="$(file)" Vital="yes" ' \
+ ' Source="$(subst /,\,$(PATH_STAGE_BIN)/dtrace/scripts/$(file))" />' ) \
+ ' </Component>' \
+ ' </Directory>') \
+ '</Directory>'
+endif
+ $(QUIET)$(APPEND) "$@" '</Include>'
+
+
+$(VBOX_WIN_INST_OUT_DIR)/Shortcuts_StartMenu.wxi: $(VBOX_WIN_INST_MAKEFILE_DEP) | $$(dir $$@)
+ $(call MSG_GENERATE,,$@,$<)
+ $(APPEND) -t $@ '<?xml version="1.0" ?>'
+ $(APPEND) $@ '<Include xmlns="http://schemas.microsoft.com/wix/2006/wi">'
+ #
+ # Documentation (PDF/CHM)
+ #
+ifdef VBOX_WITH_DOCS_PACKING
+ ifdef VBOX_WITH_DOCS_CHM_PACKING
+ $(APPEND) $@ ' <Shortcut Id="sc_StartMenu_ManualCHM_en_US" Directory="dir_StartMenuVBox" Name="!(loc.StartMenu_UserManual) (CHM, English)" Description="!(loc.StartMenu_UserManual)"' \
+ ' Target="[INSTALLDIR]\VirtualBox.chm" WorkingDirectory="dir_Documents" Advertise="no"/>'
+ $(APPEND) -n $@ $(foreach lang,$(VBOX_MANUAL_ADD_LANGUAGES), \
+ ' <Shortcut Id="sc_StartMenu_ManualCHM_$(lang)" Directory="dir_StartMenuVBox" Name="!(loc.StartMenu_UserManual) (CHM, $(VBOX_BRAND_$(lang)_LANG_NAME))"' \
+ ' Description="!(loc.StartMenu_UserManual) ($(VBOX_BRAND_$(lang)_LANG_NAME))" Target="[INSTALLDIR]\VirtualBox_$(lang).chm" WorkingDirectory="dir_Documents"/>')
+ endif
+ $(APPEND) $@ ' <Shortcut Id="sc_StartMenu_ManualPDF_en_US" Directory="dir_StartMenuVBox" Name="!(loc.StartMenu_UserManual) (PDF, English)" Description="!(loc.StartMenu_UserManual)"' \
+ ' Target="[INSTALLDIR]\doc\UserManual.pdf" WorkingDirectory="dir_Documents" Advertise="no"/>'
+ $(APPEND) -n $@ $(foreach lang,$(VBOX_MANUAL_ADD_LANGUAGES), \
+ ' <Shortcut Id="sc_StartMenu_ManualPDF_$(lang)" Directory="dir_StartMenuVBox" Name="!(loc.StartMenu_UserManual) (PDF, $(VBOX_BRAND_$(lang)_LANG_NAME))"' \
+ ' Description="!(loc.StartMenu_UserManual) ($(VBOX_BRAND_$(lang)_LANG_NAME))" Target="[INSTALLDIR]\doc\UserManual_$(lang).pdf" WorkingDirectory="dir_Documents"/>')
+endif
+ #
+ # License(s) (RTF)
+ #
+ $(APPEND) $@ ' <Shortcut Id="sc_StartMenu_License_en_US" Directory="dir_StartMenuVBox" Name="!(loc.StartMenu_License) (English)" Description="!(loc.StartMenu_License)"' \
+ ' Target="[INSTALLDIR]License_en_US.rtf" WorkingDirectory="INSTALLDIR" Advertise="no"/>'
+ $(APPEND) -n $@ $(foreach lang,$(VBOX_LICENSE_ADD_LANGUAGES), \
+ ' <Shortcut Id="sc_StartMenu_License_$(lang)" Directory="dir_StartMenuVBox" Name="!(loc.StartMenu_License) ($(VBOX_BRAND_$(lang)_LANG_NAME))"' \
+ ' Description="!(loc.StartMenu_License) ($(VBOX_BRAND_$(lang)_LANG_NAME))" Target="License_$(lang).rtf" WorkingDirectory="INSTALLDIR"/>')
+ $(APPEND) $@ '</Include>'
+
+#
+# .MSI linking of the main installer (en_US).
+#
+# Note: This will clean up any previous .msi and .wixpdb files to prevent dep
+# build boxes from filling up with old files.
+#
+define def_vbox_link_msi
+ $(VBOX_WIN_INST_OUT_DIR)/$(lang)/$(PACKAGE_NAME_LANG)_$(lang).msi \
+ $(if-expr defined(VBOX_WITH_COMBINED_PACKAGE) && !defined(VBOX_WITH_MSM_INSTALL), + $(VBOX_WIN_INST_OUT_DIR)/common.cab,): \
+ $(VBOX_WIN_INST_OUT_DIR)/$(lang)/VirtualBox_$(lang).wixobj \
+ $(VBOX_WIN_INST_OUT_DIR)/NLS/Language_$(lang).wxl \
+ $(VBOX_WIN_INST_OUT_DIR)/NLS/License_$(lang).wxl \
+ $(PATH_STAGE_BIN)/VBoxInstallHelper.dll \
+ $(VBOX_SVN_REV_KMK) \
+ $(VBOX_WIN_INST_MAKEFILE_DEP) \
+ $(if-expr defined(VBOX_WITH_MSI_HACK),$(MsiHack_0_OUTDIR)/MsiHack.dll,) \
+ $(if-expr defined(VBOX_WITH_MSI_HACK),$(MsiHack_0_OUTDIR)/MsiHackExtension.dll,) \
+ | $$$$(dir $$$$@)
+ $$(call MSG_L1,Linking installer $$@)
+ $(QUIET)$(RM) -f $$(wildcard $$(subst r$$(VBOX_SVN_REV),r*,\
+ $$@ \
+ $$(basename $$@).wixpdb \
+ $$(VBOX_WIN_INST_REPACK_DIR)/2-link-$$(PACKAGE_NAME_LANG).cmd ))
+ kmk_time $$(REDIRECT_EXT) -E WIX_TEMP='$$(subst /,\,$$(@D))' -- $(VBOX_PATH_WIX)/light.exe -v -nologo \
+ -loc $(VBOX_WIN_INST_OUT_DIR)/NLS/Language_$(lang).wxl \
+ -loc $(VBOX_WIN_INST_OUT_DIR)/NLS/License_$(lang).wxl \
+ -ext $(VBOX_PATH_WIX)/WixUIExtension.dll \
+ -ext $(VBOX_PATH_WIX)/WixDifxAppExtension.dll \
+ -ext $(VBOX_PATH_WIX)/WixUtilExtension.dll \
+ $(if-expr defined(VBOX_WITH_MSI_HACK),-ext $(MsiHack_0_OUTDIR)/MsiHackExtension.dll,) \
+ $(VBOX_MSI_ICE_IGNORE) \
+ -out $$@ \
+ $$< \
+ $(VBOX_PATH_WIX)/difxapp_$(if-expr "$(KBUILD_TARGET_ARCH)" == "x86",x86,x64).wixlib
+ if defined(VBOX_WITH_COMBINED_PACKAGE) && !defined(VBOX_WITH_MSM_INSTALL)
+ $(MV) -f -- $$(@D)/common.cab $$(@D)/../common.cab
+ endif
+ ifeq ($(lang),en_US)
+ $(CP) -f -- "$(VBOX_WIN_INST_OUT_DIR)/NLS/Language_$(lang).wxl" "$(VBOX_WIN_INST_OUT_DIR)/NLS/License_$(lang).wxl" \
+ "$(VBOX_WIN_INST_REPACK_DIR)/files-VirtualBox_$(lang)/"
+ # Create repack script for this step.
+ $(APPEND) -tn "$$(VBOX_WIN_INST_REPACK_DIR)/2-link-$$(PACKAGE_NAME_LANG).cmd" \
+ 'if ".%KBUILD_DEVTOOLS%" == "." (echo KBUILD_DEVTOOLS is not set & exit /b1)' \
+ $(subst $(KBUILD_DEVTOOLS),%KBUILD_DEVTOOLS%,\
+ '$(VBOX_PATH_WIX)/light.exe -v -nologo ^' \
+ ' -loc files-VirtualBox_$(lang)/Language_$(lang).wxl ^' \
+ ' -loc files-VirtualBox_$(lang)/License_$(lang).wxl ^' \
+ ' -ext $(VBOX_PATH_WIX)/WixUIExtension.dll ^' \
+ ' -ext $(VBOX_PATH_WIX)/WixDifxAppExtension.dll ^' \
+ ' -ext $(VBOX_PATH_WIX)/WixUtilExtension.dll ^' \
+ $(if-expr defined(VBOX_WITH_MSI_HACK),'-ext $(MsiHack_0_OUTDIR)/MsiHackExtension.dll ^',) \
+ ' $(VBOX_MSI_ICE_IGNORE) ^' \
+ ' -out $$(@F) ^' \
+ ' $$(<F) ^' \
+ ' $(VBOX_PATH_WIX)/difxapp_$(if-expr "$(KBUILD_TARGET_ARCH)" == "x86",x86,x64).wixlib ^' \
+ ' || exit /b1' \
+ ) \
+ '@echo Created MSI installer: $$(@F)' \
+ $(if-expr defined(VBOX_WITH_COMBINED_PACKAGE) && !defined(VBOX_WITH_MSM_INSTALL),'@echo Created: common.cab',)
+
+ endif
+endef
+
+$(foreach lang, en_US, $(eval $(def_vbox_link_msi)))
+
+
+#
+# Merge module linking (all languages).
+#
+# Note: This will clean up any previous .msm to prevent dep build boxes from
+# filling up with old files.
+#
+define def_vbox_link_msm
+ $(VBOX_WIN_INST_OUT_DIR)/VBoxMerge$(module)_$(lang)_$(KBUILD_TARGET_ARCH).msm: \
+ $(VBOX_WIN_INST_OUT_DIR)/VBoxMerge$(module)_$(lang).wixobj \
+ $(VBOX_WIN_INST_OUT_DIR)/NLS/Language_$(lang).wxl \
+ $(VBOX_WIN_INST_OUT_DIR)/NLS/License_$(lang).wxl \
+ $(PATH_STAGE_BIN)/VBoxInstallHelper.dll \
+ $(VBOX_SVN_REV_KMK) \
+ $(VBOX_WIN_INST_MAKEFILE_DEP) \
+ | $$$$(dir $$$$@)
+ $$(call MSG_L1,Linking installer $$@)
+ $(QUIET)$(RM) -f $$(wildcard $(VBOX_WIN_INST_OUT_DIR)/$(PACKAGE_BASE)-r*_$(lang).msi)
+ kmk_time $$(REDIRECT_EXT) -E WIX_TEMP='$$(subst /,\,$$(@D))' -- $(VBOX_PATH_WIX)/light.exe -v -nologo \
+ -loc $(VBOX_WIN_INST_OUT_DIR)/NLS/Language_$(lang).wxl \
+ -loc $(VBOX_WIN_INST_OUT_DIR)/NLS/License_$(lang).wxl \
+ -ext $(VBOX_PATH_WIX)/WixDifxAppExtension.dll \
+ -ext $(VBOX_PATH_WIX)/WixUtilExtension.dll \
+ $(VBOX_MSI_ICE_IGNORE) \
+ -out $$@ \
+ $$< \
+ $(VBOX_PATH_WIX)/difxapp_$(if-expr "$(KBUILD_TARGET_ARCH)" == "x86",x86,x64).wixlib
+ $(RM) -f $(VBOX_WIN_INST_OUT_DIR)/NLS/$(lang).mst
+ $(call VBOX_SIGN_MSM_FN,$$@,$(VBOX_PRODUCT) $(VBOX_VERSION_STRING)r$(VBOX_SVN_REV) ($(KBUILD_TARGET_ARCH)),,,disable-dual-signing)
+ # Create repack script for this step.
+ $(APPEND) -tn "$$(VBOX_WIN_INST_REPACK_DIR)/2-link-VBoxMerge$(module)_$(lang).cmd" \
+ 'if ".%KBUILD_DEVTOOLS%" == "." (echo KBUILD_DEVTOOLS is not set & exit /b1)' \
+ $(subst $(KBUILD_DEVTOOLS),%KBUILD_DEVTOOLS%,\
+ '$(VBOX_PATH_WIX)/light.exe -v -nologo ^' \
+ ' -loc files-VirtualBox_$(lang)/Language_$(lang).wxl ^' \
+ ' -loc files-VirtualBox_$(lang)/License_$(lang).wxl ^' \
+ ' -ext $(VBOX_PATH_WIX)/WixDifxAppExtension.dll ^' \
+ ' -ext $(VBOX_PATH_WIX)/WixUtilExtension.dll ^' \
+ ' $(VBOX_MSI_ICE_IGNORE) ^' \
+ ' -out $$(@F) ^' \
+ ' $$(<F) ^' \
+ ' $(VBOX_PATH_WIX)/difxapp_$(if-expr "$(KBUILD_TARGET_ARCH)" == "x86",x86,x64).wixlib ^' \
+ ' || exit /b1' \
+ 'call sign-sha1.cmd $$(@F) || exit /b1' \
+ ) \
+ '@echo Created MSM module: $$(@F)'
+endef
+
+ifdef VBOX_WITH_MSM_INSTALL
+ $(foreach module,$(VBOX_INSTALLER_MERGE_MODULES), \
+ $(foreach lang,$(VBOX_INSTALLER_MERGE_LANGUAGES), \
+ $(eval $(def_vbox_link_msm)))),)
+endif
+
+
+#
+# Add dependencies that makes sure necessary bits gets built.
+# For combined packages we always use the .ISO from the amd64 build.
+#
+ifdef VBOX_WITH_COMBINED_PACKAGE
+ VBOX_MSI_DEPENDENCIES := \
+ $(if $(VBOX_WITH_ADDITIONS_PACKING),$(PATH_MULTIARCH_GUEST_ADDITIONS_ISO)/VBoxGuestAdditions.iso)
+else
+ VBOX_MSI_DEPENDENCIES := \
+ $(if $(VBOX_WITH_ADDITIONS_PACKING),$(VBOX_PATH_ADDITIONS_ISO)/VBoxGuestAdditions.iso)
+endif
+
+#
+# A few manual dependencies to make sure everything is rebuilt when they should.
+#
+$(PATH_SUB_CURRENT)/VirtualBox.wxs: \
+ $(PATH_SUB_CURRENT)/CommonProperties.wxi \
+ $(PATH_SUB_CURRENT)/Defines.wxi \
+ $(PATH_SUB_CURRENT)/VBoxMergeApp.wxi
+
+$(PATH_SUB_CURRENT)/VBoxMergeApp.wxi $(PATH_SUB_CURRENT)/VirtualBox.wxs: \
+ $(VBOX_WIN_INST_OUT_DIR)/Files_Doc.wxi \
+ $(VBOX_WIN_INST_OUT_DIR)/DirComponentsAndFiles_DTrace.wxi \
+ $(VBOX_WIN_INST_OUT_DIR)/Files_License.wxi \
+ $(VBOX_WIN_INST_OUT_DIR)/Files_Main.wxi \
+ $(VBOX_WIN_INST_OUT_DIR)/VBoxKey.wxi \
+ $(VBOX_WIN_INST_OUT_DIR)/VBoxGuiNLS.wxi \
+ $(VBOX_WIN_INST_OUT_DIR)/VirtualBox_TypeLib.wxi \
+ $(VBOX_WIN_INST_OUT_DIR)/VBoxUnattendedTemplateComponent.wxi
+
+#
+# MSI compile.
+# We've separated the processing from the compilation for repacking reasons.
+#
+define def_vbox_compile_wixobj
+ includedep $(VBOX_WIN_INST_OUT_DIR)/$(lang)/VirtualBox_$(lang).wixobj.dep
+ $(VBOX_WIN_INST_OUT_DIR)/$(lang)/VirtualBox_$(lang).wixobj \
+ + $(VBOX_WIN_INST_OUT_DIR)/$(lang)/VirtualBox_$(lang).wix \
+ $(if-expr "$(lang)" != "en_US",, \
+ + $(VBOX_WIN_INST_REPACK_DIR)/VirtualBox_$(lang).wix $(VBOX_WIN_INST_REPACK_DIR)/VirtualBox_$(lang).files ): \
+ $(PATH_SUB_CURRENT)/VirtualBox.wxs \
+ $(PATH_SUB_CURRENT)/UserInterface.wxi \
+ $(if-expr defined(VBOX_WITH_MSM_INSTALL), \
+ $(foreach module,$(VBOX_INSTALLER_MERGE_MODULES), \
+ $(VBOX_WIN_INST_OUT_DIR)/VBoxMerge$(module)_$(lang)_$(KBUILD_TARGET_ARCH).msm), \
+ $(VBOX_WIN_INST_OUT_DIR)/Shortcuts_StartMenu.wxi \
+ $(VBOX_WIN_INST_OUT_DIR)/VirtualBox_TypeLib.wxi \
+ $(if $(VBOX_WITH_32_ON_64_MAIN_API),$(VBOX_WIN_INST_OUT_DIR)/VirtualBox_TypeLib_x86.wxi,) \
+ $(VBOX_WIN_INST_OUT_DIR)/VBoxKey.wxi \
+ $(if $(VBOX_WITH_CRT_PACKING),$(VBOX_WIN_INST_OUT_DIR)/VBoxCrtDlls.wxi,) \
+ $(if $(VBOX_WITH_CRT_PACKING),$(VBOX_WIN_INST_OUT_DIR)/VBoxCrtDlls32.wxi,) \
+ $(VBOX_WIN_INST_OUT_DIR)/VBoxUnattendedTemplateComponent.wxi \
+ $(if $(VBOX_WITH_QTGUI),$(VBOX_WIN_INST_OUT_DIR)/VBoxGuiNLS.wxi) \
+ $(VBOX_MSI_DEPENDENCIES)) \
+ $(VBOX_VERSION_STAMP) \
+ | $$$$(dir $$$$@) $(if-expr "$(lang)" != "en_US",, \
+ $(VBOX_WIN_INST_REPACK_DIR)/ $(VBOX_WIN_INST_REPACK_DIR)/files-VirtualBox_$(lang)/ )
+ $(QUIET)$(RM) -f -- "$$@" "$(VBOX_WIN_INST_OUT_DIR)/$(lang)/VirtualBox_$(lang).wix" "$(VBOX_WIN_INST_REPACK_DIR)/VirtualBox_$(lang).wix"
+ $(REDIRECT) \
+ -E 'PATH_OUT=$(subst /,\,$(PATH_OUT))' \
+ -E 'PATH_TARGET=$(subst /,\,$(VBOX_WIN_INST_OUT_DIR))' \
+ -E 'PATH_ROOT=$(subst /,\,$(PATH_ROOT))' \
+ -E 'PATH_MULTIARCH_GUEST_ADDITIONS_ISO=$(subst /,\,$(PATH_MULTIARCH_GUEST_ADDITIONS_ISO))' \
+ -E 'VBOX_PATH_WIN_INST_SRC=$(subst /,\,$(VBOX_PATH_WIN_INST_SRC))' \
+ -E 'VBOX_BRAND_WIN_INST_DLGJPG=$(subst /,\,$(VBOX_BRAND_WIN_INST_DLGJPG))' \
+ -E 'VBOX_ADD_LANGUAGES=$(VBOX_INSTALLER_ADD_LANGUAGES)' \
+ -E 'VBOX_BRAND_LICENSE_RTF=$(subst /,\,$(VBOX_BRAND_LICENSE_RTF))' \
+ $(foreach lang,$(VBOX_INSTALLER_LANGUAGES), \
+ -E 'VBOX_BRAND_$(lang)_LICENSE_RTF=$(subst /,\,$(VBOX_BRAND_$(subst en_US_,,$(lang)_)LICENSE_RTF))') \
+ -E 'VBOX_BUILD_NR_FOR_INST=$(VBOX_VERSION_BUILD)' \
+ -E 'VBOX_VENDOR=$(VBOX_VENDOR)' \
+ -E 'VBOX_VENDOR_SHORT=$(VBOX_VENDOR_SHORT)' \
+ -E 'VBOX_PRODUCT=$(VBOX_PRODUCT)' \
+ -E 'VBOX_C_YEAR=$(VBOX_C_YEAR)' \
+ -E 'VBOX_VERSION_STRING=$(VBOX_VERSION_STRING)' \
+ -E 'VBOX_VERSION_STRING_RAW=$(VBOX_VERSION_STRING_RAW)' \
+ -E 'VBOX_VERSION_MAJOR_INST=$(VBOX_VERSION_MAJOR)' \
+ -E 'VBOX_VERSION_MINOR_INST=$(VBOX_VERSION_MINOR)' \
+ -E 'VBOX_SIGNING_MODE=$(strip $(if $(VBOX_SIGNING_MODE),$(VBOX_SIGNING_MODE),none))' \
+ -E 'VBOX_CAB_COMPRESSION_LEVEL=$(if-expr $(lang) == "en_US",$(VBOX_CAB_COMPRESSION_LEVEL),none)' \
+ -E 'VBOX_CAB_COMPRESSION_LEVEL_COMMON=$(if-expr $(lang) == "en_US" && $(KBUILD_TARGET_ARCH) == "amd64",$(VBOX_CAB_COMPRESSION_LEVEL),none)' \
+ -E 'VBOX_GUI_USE_QGL=$(if $(VBOX_GUI_USE_QGL),yes,no)' \
+ -E 'VBOX_MIDL_PROXY_CLSID=$(VBOX_MIDL_PROXY_CLSID)' \
+ $(if-expr defined(VBOX_WITH_MSM_INSTALL), \
+ $(foreach module,$(VBOX_INSTALLER_MERGE_MODULES), \
+ -E 'VBOX_WIN_INST_MERGE_$(toupper $(module))=$(subst /,\,$(VBOX_WIN_INST_OUT_DIR)/VBoxMerge$(module)_$(lang)_$(KBUILD_TARGET_ARCH).msm')),) \
+ -E 'VBOX_WINDOWS_ICON_FILE=$(subst /,\,$(VBOX_WINDOWS_ICON_FILE))' \
+ -E 'VBOX_QT_INFIX=$(VBOX_QT_INFIX)' \
+ -E 'VBOX_WITH_32_ON_64_MAIN_API=$(if $(VBOX_WITH_32_ON_64_MAIN_API),yes,no)' \
+ -E 'VBOX_WITH_ADDITIONS_PACKING=$(if $(VBOX_WITH_ADDITIONS_PACKING),yes,no)' \
+ -E 'VBOX_WITH_COMBINED_PACKAGE=$(if-expr defined(VBOX_WITH_COMBINED_PACKAGE),yes,no)' \
+ -E 'VBOX_WITH_CRT_PACKING=$(if-expr defined(VBOX_WITH_CRT_PACKING),yes,no)' \
+ -E 'VBOX_WITH_DEBUGGER_GUI=$(if-expr defined(VBOX_WITH_DEBUGGER_GUI) && defined(VBOX_WITH_QTGUI),yes,no)' \
+ -E 'VBOX_WITH_DOCS_PACKING=$(if $(VBOX_WITH_DOCS_PACKING),yes,no)' \
+ -E 'VBOX_WITH_DRAG_AND_DROP=$(if $(VBOX_WITH_DRAG_AND_DROP),yes,no)' \
+ -E 'VBOX_WITH_DTRACE=$(if $(VBOX_WITH_DTRACE),yes,no)' \
+ -E 'VBOX_WITH_HOST_SHIPPING_AUDIO_TEST=$(if $(VBOX_WITH_HOST_SHIPPING_AUDIO_TEST),yes,no)' \
+ -E 'VBOX_WITH_EFIFW_PACKING=$(if $(VBOX_WITH_EFIFW_PACKING),yes,no)' \
+ -E 'VBOX_WITH_EXTPACK=$(if $(VBOX_WITH_EXTPACK),yes,no)' \
+ -E 'VBOX_WITH_GUEST_CONTROL=$(if $(VBOX_WITH_GUEST_CONTROL),yes,no)' \
+ -E 'VBOX_WITH_GUEST_PROPS=$(if $(VBOX_WITH_GUEST_PROPS),yes,no)' \
+ -E 'VBOX_WITH_HARDENING=$(if $(VBOX_WITH_HARDENING),yes,no)' \
+ -E 'VBOX_WITH_HEADLESS=$(if $(VBOX_WITH_HEADLESS),yes,no)' \
+ -E 'VBOX_WITH_FE_BALLOONCTRL=$(if $(VBOX_WITH_FE_BALLOONCTRL),yes,no)' \
+ -E 'VBOX_WITH_FE_AUTOSTART=$(if $(VBOX_WITH_FE_AUTOSTART),yes,no)' \
+ -E 'VBOX_WITH_FE_BUGREPORT=$(if $(VBOX_WITH_FE_BUGREPORT),yes,no)' \
+ -E 'VBOX_WITH_LIBSSH=$(if $(VBOX_WITH_LIBSSH),yes,no)' \
+ -E 'VBOX_WITH_LICENSE_DISPLAY=$(if $(VBOX_WITH_LICENSE_DISPLAY),yes,no)' \
+ -E 'VBOX_WITH_MIDL_PROXY_STUB=$(if $(VBOX_WITH_MIDL_PROXY_STUB),yes,no)' \
+ -E 'VBOX_WITH_MSM_INSTALL=$(if-expr defined(VBOX_WITH_MSM_INSTALL),yes,no)' \
+ -E 'VBOX_WITH_NETADP=$(if $(VBOX_WITH_NETADP),yes,no)' \
+ -E 'VBOX_WITH_NETFLT=$(if $(VBOX_WITH_NETFLT),yes,no)' \
+ -E 'VBOX_WITH_PYTHON=$(if $(VBOX_WITH_PYTHON),yes,no)' \
+ -E 'VBOX_WITH_QTGUI=$(if $(VBOX_WITH_QTGUI),yes,no)' \
+ -E 'VBOX_WITH_RAW_MODE=$(if $(VBOX_WITH_RAW_MODE),yes,no)' \
+ -E 'VBOX_WITH_SERIALNUMBER_INSTALL=$(if $(VBOX_WITH_SERIALNUMBER_INSTALL),yes,no)' \
+ -E 'VBOX_WITH_VIDEOHWACCEL=$(if $(VBOX_WITH_VIDEOHWACCEL),yes,no)' \
+ -E 'VBOX_WITH_VRDP=$(if-expr defined(VBOX_WITH_VRDP) && !defined(VBOX_WITH_EXTPACK_PUEL),yes,no)' \
+ -E 'VBOX_WITH_WEBSERVICES=$(if $(VBOX_WITH_WEBSERVICES),yes,no)' \
+ -E 'VBOX_WITH_SDS=$(if $(VBOX_WITH_SDS),yes,no)' \
+ -E 'VBOX_WITH_UNATTENDED=$(if $(VBOX_WITH_UNATTENDED),yes,no)' \
+ -E 'VBOX_WITH_USB=$(if $(VBOX_WITH_USB),yes,no)' \
+ -E 'VBOX_WITH_VBOX_IMG=$(if $(VBOX_WITH_VBOX_IMG)$(VBOX_WITH_TESTCASES),yes,no)' \
+ -E 'VBOX_WITH_VBOXSDL=$(if $(VBOX_WITH_VBOXSDL),yes,no)' \
+ -E 'VBOX_WITH_VMSVGA3D=$(if $(VBOX_WITH_VMSVGA3D),yes,no)' \
+ -E 'VBOX_WITH_VIDEOHWACCEL=$(if $(VBOX_WITH_VIDEOHWACCEL),yes,no)' \
+ -E 'KBUILD_TYPE=$(KBUILD_TYPE)' \
+ -E 'KBUILD_TARGET_ARCH=$(KBUILD_TARGET_ARCH)' \
+ -E 'VBOX_INSTALLER_QUICK=$(VBOX_INSTALLER_QUICK)' \
+ -E 'VBOX_VCC_TOOL_STEM=$(VBOX_VCC_TOOL_STEM)' \
+ -- \
+ $(VBOX_PATH_WIX)/candle.exe $(filter-out $(VBOX_VERSION_STAMP),$$<) \
+ -ext $(VBOX_PATH_WIX)/WixUIExtension.dll \
+ -ext $(VBOX_PATH_WIX)/WixDifxAppExtension.dll \
+ -ext $(VBOX_PATH_WIX)/WixUtilExtension.dll \
+ -p$(VBOX_WIN_INST_OUT_DIR)/$(lang)/VirtualBox_$(lang).wix
+ $(VBOX_PATH_WIX)/candle.exe $(VBOX_WIN_INST_OUT_DIR)/$(lang)/VirtualBox_$(lang).wix \
+ -ext $(VBOX_PATH_WIX)/WixUIExtension.dll \
+ -ext $(VBOX_PATH_WIX)/WixDifxAppExtension.dll \
+ -ext $(VBOX_PATH_WIX)/WixUtilExtension.dll \
+ -out $$@
+ ifeq ($(lang),en_US)
+ # Copy preprocessed wix and change source paths to be relative. Stuff not in ../bin needs copying.
+ $(SED) -e 's,$(subst /,\\,$(PATH_OUT))\\bin,..\\bin,g' \
+ -e 's,$(subst /,\\,$(PATH_OUT_BASE))\\win.amd64\\$(KBUILD_TYPE)\\bin,..\\..\\..\\win.amd64\\$(KBUILD_TYPE)\\bin,g' \
+ -e 's,$(subst /,\\,$(PATH_OUT_BASE))\\win.x86\\$(KBUILD_TYPE)\\bin,..\\..\\..\\win.x86\\$(KBUILD_TYPE)\\bin,g' \
+ \
+ -e 's,$(subst /,\\,$(PATH_ROOT))\\doc\\,files-VirtualBox_$(lang)\\,g' \
+ -e 's,$(subst /,\\,$(VBOX_PATH_WIN_INST_SRC))\\Binary\\,files-VirtualBox_$(lang)\\,g' \
+ -e 's,$(subst /,\\,$(VBOX_WIN_INST_OUT_DIR))\\,,g' \
+ -e 's,$(subst /,\\,$(dir $(VBOX_WINDOWS_ICON_FILE))),files-VirtualBox_$(lang)\\,g' \
+ --output "$(VBOX_WIN_INST_REPACK_DIR)/VirtualBox_$(lang).wix" \
+ "$(VBOX_WIN_INST_OUT_DIR)/$(lang)/VirtualBox_$(lang).wix"
+ $(SED) -n \
+ -e '/<\?ln /d' \
+ -e '/$(subst /,\\,$(PATH_ROOT))/p' \
+ -e '/$(subst /,\\,$(PATH_ROOT))/q2' \
+ "$(VBOX_WIN_INST_REPACK_DIR)/VirtualBox_$(lang).wix"
+ $(SED) -n \
+ -e '/<\?ln /d' \
+ -e 's/\\/\//g' \
+ -e 's,^.*"\($(PATH_ROOT)/doc/[^"]*\)".*$$(DOLLAR),\1,p' \
+ -e 's,^.*"\($(VBOX_PATH_WIN_INST_SRC)/Binary/[^"]*\)".*$$(DOLLAR),\1,p' \
+ -e 's,^.*"\($(dir $(VBOX_WINDOWS_ICON_FILE))[^"]*\)".*$$(DOLLAR),\1,p' \
+ --output "$(VBOX_WIN_INST_REPACK_DIR)/VirtualBox_$(lang).files" \
+ "$(VBOX_WIN_INST_OUT_DIR)/$(lang)/VirtualBox_$(lang).wix"
+ set -xe && for file in `$(CAT_EXT) "$(VBOX_WIN_INST_REPACK_DIR)/VirtualBox_$(lang).files"`; \
+ do $(CP_EXT) -f -- "$$(DOLLAR){file}" "$(VBOX_WIN_INST_REPACK_DIR)/files-VirtualBox_$(lang)/"; done
+ # Create repack script for this step.
+ $(APPEND) -tn "$(VBOX_WIN_INST_REPACK_DIR)/1-compile-VirtualBox_$(lang).cmd" \
+ 'if ".%KBUILD_DEVTOOLS%" == "." (echo KBUILD_DEVTOOLS is not set & exit /b1)' \
+ $(subst $(KBUILD_DEVTOOLS),%KBUILD_DEVTOOLS%,\
+ '$(VBOX_PATH_WIX)/candle.exe VirtualBox_$(lang).wix ^' \
+ ' -ext $(VBOX_PATH_WIX)/WixUIExtension.dll ^' \
+ ' -ext $(VBOX_PATH_WIX)/WixDifxAppExtension.dll ^' \
+ ' -ext $(VBOX_PATH_WIX)/WixUtilExtension.dll ^' \
+ ' -out $$(@F) || exit /b1' \
+ ) \
+ '@echo Created: $$(@F)'
+ endif
+ # Generate wxi dependencies based on the sourceLineNumber references in the output. Add repack file list for cleanup.
+ $(QUIET)$(APPEND) -t '$$@.dep' '$$@: \'
+ $(QUIET)$(VBOX_XSLTPROC) $(VBOX_PATH_WIN_INST_SRC)/dep.xsl "$$@" >> "$$@.dep"
+ $(QUIET)$(VBOX_XSLTPROC) $(VBOX_PATH_WIN_INST_SRC)/dep2.xsl "$$@" | sort | $(SED) '$!N; /^\(.*\)\n\1$$$$/!P; D' >> "$$@.dep"
+ $(QUIET)$(APPEND) -n '$$@.dep' '' ''
+ ifeq ($(lang),en_US)
+ $(QUIET)$(APPEND) -n '$$@.dep' 'define VBOX_REPACK_FILES_VirtualBox_$(lang)'
+ $(QUIET)$(CAT_EXT) "$(VBOX_WIN_INST_REPACK_DIR)/VirtualBox_$(lang).files" >> '$$@.dep'
+ $(QUIET)$(APPEND) -n '$$@.dep' '' 'endef'
+ endif
+
+ $(eval OTHER_CLEAN += $(VBOX_REPACK_FILES_VirtualBox_$(lang)))
+endef
+
+$(foreach lang,$(VBOX_INSTALLER_LANGUAGES), \
+ $(eval $(def_vbox_compile_wixobj)))
+
+#
+# MSM (merge module) compile.
+#
+define def_vbox_compile_msm
+ includedep $(VBOX_WIN_INST_OUT_DIR)/VBoxMerge$(module)_$(lang).wixobj.dep
+ $(VBOX_WIN_INST_OUT_DIR)/VBoxMerge$(module)_$(lang).wixobj \
+ + $(VBOX_WIN_INST_OUT_DIR)/VBoxMerge$(module)_$(lang).wix \
+ $(if-expr "$(lang)" != "en_US",, \
+ + $(VBOX_WIN_INST_REPACK_DIR)/VBoxMerge$(module)_$(lang).wix): \
+ $(PATH_SUB_CURRENT)/VBoxMerge$(module).wxs \
+ $(PATH_SUB_CURRENT)/VBoxMerge$(module).wxi \
+ $(PATH_SUB_CURRENT)/VBoxMerge$(module)CA.wxi \
+ $(PATH_SUB_CURRENT)/VBoxMerge$(module)Seq.wxi \
+ $(PATH_SUB_CURRENT)/UserInterface.wxi \
+ $(VBOX_WIN_INST_OUT_DIR)/Shortcuts_StartMenu.wxi \
+ $(VBOX_WIN_INST_OUT_DIR)/VirtualBox_TypeLib.wxi \
+ $(if $(VBOX_WITH_32_ON_64_MAIN_API),$(VBOX_WIN_INST_OUT_DIR)/VirtualBox_TypeLib_x86.wxi,) \
+ $(VBOX_WIN_INST_OUT_DIR)/VBoxKey.wxi \
+ $(if $(VBOX_WITH_CRT_PACKING),$(VBOX_WIN_INST_OUT_DIR)/VBoxCrtDlls.wxi,) \
+ $(if $(VBOX_WITH_CRT_PACKING),$(VBOX_WIN_INST_OUT_DIR)/VBoxCrtDlls32.wxi,) \
+ $(VBOX_WIN_INST_OUT_DIR)/VBoxUnattendedTemplateComponent.wxi \
+ $(if $(VBOX_WITH_QTGUI),$(VBOX_WIN_INST_OUT_DIR)/VBoxGuiNLS.wxi) \
+ $(VBOX_MSI_DEPENDENCIES) \
+ $(VBOX_VERSION_STAMP) \
+ | $$$$(dir $$$$@) $(VBOX_WIN_INST_REPACK_DIR)/
+ $(QUIET)$(RM) -f -- "$$@" "$(VBOX_WIN_INST_OUT_DIR)/VBoxMerge$(module)_$(lang).wix" "$(VBOX_WIN_INST_REPACK_DIR)/VBoxMerge$(module)_$(lang).wix"
+ $(REDIRECT) \
+ -E 'PATH_OUT=$(subst /,\,$(PATH_OUT))' \
+ -E 'PATH_TARGET=$(subst /,\,$(VBOX_WIN_INST_OUT_DIR))' \
+ -E 'PATH_ROOT=$(subst /,\,$(PATH_ROOT))' \
+ -E 'PATH_MULTIARCH_GUEST_ADDITIONS_ISO=$(subst /,\,$(PATH_MULTIARCH_GUEST_ADDITIONS_ISO))' \
+ -E 'VBOX_PATH_WIN_INST_SRC=$(subst /,\,$(VBOX_PATH_WIN_INST_SRC))' \
+ -E 'VBOX_BRAND_WIN_INST_DLGJPG=$(subst /,\,$(VBOX_BRAND_WIN_INST_DLGJPG))' \
+ -E 'VBOX_ADD_LANGUAGES=$(VBOX_INSTALLER_ADD_LANGUAGES)' \
+ -E 'VBOX_BRAND_LICENSE_RTF=$(subst /,\,$(VBOX_BRAND_LICENSE_RTF))' \
+ $(foreach lang,$(VBOX_INSTALLER_LANGUAGES), \
+ -E 'VBOX_BRAND_$(lang)_LICENSE_RTF=$(subst /,\,$(VBOX_BRAND_$(subst en_US_,,$(lang)_)LICENSE_RTF))') \
+ -E 'VBOX_BUILD_NR_FOR_INST=$(VBOX_VERSION_BUILD)' \
+ -E 'VBOX_VENDOR=$(VBOX_VENDOR)' \
+ -E 'VBOX_VENDOR_SHORT=$(VBOX_VENDOR_SHORT)' \
+ -E 'VBOX_PRODUCT=$(VBOX_PRODUCT)' \
+ -E 'VBOX_C_YEAR=$(VBOX_C_YEAR)' \
+ -E 'VBOX_VERSION_STRING=$(VBOX_VERSION_STRING)' \
+ -E 'VBOX_VERSION_STRING_RAW=$(VBOX_VERSION_STRING_RAW)' \
+ -E 'VBOX_VERSION_MAJOR_INST=$(VBOX_VERSION_MAJOR)' \
+ -E 'VBOX_VERSION_MINOR_INST=$(VBOX_VERSION_MINOR)' \
+ -E 'VBOX_SIGNING_MODE=$(strip $(if $(VBOX_SIGNING_MODE),$(VBOX_SIGNING_MODE),none))' \
+ -E 'VBOX_CAB_COMPRESSION_LEVEL=$(VBOX_CAB_COMPRESSION_LEVEL)' \
+ -E 'VBOX_CAB_COMPRESSION_LEVEL_COMMON=$(VBOX_CAB_COMPRESSION_LEVEL)' \
+ -E 'VBOX_GUI_USE_QGL=$(if $(VBOX_GUI_USE_QGL),yes,no)' \
+ -E 'VBOX_MIDL_PROXY_CLSID=$(VBOX_MIDL_PROXY_CLSID)' \
+ -E 'VBOX_WINDOWS_ICON_FILE=$(subst /,\,$(VBOX_WINDOWS_ICON_FILE))' \
+ -E 'VBOX_QT_INFIX=$(VBOX_QT_INFIX)' \
+ -E 'VBOX_WITH_32_ON_64_MAIN_API=$(if $(VBOX_WITH_32_ON_64_MAIN_API),yes,no)' \
+ -E 'VBOX_WITH_ADDITIONS_PACKING=$(if $(VBOX_WITH_ADDITIONS_PACKING),yes,no)' \
+ -E 'VBOX_WITH_COMBINED_PACKAGE=$(if-expr defined(VBOX_WITH_COMBINED_PACKAGE),yes,no)' \
+ -E 'VBOX_WITH_CRT_PACKING=$(if-expr defined(VBOX_WITH_CRT_PACKING),yes,no)' \
+ -E 'VBOX_WITH_DEBUGGER_GUI=$(if-expr defined(VBOX_WITH_DEBUGGER_GUI) && defined(VBOX_WITH_QTGUI),yes,no)' \
+ -E 'VBOX_WITH_DOCS_PACKING=$(if $(VBOX_WITH_DOCS_PACKING),yes,no)' \
+ -E 'VBOX_WITH_DRAG_AND_DROP=$(if $(VBOX_WITH_DRAG_AND_DROP),yes,no)' \
+ -E 'VBOX_WITH_DTRACE=$(if $(VBOX_WITH_DTRACE),yes,no)' \
+ -E 'VBOX_WITH_HOST_SHIPPING_AUDIO_TEST=$(if $(VBOX_WITH_HOST_SHIPPING_AUDIO_TEST),yes,no)' \
+ -E 'VBOX_WITH_EFIFW_PACKING=$(if $(VBOX_WITH_EFIFW_PACKING),yes,no)' \
+ -E 'VBOX_WITH_EXTPACK=$(if $(VBOX_WITH_EXTPACK),yes,no)' \
+ -E 'VBOX_WITH_GUEST_CONTROL=$(if $(VBOX_WITH_GUEST_CONTROL),yes,no)' \
+ -E 'VBOX_WITH_GUEST_PROPS=$(if $(VBOX_WITH_GUEST_PROPS),yes,no)' \
+ -E 'VBOX_WITH_HARDENING=$(if $(VBOX_WITH_HARDENING),yes,no)' \
+ -E 'VBOX_WITH_HEADLESS=$(if $(VBOX_WITH_HEADLESS),yes,no)' \
+ -E 'VBOX_WITH_FE_BALLOONCTRL=$(if $(VBOX_WITH_FE_BALLOONCTRL),yes,no)' \
+ -E 'VBOX_WITH_FE_AUTOSTART=$(if $(VBOX_WITH_FE_AUTOSTART),yes,no)' \
+ -E 'VBOX_WITH_FE_BUGREPORT=$(if $(VBOX_WITH_FE_BUGREPORT),yes,no)' \
+ -E 'VBOX_WITH_LIBSSH=$(if $(VBOX_WITH_LIBSSH),yes,no)' \
+ -E 'VBOX_WITH_LICENSE_DISPLAY=$(if $(VBOX_WITH_LICENSE_DISPLAY),yes,no)' \
+ -E 'VBOX_WITH_MIDL_PROXY_STUB=$(if $(VBOX_WITH_MIDL_PROXY_STUB),yes,no)' \
+ -E 'VBOX_WITH_MSM_INSTALL=$(if-expr defined(VBOX_WITH_MSM_INSTALL),yes,no)' \
+ -E 'VBOX_WITH_NETADP=$(if $(VBOX_WITH_NETADP),yes,no)' \
+ -E 'VBOX_WITH_NETFLT=$(if $(VBOX_WITH_NETFLT),yes,no)' \
+ -E 'VBOX_WITH_PYTHON=$(if $(VBOX_WITH_PYTHON),yes,no)' \
+ -E 'VBOX_WITH_QTGUI=$(if $(VBOX_WITH_QTGUI),yes,no)' \
+ -E 'VBOX_WITH_RAW_MODE=$(if $(VBOX_WITH_RAW_MODE),yes,no)' \
+ -E 'VBOX_WITH_SERIALNUMBER_INSTALL=$(if $(VBOX_WITH_SERIALNUMBER_INSTALL),yes,no)' \
+ -E 'VBOX_WITH_VIDEOHWACCEL=$(if $(VBOX_WITH_VIDEOHWACCEL),yes,no)' \
+ -E 'VBOX_WITH_VRDP=$(if-expr defined(VBOX_WITH_VRDP) && !defined(VBOX_WITH_EXTPACK_PUEL),yes,no)' \
+ -E 'VBOX_WITH_WEBSERVICES=$(if $(VBOX_WITH_WEBSERVICES),yes,no)' \
+ -E 'VBOX_WITH_SDS=$(if $(VBOX_WITH_SDS),yes,no)' \
+ -E 'VBOX_WITH_UNATTENDED=$(if $(VBOX_WITH_UNATTENDED),yes,no)' \
+ -E 'VBOX_WITH_VBOX_IMG=$(if $(VBOX_WITH_VBOX_IMG),yes,no)' \
+ -E 'VBOX_WITH_VBOXSDL=$(if $(VBOX_WITH_VBOXSDL),yes,no)' \
+ -E 'VBOX_WITH_VMSVGA3D=$(if $(VBOX_WITH_VMSVGA3D),yes,no)' \
+ -E 'VBOX_WITH_VIDEOHWACCEL=$(if $(VBOX_WITH_VIDEOHWACCEL),yes,no)' \
+ -E 'KBUILD_TYPE=$(KBUILD_TYPE)' \
+ -E 'KBUILD_TARGET_ARCH=$(KBUILD_TARGET_ARCH)' \
+ -E 'VBOX_INSTALLER_QUICK=$(VBOX_INSTALLER_QUICK)' \
+ -E 'VBOX_VCC_TOOL_STEM=$(VBOX_VCC_TOOL_STEM)' \
+ -- \
+ $(VBOX_PATH_WIX)/candle.exe $(filter-out $(VBOX_VERSION_STAMP),$$<) \
+ -ext $(VBOX_PATH_WIX)/WixUIExtension.dll \
+ -ext $(VBOX_PATH_WIX)/WixDifxAppExtension.dll \
+ -ext $(VBOX_PATH_WIX)/WixUtilExtension.dll \
+ -p$(VBOX_WIN_INST_OUT_DIR)/VBoxMerge$(module)_$(lang).wix
+ $(VBOX_PATH_WIX)/candle.exe $(VBOX_WIN_INST_OUT_DIR)/VBoxMerge$(module)_$(lang).wix \
+ -ext $(VBOX_PATH_WIX)/WixUIExtension.dll \
+ -ext $(VBOX_PATH_WIX)/WixDifxAppExtension.dll \
+ -ext $(VBOX_PATH_WIX)/WixUtilExtension.dll \
+ -out $$@
+ ifeq ($(lang),en_US)
+ # Copy preprocessed wix and change source paths to be relative. Stuff not in ../bin needs copying.
+ $(SED) -e 's,$(subst /,\\,$(PATH_OUT))\\bin,..\\bin,g' \
+ -e 's,$(subst /,\\,$(PATH_OUT_BASE))\\win.amd64\\$(KBUILD_TYPE)\\bin,..\\..\\..\\win.amd64\\$(KBUILD_TYPE)\\bin,g' \
+ -e 's,$(subst /,\\,$(PATH_OUT_BASE))\\win.x86\\$(KBUILD_TYPE)\\bin,..\\..\\..\\win.x86\\$(KBUILD_TYPE)\\bin,g' \
+ -e 's,$(subst /,\\,$(PATH_ROOT))\\doc\\,files-VBoxMerge$(module)_$(lang)\\,g' \
+ -e 's,$(subst /,\\,$(VBOX_PATH_WIN_INST_SRC))\\Binary\\,files-VBoxMerge$(module)_$(lang)\\,g' \
+ -e 's,$(subst /,\\,$(dir $(VBOX_WINDOWS_ICON_FILE))),files-VBoxMerge$(module)_$(lang)\\,g' \
+ -e 's,$(subst /,\\,$(VBOX_PATH_WIN_INST_SRC))\\,,g' \
+ --output "$(VBOX_WIN_INST_REPACK_DIR)/VBoxMerge$(module)_$(lang).wix" \
+ "$(VBOX_WIN_INST_OUT_DIR)/VBoxMerge$(module)_$(lang).wix"
+ $(SED) -n \
+ -e '/<\?ln /d' \
+ -e '/$(subst /,\\,$(PATH_ROOT))/p' \
+ -e '/$(subst /,\\,$(PATH_ROOT))/q2' \
+ "$(VBOX_WIN_INST_REPACK_DIR)/VBoxMerge$(module)_$(lang).wix"
+ $(SED) -n \
+ -e '/<\?ln /d' \
+ -e 's/\\/\//g' \
+ -e 's,^.*"\($(PATH_ROOT)/doc/[^"]*\)".*$$(DOLLAR),\1,p' \
+ -e 's,^.*"\($(VBOX_PATH_WIN_INST_SRC)/Binary/[^"]*\)".*$$(DOLLAR),\1,p' \
+ -e 's,^.*"\($(dir $(VBOX_WINDOWS_ICON_FILE))[^"]*\)".*$$(DOLLAR),\1,p' \
+ --output "$(VBOX_WIN_INST_REPACK_DIR)/VBoxMerge$(module)_$(lang).files" \
+ "$(VBOX_WIN_INST_OUT_DIR)/VBoxMerge$(module)_$(lang).wix"
+ $(MKDIR) -p -- "$(VBOX_WIN_INST_REPACK_DIR)/files-VBoxMerge$(module)_$(lang)/"
+ set -xe && for file in `$(CAT_EXT) "$(VBOX_WIN_INST_REPACK_DIR)/VBoxMerge$(module)_$(lang).files"`; \
+ do $(CP_EXT) -f -- "$$(DOLLAR){file}" "$(VBOX_WIN_INST_REPACK_DIR)/files-VBoxMerge$(module)_$(lang)/"; done
+ # Create repack script for this step.
+ $(APPEND) -tn "$(VBOX_WIN_INST_REPACK_DIR)/1-compile-VBoxMerge$(module)_$(lang).cmd" \
+ 'if ".%KBUILD_DEVTOOLS%" == "." (echo KBUILD_DEVTOOLS is not set & exit /b1)' \
+ $(subst $(KBUILD_DEVTOOLS),%KBUILD_DEVTOOLS%,\
+ '$(VBOX_PATH_WIX)/candle.exe VBoxMerge$(module)_$(lang).wix ^' \
+ ' -ext $(VBOX_PATH_WIX)/WixUIExtension.dll ^'\
+ ' -ext $(VBOX_PATH_WIX)/WixDifxAppExtension.dll ^' \
+ ' -ext $(VBOX_PATH_WIX)/WixUtilExtension.dll ^' \
+ ' -out $$(@F) || exit /b1' \
+ ) \
+ '@echo Created: $$(@F)'
+ endif
+ # Generate wxi dependencies based on the sourceLineNumber references in the output. Add repack file list for cleanup.
+ $(QUIET)$(APPEND) -t '$$@.dep' '$$@: \'
+ $(QUIET)$(VBOX_XSLTPROC) $(VBOX_PATH_WIN_INST_SRC)/dep.xsl "$$@" >> "$$@.dep"
+ $(QUIET)$(VBOX_XSLTPROC) $(VBOX_PATH_WIN_INST_SRC)/dep2.xsl "$$@" | sort | $(SED) '$!N; /^\(.*\)\n\1$$$$/!P; D' >> "$$@.dep"
+ $(QUIET)$(APPEND) -n '$$@.dep' '' ''
+ ifeq ($(lang),en_US)
+ $(QUIET)$(APPEND) -n '$$@.dep' 'define VBOX_REPACK_FILES_VBoxMerge$(module)_$(lang)'
+ $(QUIET)$(CAT_EXT) "$(VBOX_WIN_INST_REPACK_DIR)/VBoxMerge$(module)_$(lang).files" >> '$$@.dep'
+ $(QUIET)$(APPEND) -n '$$@.dep' '' 'endef'
+ endif
+
+ $(eval OTHER_CLEAN += $(VBOX_REPACK_FILES_VBoxMerge$(module)_$(lang)))
+endef
+
+$(foreach module,$(VBOX_INSTALLER_MERGE_MODULES), \
+ $(foreach lang,$(VBOX_INSTALLER_MERGE_LANGUAGES), \
+ $(eval $(def_vbox_compile_msm))))
+
+#
+# VirtualBox Type Library definition.
+#
+$(VBOX_WIN_INST_OUT_DIR)/VirtualBox_TypeLib.wxi: \
+ $(PATH_SUB_CURRENT)/$(if-expr defined(VBOX_WITH_MIDL_PROXY_STUB),VirtualBox_TypeLibWithInterfaces.xsl,VirtualBox_TypeLib.xsl) \
+ $(VBOX_XIDL_FILE) \
+ $(MAKEFILE) \
+ | $$(dir $$@)
+ $(VBOX_XSLTPROC) \
+ $(if-expr defined(VBOX_WITH_MIDL_PROXY_STUB),--stringparam "a_sProxyStubClsid" "$(VBOX_MIDL_PROXY_CLSID)",) \
+ $(if-expr defined(VBOX_WITH_SDS),--stringparam "a_sWithSDS" "yes",) \
+ -o $@ $< $(VBOX_XIDL_FILE)
+
+$(VBOX_WIN_INST_OUT_DIR)/VirtualBox_TypeLib_x86.wxi: \
+ $(PATH_SUB_CURRENT)/$(if-expr defined(VBOX_WITH_MIDL_PROXY_STUB),VirtualBox_TypeLibWithInterfaces.xsl,VirtualBox_TypeLib.xsl) \
+ $(VBOX_XIDL_FILE) \
+ | $$(dir $$@)
+ $(VBOX_XSLTPROC) --stringparam "a_sTarget" "VBoxClient-x86" \
+ $(if-expr defined(VBOX_WITH_MIDL_PROXY_STUB),--stringparam "a_sProxyStubClsid" "$(VBOX_MIDL_PROXY_CLSID)",) \
+ $(if-expr defined(VBOX_WITH_SDS),--stringparam "a_sWithSDS" "yes",) \
+ -o $@ $< $(VBOX_XIDL_FILE)
+
+#
+# Construct the list of GUI translations.
+# ('-t' -- truncate file; '-n' -- new line between arguments)
+#
+include $(PATH_ROOT)/src/VBox/Frontends/VirtualBox/nls/ApprovedLanguages.kmk
+$(call KB_FN_AUTO_CMD_DEPS,$(VBOX_WIN_INST_OUT_DIR)/VBoxGuiNLS.wxi)
+$(VBOX_WIN_INST_OUT_DIR)/VBoxGuiNLS.wxi: $(PATH_ROOT)/src/VBox/Frontends/VirtualBox/nls/ApprovedLanguages.kmk | $$(dir $$@)
+ $(APPEND) -t $@ '<?xml version="1.0" ?>'
+ $(APPEND) $@ '<Include>'
+ $(APPEND) -n $@ $(foreach lang,$(VBOX_APPROVED_GUI_LANGUAGES), \
+ ' <File Id="nlsqt${lang}" Name="qt_${lang}.qm" DiskId="$(VBOX_INSTALLER_COMMON_DISKID)" Vital="yes" Source="$$(env.PATH_OUT)\bin\nls\qt_${lang}.qm" />' \
+ ' <File Id="nlsgui${lang}" Name="VirtualBox_${lang}.qm" DiskId="$(VBOX_INSTALLER_COMMON_DISKID)" Vital="yes" Source="$$(env.PATH_OUT)\bin\nls\VirtualBox_${lang}.qm" />')
+ $(APPEND) $@ '</Include>'
+
+#
+# Edit the version stored in the registry.
+#
+$(call KB_FN_AUTO_CMD_DEPS,$(VBOX_WIN_INST_OUT_DIR)/VBoxKey.wxi)
+$(VBOX_WIN_INST_OUT_DIR)/VBoxKey.wxi: $(PATH_SUB_CURRENT)/VBoxKey.wxi $(VBOX_VERSION_STAMP) | $$(dir $$@)
+ $(SED) -e 's/%VER%/$(VBOX_VERSION_STRING_RAW)/' \
+ -e 's/%VER_EXT%/$(VBOX_VERSION_STRING)/' \
+ --output $@ $<
+
+#
+# Generate the list of CRT DLLs.
+#
+ifndef TOOL_$(VBOX_VCC_TOOL)
+ include $(KBUILD_PATH)/tools/$(VBOX_VCC_TOOL).kmk
+endif
+$(call KB_FN_AUTO_CMD_DEPS,$(VBOX_WIN_INST_OUT_DIR)/VBoxCrtDlls.wxi)
+$(VBOX_WIN_INST_OUT_DIR)/VBoxCrtDlls.wxi: | $$(dir $$@)
+ $(APPEND) -t -n $@ \
+ '<?xml version="1.0" ?>' \
+ '<Include>' \
+ $(foreach dll \
+ ,$(if-expr "$(VBOX_VCC_TOOL_STEM)"=="VCC100",msvcr100.dll msvcp100.dll \
+ ,$(if-expr "$(VBOX_VCC_TOOL_STEM)"=="VCC110",msvcr110.dll msvcp110.dll \
+ ,$(TOOL_$(VBOX_VCC_TOOL)_REDIST_CRT_DLLS) $(TOOL_$(VBOX_VCC_TOOL)_REDIST_CPP_DLLS))) \
+ $(if-expr "$(KBUILD_TYPE)"=="asan",clang_rt.asan_dynamic-x86_64.dll,) \
+ ,' <File Id="file_$(translate $(dll),-,_)" Name="$(dll)" Source="$$(env.PATH_OUT)\bin\$(dll)" />') \
+ '</Include>'
+
+#
+# Generate the list of 32-bit CRT DLLs.
+#
+ifndef TOOL_$(VBOX_VCC_TOOL_STEM)X86
+ include $(KBUILD_PATH)/tools/$(VBOX_VCC_TOOL_STEM)X86.kmk
+endif
+$(call KB_FN_AUTO_CMD_DEPS,$(VBOX_WIN_INST_OUT_DIR)/VBoxCrtDlls32.wxi)
+$(VBOX_WIN_INST_OUT_DIR)/VBoxCrtDlls32.wxi: | $$(dir $$@)
+ $(APPEND) -t -n $@ \
+ '<?xml version="1.0" ?>' \
+ '<Include>' \
+ $(foreach dll \
+ ,$(if-expr "$(VBOX_VCC_TOOL_STEM)"=="VCC100",msvcr100.dll msvcp100.dll \
+ ,$(if-expr "$(VBOX_VCC_TOOL_STEM)"=="VCC110",msvcr110.dll msvcp110.dll \
+ ,$(TOOL_$(VBOX_VCC_TOOL_STEM)X86_REDIST_CRT_DLLS) $(TOOL_$(VBOX_VCC_TOOL_STEM)X86_REDIST_CPP_DLLS))) \
+ $(if-expr "$(KBUILD_TYPE)"=="asan",clang_rt.asan_dynamic-i386.dll,) \
+ ,' <File Id="file_$(translate $(dll),-,_)_x86" Name="$(dll)" Source="$$(env.PATH_OUT)\bin\x86\$(dll)" DiskId="$$(var.Property_DiskIdCommon)" />') \
+ '</Include>'
+#
+# Generate the list of unattended template script files.
+#
+$(call KB_FN_AUTO_CMD_DEPS,$(VBOX_WIN_INST_OUT_DIR)/VBoxUnattendedTemplateComponent.wxi)
+$(VBOX_WIN_INST_OUT_DIR)/VBoxUnattendedTemplateComponent.wxi: | $$(dir $$@)
+ $(APPEND) -t -n $@ \
+ '<?xml version="1.0" ?>' \
+ '<Include>'
+ifdef VBOX_UNATTENDED_TEMPLATES
+ $(APPEND) -n $@ \
+ ' <Directory Id="dir_VBoxUnattendedTemplates" Name="UnattendedTemplates">' \
+ ' <Component Id="cp_UnattendedTemplates" Guid="0571550d-aaa5-4723-c17b-5ddcc29f5686" Win64="$$(var.Property_Win64)">' \
+ $(foreach file,$(VBOX_UNATTENDED_TEMPLATES), \
+ ' <File Id="$(file)" Name="$(file)" Source="$$(env.PATH_OUT)\bin\UnattendedTemplates\$(file)" />') \
+ ' </Component>' \
+ ' </Directory>'
+endif
+ $(APPEND) $@ '</Include>'
+
+
+#
+# Build the multi-language version of the .MSI installer (final installer).
+#
+# This is done by creating binary .MST diffs of all the language-specific installers
+# against the en_US one, and then merging the diffs into the en_US one using tools
+# from the MS Installer SDK.
+#
+define def_vbox_create_mst
+ $(VBOX_WIN_INST_OUT_DIR)/$(lang)/$(lang).mst \
+ + $(VBOX_WIN_INST_REPACK_DIR)/$(lang).mst: \
+ $(VBOX_WIN_INST_OUT_DIR)/en_US/$(PACKAGE_NAME_LANG)_en_US.msi \
+ $(VBOX_WIN_INST_OUT_DIR)/$(lang)/VirtualBox_$(lang).wixobj \
+ $(VBOX_WIN_INST_OUT_DIR)/NLS/Language_$(lang).wxl \
+ $(VBOX_WIN_INST_OUT_DIR)/NLS/License_$(lang).wxl \
+ $(PATH_STAGE_BIN)/VBoxInstallHelper.dll \
+ $(VBOX_SVN_REV_KMK) \
+ $(VBOX_WIN_INST_MAKEFILE_DEP) \
+ $(if-expr defined(VBOX_WITH_MSI_HACK),$(MsiHack_0_OUTDIR)/MsiHack.dll,) \
+ $(if-expr defined(VBOX_WITH_MSI_HACK),$(MsiHack_0_OUTDIR)/MsiHackExtension.dll,) \
+ | $$$$(dir $$$$@) $(VBOX_WIN_INST_REPACK_DIR)/
+ $(call MSG_L1,Creating language diff for $(lang))
+ kmk_time $$(REDIRECT_EXT) -E WIX_TEMP='$$(subst /,\,$$(@D))' -- $(VBOX_PATH_WIX)/light.exe -v -nologo \
+ -loc $(VBOX_WIN_INST_OUT_DIR)/NLS/Language_$(lang).wxl \
+ -loc $(VBOX_WIN_INST_OUT_DIR)/NLS/License_$(lang).wxl \
+ -ext $(VBOX_PATH_WIX)/WixUIExtension.dll \
+ -ext $(VBOX_PATH_WIX)/WixDifxAppExtension.dll \
+ -ext $(VBOX_PATH_WIX)/WixUtilExtension.dll \
+ $(if-expr defined(VBOX_WITH_MSI_HACK),-ext $(MsiHack_0_OUTDIR)/MsiHackExtension.dll,) \
+ $(VBOX_MSI_ICE_IGNORE) \
+ -out $$(@D)/$(PACKAGE_NAME_LANG)_$(lang).msi \
+ $$(@D)/VirtualBox_$(lang).wixobj \
+ $(VBOX_PATH_WIX)/difxapp_$(if-expr "$(KBUILD_TARGET_ARCH)" == "x86",x86,x64).wixlib
+ $(REDIRECT) -C $$(@D) -- $$(VBOX_PATH_MSITRAN) -g $$< $(PACKAGE_NAME_LANG)_$(lang).msi $(lang).mst
+ $(CP) -f -- "$(VBOX_WIN_INST_OUT_DIR)/$(lang)/$(lang).mst" "$(VBOX_WIN_INST_REPACK_DIR)/$(lang).mst"
+ $(RM) -f -- $$(@D)/$(PACKAGE_NAME_LANG)_$(lang).msi \
+ $$(@D)/$(PACKAGE_NAME_LANG)_$(lang).wixpdb \
+ $$(@D)/common.cab
+
+endef
+
+$(foreach lang,$(filter-out en_US, $(VBOX_INSTALLER_LANGUAGES)), \
+ $(eval local lang_id := $(VBOX_BRAND_$(lang)_LANG_ID)) \
+ $(eval $(def_vbox_create_mst)))
+
+
+# Create WISUMINFO argument.
+VBOX_INS_PROD_ARCH.amd64 = x64
+VBOX_INS_PROD_ARCH.x86 = Intel
+VBOX_INS_PROD_ARCH := $(VBOX_INS_PROD_ARCH.$(KBUILD_TARGET_ARCH))
+ifeq ($(VBOX_INS_PROD_ARCH),)
+ $(error VBOX_INS_PROD_ARCH is empty!)
+endif
+VBOX_INS_PROD_LANG := 7="$(VBOX_INS_PROD_ARCH);1033
+$(foreach lang, $(filter-out en_US,$(VBOX_INSTALLER_LANGUAGES))\
+ , $(eval VBOX_INS_PROD_LANG := $(VBOX_INS_PROD_LANG)$(COMMA)$(VBOX_BRAND_$(lang)_LANG_ID)))
+VBOX_INS_PROD_LANG := $(VBOX_INS_PROD_LANG)"
+
+# The multilingual installer rule.
+$(VBOX_WIN_INST_OUT_DIR)/$(PACKAGE_NAME_LANG).msi \
++ $(VBOX_WIN_INST_REPACK_DIR)/3-multilingual-$(PACKAGE_NAME_LANG).cmd: \
+ $(VBOX_WIN_INST_OUT_DIR)/en_US/$(PACKAGE_NAME_LANG)_en_US.msi \
+ $(foreach lang,$(filter-out en_US,$(VBOX_INSTALLER_LANGUAGES)),$(VBOX_WIN_INST_OUT_DIR)/$(lang)/$(lang).mst)
+ $(call MSG_L1,Creating final multilingual MSI)
+ $(QUIET)$(RM) -f -- \
+ $(wildcard $(@D)/$(PACKAGE_BASE)-r*.msi $(VBOX_WIN_INST_REPACK_DIR)/3-multilingual-$(PACKAGE_BASE)-r*.cmd )
+ $(CP) -f -- "$<" "$@"
+
+ $(foreach lang,$(filter-out en_US,$(VBOX_INSTALLER_LANGUAGES)), \
+ $(NLTAB)$(REDIRECT) -C $(@D)/$(lang) -- $(VBOX_PATH_MSIDB) -d $@ -r $(lang).mst \
+ $(NLTAB)$(REDIRECT) -C $(@D)/$(lang) -- cscript.exe /nologo $(VBOX_PATH_WISUBSTG) $@ $(lang).mst $(VBOX_BRAND_$(lang)_LANG_ID) )
+
+ $(REDIRECT) -C $(@D) -- cscript.exe /nologo $(VBOX_PATH_WISUBSTG) $(@F)
+ $(REDIRECT) -C $(@D) -- cscript.exe /nologo $(VBOX_PATH_WISUMINFO) $@ $(VBOX_INS_PROD_LANG)
+ $(call VBOX_SIGN_MSI_FN,$@,$(VBOX_PRODUCT) $(VBOX_VERSION_STRING)r$(VBOX_SVN_REV) ($(KBUILD_TARGET_ARCH)),,,disable-dual-signing)
+
+# Create repack script for this step.
+ $(APPEND) -nt "$(VBOX_WIN_INST_REPACK_DIR)/3-multilingual-$(PACKAGE_NAME_LANG).cmd" \
+ 'if ".%KBUILD_DEVTOOLS%" == "." (echo KBUILD_DEVTOOLS is not set & exit /b1)' \
+ 'if ".%KBUILD_BIN_PATH%" == "." (echo KBUILD_BIN_PATH is not set & exit /b1)' \
+ 'copy /y "$(<F)" "$(@F)" || exit /b1' \
+ $(subst $(KBUILD_BIN_PATH),%KBUILD_BIN_PATH%,$(subst $(KBUILD_DEVTOOLS),%KBUILD_DEVTOOLS%,\
+ $(foreach lang,$(filter-out en_US,$(VBOX_INSTALLER_LANGUAGES)), \
+ '$(VBOX_PATH_MSIDB) -d $(@F) -r $(lang).mst || exit /b1' \
+ 'cscript.exe /nologo $(VBOX_PATH_WISUBSTG) $(@F) $(lang).mst $(VBOX_BRAND_$(lang)_LANG_ID) || exit /b1') \
+ 'cscript.exe /nologo $(VBOX_PATH_WISUBSTG) $(@F) || exit /b1' \
+ 'cscript.exe /nologo $(VBOX_PATH_WISUMINFO) $(@F) $(VBOX_INS_PROD_LANG) || exit /b1' \
+ 'call sign-sha1.cmd $(@F) || exit /b1' \
+ ) ) \
+ $(if-expr defined(VBOX_WITH_COMBINED_PACKAGE),'copy /y "$(@F)" "$(notdir $(PACKAGE_NAME_FINAL))" || exit /b1',) \
+ '@echo Created multilanguage MSI: $(notdir $(PACKAGE_NAME_FINAL))'
+
+# Copy multilingual installer to bin.
+$(PACKAGE_NAME_FINAL): $(VBOX_WIN_INST_OUT_DIR)/$(PACKAGE_NAME_LANG).msi | $$(dir $$@)
+ $(QUIET)$(RM) -f $(wildcard $(@D)/$(PACKAGE_BASE)-r*$(if-expr defined(VBOX_WITH_COMBINED_PACKAGE),_$(KBUILD_TARGET_ARCH),).msi)
+ $(INSTALL_STAGING) -- $< $@
+
+
+if defined(VBOX_WITH_COMBINED_PACKAGE) && "$(KBUILD_TARGET_ARCH)" == "x86"
+ #
+ # Make the multi-architecture installer by calling our stub builder
+ # with both platform installers (x86 and amd64) + common cab. The common
+ # cab only is needed when we don't use merge modules. We only
+ # need to do this once; so do it on x86 only.
+ #
+ $(PATH_STAGE_BIN)/$(PACKAGE_NAME_MULTIARCH_FINAL) \
+ + $(VBOX_WIN_INST_REPACK_DIR)/4-multiarch-$(PACKAGE_NAME_MULTIARCH_FINAL).cmd: \
+ $(PATH_MULTIARCH_TEMP)/$(PACKAGE_NAME_MULTIARCH.x86) \
+ $(PATH_MULTIARCH_TEMP)/$(PACKAGE_NAME_MULTIARCH.amd64) \
+ $(PATH_STAGE_BIN)/VBoxStub.exe \
+ $$(VBoxStubBld_1_TARGET)
+ $(call MSG_L1,Building Windows combined package)
+ $(QUIET)$(RM) -f -- $(wildcard $(subst r$(VBOX_SVN_REV),r*, \
+ $@ \
+ $(VBOX_WIN_INST_REPACK_DIR)/4-multiarch-$(PACKAGE_NAME_MULTIARCH_FINAL).cmd ) )
+ $(if-expr defined(VBOX_WITH_MSM_INSTALL),,$(call VBOX_SIGN_CAB_FN,$(PACKAGE_NAME_MULTIARCH_COMMONCAB)))
+ $(REDIRECT) -C $(@D) -- \
+ $(VBoxStubBld_1_TARGET) -out $@ \
+ -target-x86 $(PATH_MULTIARCH_TEMP)/$(PACKAGE_NAME_MULTIARCH.x86) \
+ -target-amd64 $(PATH_MULTIARCH_TEMP)/$(PACKAGE_NAME_MULTIARCH.amd64) \
+ $(if-expr defined(VBOX_WITH_MSM_INSTALL),,-target-all $(PACKAGE_NAME_MULTIARCH_COMMONCAB)) \
+ -stub $(PATH_STAGE_BIN)/VBoxStub.exe
+ $(VBOX_VCC_EDITBIN) /IntegrityCheck:NO $@
+ $(call VBOX_SIGN_FILE_FN,$@)
+ # Create repack script for this step.
+ $(APPEND) -nt "$(VBOX_WIN_INST_REPACK_DIR)/4-multiarch-$(@F).cmd" \
+ 'if ".%KBUILD_DEVTOOLS%" == "." (echo KBUILD_DEVTOOLS is not set & exit /b1)' \
+ 'if ".%KBUILD_BIN_PATH%" == "." (echo KBUILD_BIN_PATH is not set & exit /b1)' \
+ $(subst $(KBUILD_BIN_PATH),%KBUILD_BIN_PATH%,$(subst $(KBUILD_DEVTOOLS),%KBUILD_DEVTOOLS%, \
+ $(if-expr defined(VBOX_WITH_MSM_INSTALL), \
+ ,'call sign-dual.cmd ../../../win.amd64/$(KBUILD_TYPE)/repack/$(notdir $(PACKAGE_NAME_MULTIARCH_COMMONCAB)) || exit /b1') \
+ '..\bin\VBoxStubBld.exe ^' \
+ ' -out $(@F) ^' \
+ ' -target-x86 $(PACKAGE_NAME_MULTIARCH.x86) ^' \
+ ' -target-amd64 ../../../win.amd64/$(KBUILD_TYPE)/repack/$(PACKAGE_NAME_MULTIARCH.amd64) ^' \
+ $(if-expr defined(VBOX_WITH_MSM_INSTALL),\
+ ,' -target-all ../../../win.amd64/$(KBUILD_TYPE)/repack/$(notdir $(PACKAGE_NAME_MULTIARCH_COMMONCAB)) ^' ) \
+ ' -stub ../bin/VBoxStub.exe || exit /b1' \
+ '$(VBOX_VCC_EDITBIN) /IntegrityCheck:NO $(@F) || exit /b1' \
+ 'call sign-dual.cmd $(@F) || exit /b1' \
+ ) ) \
+ '@echo Created multiarch EXE: $(@F)'
+else
+ #
+ # We still do the installer stub thing even if we only ship 64-bit, because we've
+ # gotten used to having it around to install the certificate and such.
+ #
+ $(PATH_STAGE_BIN)/$(PACKAGE_NAME_MULTIARCH_FINAL) \
+ + $(VBOX_WIN_INST_REPACK_DIR)/4-multiarch-$(PACKAGE_NAME_MULTIARCH_FINAL).cmd: \
+ $(PACKAGE_NAME_FINAL) \
+ $(PATH_STAGE_BIN)/VBoxStub.exe \
+ $$(VBoxStubBld_1_TARGET)
+ $(call MSG_L1,Building Windows package w/ installer stub)
+ $(QUIET)$(RM) -f -- $(wildcard $(subst r$(VBOX_SVN_REV),r*, \
+ $@ \
+ $(VBOX_WIN_INST_REPACK_DIR)/4-multiarch-$(PACKAGE_NAME_MULTIARCH_FINAL).cmd ) )
+ $(REDIRECT) -C $(@D) -- \
+ $(VBoxStubBld_1_TARGET) -out $@ \
+ -target-$(KBUILD_TARGET_ARCH) $(PACKAGE_NAME_FINAL) \
+ -stub $(PATH_STAGE_BIN)/VBoxStub.exe
+ $(VBOX_VCC_EDITBIN) /IntegrityCheck:NO $@
+ $(call VBOX_SIGN_FILE_FN,$@)
+ # Create repack script for this step.
+ $(APPEND) -nt "$(VBOX_WIN_INST_REPACK_DIR)/4-multiarch-$(@F).cmd" \
+ 'if ".%KBUILD_DEVTOOLS%" == "." (echo KBUILD_DEVTOOLS is not set & exit /b1)' \
+ 'if ".%KBUILD_BIN_PATH%" == "." (echo KBUILD_BIN_PATH is not set & exit /b1)' \
+ $(subst $(KBUILD_BIN_PATH),%KBUILD_BIN_PATH%,$(subst $(KBUILD_DEVTOOLS),%KBUILD_DEVTOOLS%, \
+ '..\bin\VBoxStubBld.exe ^' \
+ ' -out $(@F) ^' \
+ ' -target-$(KBUILD_TARGET_ARCH) $(notdir $(PACKAGE_NAME_FINAL)) ^' \
+ ' -stub ../bin/VBoxStub.exe || exit /b1' \
+ '$(VBOX_VCC_EDITBIN) /IntegrityCheck:NO $(@F) || exit /b1' \
+ 'call sign-dual.cmd $(@F) || exit /b1' \
+ ) ) \
+ '@echo Created multiarch EXE: $(@F)'
+ ifdef VBOX_WIN_ATTESTATION_SIGNING
+ echo "Repacking HERE"
+ $(RM) -f $(VBOX_WIN_INST_REPACK_DIR)/*.ddf
+ cd $(PATH_OUT)/repack && $(RM) -f *.ddf
+ $(RM) -f $(VBOX_WIN_INST_REPACK_DIR)/$(PACKAGE_NAME_LANG)-$(KBUILD_TARGET_ARCH).cab
+ $(RM) -f $(VBOX_WIN_INST_REPACK_DIR)/PackDriversForSubmission_internal.cmd
+ $(APPEND) -nt "$(VBOX_WIN_INST_REPACK_DIR)/PackDriversForSubmission_internal.cmd" \
+ "SET KBUILD_BIN_PATH=$(KBUILD_BIN_PATH)" \
+ "call PackDriversForSubmission.cmd -b $(PATH_STAGE_BIN) -a $(KBUILD_TARGET_ARCH) \
+ -x -n --no-extpack -o $(VBOX_WIN_INST_REPACK_DIR)/$(PACKAGE_NAME_LANG)-$(KBUILD_TARGET_ARCH).cab"
+
+ cd $(VBOX_WIN_INST_REPACK_DIR) && $(EXEC_X86_WIN32) cmd.exe /c PackDriversForSubmission_internal.cmd
+ cd $(VBOX_WIN_INST_REPACK_DIR) && $(VBOX_RETRY) $(VBOX_WIN_ATTESTATION_SIGNING_EXE) "Oracle VM VirtualBox Base drivers $(KBUILD_TARGET_ARCH) $(VBOX_VERSION_MAJOR).$(VBOX_VERSION_MINOR).$(VBOX_VERSION_BUILD)r$(VBOX_SVN_REV)" "$(KBUILD_TARGET_ARCH)" "r$(VBOX_SVN_REV)" "$(PACKAGE_NAME_LANG)-$(KBUILD_TARGET_ARCH).cab"
+
+ $(RM) -f $(VBOX_WIN_INST_REPACK_DIR)/Single-3-Repack_internal.cmd
+ $(APPEND) -nt "$(VBOX_WIN_INST_REPACK_DIR)/Single-3-Repack_internal.cmd" \
+ "SET KBUILD_BIN_PATH=$(KBUILD_BIN_PATH)" \
+ "SET KBUILD_DEVTOOLS=$(KBUILD_DEVTOOLS)" \
+ "call Single-3-Repack.cmd --no-extpack --signed "$(PACKAGE_NAME_LANG)-$(KBUILD_TARGET_ARCH).cab.Signed.zip"
+ cd $(VBOX_WIN_INST_REPACK_DIR) && $(EXEC_X86_WIN32) cmd.exe /c Single-3-Repack_internal.cmd
+
+ $(RM) -f $(PATH_STAGE_BIN)/$(PACKAGE_NAME_MULTIARCH_FINAL)
+ $(RM) -f $(PATH_STAGE_BIN)/$(PACKAGE_NAME_LANG).msi
+ $(CP) $(VBOX_WIN_INST_REPACK_DIR)/$(PACKAGE_NAME_MULTIARCH_FINAL) $(PATH_STAGE_BIN)/
+ $(CP) $(VBOX_WIN_INST_REPACK_DIR)/$(PACKAGE_NAME_LANG).msi $(PATH_STAGE_BIN)/
+ endif
+endif
+
+#
+# Repackaging scripts and files.
+#
+INSTALLS += RePackScripts
+RePackScripts_TEMPLATE = DUMMY
+RePackScripts_INST = repack/
+RePackScripts_INSTTYPE = stage
+RePackScripts_SOURCES = \
+ Scripts/UnpackBlessedDrivers.cmd \
+ $(RePackScripts_0_OUTDIR)/PackDriversForSubmission.cmd \
+ $(RePackScripts_0_OUTDIR)/sign-dual.cmd \
+ $(RePackScripts_0_OUTDIR)/sign-sha1.cmd \
+ $(if-expr defined(VBOX_SIGN_EV_FILE_FN),$(RePackScripts_0_OUTDIR)/sign-ev.cmd,) \
+ $(RePackScripts_0_OUTDIR)/VMMR0.inf \
+ $(RePackScripts_0_OUTDIR)/VBoxExtPackPuel.inf
+if !defined(VBOX_WITH_COMBINED_PACKAGE) || "$(KBUILD_TARGET_ARCH)" == "x86"
+ RePackScripts_SOURCES += \
+ $(RePackScripts_0_OUTDIR)/RepackExtPack.cmd
+endif
+ifdef VBOX_WITH_COMBINED_PACKAGE
+ if "$(KBUILD_TARGET_ARCH)" == "x86"
+ RePackScripts_SOURCES += \
+ $(RePackScripts_0_OUTDIR)/Combined-1-Prepare.cmd \
+ $(RePackScripts_0_OUTDIR)/Combined-3-Repack.cmd \
+ $(RePackScripts_0_OUTDIR)/Combined-3-RepackAdditions.cmd
+ endif
+else
+ RePackScripts_SOURCES += \
+ $(RePackScripts_0_OUTDIR)/Single-1-Prepare.cmd \
+ $(RePackScripts_0_OUTDIR)/Single-3-Repack.cmd
+
+ ifndef VBOX_OSE
+ RePackScripts_SOURCES += \
+ $(RePackScripts_0_OUTDIR)/Single-0-All.cmd
+ endif
+
+endif
+RePackScripts_CLEAN = \
+ $(RePackScripts_0_OUTDIR)/PackDriversForSubmission.cmd \
+ $(RePackScripts_0_OUTDIR)/sign-dual.cmd \
+ $(RePackScripts_0_OUTDIR)/sign-sha1.cmd \
+ $(RePackScripts_0_OUTDIR)/sign-ev.cmd \
+ $(RePackScripts_0_OUTDIR)/VMMR0.inf \
+ $(RePackScripts_0_OUTDIR)/VBoxExtPackPuel.inf
+
+$(call VBOX_EDIT_VERSION_AND_BUILD_RULE_FN,RePackScripts,Scripts/PackDriversForSubmission.cmd,PackDriversForSubmission.cmd)
+$(call VBOX_EDIT_VERSION_AND_BUILD_RULE_FN,RePackScripts,Scripts/RepackExtPack.cmd,RepackExtPack.cmd)
+ifdef VBOX_WITH_COMBINED_PACKAGE
+ $(call VBOX_EDIT_VERSION_AND_BUILD_RULE_FN,RePackScripts,Scripts/Combined-1-Prepare.cmd,Combined-1-Prepare.cmd)
+ $(call VBOX_EDIT_VERSION_AND_BUILD_RULE_FN,RePackScripts,Scripts/Combined-3-Repack.cmd,Combined-3-Repack.cmd)
+ $(call VBOX_EDIT_VERSION_AND_BUILD_RULE_FN,RePackScripts,Scripts/Combined-3-RepackAdditions.cmd,Combined-3-RepackAdditions.cmd)
+else
+ ifndef VBOX_OSE
+ $(call VBOX_EDIT_VERSION_AND_BUILD_RULE_FN,RePackScripts,Scripts/Single-0-All.cmd,Single-0-All.cmd)
+ endif
+ $(call VBOX_EDIT_VERSION_AND_BUILD_RULE_FN,RePackScripts,Scripts/Single-1-Prepare.cmd,Single-1-Prepare.cmd)
+ $(call VBOX_EDIT_VERSION_AND_BUILD_RULE_FN,RePackScripts,Scripts/Single-3-Repack.cmd,Single-3-Repack.cmd)
+endif
+
+$$(RePackScripts_0_OUTDIR)/sign-dual.cmd: | $$(dir $$@)
+ $(APPEND) -nt "$@" \
+ 'if ".%KBUILD_DEVTOOLS%" == "." (echo KBUILD_DEVTOOLS is not set & exit /b 1)' \
+ 'if ".%KBUILD_BIN_PATH%" == "." (echo KBUILD_BIN_PATH is not set & exit /b 1)' \
+ 'if ".%1" == "." (echo No .cat file specified & exit /b 1)' \
+ $(subst /win-6.1/,/win-rel/,$(subst $(KBUILD_BIN_PATH),%KBUILD_BIN_PATH%,$(subst $(KBUILD_DEVTOOLS),%KBUILD_DEVTOOLS%, \
+ '( $(call VBOX_SIGN_FILE_FN,%1,$(VBOX_PRODUCT) $(VBOX_VERSION_STRING)r$(VBOX_SVN_REV) ($(KBUILD_TARGET_ARCH)),,,,&&) ) || exit /b1' \
+ ) ) )
+
+$$(RePackScripts_0_OUTDIR)/sign-sha1.cmd: | $$(dir $$@)
+ $(APPEND) -nt "$@" \
+ 'if ".%KBUILD_DEVTOOLS%" == "." (echo KBUILD_DEVTOOLS is not set & exit /b 1)' \
+ 'if ".%KBUILD_BIN_PATH%" == "." (echo KBUILD_BIN_PATH is not set & exit /b 1)' \
+ 'if ".%1" == "." (echo No .cat file specified & exit /b 1)' \
+ $(subst $(KBUILD_BIN_PATH),%KBUILD_BIN_PATH%,$(subst $(KBUILD_DEVTOOLS),%KBUILD_DEVTOOLS%, \
+ '( $(call VBOX_SIGN_FILE_FN,%1,$(VBOX_PRODUCT) $(VBOX_VERSION_STRING)r$(VBOX_SVN_REV) ($(KBUILD_TARGET_ARCH)),,,disable-dual-signing,&&) ) || exit /b1' \
+ ) )
+
+# The %~dp1\ oddity is working around otherwise ending with \" during
+# expansion of the CCS command line which for a reason I cannot immediately
+# understand appends a " to the path.
+$$(RePackScripts_0_OUTDIR)/sign-ev.cmd: | $$(dir $$@)
+ $(APPEND) -nt "$@" \
+ 'if ".%KBUILD_DEVTOOLS%" == "." (echo KBUILD_DEVTOOLS is not set & exit /b 1)' \
+ 'if ".%KBUILD_BIN_PATH%" == "." (echo KBUILD_BIN_PATH is not set & exit /b 1)' \
+ 'if ".%1" == "." (echo No .cab file specified & exit /b 1)' \
+ $(subst $(KBUILD_BIN_PATH),%KBUILD_BIN_PATH%,$(subst $(KBUILD_DEVTOOLS),%KBUILD_DEVTOOLS%, \
+ '( $(call VBOX_SIGN_EV_FILE_FN,%1,%~dp1\) ) || exit /b1' \
+ ) )
+
+$$(RePackScripts_0_OUTDIR)/VMMR0.inf: $(PATH_SUB_CURRENT)/Scripts/VMMR0.inf $(MAKEFILE_CURRENT) | $$(dir $$@)
+ $(call MSG_GENERATE,RePackScripts,$@,$<)
+ $(call VBOX_EDIT_INF_FN,$<,$@)
+
+$$(RePackScripts_0_OUTDIR)/VBoxExtPackPuel.inf: $(PATH_SUB_CURRENT)/Scripts/VBoxExtPackPuel.inf $(MAKEFILE_CURRENT) | $$(dir $$@)
+ $(call MSG_GENERATE,RePackScripts,$@,$<)
+ $(call VBOX_EDIT_INF_FN,$<,$@)
+
+
+include $(FILE_KBUILD_SUB_FOOTER)
diff --git a/src/VBox/Installer/win/MsiHack/Makefile.kmk b/src/VBox/Installer/win/MsiHack/Makefile.kmk
new file mode 100644
index 00000000..cac9cb8d
--- /dev/null
+++ b/src/VBox/Installer/win/MsiHack/Makefile.kmk
@@ -0,0 +1,52 @@
+# $Id: Makefile.kmk $
+## @file
+# Sub-Makefile for the MsiHack.dll and MsiHackExtension.dll experiment.
+#
+
+#
+# Copyright (C) 2016-2023 Oracle and/or its affiliates.
+#
+# This file is part of VirtualBox base platform packages, as
+# available from https://www.virtualbox.org.
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation, in version 3 of the
+# License.
+#
+# This program is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, see <https://www.gnu.org/licenses>.
+#
+# SPDX-License-Identifier: GPL-3.0-only
+#
+
+SUB_DEPTH = ../../../../..
+include $(KBUILD_PATH)/subheader.kmk
+
+DLLS += MsiHack
+MsiHack_TEMPLATE = VBoxR3StaticDll
+MsiHack_BLD_TRG_ARCH = x86
+MsiHack_SOURCES = MsiHack.cpp
+
+ifndef windir
+ windir = C:/Windows
+endif
+VBOX_DOT_NET_COMPILER = $(firstword $(rsort $(wildcard $(windir)/Microsoft.NET/Framework/*/csc.exe)) csc.exe)
+
+OTHERS += $(MsiHack_0_OUTDIR)/MsiHackExtension.dll
+$$(MsiHack_0_OUTDIR)/MsiHackExtension.dll: $(PATH_SUB_CURRENT)/MsiHackExtension.cs $(MAKEFILE) | $$(dir $$@)
+ $(VBOX_DOT_NET_COMPILER) /nologo \
+ /out:$@ \
+ /target:library \
+ /reference:$(VBOX_PATH_WIX)/wix.dll \
+ $(subst /,\\,$<)
+
+MsiHackExtension.dll: $$(MsiHack_0_OUTDIR)/MsiHackExtension.dll
+
+include $(FILE_KBUILD_SUB_FOOTER)
+
diff --git a/src/VBox/Installer/win/MsiHack/MsiHack.cpp b/src/VBox/Installer/win/MsiHack/MsiHack.cpp
new file mode 100644
index 00000000..6aca1fa3
--- /dev/null
+++ b/src/VBox/Installer/win/MsiHack/MsiHack.cpp
@@ -0,0 +1,1017 @@
+/* $Id: MsiHack.cpp $ */
+/** @file
+ * MsiHack - Exterimental DLL that intercept small ReadFile calls from
+ * MSI, CABINET and WINTEROP, buffering them using memory mapped files.
+ *
+ * @remarks Doesn't save as much as hoped on fast disks.
+ */
+
+/*
+ * Copyright (C) 2016-2023 Oracle and/or its affiliates.
+ *
+ * This file is part of VirtualBox base platform packages, as
+ * available from https://www.virtualbox.org.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation, in version 3 of the
+ * License.
+ *
+ * This program is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, see <https://www.gnu.org/licenses>.
+ *
+ * SPDX-License-Identifier: GPL-3.0-only
+ */
+
+
+/*********************************************************************************************************************************
+* Header Files *
+*********************************************************************************************************************************/
+#define IPRT_NO_CRT_FOR_3RD_PARTY /* temp hack */
+#include <iprt/win/windows.h>
+#include <iprt/string.h>
+#include <iprt/asm.h>
+#include <stdio.h>
+#include <stdlib.h>
+#ifndef IPRT_NO_CRT
+# include <wchar.h>
+#endif
+
+
+/*********************************************************************************************************************************
+* Defined Constants And Macros *
+*********************************************************************************************************************************/
+/** @MSI_HACK_HANDLE_TO_INDEX
+ * Handle to g_papHandles index.
+ */
+#if ARCH_BITS == 64
+# define MSI_HACK_HANDLE_TO_INDEX(hHandle) (((uintptr_t)hHandle & ~UINT64_C(0x80000000)) >> 3)
+#elif ARCH_BITS == 32
+# define MSI_HACK_HANDLE_TO_INDEX(hHandle) (((uintptr_t)hHandle & ~UINT32_C(0x80000000)) >> 2)
+#else
+# error "Unsupported or missing ARCH_BITS!"
+#endif
+
+/** Generic assertion macro. */
+#define MSIHACK_ASSERT(a_Expr) \
+ do { \
+ if (!!(a_Expr)) { /* likely */ } \
+ else MsiHackErrorF("Assertion failed at line " RT_STR(__LINE__) ": " #a_Expr "\n"); \
+ } while (0)
+
+/** Assertion macro that returns if expression is false. */
+#define MSIHACK_ASSERT_RETURN(a_Expr, a_fRc) \
+ do { \
+ if (!!(a_Expr)) { /* likely */ } \
+ else \
+ { \
+ MsiHackErrorF("Assertion failed at line " RT_STR(__LINE__) ": " #a_Expr "\n"); \
+ return (a_fRc); \
+ } \
+ } while (0)
+
+/** Assertion macro that executes a statemtn when false. */
+#define MSIHACK_ASSERT_STMT(a_Expr, a_Stmt) \
+ do { \
+ if (!!(a_Expr)) { /* likely */ } \
+ else \
+ { \
+ MsiHackErrorF("Assertion failed at line " RT_STR(__LINE__) ": " #a_Expr "\n"); \
+ a_Stmt; \
+ } \
+ } while (0)
+
+/** Assertion macro that executes a statemtn when false. */
+#define MSIHACK_ASSERT_MSG(a_Expr, a_Msg) \
+ do { \
+ if (!!(a_Expr)) { /* likely */ } \
+ else \
+ { \
+ MsiHackErrorF("Assertion failed at line " RT_STR(__LINE__) ": " #a_Expr "\n"); \
+ MsiHackErrorF a_Msg; \
+ } \
+ } while (0)
+
+
+/*********************************************************************************************************************************
+* Structures and Typedefs *
+*********************************************************************************************************************************/
+/**
+ * Intercepted handle data.
+ */
+typedef struct MSIHACKHANDLE
+{
+ /** The actual handle value. */
+ HANDLE hHandle;
+ /** The buffer. */
+ uint8_t *pbBuffer;
+ /** Valid buffer size. */
+ size_t cbBuffer;
+ /** The allocated buffer size. */
+ size_t cbBufferAlloc;
+ /** The file offset of the buffer. */
+ uint64_t offFileBuffer;
+ /** The file size. */
+ uint64_t cbFile;
+ /** The current file offset. */
+ uint64_t offFile;
+ /** Whether pbBuffer is a memory mapping of hHandle. */
+ bool fMemoryMapped;
+ /** We only try caching a file onece. */
+ bool fDontTryAgain;
+ /** Reference counter. */
+ int32_t volatile cRefs;
+ /** Critical section protecting the handle. */
+ CRITICAL_SECTION CritSect;
+} MSIHACKHANDLE;
+/** Pointer to an intercepted handle. */
+typedef MSIHACKHANDLE *PMSIHACKHANDLE;
+
+
+/**
+ * Replacement function entry.
+ */
+typedef struct MSIHACKREPLACEMENT
+{
+ /** The function name. */
+ const char *pszFunction;
+ /** The length of the function name. */
+ size_t cchFunction;
+ /** The module name (optional). */
+ const char *pszModule;
+ /** The replacement function or data address. */
+ uintptr_t pfnReplacement;
+} MSIHACKREPLACEMENT;
+/** Pointer to a replacement function entry */
+typedef MSIHACKREPLACEMENT const *PCMSIHACKREPLACEMENT;
+
+
+/*********************************************************************************************************************************
+* Global Variables *
+*********************************************************************************************************************************/
+/** Critical section protecting the handle table. */
+static CRITICAL_SECTION g_CritSect;
+/** Size of the handle table. */
+static size_t g_cHandles;
+/** The handle table. */
+static PMSIHACKHANDLE *g_papHandles;
+
+
+
+void MsiHackErrorF(const char *pszFormat, ...)
+{
+ fprintf(stderr, "MsiHack: error: ");
+ va_list va;
+ va_start(va, pszFormat);
+ vfprintf(stderr, pszFormat, va);
+ va_end(va);
+}
+
+
+void MsiHackDebugF(const char *pszFormat, ...)
+{
+ if (1)
+ {
+ fprintf(stderr, "MsiHack: debug: ");
+ va_list va;
+ va_start(va, pszFormat);
+ vfprintf(stderr, pszFormat, va);
+ va_end(va);
+ }
+}
+
+
+/**
+ * Destroys a handle.
+ */
+DECL_NO_INLINE(static, void) MsiHackHandleDestroy(PMSIHACKHANDLE pHandle)
+{
+ /* The handle value should always be invalid at this point! */
+ MSIHACK_ASSERT(pHandle->hHandle == INVALID_HANDLE_VALUE);
+
+ if (pHandle->fMemoryMapped)
+ UnmapViewOfFile(pHandle->pbBuffer);
+ else
+ free(pHandle->pbBuffer);
+ pHandle->pbBuffer = NULL;
+
+ DeleteCriticalSection(&pHandle->CritSect);
+ free(pHandle);
+}
+
+
+/**
+ * Releases a handle reference.
+ * @param pHandle The handle to release.
+ */
+DECLINLINE(void) MsiHackHandleRelease(PMSIHACKHANDLE pHandle)
+{
+ if (ASMAtomicDecS32(&pHandle->cRefs) != 0)
+ return;
+ MsiHackHandleDestroy(pHandle);
+}
+
+
+/**
+ * Get and retain handle.
+ *
+ * @returns Pointer to a reference handle or NULL if not our handle.
+ * @param hHandle The handle.
+ */
+DECLINLINE(PMSIHACKHANDLE) MsiHackHandleRetain(HANDLE hHandle)
+{
+ uintptr_t const idxHandle = MSI_HACK_HANDLE_TO_INDEX(hHandle);
+ EnterCriticalSection(&g_CritSect);
+ if (idxHandle < g_cHandles)
+ {
+ PMSIHACKHANDLE pHandle = g_papHandles[idxHandle];
+ if (pHandle)
+ {
+ ASMAtomicIncS32(&pHandle->cRefs);
+ LeaveCriticalSection(&g_CritSect);
+ return pHandle;
+ }
+ }
+ LeaveCriticalSection(&g_CritSect);
+ return NULL;
+}
+
+
+/**
+ * Enters @a pHandle into the handle table under @a hHandle.
+ *
+ * @returns true on succes, false on error.
+ * @param pHandle The handle to enter.
+ * @param hHandle The handle value to enter it under.
+ */
+static bool MsiHackHandleEnter(PMSIHACKHANDLE pHandle, HANDLE hHandle)
+{
+ uintptr_t const idxHandle = MSI_HACK_HANDLE_TO_INDEX(hHandle);
+ EnterCriticalSection(&g_CritSect);
+
+ /*
+ * Make sure there is room in the handle table.
+ */
+ bool fOkay = idxHandle < g_cHandles;
+ if (fOkay)
+ { /* typical */ }
+ else if (idxHandle < _1M)
+ {
+ size_t cNew = g_cHandles * 2;
+ while (cNew < idxHandle)
+ cNew *= 2;
+
+ void *pvNew = realloc(g_papHandles, cNew * sizeof(g_papHandles[0]));
+ if (pvNew)
+ {
+ g_papHandles = (PMSIHACKHANDLE *)pvNew;
+ memset(&g_papHandles[g_cHandles], 0, (cNew - g_cHandles) * sizeof(g_papHandles[0]));
+ g_cHandles = cNew;
+ fOkay = true;
+ }
+ else
+ MsiHackErrorF("Failed to grow handle table from %p to %p entries!\n", g_cHandles, cNew);
+ }
+ else
+ MsiHackErrorF("Handle %p (0x%p) is above the max handle table size limit!\n", hHandle, idxHandle);
+ if (fOkay)
+ {
+ /*
+ * Insert it into the table if the entry is empty.
+ */
+ if (g_papHandles[idxHandle] == NULL)
+ {
+ g_papHandles[idxHandle] = pHandle;
+ LeaveCriticalSection(&g_CritSect);
+ return true;
+ }
+ MsiHackErrorF("Handle table entry 0x%p (%p) is already busy with %p! Cannot replace with %p.\n",
+ hHandle, idxHandle, g_papHandles[idxHandle], pHandle);
+ }
+
+ LeaveCriticalSection(&g_CritSect);
+ return false;
+}
+
+
+/**
+ * Prepares a file for potential caching.
+ *
+ * If successful, the handled is entered into the handle table.
+ *
+ * @param hFile Handle to the file to cache.
+ */
+static void MsiHackFilePrepare(HANDLE hFile)
+{
+ DWORD const dwErrSaved = GetLastError();
+
+ LARGE_INTEGER cbFile;
+ if (GetFileSizeEx(hFile, &cbFile))
+ {
+ PMSIHACKHANDLE pHandle = (PMSIHACKHANDLE)calloc(1, sizeof(*pHandle));
+ if (pHandle)
+ {
+ pHandle->cbFile = cbFile.QuadPart;
+ pHandle->pbBuffer = NULL;
+ pHandle->cbBuffer = 0;
+ pHandle->cbBufferAlloc = 0;
+ pHandle->offFileBuffer = 0;
+ pHandle->fMemoryMapped = true;
+ pHandle->cRefs = 1;
+ InitializeCriticalSection(&pHandle->CritSect);
+ if (MsiHackHandleEnter(pHandle, hFile))
+ {
+ SetLastError(dwErrSaved);
+ return;
+ }
+
+ free(pHandle);
+ }
+ }
+
+ SetLastError(dwErrSaved);
+}
+
+
+/**
+ * Worker for MsiHackFileSetupCache
+ *
+ * @returns True if sucessfully cached, False if not.
+ * @param pHandle The file.
+ * @param hFile The current valid handle.
+ */
+static bool MsiHackFileSetupCache(PMSIHACKHANDLE pHandle, HANDLE hFile)
+{
+ DWORD const dwErrSaved = GetLastError();
+ HANDLE hMapping = CreateFileMappingW(hFile, NULL /*pSecAttrs*/, PAGE_READONLY,
+ 0 /*cbMaxLow*/, 0 /*cbMaxHigh*/, NULL /*pwszName*/);
+ if (hMapping != NULL)
+ {
+ pHandle->pbBuffer = (uint8_t *)MapViewOfFile(hMapping, FILE_MAP_READ, 0 /*offFileHigh*/, 0 /*offFileLow*/,
+ (SIZE_T)pHandle->cbFile);
+ if (pHandle->pbBuffer)
+ {
+ pHandle->cbBuffer = (size_t)pHandle->cbFile;
+ pHandle->cbBufferAlloc = (size_t)pHandle->cbFile;
+ pHandle->offFileBuffer = 0;
+ pHandle->fMemoryMapped = true;
+ CloseHandle(hMapping);
+
+ SetLastError(dwErrSaved);
+ return true;
+ }
+ CloseHandle(hMapping);
+ }
+ SetLastError(dwErrSaved);
+ pHandle->fDontTryAgain = true;
+ return false;
+}
+
+
+/**
+ * This is called to check if the file is cached and try cache it.
+ *
+ * We delay the actually caching till the file is read, so we don't waste time
+ * mapping it into memory when all that is wanted is the file size or something
+ * like that.
+ *
+ * @returns True if cached, False if not.
+ * @param pHandle The file.
+ * @param hFile The current valid handle.
+ */
+DECLINLINE(bool) MsiHackFileIsCached(PMSIHACKHANDLE pHandle, HANDLE hFile)
+{
+ if (pHandle->pbBuffer)
+ return true;
+ if (!pHandle->fDontTryAgain)
+ return MsiHackFileSetupCache(pHandle, hFile);
+ return false;
+}
+
+
+/** Kernel32 - CreateFileA */
+static HANDLE WINAPI MsiHack_Kernel32_CreateFileA(LPCSTR pszFilename, DWORD dwDesiredAccess, DWORD dwShareMode,
+ LPSECURITY_ATTRIBUTES pSecAttrs, DWORD dwCreationDisposition,
+ DWORD dwFlagsAndAttributes, HANDLE hTemplateFile)
+{
+ /*
+ * If this is read-only access to the file, try cache it.
+ */
+ if (dwCreationDisposition == OPEN_EXISTING)
+ {
+ if ( dwDesiredAccess == GENERIC_READ
+ || dwDesiredAccess == FILE_GENERIC_READ)
+ {
+ if (dwShareMode & FILE_SHARE_READ)
+ {
+ if ( !pSecAttrs
+ || ( pSecAttrs->nLength == sizeof(*pSecAttrs)
+ && pSecAttrs->lpSecurityDescriptor == NULL ) )
+ {
+ HANDLE hFile = CreateFileA(pszFilename, dwDesiredAccess, dwShareMode, pSecAttrs,
+ dwCreationDisposition, dwFlagsAndAttributes, hTemplateFile);
+ if (hFile != INVALID_HANDLE_VALUE && hFile != NULL)
+ {
+ MsiHackDebugF("CreateFileA: %s\n", pszFilename );
+ MsiHackFilePrepare(hFile);
+ }
+ return hFile;
+ }
+ }
+ }
+ }
+
+ /*
+ * Don't intercept it.
+ */
+ return CreateFileA(pszFilename, dwDesiredAccess, dwShareMode, pSecAttrs,
+ dwCreationDisposition, dwFlagsAndAttributes, hTemplateFile);
+}
+
+
+/** Kernel32 - CreateFileW */
+static HANDLE WINAPI MsiHack_Kernel32_CreateFileW(LPCWSTR pwszFilename, DWORD dwDesiredAccess, DWORD dwShareMode,
+ LPSECURITY_ATTRIBUTES pSecAttrs, DWORD dwCreationDisposition,
+ DWORD dwFlagsAndAttributes, HANDLE hTemplateFile)
+{
+ /*
+ * If this is read-only access to the file, try cache it.
+ */
+ if (dwCreationDisposition == OPEN_EXISTING)
+ {
+ if ( dwDesiredAccess == GENERIC_READ
+ || dwDesiredAccess == FILE_GENERIC_READ)
+ {
+ if (dwShareMode & FILE_SHARE_READ)
+ {
+ if ( !pSecAttrs
+ || ( pSecAttrs->nLength == sizeof(*pSecAttrs)
+ && pSecAttrs->lpSecurityDescriptor == NULL ) )
+ {
+ HANDLE hFile = CreateFileW(pwszFilename, dwDesiredAccess, dwShareMode, pSecAttrs,
+ dwCreationDisposition, dwFlagsAndAttributes, hTemplateFile);
+ if (hFile != INVALID_HANDLE_VALUE && hFile != NULL)
+ {
+ MsiHackDebugF("CreateFileW: %ls\n", pwszFilename);
+ MsiHackFilePrepare(hFile);
+ }
+ return hFile;
+ }
+ }
+ }
+ }
+
+ /*
+ * Don't intercept it.
+ */
+ return CreateFileW(pwszFilename, dwDesiredAccess, dwShareMode, pSecAttrs,
+ dwCreationDisposition, dwFlagsAndAttributes, hTemplateFile);
+}
+
+
+/** Kernel32 - SetFilePointer */
+static DWORD WINAPI MsiHack_Kernel32_SetFilePointer(HANDLE hFile, LONG cbMove, PLONG pcbMoveHi, DWORD dwMoveMethod)
+{
+ /*
+ * If intercepted handle, deal with it.
+ */
+ PMSIHACKHANDLE pHandle = MsiHackHandleRetain(hFile);
+ if (pHandle)
+ {
+ if (MsiHackFileIsCached(pHandle, hFile))
+ {
+ int64_t offMove = pcbMoveHi ? ((int64_t)*pcbMoveHi << 32) | cbMove : cbMove;
+
+ EnterCriticalSection(&pHandle->CritSect);
+ switch (dwMoveMethod)
+ {
+ case FILE_BEGIN:
+ break;
+ case FILE_CURRENT:
+ offMove += pHandle->offFile;
+ break;
+ case FILE_END:
+ offMove += pHandle->cbFile;
+ break;
+ default:
+ LeaveCriticalSection(&pHandle->CritSect);
+ MsiHackHandleRelease(pHandle);
+
+ MsiHackErrorF("SetFilePointer(%p) - invalid method!\n", hFile);
+ SetLastError(ERROR_INVALID_PARAMETER);
+ return INVALID_SET_FILE_POINTER;
+ }
+
+ if (offMove >= 0)
+ {
+ /* Seeking beyond the end isn't useful, so just clamp it. */
+ if (offMove >= (int64_t)pHandle->cbFile)
+ offMove = (int64_t)pHandle->cbFile;
+ pHandle->offFile = (uint64_t)offMove;
+ }
+ else
+ {
+ LeaveCriticalSection(&pHandle->CritSect);
+ MsiHackHandleRelease(pHandle);
+
+ MsiHackErrorF("SetFilePointer(%p) - negative seek!\n", hFile);
+ SetLastError(ERROR_NEGATIVE_SEEK);
+ return INVALID_SET_FILE_POINTER;
+ }
+
+ LeaveCriticalSection(&pHandle->CritSect);
+ MsiHackHandleRelease(pHandle);
+
+ if (pcbMoveHi)
+ *pcbMoveHi = (uint64_t)offMove >> 32;
+ SetLastError(NO_ERROR);
+ return (uint32_t)offMove;
+ }
+ MsiHackHandleRelease(pHandle);
+ }
+
+ /*
+ * Not one of ours.
+ */
+ return SetFilePointer(hFile, cbMove, pcbMoveHi, dwMoveMethod);
+}
+
+
+/** Kernel32 - SetFilePointerEx */
+static BOOL WINAPI MsiHack_Kernel32_SetFilePointerEx(HANDLE hFile, LARGE_INTEGER offMove, PLARGE_INTEGER poffNew,
+ DWORD dwMoveMethod)
+{
+ /*
+ * If intercepted handle, deal with it.
+ */
+ PMSIHACKHANDLE pHandle = MsiHackHandleRetain(hFile);
+ if (pHandle)
+ {
+ if (MsiHackFileIsCached(pHandle, hFile))
+ {
+ int64_t offMyMove = offMove.QuadPart;
+
+ EnterCriticalSection(&pHandle->CritSect);
+ switch (dwMoveMethod)
+ {
+ case FILE_BEGIN:
+ break;
+ case FILE_CURRENT:
+ offMyMove += pHandle->offFile;
+ break;
+ case FILE_END:
+ offMyMove += pHandle->cbFile;
+ break;
+ default:
+ LeaveCriticalSection(&pHandle->CritSect);
+ MsiHackHandleRelease(pHandle);
+
+ MsiHackErrorF("SetFilePointerEx(%p) - invalid method!\n", hFile);
+ SetLastError(ERROR_INVALID_PARAMETER);
+ return INVALID_SET_FILE_POINTER;
+ }
+ if (offMyMove >= 0)
+ {
+ /* Seeking beyond the end isn't useful, so just clamp it. */
+ if (offMyMove >= (int64_t)pHandle->cbFile)
+ offMyMove = (int64_t)pHandle->cbFile;
+ pHandle->offFile = (uint64_t)offMyMove;
+ }
+ else
+ {
+ LeaveCriticalSection(&pHandle->CritSect);
+ MsiHackHandleRelease(pHandle);
+
+ MsiHackErrorF("SetFilePointerEx(%p) - negative seek!\n", hFile);
+ SetLastError(ERROR_NEGATIVE_SEEK);
+ return INVALID_SET_FILE_POINTER;
+ }
+
+ LeaveCriticalSection(&pHandle->CritSect);
+ MsiHackHandleRelease(pHandle);
+
+ if (poffNew)
+ poffNew->QuadPart = offMyMove;
+ return TRUE;
+ }
+ MsiHackHandleRelease(pHandle);
+ }
+
+ /*
+ * Not one of ours.
+ */
+ return SetFilePointerEx(hFile, offMove, poffNew, dwMoveMethod);
+}
+
+
+/** Kernel32 - ReadFile */
+static BOOL WINAPI MsiHack_Kernel32_ReadFile(HANDLE hFile, LPVOID pvBuffer, DWORD cbToRead, LPDWORD pcbActuallyRead,
+ LPOVERLAPPED pOverlapped)
+{
+ /*
+ * If intercepted handle, deal with it.
+ */
+ PMSIHACKHANDLE pHandle = MsiHackHandleRetain(hFile);
+ if (pHandle)
+ {
+ if (MsiHackFileIsCached(pHandle, hFile))
+ {
+ EnterCriticalSection(&pHandle->CritSect);
+ uint32_t cbActually = pHandle->cbFile - pHandle->offFile;
+ if (cbActually > cbToRead)
+ cbActually = cbToRead;
+
+ memcpy(pvBuffer, &pHandle->pbBuffer[pHandle->offFile], cbActually);
+ pHandle->offFile += cbActually;
+
+ LeaveCriticalSection(&pHandle->CritSect);
+ MsiHackHandleRelease(pHandle);
+
+ MSIHACK_ASSERT(!pOverlapped); MSIHACK_ASSERT(pcbActuallyRead);
+ *pcbActuallyRead = cbActually;
+
+ return TRUE;
+ }
+ MsiHackHandleRelease(pHandle);
+ }
+
+ /*
+ * Not one of ours.
+ */
+ return ReadFile(hFile, pvBuffer, cbToRead, pcbActuallyRead, pOverlapped);
+}
+
+
+/** Kernel32 - ReadFileEx */
+static BOOL WINAPI MsiHack_Kernel32_ReadFileEx(HANDLE hFile, LPVOID pvBuffer, DWORD cbToRead, LPOVERLAPPED pOverlapped,
+ LPOVERLAPPED_COMPLETION_ROUTINE pfnCompletionRoutine)
+{
+ /*
+ * If intercepted handle, deal with it.
+ */
+ PMSIHACKHANDLE pHandle = MsiHackHandleRetain(hFile);
+ if (pHandle)
+ {
+ MsiHackHandleRelease(pHandle);
+
+ MsiHackErrorF("Unexpected ReadFileEx call!\n");
+ SetLastError(ERROR_INVALID_FUNCTION);
+ return FALSE;
+ }
+
+ /*
+ * Not one of ours.
+ */
+ return ReadFileEx(hFile, pvBuffer, cbToRead, pOverlapped, pfnCompletionRoutine);
+}
+
+
+/** Kernel32 - DuplicateHandle */
+static BOOL WINAPI MsiHack_Kernel32_DuplicateHandle(HANDLE hSrcProc, HANDLE hSrc, HANDLE hDstProc, PHANDLE phNew,
+ DWORD dwDesiredAccess, BOOL fInheritHandle, DWORD dwOptions)
+{
+ /*
+ * We must catch our handles being duplicated.
+ */
+ if ( hSrcProc == GetCurrentProcess()
+ && hDstProc == hSrcProc)
+ {
+ PMSIHACKHANDLE pSrcHandle = MsiHackHandleRetain(hSrcProc);
+ if (pSrcHandle)
+ {
+ if (dwOptions & DUPLICATE_CLOSE_SOURCE)
+ MsiHackErrorF("DUPLICATE_CLOSE_SOURCE is not implemented!\n");
+ BOOL fRet = DuplicateHandle(hSrcProc, hSrc, hDstProc, phNew, dwDesiredAccess, fInheritHandle, dwOptions);
+ if (fRet)
+ {
+ if (MsiHackHandleEnter(pSrcHandle, *phNew))
+ return fRet; /* don't release reference. */
+
+ CloseHandle(*phNew);
+ *phNew = INVALID_HANDLE_VALUE;
+ SetLastError(ERROR_NOT_ENOUGH_MEMORY);
+ fRet = FALSE;
+ }
+ MsiHackHandleRelease(pSrcHandle);
+ return fRet;
+ }
+ }
+
+ /*
+ * Not one of ours.
+ */
+ return DuplicateHandle(hSrcProc, hSrc, hDstProc, phNew, dwDesiredAccess, fInheritHandle, dwOptions);
+}
+
+
+/** Kernel32 - CloseHandle */
+static BOOL WINAPI MsiHack_Kernel32_CloseHandle(HANDLE hObject)
+{
+ /*
+ * If intercepted handle, remove it from the table.
+ */
+ uintptr_t const idxHandle = MSI_HACK_HANDLE_TO_INDEX(hObject);
+ EnterCriticalSection(&g_CritSect);
+ if (idxHandle < g_cHandles)
+ {
+ PMSIHACKHANDLE pHandle = g_papHandles[idxHandle];
+ if (pHandle)
+ {
+ g_papHandles[idxHandle] = NULL;
+ LeaveCriticalSection(&g_CritSect);
+
+ /*
+ * Then close the handle.
+ */
+ EnterCriticalSection(&pHandle->CritSect);
+ BOOL fRet = CloseHandle(hObject);
+ pHandle->hHandle = INVALID_HANDLE_VALUE;
+ DWORD dwErr = GetLastError();
+ LeaveCriticalSection(&pHandle->CritSect);
+
+ /*
+ * And finally release the reference held by the handle table.
+ */
+ MsiHackHandleRelease(pHandle);
+ SetLastError(dwErr);
+ return fRet;
+ }
+ }
+
+ /*
+ * Not one of ours.
+ */
+ LeaveCriticalSection(&g_CritSect);
+ return CloseHandle(hObject);
+}
+
+
+
+
+/** Replacement functions. */
+static const MSIHACKREPLACEMENT g_aReplaceFunctions[] =
+{
+ { RT_STR_TUPLE("CreateFileA"), NULL, (uintptr_t)MsiHack_Kernel32_CreateFileA },
+ { RT_STR_TUPLE("CreateFileW"), NULL, (uintptr_t)MsiHack_Kernel32_CreateFileW },
+ { RT_STR_TUPLE("ReadFile"), NULL, (uintptr_t)MsiHack_Kernel32_ReadFile },
+ { RT_STR_TUPLE("ReadFileEx"), NULL, (uintptr_t)MsiHack_Kernel32_ReadFileEx },
+ { RT_STR_TUPLE("SetFilePointer"), NULL, (uintptr_t)MsiHack_Kernel32_SetFilePointer },
+ { RT_STR_TUPLE("SetFilePointerEx"), NULL, (uintptr_t)MsiHack_Kernel32_SetFilePointerEx },
+ { RT_STR_TUPLE("DuplicateHandle"), NULL, (uintptr_t)MsiHack_Kernel32_DuplicateHandle },
+ { RT_STR_TUPLE("CloseHandle"), NULL, (uintptr_t)MsiHack_Kernel32_CloseHandle },
+};
+
+
+
+/**
+ * Patches the import table of the given DLL.
+ *
+ * @returns true on success, false on failure.
+ * @param hmod .
+ */
+__declspec(dllexport) /* kBuild workaround */
+bool MsiHackPatchDll(HMODULE hmod)
+{
+ uint8_t const * const pbImage = (uint8_t const *)hmod;
+
+ /*
+ * Locate the import descriptors.
+ */
+ /* MZ header and PE headers. */
+ IMAGE_NT_HEADERS const *pNtHdrs;
+ IMAGE_DOS_HEADER const *pMzHdr = (IMAGE_DOS_HEADER const *)pbImage;
+ if (pMzHdr->e_magic == IMAGE_DOS_SIGNATURE)
+ pNtHdrs = (IMAGE_NT_HEADERS const *)&pbImage[pMzHdr->e_lfanew];
+ else
+ pNtHdrs = (IMAGE_NT_HEADERS const *)pbImage;
+
+ /* Check PE header. */
+ MSIHACK_ASSERT_RETURN(pNtHdrs->Signature == IMAGE_NT_SIGNATURE, false);
+ MSIHACK_ASSERT_RETURN(pNtHdrs->FileHeader.SizeOfOptionalHeader == sizeof(pNtHdrs->OptionalHeader), false);
+ uint32_t const cbImage = pNtHdrs->OptionalHeader.SizeOfImage;
+
+ /* Locate the import descriptor array. */
+ IMAGE_DATA_DIRECTORY const *pDirEnt;
+ pDirEnt = (IMAGE_DATA_DIRECTORY const *)&pNtHdrs->OptionalHeader.DataDirectory[IMAGE_DIRECTORY_ENTRY_IMPORT];
+ if ( pDirEnt->Size > 0
+ && pDirEnt->VirtualAddress != 0)
+ {
+ const IMAGE_IMPORT_DESCRIPTOR *pImpDesc = (const IMAGE_IMPORT_DESCRIPTOR *)&pbImage[pDirEnt->VirtualAddress];
+ uint32_t cLeft = pDirEnt->Size / sizeof(*pImpDesc);
+ MEMORY_BASIC_INFORMATION ProtInfo = { NULL, NULL, 0, 0, 0, 0, 0 };
+ uint8_t *pbProtRange = NULL;
+ SIZE_T cbProtRange = 0;
+ DWORD fOldProt = 0;
+ uint32_t const cbPage = 0x1000;
+ BOOL fRc;
+
+ MSIHACK_ASSERT_RETURN(pDirEnt->VirtualAddress < cbImage, false);
+ MSIHACK_ASSERT_RETURN(pDirEnt->Size < cbImage, false);
+ MSIHACK_ASSERT_RETURN(pDirEnt->VirtualAddress + pDirEnt->Size <= cbImage, false);
+
+ /*
+ * Walk the import descriptor array.
+ * Note! This only works if there's a backup thunk array, otherwise we cannot get at the name.
+ */
+ while ( cLeft-- > 0
+ && pImpDesc->Name > 0
+ && pImpDesc->FirstThunk > 0)
+ {
+ uint32_t iThunk;
+ const char * const pszImport = (const char *)&pbImage[pImpDesc->Name];
+ PIMAGE_THUNK_DATA paThunks = (PIMAGE_THUNK_DATA)&pbImage[pImpDesc->FirstThunk];
+ PIMAGE_THUNK_DATA paOrgThunks = (PIMAGE_THUNK_DATA)&pbImage[pImpDesc->OriginalFirstThunk];
+ MSIHACK_ASSERT_RETURN(pImpDesc->Name < cbImage, false);
+ MSIHACK_ASSERT_RETURN(pImpDesc->FirstThunk < cbImage, false);
+ MSIHACK_ASSERT_RETURN(pImpDesc->OriginalFirstThunk < cbImage, false);
+ MSIHACK_ASSERT_RETURN(pImpDesc->OriginalFirstThunk != pImpDesc->FirstThunk, false);
+ MSIHACK_ASSERT_RETURN(pImpDesc->OriginalFirstThunk, false);
+
+ /* Iterate the thunks. */
+ for (iThunk = 0; paOrgThunks[iThunk].u1.Ordinal != 0; iThunk++)
+ {
+ uintptr_t const off = paOrgThunks[iThunk].u1.Function;
+ MSIHACK_ASSERT_RETURN(off < cbImage, false);
+ if (!IMAGE_SNAP_BY_ORDINAL(off))
+ {
+ IMAGE_IMPORT_BY_NAME const *pName = (IMAGE_IMPORT_BY_NAME const *)&pbImage[off];
+ size_t const cchSymbol = strlen((const char *)&pName->Name[0]);
+ uint32_t i = RT_ELEMENTS(g_aReplaceFunctions);
+ while (i-- > 0)
+ if ( g_aReplaceFunctions[i].cchFunction == cchSymbol
+ && memcmp(g_aReplaceFunctions[i].pszFunction, pName->Name, cchSymbol) == 0)
+ {
+ if ( !g_aReplaceFunctions[i].pszModule
+ || stricmp(g_aReplaceFunctions[i].pszModule, pszImport) == 0)
+ {
+ MsiHackDebugF("Replacing %s!%s\n", pszImport, pName->Name);
+
+ /* The .rdata section is normally read-only, so we need to make it writable first. */
+ if ((uintptr_t)&paThunks[iThunk] - (uintptr_t)pbProtRange >= cbPage)
+ {
+ /* Restore previous .rdata page. */
+ if (fOldProt)
+ {
+ fRc = VirtualProtect(pbProtRange, cbProtRange, fOldProt, NULL /*pfOldProt*/);
+ MSIHACK_ASSERT(fRc);
+ fOldProt = 0;
+ }
+
+ /* Query attributes for the current .rdata page. */
+ pbProtRange = (uint8_t *)((uintptr_t)&paThunks[iThunk] & ~(uintptr_t)(cbPage - 1));
+ cbProtRange = VirtualQuery(pbProtRange, &ProtInfo, sizeof(ProtInfo));
+ MSIHACK_ASSERT(cbProtRange);
+ if (cbProtRange)
+ {
+ switch (ProtInfo.Protect)
+ {
+ case PAGE_READWRITE:
+ case PAGE_WRITECOPY:
+ case PAGE_EXECUTE_READWRITE:
+ case PAGE_EXECUTE_WRITECOPY:
+ /* Already writable, nothing to do. */
+ fRc = TRUE;
+ break;
+
+ default:
+ MSIHACK_ASSERT_MSG(false, ("%#x\n", ProtInfo.Protect));
+ case PAGE_READONLY:
+ cbProtRange = cbPage;
+ fRc = VirtualProtect(pbProtRange, cbProtRange, PAGE_READWRITE, &fOldProt);
+ break;
+
+ case PAGE_EXECUTE:
+ case PAGE_EXECUTE_READ:
+ cbProtRange = cbPage;
+ fRc = VirtualProtect(pbProtRange, cbProtRange, PAGE_EXECUTE_READWRITE, &fOldProt);
+ break;
+ }
+ MSIHACK_ASSERT_STMT(fRc, fOldProt = 0);
+ }
+ }
+
+ paThunks[iThunk].u1.AddressOfData = g_aReplaceFunctions[i].pfnReplacement;
+ break;
+ }
+ }
+ }
+ }
+
+
+ /* Next import descriptor. */
+ pImpDesc++;
+ }
+
+
+ if (fOldProt)
+ {
+ DWORD fIgnore = 0;
+ fRc = VirtualProtect(pbProtRange, cbProtRange, fOldProt, &fIgnore);
+ MSIHACK_ASSERT_MSG(fRc, ("%u\n", GetLastError())); NOREF(fRc);
+ }
+ return true;
+ }
+ MsiHackErrorF("No imports in target DLL!\n");
+ return false;
+}
+
+
+/**
+ * The Dll main entry point.
+ */
+BOOL __stdcall DllMain(HANDLE hModule, DWORD dwReason, PVOID pvReserved)
+{
+ RT_NOREF_PV(pvReserved);
+
+ switch (dwReason)
+ {
+ case DLL_PROCESS_ATTACH:
+ {
+ /*
+ * Make sure we cannot be unloaded. This saves us the bother of ever
+ * having to unpatch MSI.DLL
+ */
+ WCHAR wszName[MAX_PATH*2];
+ SetLastError(NO_ERROR);
+ if ( GetModuleFileNameW((HMODULE)hModule, wszName, RT_ELEMENTS(wszName)) > 0
+ && GetLastError() == NO_ERROR)
+ {
+ int cExtraLoads = 32;
+ while (cExtraLoads-- > 0)
+ LoadLibraryW(wszName);
+ }
+
+ /*
+ * Initialize globals.
+ */
+ InitializeCriticalSection(&g_CritSect);
+ g_papHandles = (PMSIHACKHANDLE *)calloc(sizeof(g_papHandles[0]), 8192);
+ if (g_papHandles)
+ g_cHandles = 8192;
+ else
+ {
+ MsiHackErrorF("Failed to allocate handle table!\n");
+ return FALSE;
+ }
+
+ /*
+ * Find MSI and patch it.
+ */
+ static struct
+ {
+ const wchar_t *pwszName; /**< Dll name. */
+ bool fSystem; /**< Set if system, clear if wix. */
+ } s_aDlls[] =
+ {
+ { L"MSI.DLL", true },
+ { L"CABINET.DLL", true },
+ { L"WINTEROP.DLL", false },
+ };
+
+ for (unsigned i = 0; i < RT_ELEMENTS(s_aDlls); i++)
+ {
+ HMODULE hmodTarget = GetModuleHandleW(s_aDlls[i].pwszName);
+ if (!hmodTarget)
+ {
+ UINT cwc;
+ if (s_aDlls[i].fSystem)
+ cwc = GetSystemDirectoryW(wszName, RT_ELEMENTS(wszName) - 16);
+ else
+ {
+ cwc = GetModuleFileNameW(GetModuleHandleW(NULL), wszName, RT_ELEMENTS(wszName) - 16);
+ while (cwc > 0 && (wszName[cwc - 1] != '\\' && wszName[cwc - 1] != '/'))
+ wszName[--cwc] = '\0';
+ }
+ wszName[cwc++] = '\\';
+ wcscpy(&wszName[cwc], s_aDlls[i].pwszName);
+ hmodTarget = LoadLibraryW(wszName);
+ if (!hmodTarget)
+ {
+ MsiHackErrorF("%ls could not be found nor loaded (%ls): %u\n", &wszName[cwc], wszName, GetLastError());
+ return FALSE;
+ }
+ }
+
+ if (MsiHackPatchDll(hmodTarget))
+ MsiHackDebugF("MsiHackPatchDll returned successfully for %ls.\n", s_aDlls[i].pwszName);
+ else
+ MsiHackErrorF("MsiHackPatchDll failed for %ls!\n", s_aDlls[i].pwszName);
+ }
+ break;
+ }
+
+ case DLL_PROCESS_DETACH:
+ case DLL_THREAD_ATTACH:
+ case DLL_THREAD_DETACH:
+ default:
+ /* ignore */
+ break;
+ }
+ return TRUE;
+}
+
diff --git a/src/VBox/Installer/win/MsiHack/MsiHackExtension.cs b/src/VBox/Installer/win/MsiHack/MsiHackExtension.cs
new file mode 100644
index 00000000..8c2ef3a0
--- /dev/null
+++ b/src/VBox/Installer/win/MsiHack/MsiHackExtension.cs
@@ -0,0 +1,84 @@
+/* $Id: MsiHackExtension.cs $ */
+/** @file
+ * MsiHackExtension - Wix Extension that loads MsiHack.dll
+ */
+
+/*
+ * Copyright (C) 2016-2023 Oracle and/or its affiliates.
+ *
+ * This file is part of VirtualBox base platform packages, as
+ * available from https://www.virtualbox.org.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation, in version 3 of the
+ * License.
+ *
+ * This program is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, see <https://www.gnu.org/licenses>.
+ *
+ * SPDX-License-Identifier: GPL-3.0-only
+ */
+
+
+using Microsoft.Tools.WindowsInstallerXml;
+using System; /* For Console. */
+using System.Reflection; /* For Assembly*(). */
+using System.Runtime.InteropServices; /* For DllImport. */
+using System.IO; /* For Path. */
+
+
+
+[assembly: AssemblyTitle("org.virtualbox.wix.msi.speed.hack")]
+[assembly: AssemblyDescription("Speeding up MSI.DLL")]
+[assembly: AssemblyConfiguration("")]
+[assembly: AssemblyCompany("Oracle Corporation")]
+[assembly: AssemblyProduct("org.virtualbox.wix.msi.speed.hack")]
+[assembly: AssemblyCopyright("Copyright (C) 2016")]
+[assembly: AssemblyTrademark("")]
+[assembly: AssemblyCulture("")]
+[assembly: AssemblyDefaultWixExtension(typeof(MsiHackExtension))]
+
+
+static class NativeMethods
+{
+ [DllImport("kernel32.dll", CharSet = CharSet.Auto, SetLastError = true)]
+ public static extern IntPtr LoadLibrary(string strPath);
+}
+
+
+public class MsiHackExtension : WixExtension
+{
+ public MsiHackExtension()
+ {
+ /* Figure out where we are. */
+ string strCodeBase = Assembly.GetExecutingAssembly().CodeBase;
+ //Console.WriteLine("MsiHackExtension: strCodeBase={0}", strCodeBase);
+
+ UriBuilder uri = new UriBuilder(strCodeBase);
+ string strPath = Uri.UnescapeDataString(uri.Path);
+ //Console.WriteLine("MsiHackExtension: strPath={0}", strPath);
+
+ string strDir = Path.GetDirectoryName(strPath);
+ //Console.WriteLine("MsiHackExtension: strDir={0}", strDir);
+
+ string strHackDll = strDir + "\\MsiHack.dll";
+ //Console.WriteLine("strHackDll={0}", strHackDll);
+
+ try
+ {
+ IntPtr hHackDll = NativeMethods.LoadLibrary(strHackDll);
+ Console.WriteLine("MsiHackExtension: Loaded {0} at {1}!", strHackDll, hHackDll.ToString("X"));
+ }
+ catch (Exception Xcpt)
+ {
+ Console.WriteLine("MsiHackExtension: Exception loading {0}: {1}", strHackDll, Xcpt);
+ }
+ }
+}
+
diff --git a/src/VBox/Installer/win/NLS/de_DE.wxl b/src/VBox/Installer/win/NLS/de_DE.wxl
new file mode 100644
index 00000000..dcd4d3e1
--- /dev/null
+++ b/src/VBox/Installer/win/NLS/de_DE.wxl
@@ -0,0 +1,619 @@
+<?xml version="1.0" encoding="utf-8"?>
+
+<!--
+ Language Definition Include for VirtualBox WiX script.
+-->
+<!--
+ Copyright (C) 2011-2023 Oracle and/or its affiliates.
+
+ This file is part of VirtualBox base platform packages, as
+ available from https://www.virtualbox.org.
+
+ This program is free software; you can redistribute it and/or
+ modify it under the terms of the GNU General Public License
+ as published by the Free Software Foundation, in version 3 of the
+ License.
+
+ This program is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, see <https://www.gnu.org/licenses>.
+
+ SPDX-License-Identifier: GPL-3.0-only
+-->
+
+<WixLocalization xmlns="http://schemas.microsoft.com/wix/2006/localization" Codepage="1252" Culture="de_DE">
+ <String Id="LANG">1033</String>
+ <String Id="LangName">Deutsch</String>
+
+ <String Id="ButtonText_No">&amp;Nein</String>
+ <String Id="ButtonText_Yes">&amp;Ja</String>
+ <String Id="ButtonText_Cancel">A&amp;bbrechen</String>
+ <String Id="ButtonText_Next">&amp;Weiter&gt;</String>
+ <String Id="ButtonText_Back">&lt; &amp;Zurück</String>
+ <String Id="ButtonText_Browse">Durch&amp;suchen</String>
+ <String Id="ButtonText_OK">O&amp;K</String>
+ <String Id="ButtonText_Check">Ü&amp;berprüfen</String>
+ <String Id="ButtonText_Install">&amp;Installieren</String>
+ <String Id="ButtonText_Remove">&amp;Entfernen</String>
+ <String Id="ButtonText_Finish">&amp;Fertig stellen</String>
+ <String Id="ButtonText_Repair">&amp;Reparieren</String>
+ <String Id="ButtonText_Return">&amp;Zurück</String>
+ <String Id="ButtonText_Retry">&amp;Wiederholen</String>
+ <String Id="ButtonText_Ignore">I&amp;gnorieren</String>
+ <String Id="ButtonText_Exit">B&amp;eenden</String>
+
+ <String Id="InstallModeCustom">Angepasst</String>
+ <String Id="Setup">Setup</String>
+
+ <!---->
+
+ <String Id="StartMenu_License">Lizenz</String>
+ <String Id="StartMenu_UserManual">Benutzerhandbuch</String>
+
+ <!---->
+
+ <String Id="VB_App">[ProductName] Hauptanwendung.</String>
+ <String Id="VB_USBDriver">[ProductName] Treiber für USB Geräte-Unterstützung.</String>
+ <String Id="VB_Network">[ProductName] Treiber für Netzwerk-Unterstützung.</String>
+ <String Id="VB_NetFltDriver">[ProductName] Treiber für Netzwerkbrücke.</String>
+ <String Id="VB_NetAdpDriver">[ProductName] Treiber für virtuellen Netzwerk-Adapter für Host-only Netzwerke.</String>
+ <String Id="VB_NetLwfDriver">[ProductName] Treiber für NDIS6-Netzwerkbrücke.</String>
+ <String Id="VB_NetAdp6Driver">[ProductName] Treiber für virtuellen Netzwerk-Adapter für NDIS6-Host-only-Netzwerke.</String>
+
+ <String Id="VB_Python">Python-Support für VirtualBox.</String>
+
+ <!---->
+
+ <String Id="NeedAdmin">Sie benötigen Administrations-Rechte zum (De-)Installieren von [ProductName]! Das Setup wird nun beendet.</String>
+ <String Id="NeedMSCRT">Für [ProductName] muss zuerst das Microsoft Visual C++ 2019 Redistributable Package installiert werden. Bitte installieren und danach die Installation von [ProductName] wiederholen.</String>
+ <String Id="WrongOS">[ProductName] läuft nur auf Windows XP oder höher!</String>
+ <String Id="Only32Bit">Diese Applikation läuft nur auf 32-bit Windows-Systemen. Bitte installieren Sie die 64-bit Version von [ProductName]!</String>
+ <String Id="Only64Bit">Diese Applikation läuft nur auf 64-bit Windows-Systemen. Bitte installieren Sie die 32-bit Version von [ProductName]!</String>
+ <String Id="SunFound">Eine alte Sun Version von VirtualBox wurde auf diesem Computer gefunden. Bitte deinstallieren Sie diese Version zuerst. Danach können Sie [ProductName] installieren!</String>
+ <String Id="InnotekFound">Eine alte innotek Version von VirtualBox wurde auf diesem Computer gefunden. Bitte deinstallieren Sie diese Version zuerst. Danach können Sie [ProductName] installieren!</String>
+
+ <!---->
+
+ <String Id="CancelDlg_Question">Sind Sie sicher, dass Sie die Installation von [ProductName] abbrechen möchten?</String>
+
+ <!---->
+
+ <String Id="WelcomeDlg_Header">Willkommen beim Setup-Assistenten von [ProductName]</String>
+ <String Id="WelcomeDlg_Body">Der Setup-Assistent installiert [ProductName] auf Ihrem Computer. Klicken Sie auf "Weiter", um den Vorgang fortzusetzen, oder klicken Sie auf "Abbrechen", um den Setup-Assistenten zu beenden.</String>
+
+ <!---->
+
+ <String Id="LicenseAgreementDlg_Header">Endbenutzer-Lizenzvertrag</String>
+ <String Id="LicenseAgreementDlg_Body">Bitte lesen Sie den folgenden Lizenzvertrag sorgfältig durch.</String>
+ <String Id="LicenseAgreementDlg_Accept">Ich &amp;akzeptiere die Bedingungen des Lizenzvertrags.</String>
+ <String Id="LicenseAgreementDlg_Decline">Ich &amp;akzeptiere die Bedingungen des Lizenzvertrags nicht.</String>
+
+ <!---->
+
+ <String Id="CheckSerialDlg_Header">Seriennummer</String>
+ <String Id="CheckSerialDlg_Body">Bitte geben Sie die Seriennummer in die unten stehenden Felder ein. Sie finden die Nummer auf dem Aufkleber in der VirtualBox CD-Hülle.</String>
+ <String Id="CheckSerialDlg_Footer">Wenn Sie fertig mit der Eingabe sind, drücken Sie bitte den "Überprüfen"-Knopf unten.</String>
+
+ <!---->
+
+ <String Id="WrongSerialDlg_Header">Eingegebene Seriennummer ist ungültig!</String>
+ <String Id="WrongSerialDlg_Desc1">Bitte geben Sie Ihre Seriennummer erneut auf der vorherigen Seite ein.</String>
+ <String Id="WrongSerialDlg_Desc2">Beachten Sie, dass die Seriennummer exakt so geschrieben sein muss wie sie auf dem Aufkleber erscheint.</String>
+
+ <!---->
+
+ <String Id="WarnSaveStatesDlg_Header">Warnung:</String>
+ <String Id="WarnSaveStatesDlg_Header2">Inkompatible Saved States!</String>
+ <String Id="WarnSaveStatesDlg_Desc">Wenn Sie jetzt [ProductName] updaten, werden alle gesicherten Zustände bereits existierender virtueller Maschinen nicht mehr funktionieren! Nach der Installation müssen Sie die gesicherten Zustände manuell verwerfen.</String>
+ <String Id="WarnSaveStatesDlg_Proceed">Jetzt mit der Installation weitermachen?</String>
+
+ <!---->
+
+ <String Id="WarnTAPDevicesDlg_Header">Hostinterfaces</String>
+ <String Id="WarnTAPDevicesDlg_Desc">Wenn Sie bei bereits existierenden virtuellen Maschinen sogenannte Hostinterfaces verwenden, müssen Sie diese nach der Installation noch einmal neu erstellen.</String>
+
+ <!---->
+
+ <String Id="CustomizeDlg_Location">Ort:</String>
+ <String Id="CustomizeDlg_DiskUsage">Speicherplatz</String>
+ <String Id="CustomizeDlg_SelFeatures">Wählen Sie die Installationsart der Features aus.</String>
+ <String Id="CustomizeDlg_IconTree">Klicken Sie in der unten angezeigten Struktur auf die Symbole, um die Installationsart der Features zu ändern.</String>
+ <String Id="CustomizeDlg_CustomSetup">Benutzerdefiniertes Setup</String>
+ <String Id="CustomizeDlg_SelItemDesc">CustomizeDlgItemDescription-CustomizeDlgItemDescription</String>
+ <String Id="CustomizeDlg_SelItemSize">CustomizeDlgItemSize-CustomizeDlgItemSize</String>
+ <String Id="CustomizeDlg_SelItemPath">CustomizeDlgLocation-CustomizeDlgLocation</String>
+
+ <!---->
+
+ <String Id="Customize2Dlg_Header">Anpassen</String>
+ <String Id="Customize2Dlg_Desc">Bitte unten die gewünschten Optionen auswählen:</String>
+ <String Id="Customize2Dlg_CreateStartMenuEntries">Startmenü-Einträge anlegen</String>
+ <String Id="Customize2Dlg_CreateDesktopShortcut">Verknüpfung auf dem Desktop anlegen</String>
+ <String Id="Customize2Dlg_CreateQuickLaunch">Verknüpfung in der Schnellstartleiste anlegen</String>
+ <String Id="Customize2Dlg_RegisterFileExtensions">Dateizuordnungen registrieren</String>
+
+ <!---->
+
+ <String Id="SelectionNetworkTypeDlg_CommonDescription">Bitte den zu verwendenden Netzwerktreiber auswählen:</String>
+ <String Id="SelectionNetworkTypeDlg_DescriptionNDIS5">NDIS5 Netzwerktreiber.
+Standard für ältere Windows-Versionen (vor Vista).</String>
+ <String Id="SelectionNetworkTypeDlg_DescriptionNDIS6">NDIS6 Netzwerktreiber.
+Standard für neuere Windows-Versionen (Vista und neuer).</String>
+ <String Id="SelectionNetworkTypeDlg_RadioButtonNDIS5">NDIS5 Netzwerktreiber.</String>
+ <String Id="SelectionNetworkTypeDlg_RadioButtonNDIS6">NDIS6 Netzwerktreiber.</String>
+
+ <!---->
+
+ <String Id="WarnDisconNetIfacesDlg_Title">Warnung:</String>
+ <String Id="WarnDisconNetIfacesDlg_Title2">Netzwerkschnittstellen</String>
+ <String Id="WarnDisconNetIfacesDlg_Desc">Beim Installieren des [ProductName] Netzwerk-Features wird die Netzwerkverbindung unterbrochen und der Computer somit temporär vom Netzwerk getrennt.</String>
+ <String Id="WarnDisconNetIfacesDlg_Question">Jetzt mit der Installation fortfahren?</String>
+
+ <!---->
+
+ <String Id="WarnPythonDlg_Title">Fehlende Abhängigkeiten</String>
+ <String Id="WarnPythonDlg_Title2">Python Core / win32api</String>
+ <String Id="WarnPythonDlg_Desc">Um die [ProductName] Python-Unterstützung zu installieren, werden Python Core als auch das win32api-Paket benötigt.</String>
+ <String Id="WarnPythonDlg_Desc2">Wenn nun mit der Installation der [ProductName] Python-Unterstützung fortgefahren wird, muss diese später manuell eingerichtet werden. Bitte dazu im SDK-Handbuch für mehr Informationen nachschlagen.</String>
+ <String Id="WarnPythonDlg_Question">Jetzt mit der Installation fortfahren?</String>
+
+ <!---->
+
+ <String Id="DiskCostDlg_SpaceRequired">Der erforderliche Speicherplatz für die Installation der ausgewählten Features.</String>
+ <String Id="DiskCostDlg_NotEnoughSpace">Die markierten Datenträger verfügen nicht über genügend Speicherplatz für die ausgewählten Features. Sie können entweder einige Dateien von den markierten Datenträgern entfernen, weniger Features installieren oder einen anderen Zieldatenträger auswählen.</String>
+ <String Id="DiskCostDlg_SpaceRequirements">Erforderlicher Speicherplatz</String>
+ <String Id="DiskCostDlg_VolumeList">{120}{70}{70}{70}{70}</String>
+
+ <!---->
+
+ <String Id="BrowseDlg_BrowseDestFolder">Zum Zielordner wechseln</String>
+ <String Id="BrowseDlg_ChangeCurFolder">Zielordner ändern</String>
+ <String Id="BrowseDlg_UpOneLevelTooltip">Eine Verzeichnisebene nach oben</String>
+ <String Id="BrowseDlg_CreateNewFolderTooltip">Einen neuen Ordner erstellen</String>
+ <String Id="BrowseDlg_LookIn">&amp;Suchen in:</String>
+ <String Id="BrowseDlg_FolderName">&amp;Ordnername:</String>
+
+ <!---->
+
+ <String Id="VerifyReadyDlg_ReadyToBegin">Der Assistent ist nun bereit die Installationsart "[InstallMode]" zu installieren.</String>
+ <String Id="VerifyReadyDlg_ClickInstall">Klicken Sie auf "Installieren", um mit der Installation zu beginnen. Klicken Sie auf "Zurück", um die Installationseinstellungen zu überprüfen oder zu ändern.</String>
+ <String Id="VerifyReadyDlg_ReadyToInstall">Bereit zum Installieren</String>
+
+ <!---->
+
+ <String Id="ExitDlg_ClickFinish">Klicken Sie auf die Schaltfläche "Fertig stellen", um den Setup-Assistenten fertig zu stellen.</String>
+ <String Id="ExitDlg_InstComplete">Der Setup-Assistent von [ProductName] wurde fertig gestellt.</String>
+ <String Id="ExitDlg_StartVBox">[ProductName] nach der Installation starten</String>
+
+ <!---->
+
+ <String Id="FatalErrorDlg_Header">Der Setup-Assistent von [ProductName] wurde vorzeitig abgebrochen</String>
+ <String Id="FatalErrorDlg_Desc">Der Setup-Assistent von [ProductName] wurde aufgrund eines Fehlers vorzeitig abgebrochen. Es wurden keine Änderungen an Ihrem System vorgenommen. Um dieses Programm zu einem späteren Zeitpunkt zu installieren, führen Sie den Setup-Assistenten erneut aus.</String>
+ <String Id="FatalErrorDlg_Footer">Klicken Sie auf die Schaltfläche "Fertig stellen", um den Setup-Assistenten fertig zu stellen.</String>
+
+ <!---->
+
+ <String Id="FilesInUse_Text">Die folgenden Anwendungen verwenden Dateien, die während des Setups aktualisiert werden müssen. Schließen Sie diese Anwendungen, und klicken Sie anschließend auf "Wiederholen", um die Installation fortzusetzen, oder auf "Beenden", um die Installation zu beenden.</String>
+ <String Id="FilesInUse_Description">Einige der zu aktualisierenden Dateien werden gerade verwendet.</String>
+ <String Id="FilesInUse_Title">Verwendete Dateien</String>
+
+ <!---->
+
+ <String Id="UserExitDlg_Header">Der Setup-Assistent von [ProductName] wurde unterbrochen</String>
+ <String Id="UserExitDlg_Desc">Das Setup von [ProductName] wurde unterbrochen. Es wurden keine Änderungen an Ihrem System vorgenommen. Um dieses Programm zu einem späteren Zeitpunkt zu installieren, führen Sie die Installation erneut aus.</String>
+ <String Id="UserExitDlg_Footer">Klicken Sie auf die Schaltfläche "Fertig stellen", um den Setup-Assistenten zu beenden.</String>
+
+ <!---->
+
+ <String Id="ProgressDlg_PleaseWait">Warten Sie, während [ProductName] durch den Setup-Assistenten installiert wird. Dies kann einige Zeit in Anspruch nehmen.</String>
+
+ <!---->
+
+ <String Id="ResumeDlg_Header">Der Setup-Assistent von [ProductName] wird fortgesetzt</String>
+ <String Id="ResumeDlg_Desc">Der Setup-Assistent schließt die Installation von [ProductName] auf Ihrem Computer ab. Klicken Sie auf "Installieren", um den Vorgang fortzusetzen, oder klicken Sie auf "Abbrechen", um den Setup-Assistenten zu beenden.</String>
+
+ <!---->
+
+ <String Id="MaintenanceTypeDlg_Header">Ändern, Reparieren oder Entfernen der Installation</String>
+ <String Id="MaintenanceTypeDlg_SelOption">Wählen Sie den durchzuführenden Vorgang.</String>
+ <String Id="MaintenanceTypeDlg_Repair">R&amp;eparieren</String>
+ <String Id="MaintenanceTypeDlg_RepairText">Repariert Fehler in der aktuellen Installation durch Reparieren von fehlenden und beschädigten Dateien, Verknüpfungen und Registrierungseinträgen.</String>
+ <String Id="MaintenanceTypeDlg_RepairTooltip">Installation reparieren</String>
+ <String Id="MaintenanceTypeDlg_RepairProgress1">Repariere</String>
+ <String Id="MaintenanceTypeDlg_RepairProgress2">repariert</String>
+ <String Id="MaintenanceTypeDlg_Remove">En&amp;tfernen</String>
+ <String Id="MaintenanceTypeDlg_RemoveText">Entfernt [ProductName] vom Computer.</String>
+ <String Id="MaintenanceTypeDlg_RemoveTooltip">Installation entfernen</String>
+ <String Id="MaintenanceTypeDlg_RemoveProgress1">Entferne</String>
+ <String Id="MaintenanceTypeDlg_RemoveProgress2">entfernt</String>
+
+ <!---->
+
+ <String Id="MaintenanceWelcomeDlg_Header">Willkommen beim Setup-Assistenten von [ProductName]</String>
+ <String Id="MaintenanceWelcomeDlg_Desc">Der Setup-Assistent ermöglicht Ihnen, die Installationsart der auf Ihrem Computer installierten Features von [ProductName] zu ändern oder diese von Ihrem Computer zu entfernen. Klicken Sie auf "Weiter", um den Vorgang fortzusetzen, oder klicken Sie auf "Abbrechen", um den Setup-Assistenten zu beenden.</String>
+
+ <!---->
+
+ <String Id="OutOfDiskDlg_InstallationExceeds">Für die Installation ist nicht genügend Speicherplatz verfügbar.</String>
+ <String Id="OutOfDiskDlg_NotEnoughDiskSpace">Die markierten Datenträger verfügen nicht über genügend Speicherplatz für die ausgewählten Features. Sie können entweder einige Dateien von den markierten Datenträgern entfernen, weniger Features installieren oder einen anderen Zieldatenträger auswählen.</String>
+ <String Id="OutOfDiskDlg_OutOfDiskSpace">Nicht genügend freier Speicherplatz auf dem Datenträger</String>
+
+ <!---->
+
+ <String Id="OutOfRbDiskDlg_InstallationExceeds">Für die Installation ist nicht genügend Speicherplatz verfügbar.</String>
+ <String Id="OutOfRbDiskDlg_NotEnoughDiskSpace">Die markierten Datenträger verfügen nicht über genügend Speicherplatz für die momentan ausgewählten Features.</String>
+ <String Id="OutOfRbDiskDlg_OutOfDiskSpace">Nicht genügend freier Speicherplatz auf dem Datenträger</String>
+ <String Id="OutOfRbDiskDlg_Desc">Sie können entweder einige Dateien von den ausgewählten Volumes entfernen, weniger Features installieren oder einen anderen Zieldatenträger auswählen.</String>
+
+ <!---->
+
+ <String Id="VerifyRemoveDlg_Header">[ProductName] entfernen</String>
+ <String Id="VerifyRemoveDlg_Desc">Sie haben sich entschieden, [ProductName] von Ihrem Computer zu entfernen.</String>
+ <String Id="VerifyRemoveDlg_ClickRemove">Klicken Sie nun auf "Entfernen" um [ProductName] von Ihrem Computer zu entfernen. Wenn Sie die Installations-Einstellungen sehen oder verändern möchten, klicken Sie auf "Zurück". Klicken Sie auf "Beenden" um den Setup-Assistenten zu beenden.</String>
+
+ <!---->
+
+ <String Id="VerifyRepairDlg_Header">[ProductName] reparieren</String>
+ <String Id="VerifyRepairDlg_ReadyToBegin">Der Setup-Assistent ist nun bereit für die Reparatur von [ProductName].</String>
+ <String Id="VerifyRepairDlg_ClickRepair">Klicken Sie nun auf "Reparieren" um [ProductName] zu reparieren. Wenn Sie die Installations-Einstellungen sehen oder verändern möchten, klicken Sie auf "Zurück". Klicken Sie auf "Beenden" um den Setup-Assistenten zu beenden.</String>
+
+ <!---->
+
+ <String Id="WaitForCostingDlg_PleaseWait">Bitte warten Sie, während der Setup-Assistent die Speicherplatz-Anforderungen ermittelt.</String>
+
+ <!---->
+
+ <String Id="MsiRMFilesInUse_Text">Die folgenden Anwendungen verwenden Dateien, die aktualisiert werden müssen. Der Setup-Assistent kann diese Anwendungen schließen und erneut starten oder zu einem späteren Zeitpunkt einen Neustart des Computers durchführen.</String>
+ <String Id="MsiRMFilesInUse_Description">Einige der zu aktualisierenden Dateien werden gerade verwendet.</String>
+ <String Id="MsiRMFilesInUse_Title">Verwendete Dateien</String>
+ <String Id="MsiRMFilesInUse_UseRM">An&amp;wendungen schließen und erneut starten</String>
+ <String Id="MsiRMFilesInUse_DontUseRM">Anwen&amp;dungen nicht schließen; ein Neustart ist erforderlich</String>
+
+ <!-- The following strings are internally used by WiX and MSI -->
+ <String Id="Error0">{{Schwerwiegender Fehler: }}</String>
+ <String Id="Error1">{{Fehler [1]. }}</String>
+ <String Id="Error2">Warnung [1]. </String>
+ <String Id="Error4">Information [1]. </String>
+ <String Id="Error5">Bei der Installation dieses Pakets ist ein unerwarteter Fehler aufgetreten. Es liegt eventuell ein das Paket betreffendes Problem vor. Der Fehlercode ist [1]. {{Argumente: [2], [3], [4]}}</String>
+ <String Id="Error7">{{Datenträger voll: }}</String>
+ <String Id="Error8">Aktion [Time]: [1]. [2]</String>
+ <String Id="Error9">[ProductName]</String>
+ <String Id="Error10">{[2]}{, [3]}{, [4]}</String>
+ <String Id="Error11">Meldungstyp: [1], Argument: [2]</String>
+ <String Id="Error12">=== Protokollierung gestartet: [Date] [Time] ===</String>
+ <String Id="Error13">=== Protokollierung beendet: [Date] [Time] ===</String>
+ <String Id="Error14">Aktion gestartet um [Time]: [1].</String>
+ <String Id="Error15">Aktion beendet um [Time]: [1]. Rückgabewert [2].</String>
+ <String Id="Error16">Restdauer: {[1] Minute(n) }{[2] Sekunde(n)}</String>
+ <String Id="Error17">Nicht genügend Arbeitsspeicher. Beenden Sie andere Anwendungen, und wiederholen Sie den Vorgang.</String>
+ <String Id="Error18">Installer reagiert nicht.</String>
+ <String Id="Error19">Installer wurde vorzeitig abgebrochen.</String>
+ <String Id="Error20">Bitte warten Sie, während [ProductName] konfiguriert wird.</String>
+ <String Id="Error21">Erforderliche Daten werden ermittelt...</String>
+ <String Id="Error22">Ältere Versionen dieser Anwendung werden entfernt...</String>
+ <String Id="Error23">Das Entfernen älterer Versionen der Anwendung wird vorbereitet...</String>
+ <String Id="Error32">Das Setup für {[ProductName]} wurde erfolgreich abgeschlossen.</String>
+ <String Id="Error33">Das Setup für {[ProductName]} ist fehlgeschlagen.</String>
+ <String Id="Error1101">Fehler beim Lesen der Datei: [3]. {{ Systemfehler [2].}} Stellen Sie sicher, dass die Datei vorhanden ist, und Sie darauf zugreifen können.</String>
+ <String Id="Error1301">Datei "[2]" kann nicht erstellt werden. Ein Verzeichnis mit dem gleichen Namen ist bereits vorhanden. Brechen Sie die Installation ab, und wählen Sie einen anderen Speicherort für die Installation aus.</String>
+ <String Id="Error1302">Legen Sie den Datenträger ein: [2]</String>
+ <String Id="Error1303">Der Installer besitzt keine ausreichenden Rechte, um auf dieses Verzeichnis zuzugreifen: [2]. Die Installation kann nicht fortgesetzt werden. Melden Sie sich als Administrator an, oder wenden Sie sich an Ihren Systemadministrator.</String>
+ <String Id="Error1304">Fehler beim Schreiben in Datei: [2]. Überprüfen Sie, ob Sie Zugriff auf dieses Verzeichnis haben.</String>
+ <String Id="Error1305">Fehler beim Lesen der Datei: [3]. {{ Systemfehler [2].}} Stellen Sie sicher, dass die Datei vorhanden ist und Sie darauf zugreifen können.</String>
+ <String Id="Error1306">Eine andere Anwendung hat exklusiven Zugriff auf die Datei "[2]". Schließen Sie alle anderen Anwendungen, und klicken Sie auf "Wiederholen".</String>
+ <String Id="Error1307">Für die Installation dieser Datei ist nicht genügend Speicherplatz vorhanden: [2]. Geben Sie Speicherplatz frei, und klicken Sie auf "Wiederholen", oder klicken Sie auf "Abbrechen", um den Vorgang zu beenden.</String>
+ <String Id="Error1308">Quelldatei nicht gefunden: [2]. Überprüfen Sie, ob die Datei vorhanden ist und Sie Zugriff darauf haben.</String>
+ <String Id="Error1309">Fehler beim Lesen der Datei: [3]. {{ Systemfehler [2].}} Stellen Sie sicher, dass die Datei vorhanden ist und Sie darauf zugreifen können.</String>
+ <String Id="Error1310">Fehler beim Schreiben in die Datei: [3]. {{ Systemfehler [2].}} Stellen Sie sicher, dass Sie auf das Verzeichnis zugreifen können.</String>
+ <String Id="Error1311">Quelldatei nicht gefunden{{(CAB-Datei)}}: [2]. Überprüfen Sie, ob die Datei vorhanden ist und Sie Zugriff darauf haben.</String>
+ <String Id="Error1312">Das Verzeichnis "[2]" kann nicht erstellt werden. Eine Datei mit diesem Namen ist bereits vorhanden. Benennen Sie die Datei um, oder löschen Sie diese. Klicken Sie anschließend auf "Wiederholen", oder klicken Sie auf "Abbrechen", um den Vorgang zu beenden.</String>
+ <String Id="Error1313">Das Volume [2] ist momentan nicht verfügbar. Wählen Sie ein anderes Volume aus.</String>
+ <String Id="Error1314">Der angegebene Pfad [2] ist nicht verfügbar.</String>
+ <String Id="Error1315">In den angegebenen Ordner konnte nicht geschrieben werden: [2].</String>
+ <String Id="Error1316">Beim Lesen der Datei [2] ist ein Netzwerkfehler aufgetreten</String>
+ <String Id="Error1317">Beim Erstellen des Verzeichnisses [2] ist ein Fehler aufgetreten</String>
+ <String Id="Error1318">Beim Erstellen des Verzeichnisses [2] ist ein Netzwerkfehler aufgetreten</String>
+ <String Id="Error1319">Beim Öffnen der CAB-Quelldatei [2] ist ein Fehler aufgetreten.</String>
+ <String Id="Error1320">Der angegebene Pfad ist zu lang: [2]</String>
+ <String Id="Error1321">Der Installer besitzt keine ausreichenden Berechtigungen, um diese Datei zu ändern: [2].</String>
+ <String Id="Error1322">Ein Teil des Ordnerpfads "[2]" ist ungültig. Der Name des Pfads ist entweder leer oder überschreitet die vom System zugelassene Länge.</String>
+ <String Id="Error1323">Der Pfad [2] enthält ungültige Zeichenfolgen.</String>
+ <String Id="Error1324">Der Pfad [2] enthält ein ungültiges Zeichen.</String>
+ <String Id="Error1325">[2] ist kein gültiger kurzer Dateiname.</String>
+ <String Id="Error1326">Fehler beim Ermitteln der Dateisicherheit: [3] GetLastError: [2]</String>
+ <String Id="Error1327">Ungültiges Laufwerk: [2]</String>
+ <String Id="Error1328">Fehler beim Anwenden eines Patches auf die Datei [2]. Die Datei wurde wahrscheinlich bereits anderweitig aktualisiert und kann durch diesen Patch nicht modifiziert werden. Wenden Sie sich an den Hersteller des Patches, um weitere Informationen zu erhalten. {{Systemfehler: [3]}}</String>
+ <String Id="Error1329">Eine erforderliche Datei kann nicht installiert werden, da die CAB-Datei [2] nicht digital signiert ist. Möglicherweise ist die CAB-Datei beschädigt.</String>
+ <String Id="Error1330">Eine erforderliche Datei kann nicht installiert werden, da die CAB-Datei [2] eine ungültige digitale Signatur besitzt. Möglicherweise ist die CAB-Datei beschädigt.{{ Fehler [3] wurde von WinVerifyTrust zurückgegeben.}}</String>
+ <String Id="Error1331">Die Datei [2] konnte nicht kopiert werden: CRC-Fehler.</String>
+ <String Id="Error1332">Die Datei [2] konnte nicht verschoben werden: CRC-Fehler.</String>
+ <String Id="Error1333">Die Datei [2] konnte nicht gepatcht werden: CRC-Fehler.</String>
+ <String Id="Error1334">Die Datei "[2]" kann nicht installiert werden, da die Datei in der CAB-Datei "[3]" nicht gefunden wurde. Dies deutet auf einen Netzwerkfehler, einen CD-ROM-Lesefehler oder auf ein das Paket betreffendes Problem hin.</String>
+ <String Id="Error1335">Die für die Installation erforderliche Datei "[2]" ist beschädigt und kann nicht verwendet werden. Dies deutet auf einen Netzwerkfehler, einen CD-ROM-Lesefehler oder auf ein das Paket betreffendes Problem hin.</String>
+ <String Id="Error1336">Beim Erstellen der für die Installation erforderlichen temporären Datei ist ein Fehler aufgetreten.{{ Ordner: [3]. Systemfehlercode: [2]}}</String>
+ <String Id="Error1401">Der Schlüssel [2] konnte nicht erstellt werden. {{ Systemfehler [3].}} Stellen Sie sicher, dass Sie ausreichende Zugriffsrechte für diesen Schlüssel besitzen, oder setzen Sie sich mit dem Support in Verbindung.</String>
+ <String Id="Error1402">Der Schlüssel [2] konnte nicht geöffnet werden. {{ Systemfehler [3].}} Stellen Sie sicher, dass Sie ausreichende Zugriffsrechte für diesen Schlüssel besitzen, oder setzen Sie sich mit dem Support in Verbindung.</String>
+ <String Id="Error1403">Der Wert [2] konnte nicht aus dem Schlüssel [3] gelöscht werden. {{ Systemfehler [4].}} Stellen Sie sicher, dass Sie ausreichende Zugriffsrechte für diesen Schlüssel besitzen, oder setzen Sie sich mit dem Support in Verbindung.</String>
+ <String Id="Error1404">Der Schlüssel konnte nicht gelöscht werden: [2]. {{ Systemfehler [3].}} Stellen Sie sicher, dass Sie ausreichende Zugriffsrechte für diesen Schlüssel besitzen, oder setzen Sie sich mit dem Support in Verbindung.</String>
+ <String Id="Error1405">Der Wert [2] konnte nicht aus dem Schlüssel [3] gelesen werden. {{ Systemfehler [4].}} Stellen Sie sicher, dass Sie ausreichende Zugriffsrechte für diesen Schlüssel besitzen, oder setzen Sie sich mit dem Support in Verbindung.</String>
+ <String Id="Error1406">Der Wert [2] konnte nicht unter den Schlüssel [3] geschrieben werden. {{ Systemfehler [4].}} Stellen Sie sicher, dass Sie ausreichende Zugriffsrechte für diesen Schlüssel besitzen, oder setzen Sie sich mit dem Support in Verbindung.</String>
+ <String Id="Error1407">Die Schlüsselnamen für den Schlüssel [2] konnten nicht gelesen werden. {{ Systemfehler [3].}} Stellen Sie sicher, dass Sie ausreichende Zugriffsrechte für diesen Schlüssel besitzen, oder setzen Sie sich mit dem Support in Verbindung.</String>
+ <String Id="Error1408">Die Namen der untergeordneten Schlüssel des Schlüssels [2] konnten nicht bestimmt werden. {{ Systemfehler [3].}} Stellen Sie sicher, dass Sie ausreichende Zugriffsrechte für diesen Schlüssel besitzen, oder setzen Sie sich mit dem Support in Verbindung.</String>
+ <String Id="Error1409">Die Sicherheitsinformationen für den Schlüssel [2] konnten nicht gelesen werden. {{ Systemfehler [3].}} Stellen Sie sicher, dass Sie ausreichende Zugriffsrechte für diesen Schlüssel besitzen, oder setzen Sie sich mit dem Support in Verbindung.</String>
+ <String Id="Error1410">Der verfügbare Registrierungsspeicher konnte nicht vergrößert werden. [2] KB freier Registrierungsspeicher sind zum Installieren dieser Anwendung erforderlich.</String>
+ <String Id="Error1500">Es wird bereits eine weitere Installation ausgeführt. Sie müssen diese Installation abschließen, bevor Sie den Vorgang fortsetzen können.</String>
+ <String Id="Error1501">Fehler beim Zugriff auf gesicherte Daten. Stellen Sie sicher, dass Windows Installer korrekt konfiguriert ist, und wiederholen Sie die Installation.</String>
+ <String Id="Error1502">Benutzer "[2]" hat die Installation des Produkts "[3]" bereits initiiert. Dieser Benutzer muss die Installation erneut ausführen, bevor dieses Produkt verwendet werden kann.</String>
+ <String Id="Error1503">Benutzer "[2]" hat die Installation des Produkts "[3]" bereits initiiert. Dieser Benutzer muss die Installation erneut ausführen, bevor dieses Produkt verwendet werden kann.</String>
+ <String Id="Error1601">Nicht genügend Speicherplatz -- Volume: "[2]"; benötigter Speicher: [3] KB; verfügbarer Speicher: [4] KB. Geben Sie Speicherplatz frei, und wiederholen Sie den Vorgang.</String>
+ <String Id="Error1602">Sind Sie sicher, dass Sie den Vorgang abbrechen möchten?</String>
+ <String Id="Error1603">Die Datei [2][3] wird im Augenblick von folgendem Prozess verwendet: Name: [4], ID: [5], Fenstertitel: "[6]"}. Schließen Sie diese Anwendung, und wiederholen Sie den Vorgang.</String>
+ <String Id="Error1604">Das Produkt "[2]" ist bereits installiert und verhindert die Installation dieses Produkts. Die beiden Produkte sind inkompatibel.</String>
+ <String Id="Error1605">Auf Volume "[2]" steht nicht genügend Speicherplatz für die Installation bei aktivierter Wiederherstellungsoption zur Verfügung. [3] KB sind erforderlich, aber nur [4] KB sind verfügbar. Klicken Sie auf "Ignorieren", um die Installation ohne Speicherung von Wiederherstellungsinformationen fortzusetzen, klicken Sie auf "Wiederholen", um den verfügbaren Speicher erneut zu überprüfen oder auf "Abbrechen", um die Installation abzubrechen.</String>
+ <String Id="Error1606">Auf den Netzwerkpfad [2] konnte nicht zugegriffen werden.</String>
+ <String Id="Error1607">Die folgenden Anwendungen sollten geschlossen werden, bevor Sie die Installation fortsetzen:</String>
+ <String Id="Error1608">Es konnte kein kompatibles Produkt auf dem Computer gefunden werden, das zur Installation dieses Produkts erforderlich ist.</String>
+ <String Id="Error1609">Beim Übernehmen der Sicherheitseinstellungen ist ein Fehler aufgetreten. [2] ist kein gültiger Benutzer bzw. keine gültige Gruppe. Dies kann ein das Paket betreffendes Problem oder ein bei Herstellung der Netzwerkverbindung mit dem Domänencontroller aufgetretenes Problem sein. Überprüfen Sie die Netzwerkverbindung und klicken Sie auf "Wiederholen" oder "Abbrechen", um die Installation abzubrechen. {{Die SID des Benutzers wurde nicht gefunden, Systemfehler [3]}}</String>
+ <String Id="Error1701">Der Schlüssel [2] ist ungültig. Überprüfen Sie, ob Sie den korrekten Schlüssel eingegeben haben.</String>
+ <String Id="Error1702">Der Installer muss Ihren Computer neu starten, bevor die Konfiguration von [2] fortgesetzt werden kann. Klicken Sie auf "Ja", um den Neustart jetzt durchzuführen, oder klicken Sie auf "Nein", um den Neustart zu einem späteren Zeitpunkt manuell durchzuführen.</String>
+ <String Id="Error1703">Sie müssen den Computer neu starten, damit die geänderte Konfiguration von [2] wirksam wird. Klicken Sie auf "Ja", um den Computer jetzt neu zu starten, oder auf "Nein", um den Computer später manuell neu zu starten.</String>
+ <String Id="Error1704">Eine Installation von [2] ist im Augenblick angehalten. Sie müssen die von dieser Installation vorgenommenen Änderungen rückgängig machen, bevor Sie fortfahren können. Möchten Sie diese Änderungen rückgängig machen?</String>
+ <String Id="Error1705">Im Augenblick wird eine weitere Installation dieses Produkts durchgeführt. Sie müssen die von dieser Installation vorgenommenen Änderungen rückgängig machen, bevor Sie fortfahren können. Möchten Sie diese Änderungen rückgängig machen?</String>
+ <String Id="Error1706">Ein Installationspaket des Produkts [2] konnte nicht gefunden werden. Wiederholen Sie die Installation unter Verwendung einer gültigen Kopie des Installationspakets "[3]".</String>
+ <String Id="Error1707">Die Installation wurde erfolgreich abgeschlossen.</String>
+ <String Id="Error1708">Die Installation ist fehlgeschlagen.</String>
+ <String Id="Error1709">Produkt: [2] -- [3]</String>
+ <String Id="Error1710">Sie können den ursprünglichen Zustand des Computers wiederherstellen oder die Installation später fortsetzen. Möchten Sie eine Wiederherstellung durchführen?</String>
+ <String Id="Error1711">Während des Schreibens der Installationsdaten auf den Datenträger ist ein Fehler aufgetreten. Überprüfen Sie, ob ausreichend Speicherplatz auf dem Datenträger vorhanden ist, und klicken Sie auf "Wiederholen", oder klicken Sie auf "Abbrechen", um die Installation zu beenden.</String>
+ <String Id="Error1712">Eine oder mehrere Dateien, die zum Wiederherstellen des ursprünglichen Zustands Ihres Computers benötigt werden, konnten nicht gefunden werden. Wiederherstellen nicht möglich.</String>
+ <String Id="Error1713">[2] kann eines der erforderlichen Produkte nicht installieren. Wenden Sie sich an den technischen Support. {{Systemfehler [3].}}</String>
+ <String Id="Error1714">Die ältere Version von [2] kann nicht entfernt werden. Wenden Sie sich an den technischen Support. {{Systemfehler [3].}}</String>
+ <String Id="Error1715">[2] wird installiert</String>
+ <String Id="Error1716">[2] wird konfiguriert</String>
+ <String Id="Error1717">[2] wird entfernt</String>
+ <String Id="Error1718">Die Datei [2] wurde von der Richtlinie für die digitale Signatur zurückgewiesen.</String>
+ <String Id="Error1719">Auf den Windows Installer-Dienst konnte nicht zugegriffen werden. Dies kann auftreten, wenn Windows im abgesicherten Modus ausgeführt wird oder wenn der Windows Installer nicht korrekt installiert wurde. Setzen Sie sich mit dem Supportpersonal in Verbindung, um weitere Unterstützung zu erhalten.</String>
+ <String Id="Error1720">Es ist ein Problem mit dem Windows Installer-Paket aufgetreten. Ein für den Abschluss der Installation erforderliches Skript konnte nicht ausgeführt werden. Wenden Sie sich an den Support oder den Hersteller des Pakets. {{Skriptfehler [3], [4] bei benutzerdefinierter Aktion [2]: [5] Zeile [6], Spalte [7], [8]}}</String>
+ <String Id="Error1721">Es liegt ein dieses Windows Installer-Paket betreffendes Problem vor. Ein für den Abschluss der Installation erforderliches Programm konnte nicht ausgeführt werden. Wenden Sie sich an das Supportpersonal oder den Hersteller des Pakets. {{Aktion: [2], Pfad: [3], Befehl: [4] }}</String>
+ <String Id="Error1722">Es ist ein Problem mit dem Windows Installer-Paket aufgetreten. Ein Programm, das als Teil des Setups ausgeführt wird, wurde nicht erwartungsgemäß abgeschlossen. Wenden Sie sich an den Support oder den Hersteller des Pakets. {{Aktion [2], Pfad: [3], Befehl: [4] }}</String>
+ <String Id="Error1723">Es ist ein Problem mit dem Windows Installer-Paket aufgetreten. Eine für den Abschluss dieser Installation erforderliche DLL-Datei konnte nicht ausgeführt werden. Wenden Sie sich an den Support oder den Hersteller des Pakets. {{Aktion [2], Eintrag: [3], Bibliothek: [4] }}</String>
+ <String Id="Error1724">Das Entfernen wurde erfolgreich abgeschlossen.</String>
+ <String Id="Error1725">Das Entfernen ist fehlgeschlagen.</String>
+ <String Id="Error1726">Die Ankündigung wurde erfolgreich abgeschlossen.</String>
+ <String Id="Error1727">Die Ankündigung ist fehlgeschlagen.</String>
+ <String Id="Error1728">Die Konfiguration wurde erfolgreich abgeschlossen.</String>
+ <String Id="Error1729">Die Konfiguration ist fehlgeschlagen.</String>
+ <String Id="Error1730">Sie müssen über Administratorrechte verfügen, um diese Anwendung entfernen zu können. Melden Sie sich als Administrator an, oder wenden Sie sich an den technischen Support, um Unterstützung zu erhalten.</String>
+ <String Id="Error1731">Das Quellinstallationspaket für das Produkt [2] stimmt nicht mehr mit dem Clientpaket überein. Wiederholen Sie die Installation mit einer gültigen Kopie des Installationspakets "[3]".</String>
+ <String Id="Error1732">Sie müssen den Computer neu starten, um die Installation von [2] abzuschließen. Andere Benutzer sind momentan an diesem Computer angemeldet, und ein Neustart könnte unter Umständen dazu führen, dass Änderungen nicht gespeichert werden. Möchten Sie den Computer jetzt neu starten?</String>
+ <String Id="Error1801">Der Pfad [2] ist ungültig. Geben Sie einen gültigen Pfad an.</String>
+ <String Id="Error1802">Nicht genügend Arbeitsspeicher. Beenden Sie andere Anwendungen, und wiederholen Sie den Vorgang.</String>
+ <String Id="Error1803">In Laufwerk [2] ist kein Datenträger eingelegt. Legen Sie einen Datenträger ein und klicken Sie auf "Wiederholen", oder klicken Sie auf "Abbrechen", um zu dem zuvor ausgewählten Volume zurückzukehren.</String>
+ <String Id="Error1804">In Laufwerk [2] ist kein Datenträger eingelegt. Legen Sie einen Datenträger ein und klicken Sie auf "Wiederholen", oder klicken Sie auf "Abbrechen", um zum Dialog "Durchsuchen" zurückzukehren und ein anderes Volume auszuwählen.</String>
+ <String Id="Error1805">Der Ordner [2] ist nicht vorhanden. Geben Sie einen Pfad zu einem vorhandenen Ordner ein.</String>
+ <String Id="Error1806">Ihre Zugriffsrechte reichen nicht aus, um diesen Ordner zu lesen.</String>
+ <String Id="Error1807">Es konnte kein gültiger Zielordner für die Installation bestimmt werden.</String>
+ <String Id="Error1901">Fehler beim Lesen der Quellinstallationsdatenbank: [2].</String>
+ <String Id="Error1902">Planung des Computerneustarts: Die Datei [2] wird in [3] umbenannt. Der Computer muss neu gestartet werden, um den Vorgang abzuschließen.</String>
+ <String Id="Error1903">Planung des Computerneustarts: Die Datei [2] wird gelöscht. Der Computer muss neu gestartet werden, um den Vorgang abzuschließen.</String>
+ <String Id="Error1904">Fehler beim Registrieren von Modul [2]. HRESULT [3]. Wenden Sie sich an den Support.</String>
+ <String Id="Error1905">Fehler beim Entfernen von Modul [2] aus der Registrierung. HRESULT [3]. Wenden Sie sich an den Support.</String>
+ <String Id="Error1906">Fehler beim Zwischenspeichern von Paket [2]. Fehler: [3]. Wenden Sie sich an den Support.</String>
+ <String Id="Error1907">Die Schriftart [2] konnte nicht registriert werden. Überprüfen Sie, ob Sie über ausreichende Berechtigungen zum Installieren von Schriftarten verfügen, und ob das System diese Schriftart unterstützt.</String>
+ <String Id="Error1908">Die Schriftart [2] konnte nicht aus der Registrierung entfernt werden. Stellen Sie sicher, dass Sie ausreichende Berechtigungen zum Entfernen von Schriftarten besitzen.</String>
+ <String Id="Error1909">Die Verknüpfung [2] konnte nicht erstellt werden. Stellen Sie sicher, dass der Zielordner vorhanden ist, und Sie darauf zugreifen können.</String>
+ <String Id="Error1910">Die Verknüpfung [2] konnte nicht entfernt werden. Stellen Sie sicher, dass die Verknüpfungsdatei vorhanden ist, und Sie darauf zugreifen können.</String>
+ <String Id="Error1911">Typbibliothek für Datei [2] konnte nicht registriert werden. Wenden Sie sich an den Support.</String>
+ <String Id="Error1912">Typbibliothek für Datei [2] konnte nicht aus der Registrierung entfernt werden. Wenden Sie sich an den Support.</String>
+ <String Id="Error1913">Die INI-Datei [2][3] konnte nicht aktualisiert werden. Überprüfen Sie, ob die Datei vorhanden ist und Sie Zugriff darauf haben.</String>
+ <String Id="Error1914">Es konnte nicht festgelegt werden, dass Datei [3] beim Neustart des Computers durch Datei [2] ersetzt wird. Überprüfen Sie, ob Sie Schreibzugriff auf Datei [3] haben.</String>
+ <String Id="Error1915">Fehler beim Entfernen des ODBC-Treiber-Managers, ODBC-Fehler [2]: [3]. Setzen Sie sich mit dem Support in Verbindung.</String>
+ <String Id="Error1916">Fehler beim Installieren des ODBC-Treiber-Managers. ODBC-Fehler [2]: [3]. Setzen Sie sich mit dem Support in Verbindung.</String>
+ <String Id="Error1917">Fehler beim Entfernen des ODBC-Treibers [4], ODBC-Fehler [2]: [3]. Stellen Sie sicher, dass Sie ausreichende Berechtigungen zum Entfernen von ODBC-Treibern besitzen.</String>
+ <String Id="Error1918">Fehler beim Installieren des ODBC-Treibers: [4]. ODBC-Fehler [2]: [3}. Stellen Sie sicher, dass die Datei [4] vorhanden ist und Sie darauf zugreifen können.</String>
+ <String Id="Error1919">Fehler beim Konfigurieren der ODBC-Datenquelle: [4]. ODBC-Fehler [2]: [3}. Stellen Sie sicher, dass die Datei [4] vorhanden ist und Sie darauf zugreifen können.</String>
+ <String Id="Error1920">Dienst "[2]" ([3]) konnte nicht gestartet werden. Überprüfen Sie, ob Sie ausreichende Berechtigungen zum Starten von Systemdiensten besitzen.</String>
+ <String Id="Error1921">Dienst "[2]" ([3]) konnte nicht angehalten werden. Überprüfen Sie, ob Sie ausreichende Berechtigungen zum Anhalten von Systemdiensten besitzen.</String>
+ <String Id="Error1922">Dienst "[2]" ([3]) konnte nicht entfernt werden. Überprüfen Sie, ob Sie ausreichende Berechtigungen zum Entfernen von Systemdiensten besitzen.</String>
+ <String Id="Error1923">Dienst "[2]" ([3]) konnte nicht installiert werden. Überprüfen Sie, ob Sie ausreichende Berechtigungen zum Installieren von Systemdiensten besitzen.</String>
+ <String Id="Error1924">Umgebungsvariable "[2]" konnte nicht aktualisiert werden. Überprüfen Sie, ob Sie ausreichende Berechtigungen zum Ändern von Umgebungsvariablen besitzen.</String>
+ <String Id="Error1925">Sie besitzen keine ausreichenden Berechtigungen, um diese Installation für alle Benutzer dieses Computers auszuführen. Melden Sie sich als Administrator an, und wiederholen Sie diese Installation.</String>
+ <String Id="Error1926">Dateisicherheit für Datei "[3]" konnte nicht festgelegt werden. Fehler: [2]. Überprüfen Sie, ob Sie ausreichende Berechtigungen zum Ändern der Sicherheitsrechte für diese Datei besitzen.</String>
+ <String Id="Error1927">Die Komponentendienste (COM+ 1.0) sind nicht auf diesem Computer installiert. Diese Installation erfordert Komponentendienste, um ordnungsgemäß abgeschlossen werden zu können. Komponentendienste sind auf Windows 2000 verfügbar.</String>
+ <String Id="Error1928">Fehler beim Registrieren der COM+-Anwendung. Wenden Sie sich an den Support, um weitere Informationen zu erhalten.</String>
+ <String Id="Error1929">Fehler beim Entfernen der COM+-Anwendung aus der Registrierung. Wenden Sie sich an den Support, um weitere Informationen zu erhalten.</String>
+ <String Id="Error1930">Die Beschreibung für den Dienst "[2]" ([3]) konnte nicht geändert werden.</String>
+ <String Id="Error1931">Der Windows Installer-Dienst kann die geschützte Systemdatei "[2]" nicht aktualisieren. Sie müssen eventuell das Betriebssystem aktualisieren, damit dieses Programm richtig ausgeführt werden kann. {{Paketversion: [3], geschützte Betriebssystemversion: [4]}}</String>
+ <String Id="Error1932">Der Dienst "Windows Installer" kann die geschützte Windows-Datei [2] nicht aktualisieren. {{Paketversion: [3], geschützte Betriebssystemversion: [4], Systemdateischutzfehler: [5]}}</String>
+ <String Id="Error1933">Eine oder mehrere geschützte Windows-Dateien konnten nicht aktualisiert werden {{SFP-Fehler: [2]. Liste der geschützten Dateien:\r\n[3]}}</String>
+ <String Id="Error1934">Benutzerinstallationen sind über die Computerrichtlinie deaktiviert.</String>
+ <String Id="Error1935">Fehler während der Installation von Assembly "[6]". Rufen Sie die Hilfe auf, oder wenden Sie sich an den Support. HRESULT: [3]. {{Assemblyschnittstelle: [4], Funktion: [5], Komponente: [2]}}</String>
+ <String Id="Error1936">Fehler während der Installation von Assembly "[6]". Die Assembly hat entweder keinen sicheren Namen, oder sie wurde nicht mit der Mindestschlüssellänge signiert. HRESULT: [3]. {{Assemblyschnittstelle: [4], Funktion: [5], Komponente: [2]}}</String>
+ <String Id="Error1937">Fehler während der Installation von Assembly "[6]". Die Signatur oder der Katalog konnten nicht überprüft werden oder sind ungültig. HRESULT: [3]. {{Assemblyschnittstelle: [4], Funktion: [5], Komponente: [2]}}</String>
+ <String Id="Error1938">Fehler während der Installation der Assembly "[6]". Ein oder mehrere Module der Assembly wurden nicht gefunden. HRESULT: [3]. {{Assemblyschnittstelle: [4], Funktion: [5], Komponente: [2]}}</String>
+
+ <!-- Own / special errors -->
+ <String Id="Error25001">Die Applikation "[2]" muss geschlossen werden um die Installation fortsetzen zu können.</String>
+
+ <String Id="ProgressTextInstallValidate">Die Installation wird überprüft</String>
+ <String Id="ProgressTextInstallFiles">Neue Dateien werden kopiert</String>
+ <String Id="ProgressTextInstallFilesTemplate">Datei: [1], Verzeichnis: [9], Größe: [6]</String>
+ <String Id="ProgressTextInstallAdminPackage">Netzwerkinstallationsdateien werden kopiert</String>
+ <String Id="ProgressTextInstallAdminPackageTemplate">Datei: [1], Verzeichnis: [9], Größe: [6]</String>
+ <String Id="ProgressTextFileCost">Speicherplatzbedarf wird berechnet</String>
+ <String Id="ProgressTextCostInitialize">Speicherplatzbedarf wird berechnet</String>
+ <String Id="ProgressTextCostFinalize">Speicherplatzbedarf wird berechnet</String>
+ <String Id="ProgressTextCreateShortcuts">Verknüpfungen werden erstellt</String>
+ <String Id="ProgressTextCreateShortcutsTemplate">Verknüpfung: [1]</String>
+ <String Id="ProgressTextPublishComponents">Qualifizierte Komponenten werden veröffentlicht</String>
+ <String Id="ProgressTextPublishComponentsTemplate">Komponenten-ID: [1], Qualifizierer: [2]</String>
+ <String Id="ProgressTextPublishFeatures">Produktfeatures werden veröffentlicht</String>
+ <String Id="ProgressTextPublishFeaturesTemplate">Feature: [1]</String>
+ <String Id="ProgressTextPublishProduct">Produktinformationen werden veröffentlicht</String>
+ <String Id="ProgressTextRegisterClassInfo">Klassenserver werden registriert</String>
+ <String Id="ProgressTextRegisterClassInfoTemplate">Klassen-ID: [1]</String>
+ <String Id="ProgressTextRegisterExtensionInfo">Erweiterungsserver werden registriert</String>
+ <String Id="ProgressTextRegisterExtensionInfoTemplate">Erweiterung: [1]</String>
+ <String Id="ProgressTextRegisterMIMEInfo">MIME-Informationen werden registriert</String>
+ <String Id="ProgressTextRegisterMIMEInfoTemplate">MIME-Inhaltstyp: [1], Erweiterung: [2]</String>
+ <String Id="ProgressTextRegisterProgIdInfo">Programm-IDs werden registriert</String>
+ <String Id="ProgressTextRegisterProgIdInfoTemplate">Programm-ID: [1]</String>
+ <String Id="ProgressTextAllocateRegistrySpace">Registrierungsspeicher wird zugeordnet</String>
+ <String Id="ProgressTextAllocateRegistrySpaceTemplate">Freier Speicherplatz: [1]</String>
+ <String Id="ProgressTextAppSearch">Installierte Anwendungen werden gesucht</String>
+ <String Id="ProgressTextAppSearchTemplate">Eigenschaft: [1], Signatur: [2]</String>
+ <String Id="ProgressTextBindImage">Ausführbare Dateien werden gebunden</String>
+ <String Id="ProgressTextBindImageTemplate">Datei: [1]</String>
+ <String Id="ProgressTextCCPSearch">Qualifizierte Produkte werden gesucht</String>
+ <String Id="ProgressTextCreateFolders">Ordner werden erstellt</String>
+ <String Id="ProgressTextCreateFoldersTemplate">Ordner: [1]</String>
+ <String Id="ProgressTextDeleteServices">Dienste werden gelöscht</String>
+ <String Id="ProgressTextDeleteServicesTemplate">Dienst: [1]</String>
+ <String Id="ProgressTextDuplicateFiles">Dateien werden dupliziert</String>
+ <String Id="ProgressTextDuplicateFilesTemplate">Datei: [1], Verzeichnis: [9], Größe: [6]</String>
+ <String Id="ProgressTextFindRelatedProducts">Nach verwandten Anwendungen wird gesucht</String>
+ <String Id="ProgressTextFindRelatedProductsTemplate">Anwendung gefunden: [1]</String>
+ <String Id="ProgressTextInstallODBC">ODBC-Komponenten werden installiert</String>
+ <String Id="ProgressTextInstallServices">Neue Dienste werden installiert</String>
+ <String Id="ProgressTextInstallServicesTemplate">Dienst: [2]</String>
+ <String Id="ProgressTextLaunchConditions">Die Startbedingungen werden überprüft</String>
+ <String Id="ProgressTextMigrateFeatureStates">Featurestatus verwandter Anwendungen wird migriert</String>
+ <String Id="ProgressTextMigrateFeatureStatesTemplate">Anwendung: [1]</String>
+ <String Id="ProgressTextMoveFiles">Dateien werden verschoben</String>
+ <String Id="ProgressTextMoveFilesTemplate">Datei: [1], Verzeichnis: [9], Größe: [6]</String>
+ <String Id="ProgressTextPatchFiles">Dateien werden gepatcht</String>
+ <String Id="ProgressTextPatchFilesTemplate">Datei: [1], Verzeichnis: [2], Größe: [3]</String>
+ <String Id="ProgressTextProcessComponents">Komponentenregistrierung wird aktualisiert</String>
+ <String Id="ProgressTextRegisterComPlus">COM+-Anwendungen und -Komponenten werden registriert</String>
+ <String Id="ProgressTextRegisterComPlusTemplate">Anwendungs-ID: [1]{{, Anwendungstyp: [2], Benutzer: [3], RSN: [4]}}</String>
+ <String Id="ProgressTextRegisterFonts">Schriftarten werden registriert</String>
+ <String Id="ProgressTextRegisterFontsTemplate">Schriftart: [1]</String>
+ <String Id="ProgressTextRegisterProduct">Produkt wird registriert</String>
+ <String Id="ProgressTextRegisterProductTemplate">[1]</String>
+ <String Id="ProgressTextRegisterTypeLibraries">Typenbibliotheken werden registriert</String>
+ <String Id="ProgressTextRegisterTypeLibrariesTemplate">Bibliotheken-ID: [1]</String>
+ <String Id="ProgressTextRegisterUser">Benutzer wird registriert</String>
+ <String Id="ProgressTextRegisterUserTemplate">[1]</String>
+ <String Id="ProgressTextRemoveDuplicateFiles">Duplizierte Dateien werden entfernt</String>
+ <String Id="ProgressTextRemoveDuplicateFilesTemplate">Datei: [1], Verzeichnis: [9]</String>
+ <String Id="ProgressTextRemoveEnvironmentStrings">Umgebungsvariablen werden aktualisiert</String>
+ <String Id="ProgressTextRemoveEnvironmentStringsTemplate">Name: [1], Wert: [2], Aktion [3]</String>
+ <String Id="ProgressTextRemoveExistingProducts">Anwendungen werden entfernt</String>
+ <String Id="ProgressTextRemoveExistingProductsTemplate">Anwendung: [1], Befehlszeile: [2]</String>
+ <String Id="ProgressTextRemoveFiles">Dateien werden entfernt</String>
+ <String Id="ProgressTextRemoveFilesTemplate">Datei: [1], Verzeichnis: [9]</String>
+ <String Id="ProgressTextRemoveFolders">Ordner werden entfernt</String>
+ <String Id="ProgressTextRemoveFoldersTemplate">Ordner: [1]</String>
+ <String Id="ProgressTextRemoveIniValues">INI-Dateieinträge werden entfernt</String>
+ <String Id="ProgressTextRemoveIniValuesTemplate">Datei: [1], Abschnitt: [2], Schlüssel: [3], Wert: [4]</String>
+ <String Id="ProgressTextRemoveODBC">ODBC-Komponenten werden entfernt</String>
+ <String Id="ProgressTextRemoveRegistryValues">Systemregistrierungswerte werden entfernt</String>
+ <String Id="ProgressTextRemoveRegistryValuesTemplate">Schlüssel: [1], Name: [2]</String>
+ <String Id="ProgressTextRemoveShortcuts">Verknüpfungen werden entfernt</String>
+ <String Id="ProgressTextRemoveShortcutsTemplate">Verknüpfung: [1]</String>
+ <String Id="ProgressTextRMCCPSearch">Qualifizierte Produkte werden gesucht</String>
+ <String Id="ProgressTextSelfRegModules">Modul wird aus der Registrierung entfernt</String>
+ <String Id="ProgressTextSelfRegModulesTemplate">Datei: [1], Ordner: [2]</String>
+ <String Id="ProgressTextSelfUnregModules">Modulregistrierung wird aufgehoben</String>
+ <String Id="ProgressTextSelfUnregModulesTemplate">Datei: [1], Ordner: [2]</String>
+ <String Id="ProgressTextSetODBCFolders">ODBC-Verzeichnisse werden initialisiert</String>
+ <String Id="ProgressTextStartServices">Dienste werden gestartet</String>
+ <String Id="ProgressTextStartServicesTemplate">Dienst: [1]</String>
+ <String Id="ProgressTextStopServices">Dienste werden beendet</String>
+ <String Id="ProgressTextStopServicesTemplate">Dienst: [1]</String>
+ <String Id="ProgressTextUnpublishComponents">Veröffentlichung qualifizierter Komponenten wird aufgehoben</String>
+ <String Id="ProgressTextUnpublishComponentsTemplate">Komponenten-ID: [1], Qualifizierer: [2]</String>
+ <String Id="ProgressTextUnpublishFeatures">Veröffentlichung der Produktfeatures wird aufgehoben</String>
+ <String Id="ProgressTextUnpublishFeaturesTemplate">Feature: [1]</String>
+ <String Id="ProgressTextUnregisterClassInfo">Registrierung der Klassenserver wird aufgehoben</String>
+ <String Id="ProgressTextUnregisterClassInfoTemplate">Klassen-ID: [1]</String>
+ <String Id="ProgressTextUnregisterComPlus">Registrierung der COM+-Anwendungen und -Komponenten wird aufgehoben</String>
+ <String Id="ProgressTextUnregisterComPlusTemplate">Anwendungs-ID: [1]{{, Anwendungstyp: [2]}}</String>
+ <String Id="ProgressTextUnregisterExtensionInfo">Registrierung der Erweiterungsserver wird aufgehoben</String>
+ <String Id="ProgressTextUnregisterExtensionInfoTemplate">Erweiterung: [1]</String>
+ <String Id="ProgressTextUnregisterFonts">Registrierung der Schriftarten wird aufgehoben</String>
+ <String Id="ProgressTextUnregisterFontsTemplate">Schriftart: [1]</String>
+ <String Id="ProgressTextUnregisterMIMEInfo">Registrierung der MIME-Informationen wird aufgehoben</String>
+ <String Id="ProgressTextUnregisterMIMEInfoTemplate">MIME-Inhaltstyp: [1], Erweiterung: [2]</String>
+ <String Id="ProgressTextUnregisterProgIdInfo">Registrierung der Programm-IDs wird aufgehoben</String>
+ <String Id="ProgressTextUnregisterProgIdInfoTemplate">Programm-ID: [1]</String>
+ <String Id="ProgressTextUnregisterTypeLibraries">Registrierung der Typenbibliotheken wird aufgehoben</String>
+ <String Id="ProgressTextUnregisterTypeLibrariesTemplate">Bibliotheken-ID: [1]</String>
+ <String Id="ProgressTextWriteEnvironmentStrings">Umgebungsvariablen werden aktualisiert</String>
+ <String Id="ProgressTextWriteEnvironmentStringsTemplate">Name: [1], Wert: [2], Aktion [3]</String>
+ <String Id="ProgressTextWriteIniValues">INI-Dateiwerte werden geschrieben</String>
+ <String Id="ProgressTextWriteIniValuesTemplate">Datei: [1], Abschnitt: [2], Schlüssel: [3], Wert: [4]</String>
+ <String Id="ProgressTextWriteRegistryValues">Systemregistrierungswerte werden geschrieben</String>
+ <String Id="ProgressTextWriteRegistryValuesTemplate">Schlüssel: [1], Name: [2], Wert: [3]</String>
+ <String Id="ProgressTextAdvertise">Anwendung wird angekündigt</String>
+ <String Id="ProgressTextGenerateScript">Für folgende Aktion werden Skriptvorgänge erstellt:</String>
+ <String Id="ProgressTextGenerateScriptTemplate">[1]</String>
+ <String Id="ProgressTextInstallSFPCatalogFile">Systemkatalog wird installiert</String>
+ <String Id="ProgressTextInstallSFPCatalogFileTemplate">Datei: [1], Abhängigkeiten: [2]</String>
+ <String Id="ProgressTextMsiPublishAssemblies">Assemblyinformationen werden veröffentlicht</String>
+ <String Id="ProgressTextMsiPublishAssembliesTemplate">Anwendungskontext:[1], Assemblyname:[2]</String>
+ <String Id="ProgressTextMsiUnpublishAssemblies">Veröffentlichung der Assemblierungsinformationen wird aufgehoben</String>
+ <String Id="ProgressTextMsiUnpublishAssembliesTemplate">Anwendungskontext:[1], Assemblyname:[2]</String>
+ <String Id="ProgressTextRollback">Aktion wird rückgängig gemacht:</String>
+ <String Id="ProgressTextRollbackTemplate">[1]</String>
+ <String Id="ProgressTextRollbackCleanup">Sicherungsdateien werden entfernt</String>
+ <String Id="ProgressTextRollbackCleanupTemplate">Datei: [1]</String>
+ <String Id="ProgressTextUnmoveFiles">Verschobene Dateien werden entfernt</String>
+ <String Id="ProgressTextUnmoveFilesTemplate">Datei: [1], Verzeichnis: [9]</String>
+ <String Id="ProgressTextUnpublishProduct">Veröffentlichung der Produktinformationen wird aufgehoben</String>
+
+ <String Id="UITextbytes">Bytes</String>
+ <String Id="UITextGB">GB</String>
+ <String Id="UITextKB">KB</String>
+ <String Id="UITextMB">MB</String>
+ <String Id="UITextMenuAbsent">Nicht verfügbar</String>
+ <String Id="UITextMenuAdvertise">Bei der ersten Verwendung installieren</String>
+ <String Id="UITextMenuAllCD">Alles von CD starten</String>
+ <String Id="UITextMenuAllLocal">Alles auf der lokalen Festplatte installieren</String>
+ <String Id="UITextMenuAllNetwork">Alles vom Netzwerk starten</String>
+ <String Id="UITextMenuCD">Von CD starten</String>
+ <String Id="UITextMenuLocal">Auf der lokalen Festplatte installieren</String>
+ <String Id="UITextMenuNetwork">Vom Netzwerk starten</String>
+ <String Id="UITextScriptInProgress">Erforderliche Daten werden ermittelt...</String>
+ <String Id="UITextSelAbsentAbsent">Dieses Feature wird nicht installiert.</String>
+ <String Id="UITextSelAbsentAdvertise">Dieses Feature wird bei der ersten Verwendung installiert.</String>
+ <String Id="UITextSelAbsentCD">Dieses Feature wird zum Starten von CD installiert.</String>
+ <String Id="UITextSelAbsentLocal">Dieses Feature wird auf der lokalen Festplatte installiert.</String>
+ <String Id="UITextSelAbsentNetwork">Dieses Feature wird zum Starten vom Netzwerk installiert.</String>
+ <String Id="UITextSelAdvertiseAbsent">Dieses Feature wird nicht verfügbar sein.</String>
+ <String Id="UITextSelAdvertiseAdvertise">Dieses Feature wird bei der ersten Verwendung installiert.</String>
+ <String Id="UITextSelAdvertiseCD">Dieses Feature wird von CD gestartet.</String>
+ <String Id="UITextSelAdvertiseLocal">Dieses Feature wird auf der lokalen Festplatte installiert.</String>
+ <String Id="UITextSelAdvertiseNetwork">Dieses Feature wird vom Netzwerk gestartet.</String>
+ <String Id="UITextSelCDAbsent">Dieses Feature wird vollständig deinstalliert und kann nicht von CD gestartet werden.</String>
+ <String Id="UITextSelCDAdvertise">Dieses Feature wird nicht mehr von CD gestartet, sondern bei der ersten Verwendung installiert.</String>
+ <String Id="UITextSelCDCD">Dieses Feature wird weiterhin von CD gestartet.</String>
+ <String Id="UITextSelCDLocal">Dieses Feature wird nicht mehr von CD gestartet, sondern auf der lokalen Festplatte installiert.</String>
+ <String Id="UITextSelChildCostNeg">Dieses Feature gibt [1] auf der Festplatte frei.</String>
+ <String Id="UITextSelChildCostPos">Diese Funktion erfordert [1] auf der Festplatte.</String>
+ <String Id="UITextSelCostPending">Kosten für dieses Feature werden berechnet...</String>
+ <String Id="UITextSelLocalAbsent">Dieses Feature wird vollständig entfernt.</String>
+ <String Id="UITextSelLocalAdvertise">Dieses Feature wird von der lokalen Festplatte entfernt und bei der ersten Verwendung installiert.</String>
+ <String Id="UITextSelLocalCD">Dieses Feature wird von der lokalen Festplatte entfernt, bleibt aber zum Starten von CD installiert.</String>
+ <String Id="UITextSelLocalLocal">Dieses Feature bleibt weiterhin auf der lokalen Festplatte installiert.</String>
+ <String Id="UITextSelLocalNetwork">Dieses Feature wird von der lokalen Festplatte entfernt, bleibt aber zum Starten vom Netzwerk installiert.</String>
+ <String Id="UITextSelNetworkAbsent">Dieses Feature wird vollständig deinstalliert und kann nicht vom Netzwerk gestartet werden.</String>
+ <String Id="UITextSelNetworkAdvertise">Dieses Feature wird nicht mehr vom Netzwerk gestartet, sondern bei der ersten Verwendung installiert.</String>
+ <String Id="UITextSelNetworkLocal">Dieses Feature wird nicht mehr vom Netzwerk gestartet, sondern auf der lokalen Festplatte installiert.</String>
+ <String Id="UITextSelNetworkNetwork">Dieses Feature wird weiterhin vom Netzwerk gestartet.</String>
+ <String Id="UITextSelParentCostNegNeg">Dieses Feature gibt [1] auf der Festplatte frei. Es sind [2] von [3] untergeordneten Features ausgewählt, die [4] auf der Festplatte freigeben.</String>
+ <String Id="UITextSelParentCostNegPos">Dieses Feature gibt [1] auf der Festplatte frei. Es sind [2] von [3] untergeordneten Features ausgewählt, die [4] auf der Festplatte erfordern.</String>
+ <String Id="UITextSelParentCostPosNeg">Dieses Feature erfordert [1] auf der Festplatte. Es sind [2] von [3] untergeordneten Features ausgewählt, die [4] auf der Festplatte freigeben.</String>
+ <String Id="UITextSelParentCostPosPos">Dieses Feature erfordert [1] auf der Festplatte. Es sind [2] von [3] untergeordneten Features ausgewählt, die [4] auf der Festplatte erfordern.</String>
+ <String Id="UITextTimeRemaining">Restdauer: {[1] Minute(n) }{[2] Sekunde(n)}</String>
+ <String Id="UITextVolumeCostAvailable">Verfügbar</String>
+ <String Id="UITextVolumeCostDifference">Differenz</String>
+ <String Id="UITextVolumeCostRequired">Erforderlich</String>
+ <String Id="UITextVolumeCostSize">Datenträgergröße</String>
+ <String Id="UITextVolumeCostVolume">Volume</String>
+
+</WixLocalization>
diff --git a/src/VBox/Installer/win/NLS/el_GR.wxl b/src/VBox/Installer/win/NLS/el_GR.wxl
new file mode 100644
index 00000000..8d98eab9
--- /dev/null
+++ b/src/VBox/Installer/win/NLS/el_GR.wxl
@@ -0,0 +1,624 @@
+<?xml version="1.0" encoding="utf-8"?>
+
+<!--
+ Language Definition Include for VirtualBox WiX script.
+-->
+<!--
+ Copyright (C) 2011-2023 Oracle and/or its affiliates.
+
+ This file is part of VirtualBox base platform packages, as
+ available from https://www.virtualbox.org.
+
+ This program is free software; you can redistribute it and/or
+ modify it under the terms of the GNU General Public License
+ as published by the Free Software Foundation, in version 3 of the
+ License.
+
+ This program is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, see <https://www.gnu.org/licenses>.
+
+ SPDX-License-Identifier: GPL-3.0-only
+-->
+
+<WixLocalization xmlns="http://schemas.microsoft.com/wix/2006/localization" Codepage="1253" Culture="el_GR">
+ <String Id="LANG">1032</String>
+ <String Id="LangName">Ελληνικά</String>
+
+ <String Id="ButtonText_No">Όχι</String>
+ <String Id="ButtonText_Yes">Ναι</String>
+ <String Id="ButtonText_Cancel">Άκυρο</String>
+ <String Id="ButtonText_Next">Επόμενο></String>
+ <String Id="ButtonText_Back">Πίσω</String>
+ <String Id="ButtonText_Browse">Εξερεύνηση</String>
+ <String Id="ButtonText_OK">ΟΚ</String>
+ <String Id="ButtonText_Check">Έλεγχος</String>
+ <String Id="ButtonText_Install">Εγκατάσταση</String>
+ <String Id="ButtonText_Remove">Κατάργηση</String>
+ <String Id="ButtonText_Finish">Τέλος</String>
+ <String Id="ButtonText_Repair">Επισκευή</String>
+ <String Id="ButtonText_Return">Επιστροφή</String>
+ <String Id="ButtonText_Retry">Επανάληψη</String>
+ <String Id="ButtonText_Ignore">Παράβλεψη</String>
+ <String Id="ButtonText_Exit">Έξοδος</String>
+
+ <String Id="InstallModeCustom">Προσαρμοσμένο</String>
+ <String Id="Setup">Εγκατάσταση</String>
+
+ <!---->
+
+ <String Id="StartMenu_License">Άδεια</String>
+ <String Id="StartMenu_UserManual">Εγχειρίδιο χρήστη</String>
+
+ <!---->
+
+ <String Id="VB_App">Εφαρμογή [ProductName].</String>
+ <String Id="VB_USBDriver">Οδηγός συσκευών USB [ProductName] για υποστήριξη συσκευών USB.</String>
+ <String Id="VB_Network">Οδηγός συσκευών δικτύου [ProductName] για υποστήριξη δικτύου.</String>
+ <String Id="VB_NetFltDriver">Οδηγός [ProductName] για γεφυρωμένη δικτύωση.</String>
+ <String Id="VB_NetAdpDriver">Οδηγός [ProductName] εικονικής κάρτας δικτύου για μόνο-με-οικοδεσπότη δίκτυα.</String>
+ <String Id="VB_NetLwfDriver">Οδηγός [ProductName] για NDIS6 γεφυρωμένα δίκτυα.</String>
+ <String Id="VB_NetAdp6Driver">Οδηγός [ProductName] εικονικής κάρτας δικτύου για NDIS6 μόνο-με-οικοδεσπότη δίκτυα.</String>
+
+ <String Id="VB_Python">Υποστήριξη Python για το VirtualBox.</String>
+
+ <!---->
+
+ <String Id="NeedAdmin">Πρέπει να έχετε δικαιώματα διαχειριστή για την (απ)εγκατάσταση του [ProductName]! Η εφαρμογή θα τερματιστεί τώρα.</String>
+ <String Id="NeedMSCRT">[ProductName] needs the Microsoft Visual C++ 2019 Redistributable Package being installed first. Please install and restart the installation of [ProductName].</String>
+ <String Id="WrongOS">Αυτή η εφαρμογή τρέχει μόνο σε Windows XP ή παραπάνω.</String>
+ <String Id="Only32Bit">Αυτή η εφαρμογή τρέχει μόνο σε συστήματα Windows 32 bit. Εγκαταστήστε την έκδοση 64-bit του [ProductName]!</String>
+ <String Id="Only64Bit">Αυτή η εφαρμογή τρέχει μόνο σε συστήματα Windows 64 bit. Εγκαταστήστε την έκδοση 32-bit του [ProductName]!</String>
+ <String Id="SunFound">Βρέθηκε μία παλιότερη εγκατάσταση του Sun VirtualBox στον υπολογιστή. Καταργήστε πρώτα την εγκατάσταση αυτού του πακέτου και μετά εγκαταστήστε το [ProductName]!</String>
+ <String Id="InnotekFound">Βρέθηκε μία παλιότερη εγκατάσταση του innotek VirtualBox στον υπολογιστή. Καταργήστε πρώτα την εγκατάσταση αυτού του πακέτου και μετά εγκαταστήστε το [ProductName]!</String>
+
+ <!---->
+
+ <String Id="CancelDlg_Question">Είστε βέβαιοι ότι θέλετε να ακυρώσετε την εγκατάσταση του [ProductName];</String>
+
+ <!---->
+
+ <String Id="WelcomeDlg_Header">Καλώς ήρθατε στον Οδηγό Εγκατάστασης [ProductName]</String>
+ <String Id="WelcomeDlg_Body">Ο Οδηγός Εγκατάστασης θα εγκαταστήσει το [ProductName] στον υπολογιστή σας. Κάντε κλικ στο κουμπί "Επόμενο" για να συνεχίσετε ή στο κουμπί "Άκυρο" για έξοδο από τον Οδηγό Εγκατάστασης.</String>
+
+ <!---->
+
+ <String Id="LicenseAgreementDlg_Header">Συμφωνία Άδειας Χρήσης Τελικού Χρήστη</String>
+ <String Id="LicenseAgreementDlg_Body">Διαβάστε προσεκτικά την παρακάτω Άδειας Χρήσης.</String>
+ <String Id="LicenseAgreementDlg_Accept">Αποδέχομαι τους όρους της Άδειας Χρήσης</String>
+ <String Id="LicenseAgreementDlg_Decline">Δεν αποδέχομαι τους όρους της Άδειας Χρήσης</String>
+
+ <!---->
+
+ <String Id="CheckSerialDlg_Header">Σειριακός Αριθμός</String>
+ <String Id="CheckSerialDlg_Body">Εισάγετε τον σειριακό αριθμό σας στα παρακάτω πεδία. Θα το βρείτε στο αυτοκόλλητο μέσα στην θήκη του CD του VirtualBox.</String>
+ <String Id="CheckSerialDlg_Footer">Όταν ολοκληρώσετε την εισαγωγή του σειριακού αριθμού, πατήστε το κουμπί "Check" παρακάτω.</String>
+
+ <!---->
+
+ <String Id="WrongSerialDlg_Header">Ο καταχωρημένος σειριακός αριθμός δεν ήταν έγκυρος!</String>
+ <String Id="WrongSerialDlg_Desc1">Πληκτρολογήσετε ξανά τον σειριακό αριθμό σας.</String>
+ <String Id="WrongSerialDlg_Desc2">Λάβετε υπόψη ότι ο σειριακός αριθμός πρέπει να γράφεται ακριβώς όπως είναι τυπωμένος στο αυτοκόλλητο.</String>
+
+ <!---->
+
+ <String Id="WarnSaveStatesDlg_Header">Προειδοποίηση:</String>
+ <String Id="WarnSaveStatesDlg_Header2">Μη Συμβατές Αποθηκευμένες Καταστάσεις!</String>
+ <String Id="WarnSaveStatesDlg_Desc">Κατά την αναβάθμιση του [ProductName], όλες οι αποθηκευμένες καταστάσεις από τα ήδη υπάρχοντα σας εικονικές μηχανές δεν θα λειτουργούν πια! Μετά την εγκατάσταση, πρέπει να τις απορρίψετε μη αυτόματα.</String>
+ <String Id="WarnSaveStatesDlg_Proceed">Συνέχιση της εγκατάστασης;</String>
+
+ <!---->
+
+ <String Id="WarnTAPDevicesDlg_Header">Κάρτες Δικτύου</String>
+ <String Id="WarnTAPDevicesDlg_Desc">Αν χρησιμοποιούσατε ορισμένες κάρτες δικτύου για τις εικονικές μηχανές σας στην προηγούμενη έκδοση, θα πρέπει να τις ξαναδημιουργήσετε χειροποίητα μετά από την εγκατάσταση.</String>
+
+ <!---->
+
+ <String Id="NetCfgLocked">Η ακόλουθη εφαρμογή θα πρέπει να κλείσει πριν συνεχίσετε την εγκατάσταση: "[2]"</String>
+
+ <!---->
+
+ <String Id="CustomizeDlg_Location">Τοποθεσία:</String>
+ <String Id="CustomizeDlg_DiskUsage">Χρήση Δίσκου</String>
+ <String Id="CustomizeDlg_SelFeatures">Επιλέξτε τον τρόπο που θέλετε να εγκατασταθούν οι δυνατότητες.</String>
+ <String Id="CustomizeDlg_IconTree">Κάντε κλικ στα εικονίδια στο παρακάτω δέντρο για να αλλάξετε τον τρόπο που θα εγκατασταθούν οι δυνατότητες.</String>
+ <String Id="CustomizeDlg_CustomSetup">Προσαρμοσμένη ρύθμιση</String>
+ <String Id="CustomizeDlg_SelItemDesc">CustomizeDlgItemDescription-CustomizeDlgItemDescription</String>
+ <String Id="CustomizeDlg_SelItemSize">CustomizeDlgItemSize-CustomizeDlgItemSize</String>
+ <String Id="CustomizeDlg_SelItemPath">CustomizeDlgLocation-CustomizeDlgLocation</String>
+
+ <!---->
+
+ <String Id="Customize2Dlg_Header">Προσαρμογή</String>
+ <String Id="Customize2Dlg_Desc">Διαλέξτε από τις παρακάτω επιλογές:</String>
+ <String Id="Customize2Dlg_CreateStartMenuEntries">Δημιουργία καταχωρήσεων στο μενού έναρξης</String>
+ <String Id="Customize2Dlg_CreateDesktopShortcut">Δημιουργία συντόμευσης στην επιφάνεια εργασίας</String>
+ <String Id="Customize2Dlg_CreateQuickLaunch">Δημιουργία συντόμευσης στη γραμμή γρήγορης εκκίνησης</String>
+ <String Id="Customize2Dlg_RegisterFileExtensions">Καταχώριση συσχετίσεων αρχείων</String>
+
+ <!---->
+
+ <String Id="SelectionNetworkTypeDlg_CommonDescription">Επιλέξτε ποιο τύπο οδηγών δικτύου θα χρησιμοποιήσετε:</String>
+ <String Id="SelectionNetworkTypeDlg_DescriptionNDIS5">Οδηγός δικτύου NDIS5.
+Αυτή είναι η προεπιλογή για παλαιότερες εκδόσεις των Windows (προ-Vista).</String>
+ <String Id="SelectionNetworkTypeDlg_DescriptionNDIS6">Οδηγός δικτύου NDIS6.
+Αυτό είναι η προεπιλογή για νεότερες εκδόσεις των Windows (Vista και νεώτερα).</String>
+ <String Id="SelectionNetworkTypeDlg_RadioButtonNDIS5">Χρησιμοποιήστε τον οδηγό δικτύου NDIS5.</String>
+ <String Id="SelectionNetworkTypeDlg_RadioButtonNDIS6">Χρησιμοποιήστε τον οδηγό δικτύου NDIS6.</String>
+
+ <!---->
+
+ <String Id="WarnDisconNetIfacesDlg_Title">Προειδοποίηση:</String>
+ <String Id="WarnDisconNetIfacesDlg_Title2">Κάρτες Δικτύου</String>
+ <String Id="WarnDisconNetIfacesDlg_Desc">Η εγκατάσταση των χαρακτηριστικών δικτύου [ProductName] θα επαναφέρει τη σύνδεση δικτύου σας και θα σας αποσυνδέσει προσωρινά από το δίκτυο.</String>
+ <String Id="WarnDisconNetIfacesDlg_Question">Συνέχιση της εγκατάστασης;</String>
+
+ <!---->
+
+ <String Id="WarnPythonDlg_Title">Missing Dependencies</String>
+ <String Id="WarnPythonDlg_Title2">Python Core / win32api</String>
+ <String Id="WarnPythonDlg_Desc">Installing the [ProductName] Python bindings requires the Python Core package and the win32api bindings to be installed first.</String>
+ <String Id="WarnPythonDlg_Desc2">When continuing the installation of the [ProductName] Python bindings now, those need to be set up manually later. Refer to the [ProductName] SDK manual for more information.</String>
+ <String Id="WarnPythonDlg_Question">Proceed with installation now?</String>
+
+ <!---->
+
+ <String Id="DiskCostDlg_SpaceRequired">Ο χώρος στο δίσκο που απαιτείται για την εγκατάσταση των επιλεγμένων δυνατοτήτων.</String>
+ <String Id="DiskCostDlg_NotEnoughSpace">Οι επισημασμένοι τόμοι (αν υπάρχουν) δεν διαθέτουν αρκετό χώρο στο δίσκο για τις επιλεγμένες δυνατότητες. Μπορείτε είτε να αφαιρέσετε ορισμένα αρχεία από τους τόμους που έχουν επισημανθεί, είτε να εγκαταστήσετε λιγότερες δυνατότητες σε τοπικές μονάδες, ή να επιλέξετε διαφορετικές μονάδες προορισμού.</String>
+ <String Id="DiskCostDlg_SpaceRequirements">Απαιτήσεις Χώρου στο Δίσκο</String>
+ <String Id="DiskCostDlg_VolumeList">{120}{70}{70}{70}{70}</String>
+
+ <!---->
+
+ <String Id="BrowseDlg_BrowseDestFolder">Αναζήτηση στο φάκελο προορισμού</String>
+ <String Id="BrowseDlg_ChangeCurFolder">Αλλαγή τρέχοντος φακέλου προορισμού</String>
+ <String Id="BrowseDlg_UpOneLevelTooltip">Ένα επίπεδο πιο πάνω</String>
+ <String Id="BrowseDlg_CreateNewFolderTooltip">Δημιουργία νέου φακέλου</String>
+ <String Id="BrowseDlg_LookIn">Αναζήτηση σε:</String>
+ <String Id="BrowseDlg_FolderName">Όνομα φακέλου:</String>
+
+ <!---->
+
+ <String Id="VerifyReadyDlg_ReadyToBegin">Ο Οδηγός Εγκατάστασης είναι έτοιμος να ξεκινήσει την [InstallMode] εγκατάσταση.</String>
+ <String Id="VerifyReadyDlg_ClickInstall">Κάντε κλικ στο κουμπί "Εγκατάσταση" για να ξεκινήσετε την εγκατάσταση. Αν θέλετε να αναθεωρήσετε ή να αλλάξετε κάποια από τις ρυθμίσεις εγκατάστασης, κάντε κλικ στο κουμπί "Πίσω". Κάντε κλικ στο κουμπί "Άκυρο" για έξοδο από τον οδηγό.</String>
+ <String Id="VerifyReadyDlg_ReadyToInstall">Έτοιμο για εγκατάσταση</String>
+
+ <!---->
+
+ <String Id="ExitDlg_ClickFinish">Κάντε κλικ στο κουμπί "Τέλος" για να βγείτε από τον Οδηγό εγκατάστασης.</String>
+ <String Id="ExitDlg_InstComplete">Η εγκατάσταση του [ProductName] ολοκληρώθηκε.</String>
+ <String Id="ExitDlg_StartVBox">Ξεκινήστε το [ProductName] μετά την εγκατάσταση</String>
+
+ <!---->
+
+ <String Id="FatalErrorDlg_Header">Ο Οδηγός Εγκατάστασης του [ProductName] ολοκληρώθηκε πρόωρα</String>
+ <String Id="FatalErrorDlg_Desc">Η εγκατάσταση του [ProductName] σταμάτησε πρόωρα λόγω σφάλματος. Το σύστημά σας δεν έχει τροποποιηθεί. Για να εγκαταστήσετε το πρόγραμμα αργότερα, εκτελέστε ξανά την εγκατάσταση.</String>
+ <String Id="FatalErrorDlg_Footer">Κάντε κλικ στο κουμπί "Τέλος" για να βγείτε από τον Οδηγό Εγκατάστασης.</String>
+
+ <!---->
+
+ <String Id="FilesInUse_Text">Οι ακόλουθες εφαρμογές χρησιμοποιούν αρχεία που πρέπει να ενημερωθούν από αυτή τη εγκατάσταση. Κλείστε αυτές τις εφαρμογές και κάντε κλικ στο κουμπί "Επανάληψη" για να συνεχίσετε την εγκατάσταση ή στο κουμπί "Έξοδος" για έξοδο.</String>
+ <String Id="FilesInUse_Description">Ορισμένα αρχεία που πρέπει να ενημερωθούν χρησιμοποιούνται αυτή τη στιγμή.</String>
+ <String Id="FilesInUse_Title">Αρχεία σε Χρήση</String>
+
+ <!---->
+
+ <String Id="UserExitDlg_Header">Ο Οδηγός Εγκατάστασης του [ProductName] διακόπηκε</String>
+ <String Id="UserExitDlg_Desc">Η εγκατάσταση του [ProductName] διακόπτεται. Το σύστημά σας δεν έχει τροποποιηθεί. Για να εγκαταστήσετε αυτό το πρόγραμμα αργότερα, εκτελέστε ξανά την εγκατάσταση.</String>
+ <String Id="UserExitDlg_Footer">Κάντε κλικ στο κουμπί "Τέλος" για να βγείτε από τον Οδηγό εγκατάστασης.</String>
+
+ <!---->
+
+ <String Id="ProgressDlg_PleaseWait">Περιμένετε μέχρι ο Οδηγός Εγκατάστασης να εγκαταστήσει το [ProductName]. Αυτό μπορεί να διαρκέσει αρκετά λεπτά.</String>
+
+ <!---->
+
+ <String Id="ResumeDlg_Header">Επαναφορά του Οδηγού Εγκατάστασης [ProductName]</String>
+ <String Id="ResumeDlg_Desc">Ο Οδηγός Εγκατάστασης θα ολοκληρώσει την εγκατάσταση του [ProductName] στον υπολογιστή σας. Κάντε κλικ στο κουμπί "Εγκατάσταση" για να συνεχίσετε ή στο κουμπί "Άκυρο" για έξοδο από τον Οδηγό Εγκατάστασης.</String>
+
+ <!---->
+
+ <String Id="MaintenanceTypeDlg_Header">Τροποποίηση, Επισκευή ή Κατάργηση εγκατάστασης</String>
+ <String Id="MaintenanceTypeDlg_SelOption">Επιλέξτε τη λειτουργία που θέλετε να εκτελέσετε.</String>
+ <String Id="MaintenanceTypeDlg_Repair">Επισκευή</String>
+ <String Id="MaintenanceTypeDlg_RepairText">Επισκευή σφαλμάτων στην πιο πρόσφατη κατάσταση εγκατάστασης - διορθώνει αλλοιωμένα αρχεία ή αρχεία που λείπουν, συντομεύσεις και καταχωρήσεις μητρώου.</String>
+ <String Id="MaintenanceTypeDlg_RepairTooltip">Επισκευή εγκατάστασης</String>
+ <String Id="MaintenanceTypeDlg_RepairProgress1">Επισκευάζει</String>
+ <String Id="MaintenanceTypeDlg_RepairProgress2">επισκευές</String>
+ <String Id="MaintenanceTypeDlg_Remove">Κατάργηση</String>
+ <String Id="MaintenanceTypeDlg_RemoveText">Καταργεί το [ProductName] από τον υπολογιστή σας.</String>
+ <String Id="MaintenanceTypeDlg_RemoveTooltip">Κατάργηση εγκατάστασης</String>
+ <String Id="MaintenanceTypeDlg_RemoveProgress1">Κατάργεί</String>
+ <String Id="MaintenanceTypeDlg_RemoveProgress2">καταργήσεις</String>
+
+ <!---->
+
+ <String Id="MaintenanceWelcomeDlg_Header">Καλώς ήρθατε στον Οδηγό Εγκατάστασης [ProductName]</String>
+ <String Id="MaintenanceWelcomeDlg_Desc">Ο Οδηγός εγκατάστασης θα σας επιτρέψει να επισκευάσετε την τρέχουσα εγκατάσταση ή να καταργήσετε το [ProductName] από τον υπολογιστή σας. Κάντε κλικ στο κουμπί "Επόμενο" για να συνεχίσετε ή στο κουμπί "Άκυρο" για έξοδο από τον Οδηγό Εγκατάστασης.</String>
+
+ <!---->
+
+ <String Id="OutOfDiskDlg_InstallationExceeds">Ο χώρος στο δίσκο που απαιτείται για την εγκατάσταση υπερβαίνει το διαθέσιμο χώρο στο δίσκο.</String>
+ <String Id="OutOfDiskDlg_NotEnoughDiskSpace">Οι τόμοι που επισημαίνονται δεν έχουν αρκετό διαθέσιμο χώρο στο δίσκο για τις επιλεγμένες δυνατότητες. Μπορείτε να καταργήσετε μερικά αρχεία από τους τόμους που επισημαίνονται, να εγκαταστήσετε λιγότερες δυνατότητες ή να επιλέξετε μια διαφορετική μονάδα δίσκου προορισμού.</String>
+ <String Id="OutOfDiskDlg_OutOfDiskSpace">Δεν υπάρχει αρκετός χώρος στο δίσκο</String>
+
+ <!---->
+
+ <String Id="OutOfRbDiskDlg_InstallationExceeds">Ο χώρος στο δίσκο που απαιτείται για την εγκατάσταση υπερβαίνει το διαθέσιμο χώρο στο δίσκο.</String>
+ <String Id="OutOfRbDiskDlg_NotEnoughDiskSpace">Οι τόμοι που επισημαίνονται δεν έχουν αρκετό διαθέσιμο χώρο στο δίσκο για τις επιλεγμένες δυνατότητες. Μπορείτε να καταργήσετε μερικά αρχεία από τους τόμους που επισημαίνονται, να εγκαταστήσετε λιγότερες δυνατότητες ή να επιλέξετε μια διαφορετική μονάδα δίσκου προορισμού.</String>
+ <String Id="OutOfRbDiskDlg_OutOfDiskSpace">Δεν υπάρχει αρκετός χώρος στο δίσκο</String>
+ <String Id="OutOfRbDiskDlg_Desc">Εναλλακτικά, μπορείτε να επιλέξετε να απενεργοποιήσετε τη λειτουργία επαναφοράς του εγκαταστάτη. Αυτό επιτρέπει στο πρόγραμμα εγκατάστασης να επαναφέρει την αρχική κατάσταση του υπολογιστή σας σε περίπτωση διακοπής της εγκατάστασης με οποιονδήποτε τρόπο. Κάντε κλικ στο κουμπί "Ναι" εάν θέλετε να αναλάβετε το ρίσκο απενεργοποίησης της επαναφοράς.</String>
+
+ <!---->
+
+ <String Id="VerifyRemoveDlg_Header">Κατάργηση [ProductName]</String>
+ <String Id="VerifyRemoveDlg_Desc">Έχετε επιλέξει να καταργήσετε το πρόγραμμα από τον υπολογιστή σας.</String>
+ <String Id="VerifyRemoveDlg_ClickRemove">Κάντε κλικ στο κουμπί "Κατάργηση" για να καταργήσετε το [ProductName] από τον υπολογιστή σας. Αν θέλετε να αναθεωρήσετε ή να αλλάξετε κάποια από τις ρυθμίσεις εγκατάστασης, κάντε κλικ στο κουμπί "Πίσω". Κάντε κλικ στο κουμπί "Άκυρο" για έξοδο από τον οδηγό.</String>
+
+ <!---->
+
+ <String Id="VerifyRepairDlg_Header">Επιδιόρθωση [ProductName]</String>
+ <String Id="VerifyRepairDlg_ReadyToBegin">Ο Οδηγός εγκατάστασης είναι έτοιμος να ξεκινήσει την επιδιόρθωση του [ProductName].</String>
+ <String Id="VerifyRepairDlg_ClickRepair">Κάντε κλικ στο κουμπί "Επιδιόρθωση" για να επιδιορθώσετε την εγκατάσταση του [ProductName]. Αν θέλετε να αναθεωρήσετε ή να αλλάξετε κάποια από τις ρυθμίσεις εγκατάστασης, κάντε κλικ στο κουμπί "Πίσω". Κάντε κλικ στο κουμπί "Άκυρο" για έξοδο από τον οδηγό.</String>
+
+ <!---->
+
+ <String Id="WaitForCostingDlg_PleaseWait">Περιμένετε μέχρι να ολοκληρωθεί ο καθορισμός των απαιτήσεων του χώρου στο δίσκο.</String>
+
+ <!---->
+
+ <String Id="MsiRMFilesInUse_Text">Οι ακόλουθες εφαρμογές χρησιμοποιούν αρχεία που πρέπει να ενημερωθούν από αυτή τη ρύθμιση. Μπορείτε να αφήσετε τον Οδηγό εγκατάστασης να τα κλείσει και να επιχειρήσετε να τα επανεκκινήσετε ή να επανεκκινήσετε αργότερα το μηχάνημα.</String>
+ <String Id="MsiRMFilesInUse_Description">Ορισμένα αρχεία που πρέπει να ενημερωθούν χρησιμοποιούνται αυτή τη στιγμή.</String>
+ <String Id="MsiRMFilesInUse_Title">Αρχεία σε χρήση</String>
+ <String Id="MsiRMFilesInUse_UseRM">Κλείστε τις εφαρμογές και προσπαθήστε να τις επανεκκινήσετε.</String>
+ <String Id="MsiRMFilesInUse_DontUseRM">Μην κλείσετε εφαρμογές. Απαιτείται επανεκκίνηση.</String>
+
+ <!-- The following strings are internally used by WiX and MSI -->
+ <String Id="Error0">{{Ανεπανόρθωτο σφάλμα: }}</String>
+ <String Id="Error1">{{Σφάλμα [1]. }}</String>
+ <String Id="Error2">Προειδοποίηση [1]. </String>
+ <String Id="Error3" />
+ <String Id="Error4">Πληροφορίες [1]. </String>
+ <String Id="Error5">Το πρόγραμμα εγκατάστασης αντιμετώπισε ένα μη αναμενόμενο σφάλμα κατά την εγκατάσταση αυτού του πακέτου. Αυτό μπορεί να αποτελεί ένδειξη προβλήματος σε αυτό το πακέτο. Ο κωδικός σφάλματος είναι [1]. {{Τα ορίσματα είναι: [2], [3], [4]}}</String>
+ <String Id="Error6" />
+ <String Id="Error7">{{Ο δίσκος είναι πλήρης: }}</String>
+ <String Id="Error8">Ενέργεια [Time]: [1]. [2]</String>
+ <String Id="Error9">[ProductName]</String>
+ <String Id="Error10">{[2]}{, [3]}{, [4]}</String>
+ <String Id="Error11">Τύπος μηνύματος: [1], Όρισμα: [2]</String>
+ <String Id="Error12">=== Έναρξη καταγραφής: [Date] [Time] ===</String>
+ <String Id="Error13">=== Διακοπή καταγραφής: [Date] [Time] ===</String>
+ <String Id="Error14">Έναρξη ενέργειας [Time]: [1].</String>
+ <String Id="Error15">Τερματισμός ενέργειας [Time]: [1]. Τιμή επιστροφής [2].</String>
+ <String Id="Error16">Χρόνος που απομένει: {[1] λεπτά }{[2] δευτερόλεπτα}</String>
+ <String Id="Error17">Η μνήμη δεν επαρκεί. Τερματίστε τις άλλες εφαρμογές προτού προσπαθήσετε ξανά.</String>
+ <String Id="Error18">Το πρόγραμμα εγκατάστασης δεν αποκρίνεται πλέον.</String>
+ <String Id="Error19">Το πρόγραμμα εγκατάστασης τερματίστηκε πρόωρα.</String>
+ <String Id="Error20">Περιμένετε όσο τα Windows ρυθμίζουν τις παραμέτρους του [ProductName]</String>
+ <String Id="Error21">Συλλογή απαιτούμενων πληροφοριών...</String>
+ <String Id="Error22">Κατάργηση παλαιότερων εκδόσεων αυτής της εφαρμογής...</String>
+ <String Id="Error23">Προετοιμασία για κατάργηση παλαιότερων εκδόσεων της εφαρμογής...</String>
+ <String Id="Error32">Η εγκατάσταση του {[ProductName] }ολοκληρώθηκε με επιτυχία.</String>
+ <String Id="Error33">Η εγκατάσταση του {[ProductName] } απέτυχε.</String>
+ <String Id="Error1101">Παρουσιάστηκε σφάλμα κατά την ανάγνωση από το αρχείο: [2]. {{Σφάλμα συστήματος [3].}} Βεβαιωθείτε ότι το αρχείο υπάρχει και ότι έχετε πρόσβαση σε αυτό.</String>
+ <String Id="Error1301">Δεν είναι δυνατή η δημιουργία του αρχείου "[2]". Υπάρχει ήδη ένας κατάλογος με αυτό το όνομα. Ακυρώστε την εγκατάσταση και προσπαθήστε να κάνετε εγκατάσταση σε διαφορετική θέση.</String>
+ <String Id="Error1302">Τοποθετήστε το δίσκο: [2]</String>
+ <String Id="Error1303">Το πρόγραμμα εγκατάστασης δεν διαθέτει επαρκή δικαιώματα πρόσβασης σε αυτόν τον κατάλογο: [2]. Δεν είναι δυνατό να συνεχιστεί η εγκατάσταση. Συνδεθείτε ως διαχειριστής ή επικοινωνήστε με το διαχειριστή του συστήματός σας.</String>
+ <String Id="Error1304">Παρουσιάστηκε σφάλμα κατά την εγγραφή στο αρχείο: [2]. Βεβαιωθείτε ότι έχετε πρόσβαση σε αυτόν τον κατάλογο.</String>
+ <String Id="Error1305">Παρουσιάστηκε σφάλμα κατά την ανάγνωση από το αρχείο [2]. {{ Σφάλμα συστήματος [3].}} Βεβαιωθείτε ότι το αρχείο υπάρχει και ότι έχετε πρόσβαση σε αυτό.</String>
+ <String Id="Error1306">Μια άλλη εφαρμογή έχει αποκλειστικά δικαιώματα πρόσβασης στο αρχείο '[2]'. Τερματίστε όλες τις άλλες εφαρμογές και κάντε κλικ στο κουμπί "Επανάληψη".</String>
+ <String Id="Error1307">Δεν υπάρχει αρκετός χώρος στο δίσκο για την εγκατάσταση αυτού του αρχείου: [2]. Αποδεσμεύστε χώρο από το δίσκο και μετά κάντε κλικ στο κουμπί "Επανάληψη" ή στο κουμπί "Άκυρο" για έξοδο.</String>
+ <String Id="Error1308">Το αρχείο προέλευσης δεν βρέθηκε: [2]. Βεβαιωθείτε ότι το αρχείο υπάρχει και ότι έχετε πρόσβαση σε αυτό.</String>
+ <String Id="Error1309">Παρουσιάστηκε σφάλμα κατά την ανάγνωση από το αρχείο: [3]. {{ Σφάλμα συστήματος [2].}} Βεβαιωθείτε ότι το αρχείο υπάρχει και ότι έχετε πρόσβαση σε αυτό.</String>
+ <String Id="Error1310">Παρουσιάστηκε σφάλμα κατά την εγγραφή στο αρχείο: [3]. {{ Σφάλμα συστήματος [2].}} Βεβαιωθείτε ότι έχετε πρόσβαση σε αυτόν τον κατάλογο.</String>
+ <String Id="Error1311">Δεν βρέθηκε το αρχείο προέλευσης{{(αρχειοθήκη)}}: [2]. Βεβαιωθείτε ότι το αρχείο υπάρχει και ότι έχετε πρόσβαση σε αυτό.</String>
+ <String Id="Error1312">Δεν είναι δυνατή η δημιουργία του καταλόγου "[2]". Υπάρχει ήδη ένα αρχείο με αυτό το όνομα. Μετονομάστε ή καταργήστε το αρχείο και κάντε κλικ στο κουμπί "Επανάληψη" ή στο κουμπί "Άκυρο" για έξοδο.</String>
+ <String Id="Error1313">Ο τόμος [2] δεν είναι διαθέσιμος αυτήν τη στιγμή. Επιλέξτε έναν άλλον τόμο.</String>
+ <String Id="Error1314">Η καθορισμένη διαδρομή "[2]" δεν είναι διαθέσιμη.</String>
+ <String Id="Error1315">Δεν είναι δυνατή η εγγραφή στον καθορισμένο φάκελο: [2].</String>
+ <String Id="Error1316">Παρουσιάστηκε σφάλμα δικτύου κατά την προσπάθεια ανάγνωσης από το αρχείο: [2]</String>
+ <String Id="Error1317">Παρουσιάστηκε σφάλμα κατά την προσπάθεια δημιουργίας του καταλόγου: [2]</String>
+ <String Id="Error1318">Παρουσιάστηκε σφάλμα δικτύου κατά την προσπάθεια δημιουργίας του καταλόγου: [2]</String>
+ <String Id="Error1319">Παρουσιάστηκε σφάλμα δικτύου κατά την προσπάθεια ανοίγματος της αρχειοθήκης του αρχείου προέλευσης: [2]</String>
+ <String Id="Error1320">Η καθορισμένη διαδρομή είναι υπερβολικά μεγάλη: [2]</String>
+ <String Id="Error1321">Το πρόγραμμα εγκατάστασης δεν έχει επαρκή δικαιώματα για την τροποποίηση αυτού του αρχείου: [2].</String>
+ <String Id="Error1322">Ένα μέρος της διαδρομής φακέλου "[2]" δεν είναι έγκυρο. Είτε είναι κενό είτε υπερβαίνει το μέγιστο επιτρεπόμενο μήκος του συστήματος.</String>
+ <String Id="Error1323">Η διαδρομή φακέλου "[2]" περιέχει λέξεις που δεν είναι έγκυρες σε διαδρομές φακέλων.</String>
+ <String Id="Error1324">Η διαδρομή φακέλου "[2]" περιέχει ένα μη έγκυρο χαρακτήρα.</String>
+ <String Id="Error1325">Το "[2]" δεν είναι έγκυρο σύντομο όνομα αρχείου.</String>
+ <String Id="Error1326">Παρουσιάστηκε σφάλμα κατά τη λήψη της ασφάλειας του αρχείου: [3] GetLastError: [2]</String>
+ <String Id="Error1327">Η μονάδα δίσκου δεν είναι έγκυρη: [2]</String>
+ <String Id="Error1328">Παρουσιάστηκε σφάλμα κατά την εφαρμογή της ενημέρωσης κώδικα στο αρχείο [2]. Πιθανόν να έχει ενημερωθεί με άλλα μέσα και να μην είναι δυνατή η τροποποίησή του από αυτή την ενημέρωση κώδικα. Για περισσότερες πληροφορίες, επικοινωνήστε με τον προμηθευτή της ενημέρωσης κώδικα. {{Σφάλμα συστήματος: [3]}}</String>
+ <String Id="Error1329">Δεν είναι δυνατή η εγκατάσταση ενός απαιτούμενου αρχείου, επειδή η αρχειοθήκη [2] δεν είναι υπογεγραμμένη ψηφιακά. Αυτό μπορεί να σημαίνει ότι η αρχειοθήκη είναι κατεστραμμένη.</String>
+ <String Id="Error1330">Δεν είναι δυνατή η εγκατάσταση ενός απαιτούμενου αρχείου, επειδή η αρχειοθήκη [2] έχει μη έγκυρη ψηφιακή υπογραφή. Αυτό μπορεί να σημαίνει ότι η αρχειοθήκη είναι κατεστραμμένη.{{ Επιστράφηκε σφάλμα [3] από τη λειτουργία WinVerifyTrust.}}</String>
+ <String Id="Error1331">Αποτυχία σωστής αντιγραφής αρχείου [2]: Σφάλμα CRC.</String>
+ <String Id="Error1332">Αποτυχία σωστής μετακίνησης αρχείου [2]: Σφάλμα CRC.</String>
+ <String Id="Error1333">Αποτυχία σωστής ενημέρωσης αρχείου [2]: Σφάλμα CRC.</String>
+ <String Id="Error1334">Δεν είναι δυνατή η εγκατάσταση του αρχείου "[2]", επειδή δεν είναι δυνατή η εύρεση του αρχείου στην αρχειοθήκη "[3]". Αυτό μπορεί να σημαίνει σφάλμα δικτύου, σφάλμα ανάγνωσης από το CD-ROM ή πρόβλημα του πακέτου.</String>
+ <String Id="Error1335">Η αρχειοθήκη "[2]" που απαιτείται για αυτή την εγκατάσταση έχει καταστραφεί και δεν μπορεί να χρησιμοποιηθεί. Αυτό μπορεί να σημαίνει σφάλμα δικτύου, σφάλμα ανάγνωσης από το CD-ROM ή πρόβλημα του πακέτου.</String>
+ <String Id="Error1336">Παρουσιάστηκε σφάλμα κατά την απόπειρα δημιουργίας ενός προσωρινού αρχείου απαραίτητου για την ολοκλήρωση αυτής της εγκατάστασης.{{ Φάκελος: [3]. Κωδικός σφάλματος συστήματος: [2]}}</String>
+ <String Id="Error1401">Δεν ήταν δυνατή η δημιουργία του κλειδιού: [2]. {{ Σφάλμα συστήματος [3].}} Βεβαιωθείτε ότι έχετε επαρκή δικαιώματα πρόσβασης σε αυτό το κλειδί ή επικοινωνήστε με το προσωπικό υποστήριξης. </String>
+ <String Id="Error1402">Δεν ήταν δυνατό το άνοιγμα του κλειδιού: [2]. {{Σφάλμα συστήματος [3].}} Βεβαιωθείτε ότι έχετε επαρκή δικαιώματα πρόσβασης σε αυτό το κλειδί ή επικοινωνήστε με το προσωπικό υποστήριξης. </String>
+ <String Id="Error1403">Δεν ήταν δυνατή η διαγραφή της τιμής [2] από το κλειδί [3]. {{ Σφάλμα συστήματος [4].}} Βεβαιωθείτε ότι έχετε επαρκή δικαιώματα πρόσβασης σε αυτό το κλειδί ή επικοινωνήστε με το προσωπικό υποστήριξης. </String>
+ <String Id="Error1404">Δεν ήταν δυνατή η διαγραφή του κλειδιού [2]. {{ Σφάλμα συστήματος [3].}} Βεβαιωθείτε ότι έχετε επαρκή δικαιώματα πρόσβασης σε αυτό το κλειδί ή επικοινωνήστε με το προσωπικό υποστήριξης. </String>
+ <String Id="Error1405">Δεν ήταν δυνατή η ανάγνωση της τιμής [2] από το κλειδί [3]. {{ Σφάλμα συστήματος [4].}} Βεβαιωθείτε ότι έχετε επαρκή δικαιώματα πρόσβασης σε αυτό το κλειδί ή επικοινωνήστε με το προσωπικό υποστήριξης. </String>
+ <String Id="Error1406">Δεν ήταν δυνατή η εγγραφή της τιμής [2] στο κλειδί [3]. {{ Σφάλμα συστήματος [4].}} Βεβαιωθείτε ότι έχετε επαρκή δικαιώματα πρόσβασης σε αυτό το κλειδί ή επικοινωνήστε με το προσωπικό υποστήριξης.</String>
+ <String Id="Error1407">Δεν ήταν δυνατή η λήψη ονομάτων τιμών για το κλειδί [2]. {{ Σφάλμα συστήματος [3].}} Βεβαιωθείτε ότι έχετε επαρκή δικαιώματα πρόσβασης σε αυτό το κλειδί ή επικοινωνήστε με το προσωπικό υποστήριξης.</String>
+ <String Id="Error1408">Δεν ήταν δυνατή η λήψη ονομάτων δευτερευόντων κλειδιών για το κλειδί [2]. {{ Σφάλμα συστήματος [3].}} Βεβαιωθείτε ότι έχετε επαρκή δικαιώματα πρόσβασης σε αυτό το κλειδί ή επικοινωνήστε με το προσωπικό υποστήριξης.</String>
+ <String Id="Error1409">Δεν ήταν δυνατή η ανάγνωση πληροφοριών ασφαλείας για το κλειδί [2]. {{ Σφάλμα συστήματος [3].}} Βεβαιωθείτε ότι έχετε επαρκή δικαιώματα πρόσβασης σε αυτό το κλειδί ή επικοινωνήστε με το προσωπικό υποστήριξης.</String>
+ <String Id="Error1410">Δεν ήταν δυνατή η αύξηση του διαθέσιμου χώρου στο μητρώο. Απαιτούνται [2] KB ελεύθερου χώρου στο μητρώο για την εγκατάσταση αυτής της εφαρμογής.</String>
+ <String Id="Error1500">Μια άλλη εγκατάσταση είναι σε εξέλιξη. Ολοκληρώστε την εγκατάσταση που βρίσκεται σε εξέλιξη προτού συνεχίσετε με αυτή την εγκατάσταση.</String>
+ <String Id="Error1501">Παρουσιάστηκε σφάλμα κατά την πρόσβαση σε ασφαλή δεδομένα. Βεβαιωθείτε ότι οι παράμετροι του Windows Installer έχουν ρυθμιστεί σωστά και προσπαθήστε να επαναλάβετε την εγκατάσταση.</String>
+ <String Id="Error1502">Ο χρήστης "[2]" έχει προετοιμάσει ήδη μια εγκατάσταση για το προϊόν "[3]". Αυτός ο χρήστης θα πρέπει να εκτελέσει τη συγκεκριμένη εγκατάσταση ξανά, για να μπορέσει να χρησιμοποιήσει το προϊόν. Η τρέχουσα εγκατάσταση θα συνεχιστεί τώρα.</String>
+ <String Id="Error1503">Ο χρήστης "[2]" έχει προετοιμάσει ήδη μια εγκατάσταση για το προϊόν "[3]". Αυτός ο χρήστης θα πρέπει να εκτελέσει τη συγκεκριμένη εγκατάσταση ξανά, για να μπορέσει να χρησιμοποιήσει το προϊόν.</String>
+ <String Id="Error1601">Δεν επαρκεί ο χώρος στο δίσκο -- Τόμος: "[2]"; απαιτούμενος χώρος: [3] KB, διαθέσιμος χώρος: [4] KB. Αποδεσμεύστε χώρο στο δίσκο και δοκιμάστε ξανά.</String>
+ <String Id="Error1602">Είστε βέβαιοι ότι θέλετε να κάνετε ακύρωση;</String>
+ <String Id="Error1603">Το αρχείο [2][3] χρησιμοποιείται { από την ακόλουθη διεργασία: Όνομα: [4], Αναγνωριστικό: [5], Τίτλος παραθύρου: "[6]"}. Κλείστε αυτή την εφαρμογή και δοκιμάστε ξανά.</String>
+ <String Id="Error1604">Το προϊόν "[2]" είναι ήδη εγκατεστημένο, γεγονός που εμποδίζει την εγκατάσταση αυτού του προϊόντος. Τα δύο προϊόντα δεν είναι συμβατά.</String>
+ <String Id="Error1605">Δεν υπάρχει αρκετός χώρος δίσκου στον τόμο "[2]" για τη συνέχιση της εγκατάστασης με ενεργοποιημένη την ανάκτηση. Απαιτούνται [3] KB, αλλά είναι διαθέσιμα μόνο [4] KB. Κάντε κλικ στο κουμπί "Παράβλεψη", για να συνεχίσετε την εγκατάσταση χωρίς την αποθήκευση πληροφοριών ανάκτησης. Κάντε κλικ στο κουμπί "Επανάληψη" για νέο έλεγχο του διαθέσιμου χώρου ή στο κουμπί "Άκυρο", για να τερματίσετε την εγκατάσταση.</String>
+ <String Id="Error1606">Δεν ήταν δυνατή η πρόσβαση στη θέση δικτύου [2].</String>
+ <String Id="Error1607">Πρέπει να κλείσετε τις παρακάτω εφαρμογές, για να συνεχίσετε την εγκατάσταση:</String>
+ <String Id="Error1608">Δεν ήταν δυνατή η εύρεση συμβατών προϊόντων που έχουν ήδη εγκατασταθεί στον υπολογιστή για την εγκατάσταση αυτού του προϊόντος.</String>
+ <String Id="Error1609">Παρουσιάστηκε σφάλμα κατά την εφαρμογή των ρυθμίσεων ασφαλείας. Ο χρήστης "[2]" δεν είναι έγκυρος χρήστης ή ομάδα χρηστών. Αυτό θα μπορούσε να σημαίνει πρόβλημα με το πακέτο ή πρόβλημα με τη σύνδεση σε ελεγκτή τομέα στο δίκτυο. Ελέγξτε τη σύνδεση δικτύου σας και κάντε κλικ στο κουμπί "Επανάληψη" ή κάντε στο κουμπί "Άκυρο", για να τερματίσετε την εγκατάσταση. {{Δεν ήταν δυνατός ο εντοπισμός του SID χρήστη, σφάλμα συστήματος [3]}}</String>
+ <String Id="Error1701">Το κλειδί [2] δεν είναι έγκυρο. Βεβαιωθείτε ότι εισαγάγατε το σωστό κλειδί.</String>
+ <String Id="Error1702">Το πρόγραμμα εγκατάστασης πρέπει να επανεκκινήσει το σύστημά σας, για να συνεχιστεί η ρύθμιση των παραμέτρων του [2]. Κάντε κλικ στο κουμπί "Ναι", για να γίνει επανεκκίνηση τώρα ή στο κουμπί "Όχι", εάν θέλετε να κάνετε επανεκκίνηση αργότερα με μη αυτόματο τρόπο.</String>
+ <String Id="Error1703">Πρέπει να κάνετε επανεκκίνηση του συστήματός σας για να ενεργοποιηθούν οι αλλαγές που έγιναν στις ρυθμίσεις των παραμέτρων του [2]. Κάντε κλικ στο κουμπί "Ναι" για να γίνει επανεκκίνηση τώρα ή στο κουμπί "Όχι" εάν θέλετε να κάνετε επανεκκίνηση αργότερα με μη αυτόματο τρόπο.</String>
+ <String Id="Error1704">Αυτήν τη στιγμή έχει ανασταλεί η εγκατάσταση του [2]. Πρέπει να αναιρέσετε τις αλλαγές που έγιναν από αυτή την εγκατάσταση για να συνεχίσετε. Θέλετε να αναιρέσετε αυτές τις αλλαγές;</String>
+ <String Id="Error1705">Μια προηγούμενη εγκατάσταση για αυτό το προϊόν βρίσκεται σε εξέλιξη. Πρέπει να αναιρέσετε τις αλλαγές που έγιναν από αυτή την εγκατάσταση για να συνεχίσετε. Θέλετε να αναιρέσετε αυτές τις αλλαγές;</String>
+ <String Id="Error1706">Δεν ήταν δυνατή η εύρεση ενός πακέτου εγκατάστασης για το προϊόν [2]. Επιχειρήστε εκ νέου εγκατάσταση χρησιμοποιώντας ένα έγκυρο αντίγραφο του πακέτου εγκατάστασης '[3]'.</String>
+ <String Id="Error1707">Η εγκατάσταση ολοκληρώθηκε με επιτυχία.</String>
+ <String Id="Error1708">Η εγκατάσταση απέτυχε.</String>
+ <String Id="Error1709">Προϊόν: [2] -- [3]</String>
+ <String Id="Error1710">Μπορείτε να επαναφέρετε τον υπολογιστή σας στην προηγούμενή του κατάσταση ή να συνεχίσετε την εγκατάσταση αργότερα. Θέλετε να γίνει επαναφορά;</String>
+ <String Id="Error1711">Παρουσιάστηκε σφάλμα κατά την εγγραφή των πληροφοριών εγκατάστασης στο δίσκο. Βεβαιωθείτε ότι υπάρχει αρκετός διαθέσιμος χώρος στο δίσκο και κάντε κλικ στο κουμπί "Επανάληψη" ή στο κουμπί "Άκυρο", για να τερματίσετε την εγκατάσταση.</String>
+ <String Id="Error1712">Δεν ήταν δυνατή η εύρεση ενός ή περισσότερων αρχείων που απαιτούνται για την επαναφορά του υπολογιστή σας στην προηγούμενή του κατάσταση. Δεν θα είναι δυνατή η επαναφορά.</String>
+ <String Id="Error1713">Το πρόγραμμα [2] δεν είναι δυνατό να εγκαταστήσει ένα από τα απαιτούμενα προϊόντα του. Επικοινωνήστε με την ομάδα τεχνικής υποστήριξης. {{Σφάλμα συστήματος: [3].}}</String>
+ <String Id="Error1714">Δεν είναι δυνατή η κατάργηση της παλαιότερης έκδοσης του προγράμματος [2]. Επικοινωνήστε με την ομάδα τεχνικής υποστήριξης. {{Σφάλμα συστήματος [3].}}</String>
+ <String Id="Error1715">Έγινε εγκατάσταση του [2]</String>
+ <String Id="Error1716">Έγινε ρύθμιση παραμέτρων του [2]</String>
+ <String Id="Error1717">Έγινε κατάργηση του [2]</String>
+ <String Id="Error1718">Το αρχείο [2] απορρίφθηκε από την πολιτική ψηφιακής υπογραφής.</String>
+ <String Id="Error1719">Δεν ήταν δυνατή η πρόσβαση στην υπηρεσία του Windows Installer. Αυτό μπορεί να συμβεί, εάν εκτελείτε τα Windows σε κατάσταση ασφαλούς λειτουργίας ή εάν το Windows Installer δεν έχει εγκατασταθεί σωστά. Επικοινωνήστε με το προσωπικό υποστήριξης για βοήθεια.</String>
+ <String Id="Error1720">Υπάρχει ένα πρόβλημα με αυτό το πακέτο του Windows Installer. Μια δέσμη ενεργειών που απαιτείται για να ολοκληρωθεί αυτή η εγκατάσταση δεν μπόρεσε να εκτελεστεί. Επικοινωνήστε με το προσωπικό υποστήριξης ή τον προμηθευτή του πακέτου. {{Προσαρμοσμένη ενέργεια [2] σφάλμα δέσμης ενεργειών [3], [4]: [5] Γραμμή [6], Στήλη [7], [8] }}</String>
+ <String Id="Error1721">Υπάρχει ένα πρόβλημα με αυτό το πακέτο του Windows Installer. Ένα πρόγραμμα που απαιτείται για να ολοκληρωθεί αυτή η εγκατάσταση δεν μπόρεσε να εκτελεστεί. Επικοινωνήστε με το προσωπικό υποστήριξης ή τον προμηθευτή του πακέτου. {{Ενέργεια: [2], θέση: [3], εντολή: [4] }}</String>
+ <String Id="Error1722">Υπάρχει ένα πρόβλημα με αυτό το πακέτο του Windows Installer. Ένα πρόγραμμα που εκτελείται ως μέρος αυτού του προγράμματος εγκατάστασης δεν ολοκληρώθηκε όπως αναμενόταν. Επικοινωνήστε με το προσωπικό υποστήριξης ή τον προμηθευτή του πακέτου. {{Ενέργεια [2], θέση: [3], εντολή: [4] }}</String>
+ <String Id="Error1723">Υπάρχει ένα πρόβλημα με αυτό το πακέτο του Windows Installer. Ένα αρχείο DLL που απαιτείται για να ολοκληρωθεί αυτή η εγκατάσταση δεν μπόρεσε να εκτελεστεί. Επικοινωνήστε με το προσωπικό υποστήριξης ή τον προμηθευτή του πακέτου. {{Ενέργεια [2], καταχώρηση: [3], βιβλιοθήκη: [4] }}</String>
+ <String Id="Error1724">Η κατάργηση ολοκληρώθηκε με επιτυχία.</String>
+ <String Id="Error1725">Η κατάργηση απέτυχε.</String>
+ <String Id="Error1726">Η κοινοποίηση ολοκληρώθηκε με επιτυχία.</String>
+ <String Id="Error1727">Η κοινοποίηση απέτυχε.</String>
+ <String Id="Error1728">Η ρύθμιση παραμέτρων ολοκληρώθηκε με επιτυχία.</String>
+ <String Id="Error1729">Η ρύθμιση παραμέτρων απέτυχε.</String>
+ <String Id="Error1730">Πρέπει να είστε διαχειριστής, για να καταργήσετε αυτή την εφαρμογή. Για την κατάργησή της θα πρέπει να συνδεθείτε στον υπολογιστή ως διαχειριστής ή να ζητήσετε βοήθεια από την ομάδα τεχνικής υποστήριξης.</String>
+ <String Id="Error1731">Το πακέτο εγκατάστασης του αρχείου προέλευσης για το προϊόν [2] είναι εκτός συγχρονισμού με το πακέτο του προγράμματος-πελάτη. Επιχειρήστε εκ νέου εγκατάσταση χρησιμοποιώντας ένα έγκυρο αντίγραφο του πακέτου εγκατάστασης '[3]'.</String>
+ <String Id="Error1732">Για να ολοκληρωθεί η εγκατάσταση του [2], πρέπει να κάνετε επανεκκίνηση του υπολογιστή. Αυτήν τη στιγμή είναι συνδεδεμένοι άλλοι χρήστες σε αυτόν τον υπολογιστή και με την επανεκκίνηση μπορεί να χάσουν τις εργασίες τους. Θέλετε να κάνετε επανεκκίνηση τώρα;</String>
+ <String Id="Error1801">Η διαδρομή [2] δεν είναι έγκυρη. Καθορίστε μια έγκυρη διαδρομή.</String>
+ <String Id="Error1802">Η μνήμη δεν επαρκεί. Τερματίστε τις άλλες εφαρμογές προτού προσπαθήσετε ξανά.</String>
+ <String Id="Error1803">Δεν υπάρχει δίσκος στη μονάδα δίσκου [2]. Τοποθετήστε ένα δίσκο και κάντε κλικ στο κουμπί "Επανάληψη" ή στο κουμπί "Άκυρο" για να επιστρέψετε στον τόμο που είχε επιλεγεί προηγουμένως.</String>
+ <String Id="Error1804">Δεν υπάρχει δίσκος στη μονάδα δίσκου [2]. Τοποθετήστε ένα δίσκο και κάντε κλικ στο κουμπί "Επανάληψη" ή στο κουμπί "Άκυρο" για να επιστρέψετε στο παράθυρο διαλόγου "Αναζήτηση" και να επιλέξετε έναν άλλον τόμο.</String>
+ <String Id="Error1805">Ο φάκελος [2] δεν υπάρχει. Πληκτρολογήστε μια διαδρομή προς ένα φάκελο που υπάρχει.</String>
+ <String Id="Error1806">Δεν έχετε επαρκή δικαιώματα για την ανάγνωση αυτού του φακέλου.</String>
+ <String Id="Error1807">Δεν ήταν δυνατός ο προσδιορισμός έγκυρου φακέλου προορισμού για την εγκατάσταση.</String>
+ <String Id="Error1901">Παρουσιάστηκε σφάλμα κατά την προσπάθεια ανάγνωσης από τη βάση δεδομένων εγκατάστασης προέλευσης: [2].</String>
+ <String Id="Error1902">Προγραμματισμός λειτουργίας επανεκκίνησης: Μετονομασία αρχείου [2] σε [3]. Πρέπει να γίνει επανεκκίνηση για να ολοκληρωθεί η λειτουργία.</String>
+ <String Id="Error1903">Προγραμματισμός λειτουργίας επανεκκίνησης: Διαγραφή αρχείου [2]. Πρέπει να γίνει επανεκκίνηση για να ολοκληρωθεί η λειτουργία.</String>
+ <String Id="Error1904">Η καταχώρηση της λειτουργικής μονάδας [2] απέτυχε. HRESULT [3]. Επικοινωνήστε με το προσωπικό υποστήριξης.</String>
+ <String Id="Error1905">Η κατάργηση της καταχώρησης της λειτουργικής μονάδας [2] απέτυχε. HRESULT [3]. Επικοινωνήστε με το προσωπικό υποστήριξης.</String>
+ <String Id="Error1906">Η εγγραφή του πακέτου [2] στη μνήμη cache απέτυχε. Σφάλμα: [3]. Επικοινωνήστε με το προσωπικό υποστήριξης.</String>
+ <String Id="Error1907">Δεν ήταν δυνατή η καταχώρηση της γραμματοσειράς [2]. Βεβαιωθείτε ότι έχετε επαρκή δικαιώματα για την εγκατάσταση γραμματοσειρών και ότι το σύστημα υποστηρίζει αυτήν τη γραμματοσειρά.</String>
+ <String Id="Error1908">Δεν ήταν δυνατή η κατάργηση της καταχώρησης της γραμματοσειράς [2]. Βεβαιωθείτε ότι έχετε επαρκή δικαιώματα για την κατάργηση γραμματοσειρών.</String>
+ <String Id="Error1909">Δεν ήταν δυνατή η δημιουργία της συντόμευσης [2]. Βεβαιωθείτε ότι ο φάκελος προορισμού υπάρχει και ότι έχετε πρόσβαση σε αυτόν.</String>
+ <String Id="Error1910">Δεν ήταν δυνατή η κατάργηση της συντόμευσης [2]. Βεβαιωθείτε ότι το αρχείο συντόμευσης υπάρχει και ότι έχετε πρόσβαση σε αυτό.</String>
+ <String Id="Error1911">Δεν ήταν δυνατή η καταχώρηση βιβλιοθήκης τύπων για το αρχείο [2]. Επικοινωνήστε με το προσωπικό υποστήριξης.</String>
+ <String Id="Error1912">Δεν ήταν δυνατή η κατάργηση της καταχώρησης βιβλιοθήκης τύπων για το αρχείο [2]. Επικοινωνήστε με το προσωπικό υποστήριξης.</String>
+ <String Id="Error1913">Δεν ήταν δυνατή η ενημέρωση του αρχείου ini [2][3]. Βεβαιωθείτε ότι το αρχείο υπάρχει και ότι έχετε πρόσβαση σε αυτό.</String>
+ <String Id="Error1914">Δεν ήταν δυνατός ο προγραμματισμός του αρχείου [2] ώστε να αντικαταστήσει το αρχείο [3] κατά την επανεκκίνηση. Βεβαιωθείτε ότι έχετε δικαιώματα εγγραφής στο αρχείο [3].</String>
+ <String Id="Error1915">Παρουσιάστηκε σφάλμα κατά την κατάργηση της διαχείρισης προγραμμάτων οδήγησης ODBC. Σφάλμα ODBC [2]: [3]. Επικοινωνήστε με το προσωπικό υποστήριξης.</String>
+ <String Id="Error1916">Παρουσιάστηκε σφάλμα κατά την εγκατάσταση της διαχείρισης προγραμμάτων οδήγησης ODBC. Σφάλμα ODBC [2]: [3]. Επικοινωνήστε με το προσωπικό υποστήριξης.</String>
+ <String Id="Error1917">Παρουσιάστηκε σφάλμα κατά την κατάργηση του προγράμματος οδήγησης ODBC: [4]. Σφάλμα ODBC [2]: [3]. Βεβαιωθείτε ότι έχετε επαρκή δικαιώματα για την κατάργηση προγραμμάτων οδήγησης ODBC.</String>
+ <String Id="Error1918">Παρουσιάστηκε σφάλμα κατά την εγκατάσταση του προγράμματος οδήγησης ODBC: [4]. Σφάλμα ODBC [2]: [3]. Βεβαιωθείτε ότι το αρχείο [4] υπάρχει και ότι έχετε πρόσβαση σε αυτό.</String>
+ <String Id="Error1919">Παρουσιάστηκε σφάλμα κατά τη ρύθμιση παραμέτρων της προέλευσης δεδομένων ODBC: [4]. Σφάλμα ODBC [2]: [3]. Βεβαιωθείτε ότι το αρχείο [4] υπάρχει και ότι έχετε πρόσβαση σε αυτό.</String>
+ <String Id="Error1920">Η εκκίνηση της υπηρεσίας "[2]" ([3]) απέτυχε. Βεβαιωθείτε ότι έχετε επαρκή δικαιώματα για την εκκίνηση υπηρεσιών συστήματος.</String>
+ <String Id="Error1921">Δεν ήταν δυνατή η διακοπή της υπηρεσίας "[2]" ([3]). Βεβαιωθείτε ότι έχετε επαρκή δικαιώματα για τη διακοπή υπηρεσιών συστήματος.</String>
+ <String Id="Error1922">Δεν ήταν δυνατή η διαγραφή της υπηρεσίας "[2]" ([3]). Βεβαιωθείτε ότι έχετε επαρκή δικαιώματα για την κατάργηση υπηρεσιών συστήματος.</String>
+ <String Id="Error1923">Δεν ήταν δυνατή η εγκατάσταση της υπηρεσίας "[2]" ([3]). Βεβαιωθείτε ότι έχετε επαρκή δικαιώματα για την εγκατάσταση υπηρεσιών συστήματος.</String>
+ <String Id="Error1924">Δεν ήταν δυνατή η ενημέρωση της μεταβλητής περιβάλλοντος "[2]". Βεβαιωθείτε ότι έχετε επαρκή δικαιώματα για την τροποποίηση μεταβλητών περιβάλλοντος.</String>
+ <String Id="Error1925">Δεν έχετε επαρκή δικαιώματα για την ολοκλήρωση αυτής της εγκατάστασης για όλους τους χρήστες του υπολογιστή. Συνδεθείτε ως διαχειριστής και προσπαθήστε ξανά να κάνετε εγκατάσταση.</String>
+ <String Id="Error1926">Δεν ήταν δυνατή η ρύθμιση ασφαλείας αρχείου για το αρχείο "[3]". Σφάλμα: [2]. Βεβαιωθείτε ότι έχετε επαρκή δικαιώματα για την τροποποίηση των δικαιωμάτων ασφαλείας για αυτό το αρχείο.</String>
+ <String Id="Error1927">Οι υπηρεσίες στοιχείων (COM+ 1.0) δεν έχουν εγκατασταθεί σε αυτόν τον υπολογιστή. Αυτή η εγκατάσταση απαιτεί τις υπηρεσίες στοιχείων για να ολοκληρωθεί με επιτυχία. Οι υπηρεσίες στοιχείων είναι διαθέσιμες στα Windows 2000.</String>
+ <String Id="Error1928">Παρουσιάστηκε σφάλμα κατά την καταχώρηση της εφαρμογής COM+. Για περισσότερες πληροφορίες, επικοινωνήστε με το προσωπικό υποστήριξης.</String>
+ <String Id="Error1929">Παρουσιάστηκε σφάλμα κατά την κατάργηση της καταχώρησης της εφαρμογής COM+. Για περισσότερες πληροφορίες, επικοινωνήστε με το προσωπικό υποστήριξης.</String>
+ <String Id="Error1930">Δεν ήταν δυνατή η αλλαγή της περιγραφής για την υπηρεσία "[2]" ([3]).</String>
+ <String Id="Error1931">Δεν είναι δυνατή η ενημέρωση του αρχείου συστήματος [2] από την υπηρεσία Windows Installer, επειδή το αρχείο προστατεύεται από τα Windows. Ίσως χρειαστεί να ενημερώσετε το λειτουργικό σας σύστημα, ώστε να λειτουργεί σωστά αυτό το πρόγραμμα. {{Έκδοση πακέτου: [3], Έκδοση προστατευμένου λειτουργικού συστήματος: [4]}}</String>
+ <String Id="Error1932">Δεν είναι δυνατή η ενημέρωση του προστατευμένου αρχείου των Windows [2] από την υπηρεσία του Windows Installer. {{Έκδοση πακέτου: [3], Έκδοση προστατευμένου λειτουργικού συστήματος: [4], Σφάλμα SFP: [5]}}</String>
+ <String Id="Error1933">Η υπηρεσία Windows Installer δεν μπορεί να ενημερώσει ένα ή περισσότερα προστατευμένα αρχεία των Windows. {{Σφάλμα SFP: [2]. Λίστα προστατευμένων αρχείων:\r\n[3]}}</String>
+ <String Id="Error1934">Οι εγκαταστάσεις χρηστών είναι απενεργοποιημένες μέσω πολιτικής στον υπολογιστή.</String>
+ <String Id="Error1935">Παρουσιάστηκε σφάλμα κατά την εγκατάσταση της συγκρότησης "[6]". Ανατρέξτε στη Βοήθεια και Υποστήριξη για περισσότερες πληροφορίες. HRESULT: [3]. {{διασύνδεση συγκρότησης: [4], λειτουργία: [5], στοιχείο: [2]}}</String>
+ <String Id="Error1936">Παρουσιάστηκε σφάλμα κατά την εγκατάσταση της συγκρότησης "[6]". Η συγκρότηση δεν έχει ισχυρό όνομα ή δεν διαθέτει υπογραφή με το ελάχιστο μήκος κλειδιού. HRESULT: [3]. {{διασύνδεση συγκρότησης: [4], λειτουργία: [5], στοιχείο: [2]}}</String>
+ <String Id="Error1937">Παρουσιάστηκε σφάλμα κατά την εγκατάσταση της συγκρότησης "[6]". Η υπογραφή ή ο κατάλογος δεν ήταν δυνατό να επαληθευτούν ή δεν είναι έγκυρα. HRESULT: [3]. {{διασύνδεση συγκρότησης: [4], λειτουργία: [5], στοιχείο: [2]}}</String>
+ <String Id="Error1938">Παρουσιάστηκε σφάλμα κατά την εγκατάσταση της συγκρότησης "[6]". Μία ή περισσότερες λειτουργικές μονάδες της συγκρότησης δεν ήταν δυνατό να βρεθούν. HRESULT: [3]. {{διασύνδεση συγκρότησης: [4], λειτουργία: [5], στοιχείο: [2]}}</String>
+
+ <!-- Own / special errors -->
+ <String Id="Error25001">Η εφαρμογή "[2]" πρέπει να κλείσει για να συνεχιστεί η εγκατάσταση.</String>
+
+ <String Id="ProgressTextInstallValidate">Επικύρωση εγκατάστασης</String>
+ <String Id="ProgressTextInstallFiles">Αντιγραφή νέων αρχείων</String>
+ <String Id="ProgressTextInstallFilesTemplate">Αρχείο: [1], Κατάλογος: [9], Μέγεθος: [6]</String>
+ <String Id="ProgressTextInstallAdminPackage">Αντιγραφή αρχείων εγκατάστασης δικτύου</String>
+ <String Id="ProgressTextInstallAdminPackageTemplate">Αρχείο: [1], Κατάλογος: [9], Μέγεθος: [6]</String>
+ <String Id="ProgressTextFileCost">Υπολογισμός απαιτούμενου χώρου</String>
+ <String Id="ProgressTextCostInitialize">Υπολογισμός απαιτούμενου χώρου</String>
+ <String Id="ProgressTextCostFinalize">Υπολογισμός απαιτούμενου χώρου</String>
+ <String Id="ProgressTextCreateShortcuts">Δημιουργία συντομεύσεων</String>
+ <String Id="ProgressTextCreateShortcutsTemplate">Συντόμευση: [1]</String>
+ <String Id="ProgressTextPublishComponents">Δημοσίευση προσδιορισμένων στοιχείων</String>
+ <String Id="ProgressTextPublishComponentsTemplate">Αναγνωριστικό στοιχείου: [1], Προσδιοριστικό: [2]</String>
+ <String Id="ProgressTextPublishFeatures">Δημοσίευση δυνατοτήτων προϊόντος</String>
+ <String Id="ProgressTextPublishFeaturesTemplate">Δυνατότητα: [1]</String>
+ <String Id="ProgressTextPublishProduct">Δημοσίευση πληροφοριών προϊόντος</String>
+ <String Id="ProgressTextRegisterClassInfo">Καταχώρηση διακομιστών κλάσης</String>
+ <String Id="ProgressTextRegisterClassInfoTemplate">Αναγνωριστικό κλάσης: [1]</String>
+ <String Id="ProgressTextRegisterExtensionInfo">Καταχώρηση διακομιστών επέκτασης</String>
+ <String Id="ProgressTextRegisterExtensionInfoTemplate">Επέκταση: [1]</String>
+ <String Id="ProgressTextRegisterMIMEInfo">Καταχώρηση πληροφοριών MIME</String>
+ <String Id="ProgressTextRegisterMIMEInfoTemplate">Τύπος περιεχομένου MIME: [1], Επέκταση: [2]</String>
+ <String Id="ProgressTextRegisterProgIdInfo">Καταχώρηση αναγνωριστικών προγράμματος</String>
+ <String Id="ProgressTextRegisterProgIdInfoTemplate">Αναγνωριστικό προγράμματος: [1]</String>
+ <String Id="ProgressTextAllocateRegistrySpace">Εκχώρηση χώρου στο μητρώο</String>
+ <String Id="ProgressTextAllocateRegistrySpaceTemplate">Ελεύθερος χώρος: [1]</String>
+ <String Id="ProgressTextAppSearch">Αναζήτηση εγκατεστημένων εφαρμογών</String>
+ <String Id="ProgressTextAppSearchTemplate">Ιδιότητα: [1], Υπογραφή: [2]</String>
+ <String Id="ProgressTextBindImage">Σύνδεση εκτελέσιμων αρχείων</String>
+ <String Id="ProgressTextBindImageTemplate">Αρχείο: [1]</String>
+ <String Id="ProgressTextCCPSearch">Αναζήτηση για κατάλληλα προϊόντα</String>
+ <String Id="ProgressTextCreateFolders">Δημιουργία φακέλων</String>
+ <String Id="ProgressTextCreateFoldersTemplate">Φάκελος: [1]</String>
+ <String Id="ProgressTextDeleteServices">Διαγραφή υπηρεσιών</String>
+ <String Id="ProgressTextDeleteServicesTemplate">Υπηρεσία: [1]</String>
+ <String Id="ProgressTextDuplicateFiles">Δημιουργία διπλότυπων αρχείων</String>
+ <String Id="ProgressTextDuplicateFilesTemplate">Αρχείο: [1], Κατάλογος: [9], Μέγεθος: [6]</String>
+ <String Id="ProgressTextFindRelatedProducts">Αναζήτηση σχετικών εφαρμογών</String>
+ <String Id="ProgressTextFindRelatedProductsTemplate">Βρέθηκε η εφαρμογή: [1]</String>
+ <String Id="ProgressTextInstallODBC">Εγκατάσταση στοιχείων ODBC</String>
+ <String Id="ProgressTextInstallServices">Εγκατάσταση νέων υπηρεσιών</String>
+ <String Id="ProgressTextInstallServicesTemplate">Υπηρεσία: [2]</String>
+ <String Id="ProgressTextLaunchConditions">Αξιολόγηση συνθηκών εκκίνησης</String>
+ <String Id="ProgressTextMigrateFeatureStates">Μετεγκατάσταση καταστάσεων δυνατοτήτων από σχετικές εφαρμογές</String>
+ <String Id="ProgressTextMigrateFeatureStatesTemplate">Εφαρμογή: [1]</String>
+ <String Id="ProgressTextMoveFiles">Μετακίνηση αρχείων</String>
+ <String Id="ProgressTextMoveFilesTemplate">Αρχείο: [1], Κατάλογος: [9], Μέγεθος: [6]</String>
+ <String Id="ProgressTextPatchFiles">Ενημέρωση κώδικα αρχείων</String>
+ <String Id="ProgressTextPatchFilesTemplate">Αρχείο: [1], Κατάλογος: [2], Μέγεθος: [3]</String>
+ <String Id="ProgressTextProcessComponents">Ενημέρωση καταχώρησης στοιχείου</String>
+ <String Id="ProgressTextRegisterComPlus">Καταχώρηση εφαρμογών και στοιχείων COM+</String>
+ <String Id="ProgressTextRegisterComPlusTemplate">Αναγνωριστικό εφαρμογής: [1]{{, Τύπος εφαρμογής: [2], Χρήστες: [3], RSN: [4]}}</String>
+ <String Id="ProgressTextRegisterFonts">Καταχώρηση γραμματοσειρών</String>
+ <String Id="ProgressTextRegisterFontsTemplate">Γραμματοσειρά: [1]</String>
+ <String Id="ProgressTextRegisterProduct">Δήλωση προϊόντος</String>
+ <String Id="ProgressTextRegisterProductTemplate">[1]</String>
+ <String Id="ProgressTextRegisterTypeLibraries">Καταχώρηση βιβλιοθηκών τύπων</String>
+ <String Id="ProgressTextRegisterTypeLibrariesTemplate">Αναγνωριστικό βιβλιοθήκης: [1]</String>
+ <String Id="ProgressTextRegisterUser">Καταχώρηση χρήστη</String>
+ <String Id="ProgressTextRegisterUserTemplate">[1]</String>
+ <String Id="ProgressTextRemoveDuplicateFiles">Κατάργηση διπλότυπων αρχείων</String>
+ <String Id="ProgressTextRemoveDuplicateFilesTemplate">Αρχείο: [1], Κατάλογος: [9]</String>
+ <String Id="ProgressTextRemoveEnvironmentStrings">Ενημέρωση συμβολοσειρών περιβάλλοντος</String>
+ <String Id="ProgressTextRemoveEnvironmentStringsTemplate">Όνομα: [1], Τιμή: [2], Ενέργεια [3]</String>
+ <String Id="ProgressTextRemoveExistingProducts">Κατάργηση εφαρμογών</String>
+ <String Id="ProgressTextRemoveExistingProductsTemplate">Εφαρμογή: [1], Γραμμή εντολών: [2]</String>
+ <String Id="ProgressTextRemoveFiles">Κατάργηση αρχείων</String>
+ <String Id="ProgressTextRemoveFilesTemplate">Αρχείο: [1], Κατάλογος: [9]</String>
+ <String Id="ProgressTextRemoveFolders">Κατάργηση φακέλων</String>
+ <String Id="ProgressTextRemoveFoldersTemplate">Φάκελος: [1]</String>
+ <String Id="ProgressTextRemoveIniValues">Κατάργηση καταχωρήσεων αρχείων INI</String>
+ <String Id="ProgressTextRemoveIniValuesTemplate">Αρχείο: [1], Ενότητα: [2], Κλειδί: [3], Τιμή: [4]</String>
+ <String Id="ProgressTextRemoveODBC">Κατάργηση στοιχείων ODBC</String>
+ <String Id="ProgressTextRemoveRegistryValues">Κατάργηση τιμών μητρώου συστήματος</String>
+ <String Id="ProgressTextRemoveRegistryValuesTemplate">Κλειδί: [1], Όνομα: [2]</String>
+ <String Id="ProgressTextRemoveShortcuts">Κατάργηση συντομεύσεων</String>
+ <String Id="ProgressTextRemoveShortcutsTemplate">Συντόμευση: [1]</String>
+ <String Id="ProgressTextRMCCPSearch">Αναζήτηση για κατάλληλα προϊόντα</String>
+ <String Id="ProgressTextSelfRegModules">Καταχώρηση λειτουργικών μονάδων</String>
+ <String Id="ProgressTextSelfRegModulesTemplate">Αρχείο: [1], Φάκελος: [2]</String>
+ <String Id="ProgressTextSelfUnregModules">Κατάργηση καταχώρησης λειτουργικών μονάδων</String>
+ <String Id="ProgressTextSelfUnregModulesTemplate">Αρχείο: [1], Φάκελος: [2]</String>
+ <String Id="ProgressTextSetODBCFolders">Προετοιμασία καταλόγων ODBC</String>
+ <String Id="ProgressTextStartServices">Εκκίνηση υπηρεσιών</String>
+ <String Id="ProgressTextStartServicesTemplate">Υπηρεσία: [1]</String>
+ <String Id="ProgressTextStopServices">Διακοπή υπηρεσιών</String>
+ <String Id="ProgressTextStopServicesTemplate">Υπηρεσία: [1]</String>
+ <String Id="ProgressTextUnpublishComponents">Κατάργηση δημοσίευσης προσδιορισμένων στοιχείων</String>
+ <String Id="ProgressTextUnpublishComponentsTemplate">Αναγνωριστικό στοιχείου: [1], Προσδιοριστικό: [2]</String>
+ <String Id="ProgressTextUnpublishFeatures">Κατάργηση δημοσίευσης δυνατοτήτων προϊόντος</String>
+ <String Id="ProgressTextUnpublishFeaturesTemplate">Δυνατότητα: [1]</String>
+ <String Id="ProgressTextUnregisterClassInfo">Κατάργηση καταχώρησης διακομιστών κλάσης</String>
+ <String Id="ProgressTextUnregisterClassInfoTemplate">Αναγνωριστικό κλάσης: [1]</String>
+ <String Id="ProgressTextUnregisterComPlus">Κατάργηση καταχώρησης εφαρμογών και στοιχείων COM+</String>
+ <String Id="ProgressTextUnregisterComPlusTemplate">Αναγνωριστικό εφαρμογής: [1]{{, Τύπος εφαρμογής: [2]}}</String>
+ <String Id="ProgressTextUnregisterExtensionInfo">Κατάργηση καταχώρησης διακομιστών επέκτασης</String>
+ <String Id="ProgressTextUnregisterExtensionInfoTemplate">Επέκταση: [1]</String>
+ <String Id="ProgressTextUnregisterFonts">Κατάργηση καταχώρησης γραμματοσειρών</String>
+ <String Id="ProgressTextUnregisterFontsTemplate">Γραμματοσειρά: [1]</String>
+ <String Id="ProgressTextUnregisterMIMEInfo">Κατάργηση καταχώρησης πληροφοριών MIME</String>
+ <String Id="ProgressTextUnregisterMIMEInfoTemplate">Τύπος περιεχομένου MIME: [1], Επέκταση: [2]</String>
+ <String Id="ProgressTextUnregisterProgIdInfo">Κατάργηση καταχώρησης αναγνωριστικών προγράμματος</String>
+ <String Id="ProgressTextUnregisterProgIdInfoTemplate">Αναγνωριστικό προγράμματος: [1]</String>
+ <String Id="ProgressTextUnregisterTypeLibraries">Κατάργηση καταχώρησης βιβλιοθηκών τύπων</String>
+ <String Id="ProgressTextUnregisterTypeLibrariesTemplate">Αναγνωριστικό βιβλιοθήκης: [1]</String>
+ <String Id="ProgressTextWriteEnvironmentStrings">Ενημέρωση συμβολοσειρών περιβάλλοντος</String>
+ <String Id="ProgressTextWriteEnvironmentStringsTemplate">Όνομα: [1], Τιμή: [2], Ενέργεια [3]</String>
+ <String Id="ProgressTextWriteIniValues">Εγγραφή τιμών αρχείων INI</String>
+ <String Id="ProgressTextWriteIniValuesTemplate">Αρχείο: [1], Ενότητα: [2], Κλειδί: [3], Τιμή: [4]</String>
+ <String Id="ProgressTextWriteRegistryValues">Εγγραφή τιμών μητρώου συστήματος</String>
+ <String Id="ProgressTextWriteRegistryValuesTemplate">Κλειδί: [1], Όνομα: [2], Τιμή: [3]</String>
+ <String Id="ProgressTextAdvertise">Κοινοποίηση εφαρμογής</String>
+ <String Id="ProgressTextGenerateScript">Δημιουργία ενεργειών δέσμης για την ενέργεια:</String>
+ <String Id="ProgressTextGenerateScriptTemplate">[1]</String>
+ <String Id="ProgressTextInstallSFPCatalogFile">Εγκατάσταση καταλόγου συστήματος</String>
+ <String Id="ProgressTextInstallSFPCatalogFileTemplate">Αρχείο: [1], Εξαρτήσεις: [2]</String>
+ <String Id="ProgressTextMsiPublishAssemblies">Δημοσίευση πληροφοριών συγκρότησης</String>
+ <String Id="ProgressTextMsiPublishAssembliesTemplate">Περιβάλλον εφαρμογής:[1], Όνομα συγκρότησης:[2]</String>
+ <String Id="ProgressTextMsiUnpublishAssemblies">Κατάργηση δημοσίευσης πληροφοριών συγκρότησης</String>
+ <String Id="ProgressTextMsiUnpublishAssembliesTemplate">Περιβάλλον εφαρμογής:[1], Όνομα συγκρότησης:[2]</String>
+ <String Id="ProgressTextRollback">Ενέργεια επαναφοράς:</String>
+ <String Id="ProgressTextRollbackTemplate">[1]</String>
+ <String Id="ProgressTextRollbackCleanup">Κατάργηση αρχείων αντιγράφων ασφαλείας</String>
+ <String Id="ProgressTextRollbackCleanupTemplate">Αρχείο: [1]</String>
+ <String Id="ProgressTextUnmoveFiles">Κατάργηση αρχείων που μετακινήθηκαν</String>
+ <String Id="ProgressTextUnmoveFilesTemplate">Αρχείο: [1], Κατάλογος: [9]</String>
+ <String Id="ProgressTextUnpublishProduct">Κατάργηση δημοσίευσης πληροφοριών προϊόντος</String>
+
+ <String Id="UITextbytes">bytes</String>
+ <String Id="UITextGB">GB</String>
+ <String Id="UITextKB">KB</String>
+ <String Id="UITextMB">MB</String>
+ <String Id="UITextMenuAbsent">Δεν θα είναι διαθέσιμη η πλήρης δυνατότητα</String>
+ <String Id="UITextMenuAdvertise">Η δυνατότητα θα εγκατασταθεί όταν ζητηθεί</String>
+ <String Id="UITextMenuAllCD">Η πλήρης δυνατότητα θα εγκατασταθεί για εκτέλεση από το CD</String>
+ <String Id="UITextMenuAllLocal">Η πλήρης δυνατότητα θα εγκατασταθεί στον τοπικό σκληρό δίσκο</String>
+ <String Id="UITextMenuAllNetwork">Η πλήρης δυνατότητα θα εγκατασταθεί για εκτέλεση από το δίκτυο</String>
+ <String Id="UITextMenuCD">Θα εγκατασταθεί για εκτέλεση από το CD</String>
+ <String Id="UITextMenuLocal">Θα εγκατασταθεί στον τοπικό σκληρό δίσκο</String>
+ <String Id="UITextMenuNetwork">Θα εγκατασταθεί για εκτέλεση από το δίκτυο</String>
+ <String Id="UITextScriptInProgress">Συλλογή απαιτούμενων πληροφοριών...</String>
+ <String Id="UITextSelAbsentAbsent">Αυτή η δυνατότητα δεν θα εγκατασταθεί</String>
+ <String Id="UITextSelAbsentAdvertise">Αυτή η δυνατότητα θα ρυθμιστεί έτσι ώστε να εγκατασταθεί όταν θα είναι απαραίτητη</String>
+ <String Id="UITextSelAbsentCD">Αυτή η δυνατότητα θα εγκατασταθεί ώστε να εκτελείται από CD</String>
+ <String Id="UITextSelAbsentLocal">Αυτή η δυνατότητα θα εγκατασταθεί στον τοπικό σκληρό δίσκο</String>
+ <String Id="UITextSelAbsentNetwork">Αυτή η δυνατότητα θα εγκατασταθεί ώστε να εκτελείται από το δίκτυο</String>
+ <String Id="UITextSelAdvertiseAbsent">Αυτή η δυνατότητα δεν θα είναι πλέον διαθέσιμη</String>
+ <String Id="UITextSelAdvertiseAdvertise">Θα εγκατασταθεί όταν ζητηθεί</String>
+ <String Id="UITextSelAdvertiseCD">Αυτή η δυνατότητα θα είναι διαθέσιμη για εκτέλεση από το CD</String>
+ <String Id="UITextSelAdvertiseLocal">Αυτή η δυνατότητα θα εγκατασταθεί στον τοπικό σκληρό δίσκο</String>
+ <String Id="UITextSelAdvertiseNetwork">Αυτή η δυνατότητα θα είναι διαθέσιμη για εκτέλεση από το δίκτυο</String>
+ <String Id="UITextSelCDAbsent">Η εγκατάσταση αυτής της δυνατότητας θα καταργηθεί πλήρως, δεν θα μπορείτε να την εκτελέσετε από CD</String>
+ <String Id="UITextSelCDAdvertise">Αυτή η δυνατότητα θα αλλάξει από την κατάσταση εκτέλεσης από CD, για να εγκατασταθεί όταν ζητηθεί</String>
+ <String Id="UITextSelCDCD">Αυτή η δυνατότητα θα εξακολουθήσει να εκτελείται από CD</String>
+ <String Id="UITextSelCDLocal">Αυτή η δυνατότητα θα αλλάξει από την κατάσταση εκτέλεσης από CD, για να εγκατασταθεί στον τοπικό σκληρό δίσκο</String>
+ <String Id="UITextSelChildCostNeg">Αυτή η δυνατότητα αποδεσμεύει [1] από το σκληρό δίσκο.</String>
+ <String Id="UITextSelChildCostPos">Αυτή η δυνατότητα απαιτεί [1] στο σκληρό δίσκο.</String>
+ <String Id="UITextSelCostPending">Υπολογισμός απαιτούμενου χώρου για αυτήν τη δυνατότητα...</String>
+ <String Id="UITextSelLocalAbsent">Αυτή η δυνατότητα θα καταργηθεί εντελώς</String>
+ <String Id="UITextSelLocalAdvertise">Αυτή η δυνατότητα θα καταργηθεί από τον τοπικό σκληρό σας δίσκο, αλλά θα ρυθμιστεί για να εγκατασταθεί όταν ζητηθεί</String>
+ <String Id="UITextSelLocalCD">Αυτή η δυνατότητα θα καταργηθεί από τον τοπικό σκληρό δίσκο, αλλά θα είναι ακόμη διαθέσιμη για εκτέλεση από CD</String>
+ <String Id="UITextSelLocalLocal">Αυτή η δυνατότητα θα παραμείνει στον τοπικό σκληρό σας δίσκο</String>
+ <String Id="UITextSelLocalNetwork">Αυτή η δυνατότητα θα καταργηθεί από τον τοπικό σκληρό δίσκο, αλλά θα είναι ακόμη διαθέσιμη για εκτέλεση από το δίκτυο</String>
+ <String Id="UITextSelNetworkAbsent">Η εγκατάσταση αυτής της δυνατότητας θα καταργηθεί πλήρως, δεν θα μπορείτε να την εκτελέσετε από το δίκτυο</String>
+ <String Id="UITextSelNetworkAdvertise">Αυτή η δυνατότητα θα αλλάξει από την κατάσταση εκτέλεσης από το δίκτυο, για να εγκατασταθεί όταν ζητηθεί</String>
+ <String Id="UITextSelNetworkLocal">Αυτή η δυνατότητα θα αλλάξει από την κατάσταση εκτέλεσης από το δίκτυο, για να εγκατασταθεί στον τοπικό σκληρό δίσκο</String>
+ <String Id="UITextSelNetworkNetwork">Αυτή η δυνατότητα θα εξακολουθήσει να εκτελείται από το δίκτυο</String>
+ <String Id="UITextSelParentCostNegNeg">Αυτή η δυνατότητα αποδεσμεύει [1] από το σκληρό δίσκο. Οι [2] από τις [3] δευτερεύουσες δυνατότητές της είναι επιλεγμένες. Οι δευτερεύουσες δυνατότητες αποδεσμεύουν έως [4] από το σκληρό δίσκο.</String>
+ <String Id="UITextSelParentCostNegPos">Αυτή η δυνατότητα αποδεσμεύει [1] από το σκληρό δίσκο. Οι [2] από τις [3] δευτερεύουσες δυνατότητές της είναι επιλεγμένες. Οι δευτερεύουσες δυνατότητες απαιτούν [4] στο σκληρό δίσκο.</String>
+ <String Id="UITextSelParentCostPosNeg">Αυτή η δυνατότητα απαιτεί [1] στο σκληρό δίσκο. Οι [2] από τις [3] δευτερεύουσες δυνατότητές της είναι επιλεγμένες. Οι δευτερεύουσες δυνατότητες αποδεσμεύουν έως [4] από το σκληρό δίσκο.</String>
+ <String Id="UITextSelParentCostPosPos">Αυτή η δυνατότητα απαιτεί [1] στο σκληρό δίσκο. Οι [2] από τις [3] δευτερεύουσες δυνατότητές της είναι επιλεγμένες. Οι δευτερεύουσες δυνατότητες απαιτούν [4] στο σκληρό δίσκο.</String>
+ <String Id="UITextTimeRemaining">Χρόνος που απομένει: {[1] λεπτά }{[2] δευτερόλεπτα}</String>
+ <String Id="UITextVolumeCostAvailable">Διαθέσιμο</String>
+ <String Id="UITextVolumeCostDifference">Διαφορά</String>
+ <String Id="UITextVolumeCostRequired">Απαιτούμενο</String>
+ <String Id="UITextVolumeCostSize">Μέγεθος δίσκου</String>
+ <String Id="UITextVolumeCostVolume">Τόμος</String>
+</WixLocalization>
diff --git a/src/VBox/Installer/win/NLS/en_US.wxl b/src/VBox/Installer/win/NLS/en_US.wxl
new file mode 100644
index 00000000..b3be4e45
--- /dev/null
+++ b/src/VBox/Installer/win/NLS/en_US.wxl
@@ -0,0 +1,620 @@
+<?xml version="1.0" encoding="utf-8"?>
+
+<!--
+ Language Definition Include for VirtualBox WiX script.
+-->
+<!--
+ Copyright (C) 2011-2023 Oracle and/or its affiliates.
+
+ This file is part of VirtualBox base platform packages, as
+ available from https://www.virtualbox.org.
+
+ This program is free software; you can redistribute it and/or
+ modify it under the terms of the GNU General Public License
+ as published by the Free Software Foundation, in version 3 of the
+ License.
+
+ This program is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, see <https://www.gnu.org/licenses>.
+
+ SPDX-License-Identifier: GPL-3.0-only
+-->
+
+<WixLocalization xmlns="http://schemas.microsoft.com/wix/2006/localization" Codepage="1252" Culture="en_US">
+ <String Id="LANG">1033</String>
+ <String Id="LangName">English</String>
+
+ <String Id="ButtonText_No">&amp;No</String>
+ <String Id="ButtonText_Yes">&amp;Yes</String>
+ <String Id="ButtonText_Cancel">&amp;Cancel</String>
+ <String Id="ButtonText_Next">&amp;Next &gt;</String>
+ <String Id="ButtonText_Back">&lt; &amp;Back</String>
+ <String Id="ButtonText_Browse">Br&amp;owse</String>
+ <String Id="ButtonText_OK">O&amp;K</String>
+ <String Id="ButtonText_Check">&amp;Check</String>
+ <String Id="ButtonText_Install">&amp;Install</String>
+ <String Id="ButtonText_Remove">&amp;Remove</String>
+ <String Id="ButtonText_Finish">&amp;Finish</String>
+ <String Id="ButtonText_Repair">&amp;Repair</String>
+ <String Id="ButtonText_Return">&amp;Return</String>
+ <String Id="ButtonText_Retry">Re&amp;try</String>
+ <String Id="ButtonText_Ignore">I&amp;gnore</String>
+ <String Id="ButtonText_Exit">E&amp;xit</String>
+
+ <String Id="InstallModeCustom">Custom</String>
+ <String Id="Setup">Setup</String>
+
+ <!---->
+
+ <String Id="StartMenu_License">License</String>
+ <String Id="StartMenu_UserManual">User manual</String>
+
+ <!---->
+
+ <String Id="VB_App">[ProductName] application.</String>
+ <String Id="VB_USBDriver">[ProductName] USB device drivers for USB device support.</String>
+ <String Id="VB_Network">[ProductName] network device drivers for networking support.</String>
+ <String Id="VB_NetFltDriver">[ProductName] driver for Bridged Networking.</String>
+ <String Id="VB_NetAdpDriver">[ProductName] virtual network adapter driver for Host-Only Networking.</String>
+ <String Id="VB_NetLwfDriver">[ProductName] driver for NDIS6 Bridged Networking.</String>
+ <String Id="VB_NetAdp6Driver">[ProductName] virtual network adapter driver for NDIS6 Host-Only Networking.</String>
+
+ <String Id="VB_Python">Python support for VirtualBox.</String>
+
+ <!---->
+
+ <String Id="NeedAdmin">You need to have administrator rights to (un)install [ProductName]! This setup will abort now.</String>
+ <String Id="NeedMSCRT">[ProductName] needs the Microsoft Visual C++ 2019 Redistributable Package being installed first. Please install and restart the installation of [ProductName].</String>
+ <String Id="WrongOS">This application only runs on Windows XP or above.</String>
+ <String Id="Only32Bit">This application only runs on 32-bit Windows systems. Please install the 64-bit version of [ProductName]!</String>
+ <String Id="Only64Bit">This application only runs on 64-bit Windows systems. Please install the 32-bit version of [ProductName]!</String>
+ <String Id="SunFound">An old Sun VirtualBox installation has been found on this machine. Please uninstall this package first and then install [ProductName]!</String>
+ <String Id="InnotekFound">An old innotek VirtualBox installation has been found on this machine. Please uninstall this package first and then install [ProductName]!</String>
+
+ <!---->
+
+ <String Id="CancelDlg_Question">Are you sure you want to cancel [ProductName] installation?</String>
+
+ <!---->
+
+ <String Id="WelcomeDlg_Header">Welcome to the [ProductName] Setup Wizard</String>
+ <String Id="WelcomeDlg_Body">The Setup Wizard will install [ProductName] on your computer. Click Next to continue or Cancel to exit the Setup Wizard.</String>
+
+ <!---->
+
+ <String Id="LicenseAgreementDlg_Header">End-User License Agreement</String>
+ <String Id="LicenseAgreementDlg_Body">Please read the following license agreement carefully.</String>
+ <String Id="LicenseAgreementDlg_Accept">I &amp;accept the terms in the License Agreement</String>
+ <String Id="LicenseAgreementDlg_Decline">I &amp;do not accept the terms in the License Agreement</String>
+
+ <!---->
+
+ <String Id="CheckSerialDlg_Header">Serial Number</String>
+ <String Id="CheckSerialDlg_Body">Please enter your serial number in the fields below. You'll find it on the sticker inside the VirtualBox CD case.</String>
+ <String Id="CheckSerialDlg_Footer">When done entering the serial number, press the "Check" button below.</String>
+
+ <!---->
+
+ <String Id="WrongSerialDlg_Header">Entered serial number was invalid!</String>
+ <String Id="WrongSerialDlg_Desc1">Please go back to enter your serial number again.</String>
+ <String Id="WrongSerialDlg_Desc2">Keep in mind that the serial number must be spelled exactly like printed on the sticker.</String>
+
+ <!---->
+
+ <String Id="WarnSaveStatesDlg_Header">Warning:</String>
+ <String Id="WarnSaveStatesDlg_Header2">Incompatible Saved States!</String>
+ <String Id="WarnSaveStatesDlg_Desc">When upgrading [ProductName], all saved states from your already existing machines won't work anymore! After the installation, you have to discard them manually.</String>
+ <String Id="WarnSaveStatesDlg_Proceed">Proceed with installation now?</String>
+
+ <!---->
+
+ <String Id="WarnTAPDevicesDlg_Header">Host Interfaces</String>
+ <String Id="WarnTAPDevicesDlg_Desc">If you used some host interfaces for your machines in the previous version, you have to recreate them manually after this installation.</String>
+
+ <!---->
+
+ <String Id="NetCfgLocked">The following application should be closed before continuing the install: "[2]"</String>
+
+ <!---->
+
+ <String Id="CustomizeDlg_Location">Location:</String>
+ <String Id="CustomizeDlg_DiskUsage">Disk &amp;Usage</String>
+ <String Id="CustomizeDlg_SelFeatures">Select the way you want features to be installed.</String>
+ <String Id="CustomizeDlg_IconTree">Click on the icons in the tree below to change the way features will be installed.</String>
+ <String Id="CustomizeDlg_CustomSetup">Custom Setup</String>
+ <String Id="CustomizeDlg_SelItemDesc">CustomizeDlgItemDescription-CustomizeDlgItemDescription</String>
+ <String Id="CustomizeDlg_SelItemSize">CustomizeDlgItemSize-CustomizeDlgItemSize</String>
+ <String Id="CustomizeDlg_SelItemPath">CustomizeDlgLocation-CustomizeDlgLocation</String>
+
+ <!---->
+
+ <String Id="Customize2Dlg_Header">Customize</String>
+ <String Id="Customize2Dlg_Desc">Please choose from the options below:</String>
+ <String Id="Customize2Dlg_CreateStartMenuEntries">Create start menu entries</String>
+ <String Id="Customize2Dlg_CreateDesktopShortcut">Create a shortcut on the desktop</String>
+ <String Id="Customize2Dlg_CreateQuickLaunch">Create a shortcut in the Quick Launch Bar</String>
+ <String Id="Customize2Dlg_RegisterFileExtensions">Register file associations</String>
+
+ <!---->
+
+ <String Id="SelectionNetworkTypeDlg_CommonDescription">Please choose which type of network drivers you will use:</String>
+ <String Id="SelectionNetworkTypeDlg_DescriptionNDIS5">NDIS5 network drivers.
+This is default for older versions of Windows (pre-Vista).</String>
+ <String Id="SelectionNetworkTypeDlg_DescriptionNDIS6">NDIS6 network drivers.
+This is default for newer versions of Windows (Vista and newer).</String>
+ <String Id="SelectionNetworkTypeDlg_RadioButtonNDIS5">Use NDIS5 network drivers.</String>
+ <String Id="SelectionNetworkTypeDlg_RadioButtonNDIS6">Use NDIS6 network drivers.</String>
+
+ <!---->
+
+ <String Id="WarnDisconNetIfacesDlg_Title">Warning:</String>
+ <String Id="WarnDisconNetIfacesDlg_Title2">Network Interfaces</String>
+ <String Id="WarnDisconNetIfacesDlg_Desc">Installing the [ProductName] Networking feature will reset your network connection and temporarily disconnect you from the network.</String>
+ <String Id="WarnDisconNetIfacesDlg_Question">Proceed with installation now?</String>
+
+ <!---->
+
+ <String Id="WarnPythonDlg_Title">Missing Dependencies</String>
+ <String Id="WarnPythonDlg_Title2">Python Core / win32api</String>
+ <String Id="WarnPythonDlg_Desc">Installing the [ProductName] Python bindings requires the Python Core package and the win32api bindings to be installed first.</String>
+ <String Id="WarnPythonDlg_Desc2">When continuing the installation of the [ProductName] Python bindings now, those need to be set up manually later. Refer to the [ProductName] SDK manual for more information.</String>
+ <String Id="WarnPythonDlg_Question">Proceed with installation now?</String>
+
+ <!---->
+
+ <String Id="DiskCostDlg_SpaceRequired">The disk space required for the installation of the selected features.</String>
+ <String Id="DiskCostDlg_NotEnoughSpace">The highlighted volumes (if any) do not have enough disk space available for the currently selected features. You can either remove some files from the highlighted volumes, or choose to install less features onto local drive(s), or select different destination drive(s).</String>
+ <String Id="DiskCostDlg_SpaceRequirements">Disk Space Requirements</String>
+ <String Id="DiskCostDlg_VolumeList">{120}{70}{70}{70}{70}</String>
+
+ <!---->
+
+ <String Id="BrowseDlg_BrowseDestFolder">Browse to the destination folder</String>
+ <String Id="BrowseDlg_ChangeCurFolder">Change current destination folder</String>
+ <String Id="BrowseDlg_UpOneLevelTooltip">Up one level</String>
+ <String Id="BrowseDlg_CreateNewFolderTooltip">Create a new folder</String>
+ <String Id="BrowseDlg_LookIn">&amp;Look in:</String>
+ <String Id="BrowseDlg_FolderName">&amp;Folder name:</String>
+
+ <!---->
+
+ <String Id="VerifyReadyDlg_ReadyToBegin">The Setup Wizard is ready to begin the [InstallMode] installation.</String>
+ <String Id="VerifyReadyDlg_ClickInstall">Click Install to begin the installation. If you want to review or change any of your installation settings, click Back. Click Cancel to exit the wizard.</String>
+ <String Id="VerifyReadyDlg_ReadyToInstall">Ready to Install</String>
+
+ <!---->
+
+ <String Id="ExitDlg_ClickFinish">Click the Finish button to exit the Setup Wizard.</String>
+ <String Id="ExitDlg_InstComplete">[ProductName] installation is complete.</String>
+ <String Id="ExitDlg_StartVBox">Start [ProductName] after installation</String>
+
+ <!---->
+
+ <String Id="FatalErrorDlg_Header">[ProductName] Setup Wizard ended prematurely</String>
+ <String Id="FatalErrorDlg_Desc">[ProductName] setup ended prematurely because of an error. Your system has not been modified. To install this program at a later time, please run the installation again.</String>
+ <String Id="FatalErrorDlg_Footer">Click the Finish button to exit the Setup Wizard.</String>
+
+ <!---->
+
+ <String Id="FilesInUse_Text">The following applications are using files that need to be updated by this setup. Close these applications and then click &amp;Retry to continue the installation or Exit to exit it.</String>
+ <String Id="FilesInUse_Description">Some files that need to be updated are currently in use.</String>
+ <String Id="FilesInUse_Title">Files in Use</String>
+
+ <!---->
+
+ <String Id="UserExitDlg_Header">[ProductName] Setup Wizard was interrupted</String>
+ <String Id="UserExitDlg_Desc">[ProductName] setup was interrupted. Your system has not been modified. To install this program at a later time, please run the installation again.</String>
+ <String Id="UserExitDlg_Footer">Click the Finish button to exit the Setup Wizard.</String>
+
+ <!---->
+
+ <String Id="ProgressDlg_PleaseWait">Please wait while the Setup Wizard installs [ProductName]. This may take several minutes.</String>
+
+ <!---->
+
+ <String Id="ResumeDlg_Header">Resuming the [ProductName] Setup Wizard</String>
+ <String Id="ResumeDlg_Desc">The Setup Wizard will complete the installation of [ProductName] on your computer. Click Install to continue or Cancel to exit the Setup Wizard.</String>
+
+ <!---->
+
+ <String Id="MaintenanceTypeDlg_Header">Modify, Repair or Remove installation</String>
+ <String Id="MaintenanceTypeDlg_SelOption">Select the operation you wish to perform.</String>
+ <String Id="MaintenanceTypeDlg_Repair">Re&amp;pair</String>
+ <String Id="MaintenanceTypeDlg_RepairText">Repairs errors in the most recent installation state - fixes missing or corrupt files, shortcuts and registry entries.</String>
+ <String Id="MaintenanceTypeDlg_RepairTooltip">Repair installation</String>
+ <String Id="MaintenanceTypeDlg_RepairProgress1">Repairing</String>
+ <String Id="MaintenanceTypeDlg_RepairProgress2">repairs</String>
+ <String Id="MaintenanceTypeDlg_Remove">&amp;Remove</String>
+ <String Id="MaintenanceTypeDlg_RemoveText">Removes [ProductName] from your computer.</String>
+ <String Id="MaintenanceTypeDlg_RemoveTooltip">Remove installation</String>
+ <String Id="MaintenanceTypeDlg_RemoveProgress1">Removing</String>
+ <String Id="MaintenanceTypeDlg_RemoveProgress2">removes</String>
+
+ <!---->
+
+ <String Id="MaintenanceWelcomeDlg_Header">Welcome to the [ProductName] Setup Wizard</String>
+ <String Id="MaintenanceWelcomeDlg_Desc">The Setup Wizard will allow you to repair your current installation or remove [ProductName] from your computer. Click Next to continue or Cancel to exit the Setup Wizard.</String>
+
+ <!---->
+
+ <String Id="OutOfDiskDlg_InstallationExceeds">Disk space required for the installation exceeds available disk space.</String>
+ <String Id="OutOfDiskDlg_NotEnoughDiskSpace">The highlighted volumes do not have enough disk space available for the currently selected features. You can either remove some files from the highlighted volumes, or choose to install less features onto local drive(s), or select different destination drive(s).</String>
+ <String Id="OutOfDiskDlg_OutOfDiskSpace">Out of Disk Space</String>
+
+ <!---->
+
+ <String Id="OutOfRbDiskDlg_InstallationExceeds">Disk space required for the installation exceeds available disk space.</String>
+ <String Id="OutOfRbDiskDlg_NotEnoughDiskSpace">The highlighted volumes do not have enough disk space available for the currently selected features. You can either remove some files from the highlighted volumes, or choose to install less features onto local drive(s), or select different destination drive(s).</String>
+ <String Id="OutOfRbDiskDlg_OutOfDiskSpace">Out of Disk Space</String>
+ <String Id="OutOfRbDiskDlg_Desc">Alternatively, you may choose to disable the installer's rollback functionality. This allows the installer to restore your computer's original state should the installation be interrupted in any way. Click Yes if you wish to take the risk to disable rollback.</String>
+
+ <!---->
+
+ <String Id="VerifyRemoveDlg_Header">Remove [ProductName]</String>
+ <String Id="VerifyRemoveDlg_Desc">You have chosen to remove the program from your computer.</String>
+ <String Id="VerifyRemoveDlg_ClickRemove">Click Remove to remove [ProductName] from your computer. If you want to review or change any of your installation settings, click Back. Click Cancel to exit the wizard.</String>
+
+ <!---->
+
+ <String Id="VerifyRepairDlg_Header">Repair [ProductName]</String>
+ <String Id="VerifyRepairDlg_ReadyToBegin">The Setup Wizard is ready to begin the repair of [ProductName].</String>
+ <String Id="VerifyRepairDlg_ClickRepair">Click Repair to repair the installation of [ProductName]. If you want to review or change any of your installation settings, click Back. Click Cancel to exit the wizard.</String>
+
+ <!---->
+
+ <String Id="WaitForCostingDlg_PleaseWait">Please wait while the installer finishes determining your disk space requirements.</String>
+
+ <!---->
+
+ <String Id="MsiRMFilesInUse_Text">The following applications are using files that need to be updated by this setup. You can let Setup Wizard close them and attempt to restart them or reboot the machine later.</String>
+ <String Id="MsiRMFilesInUse_Description">Some files that need to be updated are currently in use.</String>
+ <String Id="MsiRMFilesInUse_Title">Files in Use</String>
+ <String Id="MsiRMFilesInUse_UseRM">&amp;Close the applications and attempt to restart them.</String>
+ <String Id="MsiRMFilesInUse_DontUseRM">&amp;Do not close applications. A reboot will be required.</String>
+
+ <!-- The following strings are internally used by WiX and MSI -->
+ <String Id="Error0">{{Fatal error: }}</String>
+ <String Id="Error1">{{Error [1]. }}</String>
+ <String Id="Error2">Warning [1]. </String>
+ <String Id="Error3" />
+ <String Id="Error4">Info [1]. </String>
+ <String Id="Error5">The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is [1]. {{The arguments are: [2], [3], [4]}}</String>
+ <String Id="Error6" />
+ <String Id="Error7">{{Disk full: }}</String>
+ <String Id="Error8">Action [Time]: [1]. [2]</String>
+ <String Id="Error9">[ProductName]</String>
+ <String Id="Error10">{[2]}{, [3]}{, [4]}</String>
+ <String Id="Error11">Message type: [1], Argument: [2]</String>
+ <String Id="Error12">=== Logging started: [Date] [Time] ===</String>
+ <String Id="Error13">=== Logging stopped: [Date] [Time] ===</String>
+ <String Id="Error14">Action start [Time]: [1].</String>
+ <String Id="Error15">Action ended [Time]: [1]. Return value [2].</String>
+ <String Id="Error16">Time remaining: {[1] minutes }{[2] seconds}</String>
+ <String Id="Error17">Out of memory. Shut down other applications before retrying.</String>
+ <String Id="Error18">Installer is no longer responding.</String>
+ <String Id="Error19">Installer stopped prematurely.</String>
+ <String Id="Error20">Please wait while Windows configures [ProductName]</String>
+ <String Id="Error21">Gathering required information...</String>
+ <String Id="Error22">Removing older versions of this application...</String>
+ <String Id="Error23">Preparing to remove older versions of this application...</String>
+ <String Id="Error32">{[ProductName] }Setup completed successfully.</String>
+ <String Id="Error33">{[ProductName] }Setup failed.</String>
+ <String Id="Error1101">Error reading from file: [2]. {{ System error [3].}} Verify that the file exists and that you can access it.</String>
+ <String Id="Error1301">Cannot create the file '[2]'. A directory with this name already exists. Cancel the install and try installing to a different location.</String>
+ <String Id="Error1302">Please insert the disk: [2]</String>
+ <String Id="Error1303">The installer has insufficient privileges to access this directory: [2]. The installation cannot continue. Log on as administrator or contact your system administrator.</String>
+ <String Id="Error1304">Error writing to file: [2]. Verify that you have access to that directory.</String>
+ <String Id="Error1305">Error reading from file [2]. {{ System error [3].}} Verify that the file exists and that you can access it.</String>
+ <String Id="Error1306">Another application has exclusive access to the file '[2]'. Please shut down all other applications, then click Retry.</String>
+ <String Id="Error1307">There is not enough disk space to install this file: [2]. Free some disk space and click Retry, or click Cancel to exit.</String>
+ <String Id="Error1308">Source file not found: [2]. Verify that the file exists and that you can access it.</String>
+ <String Id="Error1309">Error reading from file: [3]. {{ System error [2].}} Verify that the file exists and that you can access it.</String>
+ <String Id="Error1310">Error writing to file: [3]. {{ System error [2].}} Verify that you have access to that directory.</String>
+ <String Id="Error1311">Source file not found{{(cabinet)}}: [2]. Verify that the file exists and that you can access it.</String>
+ <String Id="Error1312">Cannot create the directory '[2]'. A file with this name already exists. Please rename or remove the file and click retry, or click Cancel to exit.</String>
+ <String Id="Error1313">The volume [2] is currently unavailable. Please select another.</String>
+ <String Id="Error1314">The specified path '[2]' is unavailable.</String>
+ <String Id="Error1315">Unable to write to the specified folder: [2].</String>
+ <String Id="Error1316">A network error occurred while attempting to read from the file: [2]</String>
+ <String Id="Error1317">An error occurred while attempting to create the directory: [2]</String>
+ <String Id="Error1318">A network error occurred while attempting to create the directory: [2]</String>
+ <String Id="Error1319">A network error occurred while attempting to open the source file cabinet: [2]</String>
+ <String Id="Error1320">The specified path is too long: [2]</String>
+ <String Id="Error1321">The Installer has insufficient privileges to modify this file: [2].</String>
+ <String Id="Error1322">A portion of the folder path '[2]' is invalid. It is either empty or exceeds the length allowed by the system.</String>
+ <String Id="Error1323">The folder path '[2]' contains words that are not valid in folder paths.</String>
+ <String Id="Error1324">The folder path '[2]' contains an invalid character.</String>
+ <String Id="Error1325">'[2]' is not a valid short file name.</String>
+ <String Id="Error1326">Error getting file security: [3] GetLastString: [2]</String>
+ <String Id="Error1327">Invalid Drive: [2]</String>
+ <String Id="Error1328">Error applying patch to file [2]. It has probably been updated by other means, and can no longer be modified by this patch. For more information contact your patch vendor. {{System Error: [3]}}</String>
+ <String Id="Error1329">A file that is required cannot be installed because the cabinet file [2] is not digitally signed. This may indicate that the cabinet file is corrupt.</String>
+ <String Id="Error1330">A file that is required cannot be installed because the cabinet file [2] has an invalid digital signature. This may indicate that the cabinet file is corrupt.{{ Error [3] was returned by WinVerifyTrust.}}</String>
+ <String Id="Error1331">Failed to correctly copy [2] file: CRC error.</String>
+ <String Id="Error1332">Failed to correctly move [2] file: CRC error.</String>
+ <String Id="Error1333">Failed to correctly patch [2] file: CRC error.</String>
+ <String Id="Error1334">The file '[2]' cannot be installed because the file cannot be found in cabinet file '[3]'. This could indicate a network error, an error reading from the CD-ROM, or a problem with this package.</String>
+ <String Id="Error1335">The cabinet file '[2]' required for this installation is corrupt and cannot be used. This could indicate a network error, an error reading from the CD-ROM, or a problem with this package.</String>
+ <String Id="Error1336">There was an error creating a temporary file that is needed to complete this installation.{{ Folder: [3]. System error code: [2]}}</String>
+ <String Id="Error1401">Could not create key: [2]. {{ System error [3].}} Verify that you have sufficient access to that key, or contact your support personnel. </String>
+ <String Id="Error1402">Could not open key: [2]. {{ System error [3].}} Verify that you have sufficient access to that key, or contact your support personnel. </String>
+ <String Id="Error1403">Could not delete value [2] from key [3]. {{ System error [4].}} Verify that you have sufficient access to that key, or contact your support personnel. </String>
+ <String Id="Error1404">Could not delete key [2]. {{ System error [3].}} Verify that you have sufficient access to that key, or contact your support personnel. </String>
+ <String Id="Error1405">Could not read value [2] from key [3]. {{ System error [4].}} Verify that you have sufficient access to that key, or contact your support personnel. </String>
+ <String Id="Error1406">Could not write value [2] to key [3]. {{ System error [4].}} Verify that you have sufficient access to that key, or contact your support personnel.</String>
+ <String Id="Error1407">Could not get value names for key [2]. {{ System error [3].}} Verify that you have sufficient access to that key, or contact your support personnel.</String>
+ <String Id="Error1408">Could not get sub key names for key [2]. {{ System error [3].}} Verify that you have sufficient access to that key, or contact your support personnel.</String>
+ <String Id="Error1409">Could not read security information for key [2]. {{ System error [3].}} Verify that you have sufficient access to that key, or contact your support personnel.</String>
+ <String Id="Error1410">Could not increase the available registry space. [2] KB of free registry space is required for the installation of this application.</String>
+ <String Id="Error1500">Another installation is in progress. You must complete that installation before continuing this one.</String>
+ <String Id="Error1501">Error accessing secured data. Please make sure the Windows Installer is configured properly and try the install again.</String>
+ <String Id="Error1502">User '[2]' has previously initiated an install for product '[3]'. That user will need to run that install again before they can use that product. Your current install will now continue.</String>
+ <String Id="Error1503">User '[2]' has previously initiated an install for product '[3]'. That user will need to run that install again before they can use that product.</String>
+ <String Id="Error1601">Out of disk space -- Volume: '[2]'; required space: [3] KB; available space: [4] KB. Free some disk space and retry.</String>
+ <String Id="Error1602">Are you sure you want to cancel?</String>
+ <String Id="Error1603">The file [2][3] is being held in use{ by the following process: Name: [4], Id: [5], Window Title: '[6]'}. Close that application and retry.</String>
+ <String Id="Error1604">The product '[2]' is already installed, preventing the installation of this product. The two products are incompatible.</String>
+ <String Id="Error1605">There is not enough disk space on the volume '[2]' to continue the install with recovery enabled. [3] KB are required, but only [4] KB are available. Click Ignore to continue the install without saving recovery information, click Retry to check for available space again, or click Cancel to quit the installation.</String>
+ <String Id="Error1606">Could not access network location [2].</String>
+ <String Id="Error1607">The following applications should be closed before continuing the install:</String>
+ <String Id="Error1608">Could not find any previously installed compliant products on the machine for installing this product.</String>
+ <String Id="Error1609">An error occurred while applying security settings. [2] is not a valid user or group. This could be a problem with the package, or a problem connecting to a domain controller on the network. Check your network connection and click Retry, or Cancel to end the install. {{Unable to locate the user's SID, system error [3]}}</String>
+ <String Id="Error1701">The key [2] is not valid. Verify that you entered the correct key.</String>
+ <String Id="Error1702">The installer must restart your system before configuration of [2] can continue. Click Yes to restart now or No if you plan to manually restart later.</String>
+ <String Id="Error1703">You must restart your system for the configuration changes made to [2] to take effect. Click Yes to restart now or No if you plan to manually restart later.</String>
+ <String Id="Error1704">An installation for [2] is currently suspended. You must undo the changes made by that installation to continue. Do you want to undo those changes?</String>
+ <String Id="Error1705">A previous installation for this product is in progress. You must undo the changes made by that installation to continue. Do you want to undo those changes?</String>
+ <String Id="Error1706">An installation package for the product [2] cannot be found. Try the installation again using a valid copy of the installation package '[3]'.</String>
+ <String Id="Error1707">Installation completed successfully.</String>
+ <String Id="Error1708">Installation failed.</String>
+ <String Id="Error1709">Product: [2] -- [3]</String>
+ <String Id="Error1710">You may either restore your computer to its previous state or continue the install later. Would you like to restore?</String>
+ <String Id="Error1711">An error occurred while writing installation information to disk. Check to make sure enough disk space is available, and click Retry, or Cancel to end the install.</String>
+ <String Id="Error1712">One or more of the files required to restore your computer to its previous state could not be found. Restoration will not be possible.</String>
+ <String Id="Error1713">[2] cannot install one of its required products. Contact your technical support group. {{System String: [3].}}</String>
+ <String Id="Error1714">The older version of [2] cannot be removed. Contact your technical support group. {{System String [3].}}</String>
+ <String Id="Error1715">Installed [2]</String>
+ <String Id="Error1716">Configured [2]</String>
+ <String Id="Error1717">Removed [2]</String>
+ <String Id="Error1718">File [2] was rejected by digital signature policy.</String>
+ <String Id="Error1719">The Windows Installer Service could not be accessed. This can occur if you are running Windows in safe mode, or if the Windows Installer is not correctly installed. Contact your support personnel for assistance.</String>
+ <String Id="Error1720">There is a problem with this Windows Installer package. A script required for this install to complete could not be run. Contact your support personnel or package vendor. {{Custom action [2] script error [3], [4]: [5] Line [6], Column [7], [8] }}</String>
+ <String Id="Error1721">There is a problem with this Windows Installer package. A program required for this install to complete could not be run. Contact your support personnel or package vendor. {{Action: [2], location: [3], command: [4] }}</String>
+ <String Id="Error1722">There is a problem with this Windows Installer package. A program run as part of the setup did not finish as expected. Contact your support personnel or package vendor. {{Action [2], location: [3], command: [4] }}</String>
+ <String Id="Error1723">There is a problem with this Windows Installer package. A DLL required for this install to complete could not be run. Contact your support personnel or package vendor. {{Action [2], entry: [3], library: [4] }}</String>
+ <String Id="Error1724">Removal completed successfully.</String>
+ <String Id="Error1725">Removal failed.</String>
+ <String Id="Error1726">Advertisement completed successfully.</String>
+ <String Id="Error1727">Advertisement failed.</String>
+ <String Id="Error1728">Configuration completed successfully.</String>
+ <String Id="Error1729">Configuration failed.</String>
+ <String Id="Error1730">You must be an Administrator to remove this application. To remove this application, you can log on as an Administrator, or contact your technical support group for assistance.</String>
+ <String Id="Error1801">The path [2] is not valid. Please specify a valid path.</String>
+ <String Id="Error1802">Out of memory. Shut down other applications before retrying.</String>
+ <String Id="Error1803">There is no disk in drive [2]. Please insert one and click Retry, or click Cancel to go back to the previously selected volume.</String>
+ <String Id="Error1804">There is no disk in drive [2]. Please insert one and click Retry, or click Cancel to return to the browse dialog and select a different volume.</String>
+ <String Id="Error1805">The folder [2] does not exist. Please enter a path to an existing folder.</String>
+ <String Id="Error1806">You have insufficient privileges to read this folder.</String>
+ <String Id="Error1807">A valid destination folder for the install could not be determined.</String>
+ <String Id="Error1901">Error attempting to read from the source install database: [2].</String>
+ <String Id="Error1902">Scheduling reboot operation: Renaming file [2] to [3]. Must reboot to complete operation.</String>
+ <String Id="Error1903">Scheduling reboot operation: Deleting file [2]. Must reboot to complete operation.</String>
+ <String Id="Error1904">Module [2] failed to register. HRESULT [3]. Contact your support personnel.</String>
+ <String Id="Error1905">Module [2] failed to unregister. HRESULT [3]. Contact your support personnel.</String>
+ <String Id="Error1906">Failed to cache package [2]. Error: [3]. Contact your support personnel.</String>
+ <String Id="Error1907">Could not register font [2]. Verify that you have sufficient permissions to install fonts, and that the system supports this font.</String>
+ <String Id="Error1908">Could not unregister font [2]. Verify that you that you have sufficient permissions to remove fonts.</String>
+ <String Id="Error1909">Could not create Shortcut [2]. Verify that the destination folder exists and that you can access it.</String>
+ <String Id="Error1910">Could not remove Shortcut [2]. Verify that the shortcut file exists and that you can access it.</String>
+ <String Id="Error1911">Could not register type library for file [2]. Contact your support personnel.</String>
+ <String Id="Error1912">Could not unregister type library for file [2]. Contact your support personnel.</String>
+ <String Id="Error1913">Could not update the ini file [2][3]. Verify that the file exists and that you can access it.</String>
+ <String Id="Error1914">Could not schedule file [2] to replace file [3] on reboot. Verify that you have write permissions to file [3].</String>
+ <String Id="Error1915">Error removing ODBC driver manager, ODBC error [2]: [3]. Contact your support personnel.</String>
+ <String Id="Error1916">Error installing ODBC driver manager, ODBC error [2]: [3]. Contact your support personnel.</String>
+ <String Id="Error1917">Error removing ODBC driver: [4], ODBC error [2]: [3]. Verify that you have sufficient privileges to remove ODBC drivers.</String>
+ <String Id="Error1918">Error installing ODBC driver: [4], ODBC error [2]: [3]. Verify that the file [4] exists and that you can access it.</String>
+ <String Id="Error1919">Error configuring ODBC data source: [4], ODBC error [2]: [3]. Verify that the file [4] exists and that you can access it.</String>
+ <String Id="Error1920">Service '[2]' ([3]) failed to start. Verify that you have sufficient privileges to start system services.</String>
+ <String Id="Error1921">Service '[2]' ([3]) could not be stopped. Verify that you have sufficient privileges to stop system services.</String>
+ <String Id="Error1922">Service '[2]' ([3]) could not be deleted. Verify that you have sufficient privileges to remove system services.</String>
+ <String Id="Error1923">Service '[2]' ([3]) could not be installed. Verify that you have sufficient privileges to install system services.</String>
+ <String Id="Error1924">Could not update environment variable '[2]'. Verify that you have sufficient privileges to modify environment variables.</String>
+ <String Id="Error1925">You do not have sufficient privileges to complete this installation for all users of the machine. Log on as administrator and then retry this installation.</String>
+ <String Id="Error1926">Could not set file security for file '[3]'. Error: [2]. Verify that you have sufficient privileges to modify the security permissions for this file.</String>
+ <String Id="Error1927">Component Services (COM+ 1.0) are not installed on this computer. This installation requires Component Services in order to complete successfully. Component Services are available on Windows 2000.</String>
+ <String Id="Error1928">Error registering COM+ Application. Contact your support personnel for more information.</String>
+ <String Id="Error1929">Error unregistering COM+ Application. Contact your support personnel for more information.</String>
+ <String Id="Error1930">The description for service '[2]' ([3]) could not be changed.</String>
+ <String Id="Error1931">The Windows Installer service cannot update the system file [2] because the file is protected by Windows. You may need to update your operating system for this program to work correctly. {{Package version: [3], OS Protected version: [4]}}</String>
+ <String Id="Error1932">The Windows Installer service cannot update the protected Windows file [2]. {{Package version: [3], OS Protected version: [4], SFP Error: [5]}}</String>
+ <String Id="Error1933">The Windows Installer service cannot update one or more protected Windows files. {{SFP String: [2]. List of protected files:\r\n[3]}}</String>
+ <String Id="Error1934">User installations are disabled via policy on the machine.</String>
+ <String Id="Error1935">An error occured during the installation of assembly component [2]. HRESULT: [3]. {{assembly interface: [4], function: [5], assembly name: [6]}}</String>
+
+ <!-- Own / special errors -->
+ <String Id="Error25001">The application "[2]" needs to be closed for the installation to continue.</String>
+
+ <String Id="ProgressTextInstallValidate">Validating install</String>
+ <String Id="ProgressTextInstallFiles">Copying new files</String>
+ <String Id="ProgressTextInstallFilesTemplate">File: [1], Directory: [9], Size: [6]</String>
+ <String Id="ProgressTextInstallAdminPackage">Copying network install files</String>
+ <String Id="ProgressTextInstallAdminPackageTemplate">File: [1], Directory: [9], Size: [6]</String>
+ <String Id="ProgressTextFileCost">Computing space requirements</String>
+ <String Id="ProgressTextCostInitialize">Computing space requirements</String>
+ <String Id="ProgressTextCostFinalize">Computing space requirements</String>
+ <String Id="ProgressTextCreateShortcuts">Creating shortcuts</String>
+ <String Id="ProgressTextCreateShortcutsTemplate">Shortcut: [1]</String>
+ <String Id="ProgressTextPublishComponents">Publishing Qualified Components</String>
+ <String Id="ProgressTextPublishComponentsTemplate">Component ID: [1], Qualifier: [2]</String>
+ <String Id="ProgressTextPublishFeatures">Publishing Product Features</String>
+ <String Id="ProgressTextPublishFeaturesTemplate">Feature: [1]</String>
+ <String Id="ProgressTextPublishProduct">Publishing product information</String>
+ <String Id="ProgressTextRegisterClassInfo">Registering Class servers</String>
+ <String Id="ProgressTextRegisterClassInfoTemplate">Class Id: [1]</String>
+ <String Id="ProgressTextRegisterExtensionInfo">Registering extension servers</String>
+ <String Id="ProgressTextRegisterExtensionInfoTemplate">Extension: [1]</String>
+ <String Id="ProgressTextRegisterMIMEInfo">Registering MIME info</String>
+ <String Id="ProgressTextRegisterMIMEInfoTemplate">MIME Content Type: [1], Extension: [2]</String>
+ <String Id="ProgressTextRegisterProgIdInfo">Registering program identifiers</String>
+ <String Id="ProgressTextRegisterProgIdInfoTemplate">ProgId: [1]</String>
+ <String Id="ProgressTextAllocateRegistrySpace">Allocating registry space</String>
+ <String Id="ProgressTextAllocateRegistrySpaceTemplate">Free space: [1]</String>
+ <String Id="ProgressTextAppSearch">Searching for installed applications</String>
+ <String Id="ProgressTextAppSearchTemplate">Property: [1], Signature: [2]</String>
+ <String Id="ProgressTextBindImage">Binding executables</String>
+ <String Id="ProgressTextBindImageTemplate">File: [1]</String>
+ <String Id="ProgressTextCCPSearch">Searching for qualifying products</String>
+ <String Id="ProgressTextCreateFolders">Creating folders</String>
+ <String Id="ProgressTextCreateFoldersTemplate">Folder: [1]</String>
+ <String Id="ProgressTextDeleteServices">Deleting services</String>
+ <String Id="ProgressTextDeleteServicesTemplate">Service: [1]</String>
+ <String Id="ProgressTextDuplicateFiles">Creating duplicate files</String>
+ <String Id="ProgressTextDuplicateFilesTemplate">File: [1], Directory: [9], Size: [6]</String>
+ <String Id="ProgressTextFindRelatedProducts">Searching for related applications</String>
+ <String Id="ProgressTextFindRelatedProductsTemplate">Found application: [1]</String>
+ <String Id="ProgressTextInstallODBC">Installing ODBC components</String>
+ <String Id="ProgressTextInstallServices">Installing new services</String>
+ <String Id="ProgressTextInstallServicesTemplate">Service: [2]</String>
+ <String Id="ProgressTextLaunchConditions">Evaluating launch conditions</String>
+ <String Id="ProgressTextMigrateFeatureStates">Migrating feature states from related applications</String>
+ <String Id="ProgressTextMigrateFeatureStatesTemplate">Application: [1]</String>
+ <String Id="ProgressTextMoveFiles">Moving files</String>
+ <String Id="ProgressTextMoveFilesTemplate">File: [1], Directory: [9], Size: [6]</String>
+ <String Id="ProgressTextPatchFiles">Patching files</String>
+ <String Id="ProgressTextPatchFilesTemplate">File: [1], Directory: [2], Size: [3]</String>
+ <String Id="ProgressTextProcessComponents">Updating component registration</String>
+ <String Id="ProgressTextRegisterComPlus">Registering COM+ Applications and Components</String>
+ <String Id="ProgressTextRegisterComPlusTemplate">AppId: [1]{{, AppType: [2], Users: [3], RSN: [4]}}</String>
+ <String Id="ProgressTextRegisterFonts">Registering fonts</String>
+ <String Id="ProgressTextRegisterFontsTemplate">Font: [1]</String>
+ <String Id="ProgressTextRegisterProduct">Registering product</String>
+ <String Id="ProgressTextRegisterProductTemplate">[1]</String>
+ <String Id="ProgressTextRegisterTypeLibraries">Registering type libraries</String>
+ <String Id="ProgressTextRegisterTypeLibrariesTemplate">LibID: [1]</String>
+ <String Id="ProgressTextRegisterUser">Registering user</String>
+ <String Id="ProgressTextRegisterUserTemplate">[1]</String>
+ <String Id="ProgressTextRemoveDuplicateFiles">Removing duplicated files</String>
+ <String Id="ProgressTextRemoveDuplicateFilesTemplate">File: [1], Directory: [9]</String>
+ <String Id="ProgressTextRemoveEnvironmentStrings">Updating environment strings</String>
+ <String Id="ProgressTextRemoveEnvironmentStringsTemplate">Name: [1], Value: [2], Action [3]</String>
+ <String Id="ProgressTextRemoveExistingProducts">Removing applications</String>
+ <String Id="ProgressTextRemoveExistingProductsTemplate">Application: [1], Command line: [2]</String>
+ <String Id="ProgressTextRemoveFiles">Removing files</String>
+ <String Id="ProgressTextRemoveFilesTemplate">File: [1], Directory: [9]</String>
+ <String Id="ProgressTextRemoveFolders">Removing folders</String>
+ <String Id="ProgressTextRemoveFoldersTemplate">Folder: [1]</String>
+ <String Id="ProgressTextRemoveIniValues">Removing INI files entries</String>
+ <String Id="ProgressTextRemoveIniValuesTemplate">File: [1], Section: [2], Key: [3], Value: [4]</String>
+ <String Id="ProgressTextRemoveODBC">Removing ODBC components</String>
+ <String Id="ProgressTextRemoveRegistryValues">Removing system registry values</String>
+ <String Id="ProgressTextRemoveRegistryValuesTemplate">Key: [1], Name: [2]</String>
+ <String Id="ProgressTextRemoveShortcuts">Removing shortcuts</String>
+ <String Id="ProgressTextRemoveShortcutsTemplate">Shortcut: [1]</String>
+ <String Id="ProgressTextRMCCPSearch">Searching for qualifying products</String>
+ <String Id="ProgressTextSelfRegModules">Registering modules</String>
+ <String Id="ProgressTextSelfRegModulesTemplate">File: [1], Folder: [2]</String>
+ <String Id="ProgressTextSelfUnregModules">Unregistering modules</String>
+ <String Id="ProgressTextSelfUnregModulesTemplate">File: [1], Folder: [2]</String>
+ <String Id="ProgressTextSetODBCFolders">Initializing ODBC directories</String>
+ <String Id="ProgressTextStartServices">Starting services</String>
+ <String Id="ProgressTextStartServicesTemplate">Service: [1]</String>
+ <String Id="ProgressTextStopServices">Stopping services</String>
+ <String Id="ProgressTextStopServicesTemplate">Service: [1]</String>
+ <String Id="ProgressTextUnpublishComponents">Unpublishing Qualified Components</String>
+ <String Id="ProgressTextUnpublishComponentsTemplate">Component ID: [1], Qualifier: [2]</String>
+ <String Id="ProgressTextUnpublishFeatures">Unpublishing Product Features</String>
+ <String Id="ProgressTextUnpublishFeaturesTemplate">Feature: [1]</String>
+ <String Id="ProgressTextUnregisterClassInfo">Unregister Class servers</String>
+ <String Id="ProgressTextUnregisterClassInfoTemplate">Class Id: [1]</String>
+ <String Id="ProgressTextUnregisterComPlus">Unregistering COM+ Applications and Components</String>
+ <String Id="ProgressTextUnregisterComPlusTemplate">AppId: [1]{{, AppType: [2]}}</String>
+ <String Id="ProgressTextUnregisterExtensionInfo">Unregistering extension servers</String>
+ <String Id="ProgressTextUnregisterExtensionInfoTemplate">Extension: [1]</String>
+ <String Id="ProgressTextUnregisterFonts">Unregistering fonts</String>
+ <String Id="ProgressTextUnregisterFontsTemplate">Font: [1]</String>
+ <String Id="ProgressTextUnregisterMIMEInfo">Unregistering MIME info</String>
+ <String Id="ProgressTextUnregisterMIMEInfoTemplate">MIME Content Type: [1], Extension: [2]</String>
+ <String Id="ProgressTextUnregisterProgIdInfo">Unregistering program identifiers</String>
+ <String Id="ProgressTextUnregisterProgIdInfoTemplate">ProgId: [1]</String>
+ <String Id="ProgressTextUnregisterTypeLibraries">Unregistering type libraries</String>
+ <String Id="ProgressTextUnregisterTypeLibrariesTemplate">LibID: [1]</String>
+ <String Id="ProgressTextWriteEnvironmentStrings">Updating environment strings</String>
+ <String Id="ProgressTextWriteEnvironmentStringsTemplate">Name: [1], Value: [2], Action [3]</String>
+ <String Id="ProgressTextWriteIniValues">Writing INI files values</String>
+ <String Id="ProgressTextWriteIniValuesTemplate">File: [1], Section: [2], Key: [3], Value: [4]</String>
+ <String Id="ProgressTextWriteRegistryValues">Writing system registry values</String>
+ <String Id="ProgressTextWriteRegistryValuesTemplate">Key: [1], Name: [2], Value: [3]</String>
+ <String Id="ProgressTextAdvertise">Advertising application</String>
+ <String Id="ProgressTextGenerateScript">Generating script operations for action:</String>
+ <String Id="ProgressTextGenerateScriptTemplate">[1]</String>
+ <String Id="ProgressTextInstallSFPCatalogFile">Installing system catalog</String>
+ <String Id="ProgressTextInstallSFPCatalogFileTemplate">File: [1], Dependencies: [2]</String>
+ <String Id="ProgressTextMsiPublishAssemblies">Publishing assembly information</String>
+ <String Id="ProgressTextMsiPublishAssembliesTemplate">Application Context:[1], Assembly Name:[2]</String>
+ <String Id="ProgressTextMsiUnpublishAssemblies">Unpublishing assembly information</String>
+ <String Id="ProgressTextMsiUnpublishAssembliesTemplate">Application Context:[1], Assembly Name:[2]</String>
+ <String Id="ProgressTextRollback">Rolling back action:</String>
+ <String Id="ProgressTextRollbackTemplate">[1]</String>
+ <String Id="ProgressTextRollbackCleanup">Removing backup files</String>
+ <String Id="ProgressTextRollbackCleanupTemplate">File: [1]</String>
+ <String Id="ProgressTextUnmoveFiles">Removing moved files</String>
+ <String Id="ProgressTextUnmoveFilesTemplate">File: [1], Directory: [9]</String>
+ <String Id="ProgressTextUnpublishProduct">Unpublishing product information</String>
+
+ <String Id="UITextbytes">bytes</String>
+ <String Id="UITextGB">GB</String>
+ <String Id="UITextKB">KB</String>
+ <String Id="UITextMB">MB</String>
+ <String Id="UITextMenuAbsent">Entire feature will be unavailable</String>
+ <String Id="UITextMenuAdvertise">Feature will be installed when required</String>
+ <String Id="UITextMenuAllCD">Entire feature will be installed to run from CD</String>
+ <String Id="UITextMenuAllLocal">Entire feature will be installed on local hard drive</String>
+ <String Id="UITextMenuAllNetwork">Entire feature will be installed to run from network</String>
+ <String Id="UITextMenuCD">Will be installed to run from CD</String>
+ <String Id="UITextMenuLocal">Will be installed on local hard drive</String>
+ <String Id="UITextMenuNetwork">Will be installed to run from network</String>
+ <String Id="UITextScriptInProgress">Gathering required information...</String>
+ <String Id="UITextSelAbsentAbsent">This feature will remain uninstalled</String>
+ <String Id="UITextSelAbsentAdvertise">This feature will be set to be installed when required</String>
+ <String Id="UITextSelAbsentCD">This feature will be installed to run from CD</String>
+ <String Id="UITextSelAbsentLocal">This feature will be installed on the local hard drive</String>
+ <String Id="UITextSelAbsentNetwork">This feature will be installed to run from the network</String>
+ <String Id="UITextSelAdvertiseAbsent">This feature will become unavailable</String>
+ <String Id="UITextSelAdvertiseAdvertise">Will be installed when required</String>
+ <String Id="UITextSelAdvertiseCD">This feature will be available to run from CD</String>
+ <String Id="UITextSelAdvertiseLocal">This feature will be installed on your local hard drive</String>
+ <String Id="UITextSelAdvertiseNetwork">This feature will be available to run from the network</String>
+ <String Id="UITextSelCDAbsent">This feature will be uninstalled completely, you won't be able to run it from CD</String>
+ <String Id="UITextSelCDAdvertise">This feature will change from run from CD state to set to be installed when required</String>
+ <String Id="UITextSelCDCD">This feature will remain to be run from CD</String>
+ <String Id="UITextSelCDLocal">This feature will change from run from CD state to be installed on the local hard drive</String>
+ <String Id="UITextSelChildCostNeg">This feature frees up [1] on your hard drive.</String>
+ <String Id="UITextSelChildCostPos">This feature requires [1] on your hard drive.</String>
+ <String Id="UITextSelCostPending">Compiling cost for this feature...</String>
+ <String Id="UITextSelLocalAbsent">This feature will be completely removed</String>
+ <String Id="UITextSelLocalAdvertise">This feature will be removed from your local hard drive, but will be set to be installed when required</String>
+ <String Id="UITextSelLocalCD">This feature will be removed from your local hard drive, but will be still available to run from CD</String>
+ <String Id="UITextSelLocalLocal">This feature will remain on you local hard drive</String>
+ <String Id="UITextSelLocalNetwork">This feature will be removed from your local hard drive, but will be still available to run from the network</String>
+ <String Id="UITextSelNetworkAbsent">This feature will be uninstalled completely, you won't be able to run it from the network</String>
+ <String Id="UITextSelNetworkAdvertise">This feature will change from run from network state to set to be installed when required</String>
+ <String Id="UITextSelNetworkLocal">This feature will change from run from network state to be installed on the local hard drive</String>
+ <String Id="UITextSelNetworkNetwork">This feature will remain to be run from the network</String>
+ <String Id="UITextSelParentCostNegNeg">This feature frees up [1] on your hard drive. It has [2] of [3] subfeatures selected. The subfeatures free up [4] on your hard drive.</String>
+ <String Id="UITextSelParentCostNegPos">This feature frees up [1] on your hard drive. It has [2] of [3] subfeatures selected. The subfeatures require [4] on your hard drive.</String>
+ <String Id="UITextSelParentCostPosNeg">This feature requires [1] on your hard drive. It has [2] of [3] subfeatures selected. The subfeatures free up [4] on your hard drive.</String>
+ <String Id="UITextSelParentCostPosPos">This feature requires [1] on your hard drive. It has [2] of [3] subfeatures selected. The subfeatures require [4] on your hard drive.</String>
+ <String Id="UITextTimeRemaining">Time remaining: {[1] minutes }{[2] seconds}</String>
+ <String Id="UITextVolumeCostAvailable">Available</String>
+ <String Id="UITextVolumeCostDifference">Difference</String>
+ <String Id="UITextVolumeCostRequired">Required</String>
+ <String Id="UITextVolumeCostSize">Disk Size</String>
+ <String Id="UITextVolumeCostVolume">Volume</String>
+
+</WixLocalization>
diff --git a/src/VBox/Installer/win/NLS/fa_IR.wxl b/src/VBox/Installer/win/NLS/fa_IR.wxl
new file mode 100644
index 00000000..f6b0173a
--- /dev/null
+++ b/src/VBox/Installer/win/NLS/fa_IR.wxl
@@ -0,0 +1,548 @@
+<?xml version="1.0" encoding="utf-8"?>
+
+<!--
+ Language Definition Include for VirtualBox WiX script.
+-->
+<!--
+ Copyright (C) 2011-2023 Oracle and/or its affiliates.
+
+ This file is part of VirtualBox base platform packages, as
+ available from https://www.virtualbox.org.
+
+ This program is free software; you can redistribute it and/or
+ modify it under the terms of the GNU General Public License
+ as published by the Free Software Foundation, in version 3 of the
+ License.
+
+ This program is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, see <https://www.gnu.org/licenses>.
+
+ SPDX-License-Identifier: GPL-3.0-only
+-->
+
+<WixLocalization xmlns="http://schemas.microsoft.com/wix/2006/localization" Codepage="1256" Culture="fa">
+ <String Id="LANG">1065</String>
+ <String Id="LangName">Farsi</String>
+
+ <String Id="ButtonText_No">&amp;خير</String>
+ <String Id="ButtonText_Yes">&amp;بله</String>
+ <String Id="ButtonText_Cancel">&amp;انصراف</String>
+ <String Id="ButtonText_Next">&amp;بعدی &gt;</String>
+ <String Id="ButtonText_Back">&lt; &amp;قبلی</String>
+ <String Id="ButtonText_Browse">&amp;جستجو</String>
+ <String Id="ButtonText_OK">تأ&amp;یید</String>
+ <String Id="ButtonText_Check">&amp;بررسی</String>
+ <String Id="ButtonText_Install">&amp;نصب</String>
+ <String Id="ButtonText_Remove">&amp;حذف</String>
+ <String Id="ButtonText_Finish">پ&amp;ايان</String>
+ <String Id="ButtonText_Repair">&amp;تعمیر</String>
+ <String Id="ButtonText_Return">&amp;بازگشت</String>
+ <String Id="ButtonText_Retry">&amp;دوباره</String>
+ <String Id="ButtonText_Ignore">&amp;چشمپوشی</String>
+ <String Id="ButtonText_Exit">خ&amp;روج</String>
+ <String Id="InstallModeCustom">دستی</String>
+ <String Id="Setup">نصب</String>
+ <!---->
+ <String Id="StartMenu_License">مجوز</String>
+ <String Id="StartMenu_UserManual">راهنمای کاربر</String>
+ <!---->
+ <String Id="VB_App">برنامه [ProductName] .</String>
+ <String Id="VB_USBDriver">درایور دستگاه یو اِس بی [ProductName] برای پشتیبانی از دستگاه یو اِس بی.</String>
+ <String Id="VB_Network">درایور دستگاه شبکه [ProductName] برای پشتیبانی از شبکه.</String>
+ <String Id="VB_NetFltDriver">درایور [ProductName] برای شبکه پل شده.</String>
+ <String Id="VB_NetAdpDriver">درایور آداپتور شبکه مجازی [ProductName] برای شبکه فقط-میزبان.</String>
+ <String Id="VB_NetLwfDriver">[ProductName] driver for NDIS6 Bridged Networking.</String>
+ <String Id="VB_NetAdp6Driver">[ProductName] virtual network adapter driver for NDIS6 Host-Only Networking.</String>
+
+ <String Id="VB_Python">پشتیبانی از پایتون برای ویرچوال باکس.</String>
+ <!---->
+ <String Id="NeedAdmin">برای حذف [ProductName] شما نیاز به اجازه مدیر دارید! این راه انداز حالا لغو میشود.</String>
+ <String Id="NeedMSCRT">[ProductName] needs the Microsoft Visual C++ 2019 Redistributable Package being installed first. Please install and restart the installation of [ProductName].</String>
+ <String Id="WrongOS">این برنامه فقط در ویندوز ایکس پی یا بالاتر اِجرا میشود.</String>
+ <String Id="Only32Bit">این برنامه فقط روی ویندوز 32 بیتی اِجرا میشود. لطفا نسخه 64 بیتی [ProductName] را نصب کنید!</String>
+ <String Id="Only64Bit">این برنامه فقط روی ویندوز 64 بیتی اِجرا میشود. لطفا نسخه 32 بیتی [ProductName] را نصب کنید!</String>
+ <String Id="SunFound">یک نصب قدیمی ویرچوال باکس روی این رایانه یافت شد. لطفا اول این بسته را حذف سپس [ProductName] را نصب کنید!</String>
+ <String Id="InnotekFound">یک نسخه قدیمی نصب ویرچوال باکس در این ماشین یافت شد. لطفا اول این بسته را حذف و سپس [ProductName] را نصب کنید!</String>
+ <!---->
+ <String Id="CancelDlg_Question">آیا میخواهید نصب [ProductName] را لغو کنید؟</String>
+ <!---->
+ <String Id="WelcomeDlg_Header">به برنامه نصب [ProductName] خوش آمدید</String>
+ <String Id="WelcomeDlg_Body">این ویزارد [ProductName] را روی رایانه شما نصب میکند. روی بعدی برای ادامه یا روی لغو برای خروج از این ویزارد کلیک کنید.</String>
+ <!---->
+ <String Id="LicenseAgreementDlg_Header">توافقنامه مجوز کاربر نهایی</String>
+ <String Id="LicenseAgreementDlg_Body">لطفا توافقنامه مجوز زیرا را بادقت بخوانید.</String>
+ <String Id="LicenseAgreementDlg_Accept">&amp;من ضوابط را در توافقنامه مجوز می پذیرم</String>
+ <String Id="LicenseAgreementDlg_Decline">&amp;من ضوابط را در توافقنامه مجوز نمی پذیرم</String>
+ <!---->
+ <String Id="CheckSerialDlg_Header">شماره سریال</String>
+ <String Id="CheckSerialDlg_Body">لطفا شماره سریال را در فیلد زیر وارد کنید.آن را روی برچسب روی جلد سی دی ویرچوال باکس می یابید.</String>
+ <String Id="CheckSerialDlg_Footer">وقتی که وارد کردن شماره سریال انجام شد،دکمه "بررسی" را در زیر فشار دهید.</String>
+ <!---->
+ <String Id="WrongSerialDlg_Header">شماره سریال وارد شده غیرمعتبر است!</String>
+ <String Id="WrongSerialDlg_Desc1">لطفا برگردید و شماره سریال خود را دوباره وارد کنید.</String>
+ <String Id="WrongSerialDlg_Desc2">بخاطر داشته باشید که شماره سریال باید دقیقا همانطور که دریافت شده وارد شود.</String>
+ <!---->
+ <String Id="WarnSaveStatesDlg_Header">هشدار:</String>
+ <String Id="WarnSaveStatesDlg_Header2">وضعیت ذخیره شده ناسازگار!</String>
+ <String Id="WarnSaveStatesDlg_Desc">هنگام ارتقاء [ProductName]، همه وضعیت های ذخیره شده ای که از قبل برای ماشین ها وجود دارد کار نمیکند! بعد از نصب،باید آنها را دستی لغو کنید.</String>
+ <String Id="WarnSaveStatesDlg_Proceed">حالا با نصب اقدام کند؟</String>
+ <!---->
+ <String Id="WarnTAPDevicesDlg_Header">رابط های میزبان</String>
+ <String Id="WarnTAPDevicesDlg_Desc">اگر در نسخه قبلی برخی رابط میزبان برای ماشین خود استفاده کرده اید،شما باید آنها را دستی بعد از این نصب مجددا ایجاد کنید.</String>
+ <!---->
+ <String Id="NetCfgLocked">قبل از ادامه نصب برنامه زیر باید بسته شود: "[2]"</String>
+ <!---->
+ <String Id="CustomizeDlg_Location">مكان:</String>
+ <String Id="CustomizeDlg_DiskUsage">&amp;مصرف دیسک</String>
+ <String Id="CustomizeDlg_SelFeatures">روشی را که میخواهید ویژگی ها نصب شود انتخاب کنید.</String>
+ <String Id="CustomizeDlg_IconTree">روی آیکون درختی در زیر برای انتخاب اینکه کدام ویژگی ها نصب شود کلیک کنید.</String>
+ <String Id="CustomizeDlg_CustomSetup">نصب دستی</String>
+ <String Id="CustomizeDlg_SelItemDesc">CustomizeDlgItemDescription-CustomizeDlgItemDescription</String>
+ <String Id="CustomizeDlg_SelItemSize">CustomizeDlgItemSize-CustomizeDlgItemSize</String>
+ <String Id="CustomizeDlg_SelItemPath">CustomizeDlgLocation-CustomizeDlgLocation</String>
+ <!---->
+ <String Id="Customize2Dlg_Header">سفارشی</String>
+ <String Id="Customize2Dlg_Desc">لطفاً از گزینه های زیر انتخاب کنید:</String>
+ <String Id="Customize2Dlg_CreateStartMenuEntries">Create start menu entries</String>
+ <String Id="Customize2Dlg_CreateDesktopShortcut">ایجاد یک میانبر روی دسکتاپ</String>
+ <String Id="Customize2Dlg_CreateQuickLaunch">ایجاد یک میانبر در اِجرای سریع</String>
+ <String Id="Customize2Dlg_RegisterFileExtensions">ثبت نام انجمن فایل</String>
+ <!---->
+ <String Id="SelectionNetworkTypeDlg_CommonDescription">Please choose which type of network drivers you will use:</String>
+ <String Id="SelectionNetworkTypeDlg_DescriptionNDIS5">NDIS5 network drivers.
+This is default for older versions of Windows (pre-Vista).</String>
+ <String Id="SelectionNetworkTypeDlg_DescriptionNDIS6">NDIS6 network drivers.
+This is default for newer versions of Windows (Vista and newer).</String>
+ <String Id="SelectionNetworkTypeDlg_RadioButtonNDIS5">Use NDIS5 network drivers.</String>
+ <String Id="SelectionNetworkTypeDlg_RadioButtonNDIS6">Use NDIS6 network drivers.</String>
+ <!---->
+ <String Id="WarnDisconNetIfacesDlg_Title">هشدار:</String>
+ <String Id="WarnDisconNetIfacesDlg_Title2">رابط های شبکه</String>
+ <String Id="WarnDisconNetIfacesDlg_Desc">نصب ویژگی شبکه [ProductName] ارتباط شبکه شما را ریست خواهد کرد و موقتا ارتباط شما قطع خواهد شد.</String>
+ <String Id="WarnDisconNetIfacesDlg_Question">حالا با نصب اقدام کند؟</String>
+ <!---->
+ <String Id="WarnPythonDlg_Title">Missing Dependencies</String>
+ <String Id="WarnPythonDlg_Title2">Python Core / win32api</String>
+ <String Id="WarnPythonDlg_Desc">Installing the [ProductName] Python bindings requires the Python Core package and the win32api bindings to be installed first.</String>
+ <String Id="WarnPythonDlg_Desc2">When continuing the installation of the [ProductName] Python bindings now, those need to be set up manually later. Refer to the [ProductName] SDK manual for more information.</String>
+ <String Id="WarnPythonDlg_Question">Proceed with installation now?</String>
+ <!---->
+ <String Id="DiskCostDlg_SpaceRequired">فضای دیسک موردنیاز برای نصب ویژگی های انتخاب شده.</String>
+ <String Id="DiskCostDlg_NotEnoughSpace">درایوهای برجسته شده(اگر وجود دارد) فضای دیسک کافی برای ویژگی های انتخاب شده ندارد.شما میتوانید تعدادی فایل از درایو برجسته شده حذف کنید، یا ویژگی های کمتری برای نصب در درایو محلی انتخاب کنید یا درایو مقصد متفاوتی انتخاب کنید.</String>
+ <String Id="DiskCostDlg_SpaceRequirements">فضای دیسک موردنیاز</String>
+ <String Id="DiskCostDlg_VolumeList">{120}{70}{70}{70}{70}</String>
+ <!---->
+ <String Id="BrowseDlg_BrowseDestFolder">پوشه مقصد را انتخاب کنید</String>
+ <String Id="BrowseDlg_ChangeCurFolder">تغییر پوشه نصب فعلی</String>
+ <String Id="BrowseDlg_UpOneLevelTooltip">یک مرحله قبل</String>
+ <String Id="BrowseDlg_CreateNewFolderTooltip">ایجاد یک پوشه جدید</String>
+ <String Id="BrowseDlg_LookIn">&amp;نصب در:</String>
+ <String Id="BrowseDlg_FolderName">&amp;نام پوشه:</String>
+ <!---->
+ <String Id="VerifyReadyDlg_ReadyToBegin">برنامه راه انداز آماده شروع نصب [InstallMode] هست.</String>
+ <String Id="VerifyReadyDlg_ClickInstall">برای شروع "نصب" را کلیک کنید. اگر میخواهید هرگونه از تنظیمات نصب را بازبینی یا تغییر دهید، روی "قبلی" کلیک کنید. روی "لغو" برای خروج از ویزارد کلیک کنید</String>
+ <String Id="VerifyReadyDlg_ReadyToInstall">آماده براي نصب</String>
+ <!---->
+ <String Id="ExitDlg_ClickFinish">روی دکمه پایان برای خروج از ویزارد نصب کلیک کنید.</String>
+ <String Id="ExitDlg_InstComplete">نصب [ProductName] کامل شد.</String>
+ <String Id="ExitDlg_StartVBox">بعداز نصب، [ProductName] اِجرا شود</String>
+ <!---->
+ <String Id="FatalErrorDlg_Header">نصب [ProductName] نابهنگام پایان یافت</String>
+ <String Id="FatalErrorDlg_Desc">نصب [ProductName] نابهنگام به علت خطا پایان یافت. سیستم شما تغییر نکرده است. برای نصب این برنامه در زمانی دیگر، لطفا برنامه راه انداز را دوباره اجرا کنید.</String>
+ <String Id="FatalErrorDlg_Footer">روی دکمه پایان برای خروج از ویزارد نصب کلیک کنید.</String>
+ <!---->
+ <String Id="FilesInUse_Text">برنامه های زیر از فایل هایی که نیاز به بروزرسانی دارند استفاده میکنند. شما میتوانید برنامه را ببندید و روی "دوباره" کلیک کنید، با روی "لغو" برای خروج از آن کلیک کنید.</String>
+ <String Id="FilesInUse_Description">بعضی از فایل هایی که نیاز به بروزرسانی دارند اکنون درحال استفاده است.</String>
+ <String Id="FilesInUse_Title">فایل در حال استفاده</String>
+ <!---->
+ <String Id="UserExitDlg_Header">نصب [ProductName] قطع شده است</String>
+ <String Id="UserExitDlg_Desc">نصب [ProductName] قطع شده است. سیستم شما تغییرنیافته است. برای نصب دوباره این برنامه،لطفا فایل راه اندازی را دوباره اجرا کنید.</String>
+ <String Id="UserExitDlg_Footer">روی دکمه پایان برای خروج از ویزارد نصب کلیک کنید.</String>
+ <!---->
+ <String Id="ProgressDlg_PleaseWait">لطفا تا زمانیکه [ProductName] نصب میشود،منتظر بمانید. شاید چنددقیقه طول بکشد.</String>
+ <!---->
+ <String Id="ResumeDlg_Header">ادامه ویزارد نصب [ProductName]</String>
+ <String Id="ResumeDlg_Desc">ویزارد، نصب [ProductName] را در رایانه شما کامل خواهد کرد. روی نصب برای ادامه یا روی لغو برای خروج از ویزارد کلیک کنید.</String>
+ <!---->
+ <String Id="MaintenanceTypeDlg_Header">تغییر، تعمیر یا حذف نصب</String>
+ <String Id="MaintenanceTypeDlg_SelOption">عملکردی را که میخواهید اجرا کنید انتخاب کنید.</String>
+ <String Id="MaintenanceTypeDlg_Repair">&amp;تعمیر</String>
+ <String Id="MaintenanceTypeDlg_RepairText">تعمیر خطاها در حالت نصب های اخیر - تعمیر فایل های گم شده یا خراب،میانبرها و وردی ریجیستری.</String>
+ <String Id="MaintenanceTypeDlg_RepairTooltip">نصب نصب</String>
+ <String Id="MaintenanceTypeDlg_RepairProgress1">تعمیر</String>
+ <String Id="MaintenanceTypeDlg_RepairProgress2">تعمیر</String>
+ <String Id="MaintenanceTypeDlg_Remove">&amp;حذف</String>
+ <String Id="MaintenanceTypeDlg_RemoveText">حذف [ProductName] از رایانه.</String>
+ <String Id="MaintenanceTypeDlg_RemoveTooltip">حذف نصب</String>
+ <String Id="MaintenanceTypeDlg_RemoveProgress1">حذف</String>
+ <String Id="MaintenanceTypeDlg_RemoveProgress2">حذف</String>
+ <!---->
+ <String Id="MaintenanceWelcomeDlg_Header">به برنامه نصب [ProductName] خوش آمدید</String>
+ <String Id="MaintenanceWelcomeDlg_Desc">ویزارد راه انداز به شما اجازه تعمیر نصب فعلی یا حذف [ProductName] را از رایانه میدهد. روی بعدی برای ادامه یا روی لغو برای خروج از ویزارد راه انداز کلیک کنید.</String>
+ <!---->
+ <String Id="OutOfDiskDlg_InstallationExceeds">فضای دیسک موردنیاز برای نصب از فضای دیسک موجود تجاوز کرده است.</String>
+ <String Id="OutOfDiskDlg_NotEnoughDiskSpace">درایوهای برجسته شده فضای دیسک کافی برای ویژگی های انتخاب شده ندارد.شما میتوانید تعدادی فایل از درایو برجسته شده حذف کنید، یا ویژگی های کمتری برای نصب در درایو محلی انتخاب کنید یا درایو مقصد متفاوتی انتخاب کنید.</String>
+ <String Id="OutOfDiskDlg_OutOfDiskSpace">فضای دیسک کم است</String>
+ <!---->
+ <String Id="OutOfRbDiskDlg_InstallationExceeds">فضای دیسک موردنیاز برای نصب از فضای دیسک موجود تجاوز کرده است.</String>
+ <String Id="OutOfRbDiskDlg_NotEnoughDiskSpace">درایوهای برجسته شده فضای دیسک کافی برای ویژگی های انتخاب شده ندارد.شما میتوانید تعدادی فایل از درایو برجسته شده حذف کنید، یا ویژگی های کمتری برای نصب در درایو محلی انتخاب کنید یا درایو مقصد متفاوتی انتخاب کنید.</String>
+ <String Id="OutOfRbDiskDlg_OutOfDiskSpace">فضای دیسک کم است</String>
+ <String Id="OutOfRbDiskDlg_Desc">متناوبا، شما میتوانید قابلیت بازگشت به عقب ایستالر را غیر فعال کنید. این به شما اجازه بازگرداندن رایانه به حالت اصلی در هر جا که نصب قطع شده را میدهد. اگر این ریسک را قبول میکنید روی بله کلیک کنید.</String>
+ <!---->
+ <String Id="VerifyRemoveDlg_Header">حذف [ProductName]</String>
+ <String Id="VerifyRemoveDlg_Desc">شما حذف برنامه از رایانه را انتخاب کرده اید.</String>
+ <String Id="VerifyRemoveDlg_ClickRemove">روی "حذف" برای حذف [ProductName] از رایانه کلیک کنید. اگر میخواهید هرگونه از تنظیمات نصب را بازبینی یا تغییر دهید، روی "قبلی" کلیک کنید. روی "لغو" برای خروج از ویزارد کلیک کنید.</String>
+ <!---->
+ <String Id="VerifyRepairDlg_Header">تعمیر [ProductName]</String>
+ <String Id="VerifyRepairDlg_ReadyToBegin">ویزارد آماده شروع تعمیر [ProductName] هست.</String>
+ <String Id="VerifyRepairDlg_ClickRepair">روی "تعمیر" برای تعمیر نصب [ProductName] کلیک کنید. اگر میخواهید هرگونه از تنظیمات نصب را بازبینی یا تغییر دهید، روی "قبلی" کلیک کنید. روی "لغو" برای خروج از ویزارد کلیک کنید.</String>
+ <!---->
+ <String Id="WaitForCostingDlg_PleaseWait">لطفا تا زمانیکه اینستالر فضای دیسک موردنیاز را تشخیص دهد منتظر بمانید.</String>
+ <!---->
+ <String Id="MsiRMFilesInUse_Text">برنامه های زیر از فایل هایی که نیاز به بروزرسانی دارند استفاده میکنند. شما میتوانید بگذارید برنامه آنها را ببندد و سعی کند آنها را ریستارت کند یا این ماشین را در بعد ریستارت کند.</String>
+ <String Id="MsiRMFilesInUse_Description">بعضی از فایل هایی که نیاز به بروزرسانی دارند اکنون درحال استفاده است.</String>
+ <String Id="MsiRMFilesInUse_Title">فایل در حال استفاده</String>
+ <String Id="MsiRMFilesInUse_UseRM">&amp;برنامه ها را ببندید و سعی کنید آنها را ریستارت کنید</String>
+ <String Id="MsiRMFilesInUse_DontUseRM">&amp;برنامه ها را نبندید.یک ریستارت نیاز است.</String>
+ <!-- The following strings are internally used by WiX and MSI -->
+ <String Id="Error0">{{خطای مهلک: }}</String>
+ <String Id="Error1">{{خطا [1]. }}</String>
+ <String Id="Error2">هشدار [1]. </String>
+ <String Id="Error3" />
+ <String Id="Error4">اطلاعات [1]. </String>
+ <String Id="Error5">اینستالر با یک خطای غیرمنتظره در نصب این بسته مواجه شده است. این یک مشکل با این برنامه را نشان میدهد. کد خطا [1]هست. {{نشانوند هست: [2], [3], [4]}}</String>
+ <String Id="Error6" />
+ <String Id="Error7">{{ديسك پر است: }}</String>
+ <String Id="Error8">اقدام [Time]: [1]. [2]</String>
+ <String Id="Error9">[ProductName]</String>
+ <String Id="Error10">{[2]}{, [3]}{, [4]}</String>
+ <String Id="Error11">نوع پیام: [1], نشانوند: [2]</String>
+ <String Id="Error12">=== وقایع نگاری شروه شده: [Date] [Time] ===</String>
+ <String Id="Error13">=== وقایع نگاری متوقف شده: [Date] [Time] ===</String>
+ <String Id="Error14">شروع اقدام [Time]: [1].</String>
+ <String Id="Error15">اقدام پایان یافته است [Time]: [1]. مقدار بازگشت [2].</String>
+ <String Id="Error16">زمان باقیمانده: {[1] دقیقه }{[2] ثانیه}</String>
+ <String Id="Error17">حافظه کم است.قبل از سعی دوباره سایر برنامه ها را ببندید.</String>
+ <String Id="Error18">اینستالر بیش از این پاسخ نمیدهد.</String>
+ <String Id="Error19">اینستالر نابهنگام متوقف شده است.</String>
+ <String Id="Error20">لطفا تا زمانیکه ویندوز [ProductName] را پیکربندی میکند منتظر بمانید</String>
+ <String Id="Error21">گردآوری اطلاعات موردنیاز...</String>
+ <String Id="Error22">حذف نسخه های قدیمی این برنامه...</String>
+ <String Id="Error23">آماده سازی برای حذف نسخه های قدیمی این برنامه...</String>
+ <String Id="Error32">نصب {[ProductName] }با موفقیت کامل شد.</String>
+ <String Id="Error33">موفق به نصب {[ProductName] }نشد.</String>
+ <String Id="Error1101">خطای خواندن از فایل: [2]. {{ خطای سیستم [3].}} بازبینی کنید فایل موجود است و میتوانید به آن دسترسی داشته باشید.</String>
+ <String Id="Error1301">فایل '[2]' را نمیتوان ایجاد کرد. یک دایرکتوری با این نام موجود است. لغو نصب و سعی در نصب در پوشه متفاوت</String>
+ <String Id="Error1302">لطفا دیسک را قرار دهید: [2]</String>
+ <String Id="Error1303">نصب کننده اجازه ناکافی برای دسترسی به این دایرکتوری دارد: [2]. نصب را نمیتوان ادامه داد. بعنوان آدمین وارد شوید یا با مدیر سیستم تماس بگیرید.</String>
+ <String Id="Error1304">خطای نوشتن در فایل: [2]. بازبینی کنید به این دایرکتوری دسترسی دارید.</String>
+ <String Id="Error1305">خطای خواندن از فایل [2]. {{ خطای سیستم [3].}} بازبینی کنید فایل موجود است و اجازه دسترسی به آن دارید.</String>
+ <String Id="Error1306">برنامه دیگری دسترسی انحصاری به فایل '[2]' را دارد. لطف سایر برنامه ها را بسته،و دوباره سعی کنید.</String>
+ <String Id="Error1307">فضای دیسک کافی برای نصب این فایل موجود نیست: [2]. مقداری از فضای دیسک را خالی کنید و روی "دوباره"، کلیک کنید یا روی "لغو" برای خروج کلیک کنید.</String>
+ <String Id="Error1308">فایل منبع یافت نشد: [2]. بازبینی کنید فایل موجود است و به آن دسترسی دارید.</String>
+ <String Id="Error1309">خطای خواندن از فایل: [3]. {{ خطای سیستم [2].}} بازبینی کنید فایل موجود است و اجازه دسترسی دارید.</String>
+ <String Id="Error1310">خطای نوشتن در فایل: [3]. {{ خطای سیستم [2].}} بازبینی کنید شما اجازه دسترسی به این فایل دارید.</String>
+ <String Id="Error1311">فایل منبع یافت نشد{{(cabinet)}}: [2]. بازبینی کنید فایل وجود دارد و به آن دسترسی دارید.</String>
+ <String Id="Error1312">دایرکتوری '[2]' را نمیتوان ایجاد کرد. یک فایل با این نام از قبل موجود است. لطفا فایل را حذف یا تغییرنام دهید و روی "دوباره"، یا "لغو" برای خروج کلیک کنید.</String>
+ <String Id="Error1313">درایو [2] اکنون موجود نیست. لطفا یکی دیگر انتخاب کنید.</String>
+ <String Id="Error1314">مسیر مشخص شده '[2]' غیرقابل دسترسی است.</String>
+ <String Id="Error1315">قادر به نوشتن در پوشه مشخص شده نیست: [2].</String>
+ <String Id="Error1316">یک خطای شبکه حین سعی در خواندن از فایل رخ داد: [2]</String>
+ <String Id="Error1317">یک خطا حین سعی در ایجاد دایرکتوری رخ داد: [2]</String>
+ <String Id="Error1318">یک خطای شبکه حین ایجاد دایرکتوری رخ داده است: [2]</String>
+ <String Id="Error1319">یک خطای شبکه حین سعی در بازکردن فایل منبع کابینت رخ داده است: [2]</String>
+ <String Id="Error1320">مسیر مشخص شده خیلی بلند است: [2]</String>
+ <String Id="Error1321">اینستالر اجازه کافی برای تغییر این فایل ندارد: [2].</String>
+ <String Id="Error1322">یک بخش از مسیر پوشه '[2]' نامعتبر است. آن یا خالی هست یا از مقدار اجازه داده شده سیستم بیشتر است.</String>
+ <String Id="Error1323">مسیر پوشه '[2]' محتوی لغاتی هست که در مسیر پوشه ها معتبر نیست.</String>
+ <String Id="Error1324">مسیر پوشه '[2]' محتوی کاراکتر نامعتبر است.</String>
+ <String Id="Error1325">'[2]' نام فایل کوتاه صحیح نیست.</String>
+ <String Id="Error1326">خطای گرفتن فایل امنیتی: [3] گرفتن آخرین استرینگ: [2]</String>
+ <String Id="Error1327">درایو نامعتبر: [2]</String>
+ <String Id="Error1328">خطای اِعمال وصله به فایل [2]. آن بروزسانی شده با روشی دیگر، و بیش از این نمیتواند با این وصله ویرایش شود. برای اطلاعات بیشتر با فروشده وصله تمای بگیرید. {{خطای سیستم: [3]}}</String>
+ <String Id="Error1329">یک فایل موردنیاز نمیتواند نصب شود زیرا کابینت فایل [2] امضای دیجیتالی نشده است. این ممکن است نشان دهنده فایل کابینت خراب است.</String>
+ <String Id="Error1330">یک فایل که موردنیاز است نمیتواند نصب شود زیرا فایل کابینت [2] امضای دیجیتالی نامعتبر دارد. این ممکن است نشان دهنده این است که فایل کابینت خراب است.{{ خطا [3] بازگشت خورده با WinVerifyTrust.}}</String>
+ <String Id="Error1331">موفق به کپی صحیح فایل [2] نشد: خطای سی آر سی.</String>
+ <String Id="Error1332">موفق به انتقال صحیح فایل [2] نشد: خطای سی آر سی.</String>
+ <String Id="Error1333">موفق به وصله صحیح فایل [2] نشد: خطای سی آر سی.</String>
+ <String Id="Error1334">فایل '[2]' نمیتواند نصب شود زیرا فایل را در کابینت فایل '[3]' نیافت. این شاید نشان دهنده خطای شبکه باشد، یک خطای خواندن از سی دی رام، یا یک مشکل با این بسته.</String>
+ <String Id="Error1335">فایل کابینت '[2]' که موردنیاز برای این نصب است خراب است و نمیتوان استفاده کرد. این شاید نشان دهنده خطای شبکه باشد، یک خطای خواندن از سی دی رام، یا یک مشکل با این بسته.</String>
+ <String Id="Error1336">یک خطای ایجاد فایل موقتی هست که آن برای کامل شدن نصب نیاز است.{{ پوشه: [3]. کد خطای سیستم: [2]}}</String>
+ <String Id="Error1401">کلید را نمیتوان ایجاد کرد: [2]. {{ خطای سیستم [3].}} بازبینی کید اجازه کافی در این کلید دارید،یا با پشتیبانی شخصی تماس بگیرید </String>
+ <String Id="Error1402">کلید را نمیتوان باز کرد: [2]. {{ خطای سیستمی [3].}} بازبینی کنید اجازه کافی در این کلید دارید،یا با پشتیبانی شخصی تماس بگیرید </String>
+ <String Id="Error1403">مقدار [2] از کلید [3] نمیتوان حذف کرد. {{ خطای سیستم [4].}} بازبینی کنید اجازه کافی در این کلید دارید،یا با پشتیبانی شخصی تماس بگیرید </String>
+ <String Id="Error1404">کلید [2] را نمیتوان حذف کرد. {{ خطای سیستم [3].}} بازبینی کنید اجازه کافی در این کلید دارید،یا با پشتیبانی شخصی تماس بگیرید </String>
+ <String Id="Error1405">مقدار [2] از کلید [3] نمیتوان خواند. {{ خطای سیستم [4].}} بازبینی کنید اجازه کافی در این کلید دارید،یا با پشتیبانی شخصی تماس بگیرید </String>
+ <String Id="Error1406">مقدار [2] در کلید [3] نمیتواند بنویسد. {{ خطای سیستم [4].}} بازبینی کنید اجازه کافی در این کلید دارید،یا با پشتیبانی شخصی تماس بگیرید.</String>
+ <String Id="Error1407">نام مقدار را برای کلید [2] میتوان گرفت. {{ خطای سیستم [3].}} بازبینی کنید اجازه کافی در این کلید دارید،یا با پشتیبانی شخصی تماس بگیرید.</String>
+ <String Id="Error1408">نام زیرکلید را برای کلید [2] نمیتوان گرفت. {{ خطای سیستم [3].}} بازبینی کنید اجازه کافی در این کلید دارید،یا با پشتیبانی شخصی تماس بگیرید.</String>
+ <String Id="Error1409">اطلاعات امنیتی را برای کلید [2] نمیتوان خواند. {{ خطای سیستم [3].}} بازبینی کنید اجازه کافی در این کلید دارید،یا با پشتیبانی شخصی تماس بگیرید.</String>
+ <String Id="Error1410">فضای ریجیستری موجود را نمیتوان افزایش داد. [2] کیلوبایت از فضای آزاد ریجیستری برای نصب این برنامه نیاز است.</String>
+ <String Id="Error1500">نصب دیگری درحال پیشرفت است.باید آن نصب را قبل از ادامه نصب جدید کامل کنید.</String>
+ <String Id="Error1501">خطای دسترسی به داده ایمن شده. لطفا مطمئن شوید ویندوز اینستالر بدرسی پیکربندی شده و دوباره سعی کنید.</String>
+ <String Id="Error1502">کاربر '[2]' قبلا سعی در نصب محصول '[3]' داشته است. آن کاربر نیاز خواهد بود دوباره این نصب را اجرا کند قبل از اینکه آنها بتوانند از آن استفاده کنند. نصب فعلی شما حالا ادامه خواهد یافت</String>
+ <String Id="Error1503">کاربر '[2]' قبلا سعی در نصب محصول '[3]' داشته است. آن کاربر نیاز خواهد بود دوباره این نصب را اجرا کند قبل از اینکه آنها بتوانند از آن استفاده کنند.</String>
+ <String Id="Error1601">فضای دیسک کم است -- درایو: '[2]'; فضای موردنیاز: [3] کیلوبایت; فضای موجود: [4] کیلوبایت. فضایی از دیسک را خالی و دوباره سعی کنید.</String>
+ <String Id="Error1602">آیا میخواهید لغو کنید؟</String>
+ <String Id="Error1603">فایل [2][3] درحال استفاده نگه داشته شده است{ با فرآیند زیر: نام: [4], شناسه: [5], عنوان پنجره: '[6]'}. آن برنامه را بسته و دوباره سعی کنید.</String>
+ <String Id="Error1604">محصول '[2]' از قبل نصب شده است، جلوگیری از نصب این محصول. دو محصول ناسازگار هستند.</String>
+ <String Id="Error1605">فضای دیسک کافی در درایو '[2]' برای ادامه نصب با بازگردانی فعال شده موجود نیست. [3] کیلوبایت نیاز است، اما فقط [4] کیلوبایت موجود است. روی "چشمپوشی" برای ادامه نصب بدون ذخیره سازی اطلاعات بازگردانی کلیک کنید، روی "دوباره" برای بررسی دوباره فضای موجود کلیک کنید، یا روی "لغو" برای خروج از نصب کلیک کنید.</String>
+ <String Id="Error1606">به مکان شبکه [2] نمیتوان دسترسی داشت.</String>
+ <String Id="Error1607">برنامه های زیر باید قبل از ادامه نصب بسته شود:</String>
+ <String Id="Error1608">نمیتواند هیچگونه محصول مشابه که قبلا در این ماشین نصب شده باشد را برای نصب این محصول بیابد.</String>
+ <String Id="Error1609">یک خطا حین اِعمال تنظیمات امنیتی رخ داد. [2] گروه یا کاربر معتبر نیست. این مشکل میتواند از بسته باشد، یا مشکل اتصال به کنترلگر دامین در شبکه باشد. ارتباط شبکه را بررسی و روی دوباره کلیک کنید، یا روی لغو برای پایان نصب کلیک کنید. {{قادر به مکان یابی اِس ای دی کاربر نیست، خطای سیستم [3]}}</String>
+ <String Id="Error1701">کلید [2] صحیح نیست. بازبینی کنید کلید صحیح را وارد کرده اید.</String>
+ <String Id="Error1702">اینستالر قبل از پیکربندی [2] برای ادامه،باید ریستارت شود. روی "بله" برای ریستارت یا "خیر" برای ریستارت در زمانی دیگر کلیک کنید.</String>
+ <String Id="Error1703">برای اعمال اثرگذاری تغییرات پیکربندی اعمال شده در [2] سیستم را باید ریستارت کنید. روی بله برای ریستارت و روی خیر برای ریستارت در بعد کلیک کنید.</String>
+ <String Id="Error1704">یک نصب برای [2] اکنون معلق شده است. برای ادامه شما باید تغییرات ایجاد شده با آن نصب را آندو کنید. میخواهید تغییرات را آندو کنید؟</String>
+ <String Id="Error1705">یک نصب قبلی برای این محصول در پیشرفت است.باید تغییراتی که با آن نصب ایجاد شده را آندو کرده و سپس ادامه دهید.آیا تغییرات را آندو می کنید؟</String>
+ <String Id="Error1706">یک بسته نصب برای محصول [2] را نمیتوان یافت. نصب را دوباره توسط نسخه معتبر بسته نصب '[3]' اجرا کنید.</String>
+ <String Id="Error1707">نصب باموفقیت کامل شد.</String>
+ <String Id="Error1708">موفق به نصب نشد.</String>
+ <String Id="Error1709">محصول: [2] -- [3]</String>
+ <String Id="Error1710">میتوانید رایانه را به حالت قبل برگردانید یا نصب را در زمان دیگری ادامه دهید.میخواهید بازگردانی کنید؟</String>
+ <String Id="Error1711">یک خطا حین نوشتن اطلاعات نصب روی دیسک رخ داد.مطمئن شوید فضای آزاد دیسک کافی است،و روی دوباره یا لغو برای پایان دادن به نصب کلیک کنید.</String>
+ <String Id="Error1712">یک یا تعداد بیشتری از فایلهایی موردنیاز برای بازگردانی رایانه به حالت قبل یافت نشد.بازگردانی غیرممکن است.</String>
+ <String Id="Error1713">[2] نمیتواند یکی از محصولات موردنیاز را نصب کنید. با گروه پشتیبانی شخصی تماس بگیرید. {{استرینگ سیستم: [3].}}</String>
+ <String Id="Error1714">نسخه قدیمی [2] را نمیتواند حذف کرد. باگروه پشتیبانی فنی تماس بگیرید. {{استرینگ سیستم [3].}}</String>
+ <String Id="Error1715">نصب شده [2]</String>
+ <String Id="Error1716">پیکربندی شده [2]</String>
+ <String Id="Error1717">حذف شده [2]</String>
+ <String Id="Error1718">فایل [2] با سیاست امضای دیجیتالی پذیرفته نشده است.</String>
+ <String Id="Error1719">نمیتوان به ویندوز اینستالر دسترسی داشت.اگر در سیف مد ویندوز باشید این رخ میدهد، یا ویندوز اینستالر بدرستی نصب نشده است.برای راهنمایی با پشتیبانی شخصی خود تماس بگیرید.</String>
+ <String Id="Error1720">این یک مشکل با بسته ویندوز اینستالر هست. یک اسکریپت موردنیاز برای کامل شدن این نصب را نمیتوان اجرا کرد. با فروشنده بسته یا پشتیبانی شخصی تماس بگیرید.. {{اقدام دستی [2] خطای اسکریپت [3], [4]: [5] خط [6], ستون [7], [8] }}</String>
+ <String Id="Error1721">این یک مشکل با بسته ویندوز اینستالر هست. یک برنامه موردنیاز برای کامل شدن این نصب را نمیتوان اجرا کرد. با فروشنده بسته یا پشتیبانی شخصی تماس بگیرید.. {{اقدام: [2], مکان: [3], فرمان: [4] }}</String>
+ <String Id="Error1722">این مشکل با بسته ویندوز اینستالر هست. برنامه اجرا شده بعنوان بخشی از نصب همانطور که انتظار میرفت به پایان نرسیده است. با پشتیبانی شخصی یا فروشنده محصول تماس بگیرید. {{اقدام [2], مکان: [3], فرمان: [4] }}</String>
+ <String Id="Error1723">این یک مشکل با بسته ویندوز اینستالر هست. یک دی اِل اِل موردنیاز برای کامل شدن این نصب را نمیتوان اجرا کرد. با فروشنده بسته یا پشتیبانی شخصی تماس بگیرید.. {{اقدام [2], ورودی: [3], کتابخانه: [4] }}</String>
+ <String Id="Error1724">حذف باموفقیت انجام شد.</String>
+ <String Id="Error1725">موفق به حذف نشد.</String>
+ <String Id="Error1726">آگهی با موفقیت کامل شد.</String>
+ <String Id="Error1727">آگهی موفق نشد.</String>
+ <String Id="Error1728">پیکربندی باموفقیت کامل شد.</String>
+ <String Id="Error1729">موفق به پیکربندی نشد.</String>
+ <String Id="Error1730">شما باید برای حذف این برنامه آدمین باشید.برای حذف این برنامه،وارد اکانت آدمین شوید،یا برای راهنمایی با گروه پشتیبانی تماس بگیرید.</String>
+ <String Id="Error1801">مسیر [2] نامعتبر است. لطفا یک مسیر معتبر مشخص کنید.</String>
+ <String Id="Error1802">حافظه کم است.قبل از سعی دوباره سایر برنامه ها را ببندید.</String>
+ <String Id="Error1803">دیسکی در درایو [2] موجود نیست. لطفا دیسک را قرار داده و روی "دوباره"، یا روی "لغو" برای رفتن به درایو انتخاب شده قبلی کلیک کنید.</String>
+ <String Id="Error1804">دیسکی در درایو [2] موجود نیست. لطفا دیسک را قرار داده و روی "دوباره"، یا روی "لغو" برای بازگشت به دیالوگ جستجو و انتخاب درایو متفاوت کلیک کنید.</String>
+ <String Id="Error1805">پوشه [2] وجود ندارد. لطفا یک مسیر در پوشه موجود وارد کنید.</String>
+ <String Id="Error1806">شما اجازه کافی برای خواندن این پوشه را ندارید.</String>
+ <String Id="Error1807">یک پوشه مقصد معتبر برای نصب را نمیتواند تشخیص دهد.</String>
+ <String Id="Error1901">خطا سعی در خواندن از منبع نصب پایگاه داده: [2].</String>
+ <String Id="Error1902">زمان بندی عملکرد ریستارت: تغییرنام فایل [2] به [3]. برای کامل شدن عملکرد باید ریستارت شود.</String>
+ <String Id="Error1903">زمان بندی عملکرد ریستارت: حذف فایل [2]. برای کامل شدن عملکرد باید ریستارت شود.</String>
+ <String Id="Error1904">مدل [2] موفق به ثبت نشد. HRESULT [3]. با پشتیبانی شخصی تماس بگیرید.</String>
+ <String Id="Error1905">مدل [2] موفق به حذف نشد. HRESULT [3]. با پشتیبانی شخصی تماس بگیرید.</String>
+ <String Id="Error1906">موفق به کش یا ذخیره بسته [2] نشد. خطا: [3]. با پشتیبانی شخصی تماس بگیرید.</String>
+ <String Id="Error1907">قادر به ثبت فونت [2] نیست. بازبینی کنید اجازه کافی برای نصب فونت ها را دارید، و آن سیستم از این فونت پشتیبانی میکند.</String>
+ <String Id="Error1908">فونت [2] را نمیتوان حذف کرد. بازبینی کنید اجازه کافی برای حذف فونت را دارید.</String>
+ <String Id="Error1909">میانبر [2] را نمیتوان ایجاد کرد.بازبینی کنید پوشه مقصد وجود دارد و میتوانید به آن دسترسی داشته باشید.</String>
+ <String Id="Error1910">میانبر [2] را نمیتوان حذف کرد.بازبینی کنید فایل میانبر وجود دارد و میتوانید به آن دسترسی داشته باشید.</String>
+ <String Id="Error1911">نوع کتابخانه را برای فایل [2] نمیتوان ثبت کرد. با پشتیبانی شخصی تماس بگیرید.</String>
+ <String Id="Error1912">قادر به حذف نوع کتابخانه ای برای فایل [2] نیست. با پشتیبانی شخصی تماس بگیرید.</String>
+ <String Id="Error1913">نمیتوان بروزرسانی کرد فایل ini [2][3]. بازبینی کنید فایل وجود دارد و به آن دسترسی دارید.</String>
+ <String Id="Error1914">فایل [2] برای جایگزینی با فایل [3] در ریستارت را نمیتوان زمان بندی کرد. بازبینی کنید اجازه نوشتن در فایل [3] را دارید.</String>
+ <String Id="Error1915">خطای حذف مدیریت درایور ODBC ، ODBC خطای [2]: [3]. با پشتیبانی شخصی تماس بگیرید.</String>
+ <String Id="Error1916">خطای نصب مدیریت درایو ODBC، ODBC خطا [2]: [3]. با پشتیبانی شخصی تماس بگیرید.</String>
+ <String Id="Error1917">خطای حذف درایور ODBC : [4], ODBC خطا [2]: [3]. بازبینی اجازه کافی برای حذف درایورای ODBC را دارید.</String>
+ <String Id="Error1918">خطای نصب درایور ODBC : [4], ODBC خطا [2]: [3]. بازبینی کنید فایل [4] موجود است و به آن دسترسی دارید.</String>
+ <String Id="Error1919">خطای پیکربندی داده ODBC : [4], ODBC خطا [2]: [3]. بازبینی کنید فایل [4] موجود است و به آن دسترسی دارید.</String>
+ <String Id="Error1920">سرویس '[2]' ([3]) موفق به شروع نشد. بازبینی کنید اجازه کافی برای شروع سرویس سیستم را دارید.</String>
+ <String Id="Error1921">سرویس '[2]' ([3]) نمیتواند متوقف شود. بازبینی کنید اجازه کافی برای توقف سرویس سیستمی دارید.</String>
+ <String Id="Error1922">سرویس '[2]' ([3]) را نمیتوان حذف کرد. بازبینی کنید اجازه کافی برای حذف سرویس سیستمی را دارید.</String>
+ <String Id="Error1923">سرویس '[2]' ([3]) نمیتواند نصب شود. بازبینی کنید اجازه کافی برای نصب سرویس سیستمی دارید.</String>
+ <String Id="Error1924">نمیتوان متغییرهای محیطی '[2]' را بروزرسانی کرد. بازبینی کنید اجازه کافی برای ویرایش متغییرهای محیطی را دارید.</String>
+ <String Id="Error1925">شما اجازه کافی برای کامل کردن این نصب برای همه کاربران این ماشین را ندارید.وارد اکانت آدمی شوید و مجددا سعی کنید.</String>
+ <String Id="Error1926">نمیتواند فایل امنیتی را برای فایل '[3]' تنظیم کند. خطا: [2]. بازبینی کنید اجازه کافی برای ویرایش امنیت برای این فایل را دارید.</String>
+ <String Id="Error1927">مولفه سرویس (COM+ 1.0) در این رایانه نصب نشده است. این نب نیاز به مولفه سرویس بمنظور کامل شدن موفقیت آمیز دارد. مولفه سرویس در ویندوز 2000 موجود است.</String>
+ <String Id="Error1928">خطای ثبت برنامه کام پلاس.برای اطلاعات بیشتر با پشتیبانی شخصی تماس بگیرید.</String>
+ <String Id="Error1929">خطای حذف برنامه کام پلاس.برای اطلاعات بیشتر با پشتیبانی شخصی تماس بگیرید.</String>
+ <String Id="Error1930">توضیح برای سرویس '[2]' ([3]) را نمیتوان تغییر داد.</String>
+ <String Id="Error1931">سرویس ویندوز اینستالر نمیتواند فایل سیستمی [2] را بروزرسانی کند زیرا توسط ویندوز حفاظت میشود. ممکن است شما نیاز به بروزرسانی سیستم برای صحیح کارکردن این برامه دارید. {{نسخه بسته: [3], نسخه حفاظت شده سیستم عامل: [4]}}</String>
+ <String Id="Error1932">سرویس ویندوز اینستالر فایل ویندوزی حفاظت شده [2] را نمیتواند بروزرسانی کند. {{نسخه بسته: [3], نسخه حفاظت شده سیستم عامل: [4], SFP خطای: [5]}}</String>
+ <String Id="Error1933">سرویس ویندوز اینستالر نمیتواند یک یا تعداد بیشتری از فایل های حافظت شده را بروزرسانی کند. {{SFP استرینگ: [2]. لیست فایل های حافظت شده:\r\n[3]}}</String>
+ <String Id="Error1934">نصب کاربر در این ماشین توسط سیاست غیرفعال شده است.</String>
+ <String Id="Error1935">یک خطا حین نصب مولفه اسمبلی [2] رخ داد. HRESULT: [3]. {{رابط اسمبلی: [4], تابع: [5], نام اسمبلی: [6]}}</String>
+ <!-- Own / special errors -->
+ <String Id="Error25001">برنامه "[2]" برای ادامه نصب باید بسته شود.</String>
+ <String Id="ProgressTextInstallValidate">معتبرسازی نصب</String>
+ <String Id="ProgressTextInstallFiles">کپی فایل های جدید</String>
+ <String Id="ProgressTextInstallFilesTemplate">فایل: [1], دایرکتوری: [9], حجم: [6]</String>
+ <String Id="ProgressTextInstallAdminPackage">کپی فایل های نصب شبکه</String>
+ <String Id="ProgressTextInstallAdminPackageTemplate">فایل: [1], دایرکتوری: [9], حجم: [6]</String>
+ <String Id="ProgressTextFileCost">محاسبه فضای موردنیاز</String>
+ <String Id="ProgressTextCostInitialize">محاسبه فضای موردنیاز</String>
+ <String Id="ProgressTextCostFinalize">محاسبه فضای موردنیاز</String>
+ <String Id="ProgressTextCreateShortcuts">ایبجاد میانبرها</String>
+ <String Id="ProgressTextCreateShortcutsTemplate">میانبر: [1]</String>
+ <String Id="ProgressTextPublishComponents">نشر مولفه های بررسی صلاحت شده</String>
+ <String Id="ProgressTextPublishComponentsTemplate">شناسه مولفه: [1], صلاحیت کننده: [2]</String>
+ <String Id="ProgressTextPublishFeatures">نشر ویژگی های محصول</String>
+ <String Id="ProgressTextPublishFeaturesTemplate">ویژگی: [1]</String>
+ <String Id="ProgressTextPublishProduct">نشر اطلاعات محصول</String>
+ <String Id="ProgressTextRegisterClassInfo">ثبت کرد کلاس سرورها</String>
+ <String Id="ProgressTextRegisterClassInfoTemplate">شناسه کلاس: [1]</String>
+ <String Id="ProgressTextRegisterExtensionInfo">ثبت کردن پسوند های سرور</String>
+ <String Id="ProgressTextRegisterExtensionInfoTemplate">پسوند: [1]</String>
+ <String Id="ProgressTextRegisterMIMEInfo">ثبت کردن اطلاعات MIME</String>
+ <String Id="ProgressTextRegisterMIMEInfoTemplate">و محتوای MIME: [1], پسوند: [2]</String>
+ <String Id="ProgressTextRegisterProgIdInfo">ثبت تعیین کننده هویت برنامه</String>
+ <String Id="ProgressTextRegisterProgIdInfoTemplate">شناسه برنامه: [1]</String>
+ <String Id="ProgressTextAllocateRegistrySpace">تخصیص فضای ریجیستری</String>
+ <String Id="ProgressTextAllocateRegistrySpaceTemplate">فضای آزاد: [1]</String>
+ <String Id="ProgressTextAppSearch">جستجوی برای برنامه های نصب شده</String>
+ <String Id="ProgressTextAppSearchTemplate">مشخصه: [1], امضاء: [2]</String>
+ <String Id="ProgressTextBindImage">فایل قابل اجرای الزامی</String>
+ <String Id="ProgressTextBindImageTemplate">فایل: [1]</String>
+ <String Id="ProgressTextCCPSearch">جستجو برای صلاحیت محصول</String>
+ <String Id="ProgressTextCreateFolders">ایجاد پوشه ها</String>
+ <String Id="ProgressTextCreateFoldersTemplate">پوشه: [1]</String>
+ <String Id="ProgressTextDeleteServices">حذف سرویس</String>
+ <String Id="ProgressTextDeleteServicesTemplate">سرویس: [1]</String>
+ <String Id="ProgressTextDuplicateFiles">ایجاد فایل المثنی</String>
+ <String Id="ProgressTextDuplicateFilesTemplate">فایل: [1], دایرکتوری: [9], حجم: [6]</String>
+ <String Id="ProgressTextFindRelatedProducts">جستجوی برای برنامه مربوطه</String>
+ <String Id="ProgressTextFindRelatedProductsTemplate">برنامه یافت: [1]</String>
+ <String Id="ProgressTextInstallODBC">نصب مولفه های ODBC</String>
+ <String Id="ProgressTextInstallServices">نصب سرویس جدید</String>
+ <String Id="ProgressTextInstallServicesTemplate">سرویس: [2]</String>
+ <String Id="ProgressTextLaunchConditions">بررسی شرایط اِجرا</String>
+ <String Id="ProgressTextMigrateFeatureStates">انتقال یافتن حالت ویژگی از برنامه مرتبط</String>
+ <String Id="ProgressTextMigrateFeatureStatesTemplate">برنامه: [1]</String>
+ <String Id="ProgressTextMoveFiles">انتقال فایل ها</String>
+ <String Id="ProgressTextMoveFilesTemplate">فایل: [1], دایرکتوری: [9], حجم: [6]</String>
+ <String Id="ProgressTextPatchFiles">وصله کردن فایل ها</String>
+ <String Id="ProgressTextPatchFilesTemplate">فایل: [1], دایرکتوری: [2], حجم: [3]</String>
+ <String Id="ProgressTextProcessComponents">بروزرسانی ثبت مولفه</String>
+ <String Id="ProgressTextRegisterComPlus">ثبت کردن موفه ها و برنامه های کام پلاس</String>
+ <String Id="ProgressTextRegisterComPlusTemplate">شناسه برنامه: [1]{{, نوع برنامه: [2], کاربران: [3], آر اِس اِن: [4]}}</String>
+ <String Id="ProgressTextRegisterFonts">ثبت کردن فونت ها</String>
+ <String Id="ProgressTextRegisterFontsTemplate">فونت: [1]</String>
+ <String Id="ProgressTextRegisterProduct">ثبت کردن محصول</String>
+ <String Id="ProgressTextRegisterProductTemplate">[1]</String>
+ <String Id="ProgressTextRegisterTypeLibraries">ثبت نوع کتابخانه</String>
+ <String Id="ProgressTextRegisterTypeLibrariesTemplate">شناسه لیب: [1]</String>
+ <String Id="ProgressTextRegisterUser">ثبت کردن کاربر</String>
+ <String Id="ProgressTextRegisterUserTemplate">[1]</String>
+ <String Id="ProgressTextRemoveDuplicateFiles">حذف فایل های تکراری</String>
+ <String Id="ProgressTextRemoveDuplicateFilesTemplate">فایل: [1], دایرکتوری: [9]</String>
+ <String Id="ProgressTextRemoveEnvironmentStrings">بروزرسانی استرینگ های محیطی</String>
+ <String Id="ProgressTextRemoveEnvironmentStringsTemplate">نام: [1], مقدار: [2], اقدام [3]</String>
+ <String Id="ProgressTextRemoveExistingProducts">حذف برنامه</String>
+ <String Id="ProgressTextRemoveExistingProductsTemplate">برنامه: [1], فرمان خطی: [2]</String>
+ <String Id="ProgressTextRemoveFiles">حذف فایل ها</String>
+ <String Id="ProgressTextRemoveFilesTemplate">فایل: [1], دایرکتوری: [9]</String>
+ <String Id="ProgressTextRemoveFolders">حذف پوشه ها</String>
+ <String Id="ProgressTextRemoveFoldersTemplate">پوشه: [1]</String>
+ <String Id="ProgressTextRemoveIniValues">حذف ورودی های فایل INI</String>
+ <String Id="ProgressTextRemoveIniValuesTemplate">فایل: [1], قسمت: [2], کلید: [3], مقدار: [4]</String>
+ <String Id="ProgressTextRemoveODBC">حذف مولفه های ODBC</String>
+ <String Id="ProgressTextRemoveRegistryValues">حذف مقادیر سیستم ریجیستری</String>
+ <String Id="ProgressTextRemoveRegistryValuesTemplate">کلید: [1], نام: [2]</String>
+ <String Id="ProgressTextRemoveShortcuts">حذف میانبرها</String>
+ <String Id="ProgressTextRemoveShortcutsTemplate">میانبر: [1]</String>
+ <String Id="ProgressTextRMCCPSearch">جستجو برای صلاحیت محصول</String>
+ <String Id="ProgressTextSelfRegModules">ثبت کردن مدل ها</String>
+ <String Id="ProgressTextSelfRegModulesTemplate">فایل: [1], پوشه: [2]</String>
+ <String Id="ProgressTextSelfUnregModules">حذف مدل ها</String>
+ <String Id="ProgressTextSelfUnregModulesTemplate">فایل: [1], پوشه: [2]</String>
+ <String Id="ProgressTextSetODBCFolders">بارگیری دایرکتوری های ODBC</String>
+ <String Id="ProgressTextStartServices">شروع سرویس</String>
+ <String Id="ProgressTextStartServicesTemplate">سرویس: [1]</String>
+ <String Id="ProgressTextStopServices">توقف سرویس</String>
+ <String Id="ProgressTextStopServicesTemplate">سرویس: [1]</String>
+ <String Id="ProgressTextUnpublishComponents">حذف مولفه هی صلاحیت شده</String>
+ <String Id="ProgressTextUnpublishComponentsTemplate">شناسه مولفه: [1], صلاحیت کننده: [2]</String>
+ <String Id="ProgressTextUnpublishFeatures">حذف ویژگی های محصول</String>
+ <String Id="ProgressTextUnpublishFeaturesTemplate">ویژگی: [1]</String>
+ <String Id="ProgressTextUnregisterClassInfo">حذف کلاس سرورها</String>
+ <String Id="ProgressTextUnregisterClassInfoTemplate">شناسه کلاس: [1]</String>
+ <String Id="ProgressTextUnregisterComPlus">حذف مولفه و برنامه های کام پلاس</String>
+ <String Id="ProgressTextUnregisterComPlusTemplate">شناسه برنامه: [1]{{, نوع برنامه: [2]}}</String>
+ <String Id="ProgressTextUnregisterExtensionInfo">حذف پسوند سرورها</String>
+ <String Id="ProgressTextUnregisterExtensionInfoTemplate">پسوند: [1]</String>
+ <String Id="ProgressTextUnregisterFonts">حذف فونت ها</String>
+ <String Id="ProgressTextUnregisterFontsTemplate">فونت: [1]</String>
+ <String Id="ProgressTextUnregisterMIMEInfo">حذف اطلاعات MIME</String>
+ <String Id="ProgressTextUnregisterMIMEInfoTemplate">و محتوای MIME: [1], پسوند: [2]</String>
+ <String Id="ProgressTextUnregisterProgIdInfo">حذف تعیین کننده هویت برامه</String>
+ <String Id="ProgressTextUnregisterProgIdInfoTemplate">شناسه برنامه: [1]</String>
+ <String Id="ProgressTextUnregisterTypeLibraries">حذف نوع کتابخانه ای</String>
+ <String Id="ProgressTextUnregisterTypeLibrariesTemplate">شناسه لیب: [1]</String>
+ <String Id="ProgressTextWriteEnvironmentStrings">بروزرسانی استرینگ های محیطی</String>
+ <String Id="ProgressTextWriteEnvironmentStringsTemplate">نام: [1], مقدار: [2], اقدام [3]</String>
+ <String Id="ProgressTextWriteIniValues">نوشتن مقادیر فایل INI</String>
+ <String Id="ProgressTextWriteIniValuesTemplate">فایل: [1], قسمت: [2], کلید: [3], مقدار: [4]</String>
+ <String Id="ProgressTextWriteRegistryValues">نوشتن مقادیر سیستم ریجیستری</String>
+ <String Id="ProgressTextWriteRegistryValuesTemplate">کلید: [1], نام: [2], مقدار: [3]</String>
+ <String Id="ProgressTextAdvertise">برنامه آگهی</String>
+ <String Id="ProgressTextGenerateScript">تولید اسکریپت عملکرد برای اقدام:</String>
+ <String Id="ProgressTextGenerateScriptTemplate">[1]</String>
+ <String Id="ProgressTextInstallSFPCatalogFile">نصب پرونده شاخص</String>
+ <String Id="ProgressTextInstallSFPCatalogFileTemplate">فایل: [1], وابسته ها: [2]</String>
+ <String Id="ProgressTextMsiPublishAssemblies">نشر اطلاعات اسمبلی</String>
+ <String Id="ProgressTextMsiPublishAssembliesTemplate">زمینه برنامه:[1], نام اسمبلی:[2]</String>
+ <String Id="ProgressTextMsiUnpublishAssemblies">حذف اطلاعات اسمبلی</String>
+ <String Id="ProgressTextMsiUnpublishAssembliesTemplate">زمینه برنامه:[1], نام اسمبلی:[2]</String>
+ <String Id="ProgressTextRollback">اقدام برگرداندن به عقب:</String>
+ <String Id="ProgressTextRollbackTemplate">[1]</String>
+ <String Id="ProgressTextRollbackCleanup">حذف فایل های پشتیبان</String>
+ <String Id="ProgressTextRollbackCleanupTemplate">فایل: [1]</String>
+ <String Id="ProgressTextUnmoveFiles">حذف فایل ها انتقال داده شده</String>
+ <String Id="ProgressTextUnmoveFilesTemplate">فایل: [1], دایرکتوری: [9]</String>
+ <String Id="ProgressTextUnpublishProduct">حذف اطلاعات محصول</String>
+ <String Id="UITextbytes">بايت</String>
+ <String Id="UITextGB">گيگابايت</String>
+ <String Id="UITextKB">کيلوبايت</String>
+ <String Id="UITextMB">مگابايت</String>
+ <String Id="UITextMenuAbsent">کل ویژگی ها دردسترس نمیباشد</String>
+ <String Id="UITextMenuAdvertise">ویژگی زمانیکه نیاز باشد نصب خواهد شد</String>
+ <String Id="UITextMenuAllCD">کل ویژگی ها برای اجرا از سی دی نصب خواهد شد</String>
+ <String Id="UITextMenuAllLocal">کل ویژگی ها روی درایو محلی نصب خواهد شد</String>
+ <String Id="UITextMenuAllNetwork">کل ویژگی ها برای اجرا از شبکه نصب خواهد شد</String>
+ <String Id="UITextMenuCD">برای اجرا از روی سی دی نصب خواهد شد</String>
+ <String Id="UITextMenuLocal">روی درایو محلی نصب خواهد شد</String>
+ <String Id="UITextMenuNetwork">برای اجرا از شبکه نصب خواهد شد</String>
+ <String Id="UITextScriptInProgress">گردآوری اطلاعات موردنیاز...</String>
+ <String Id="UITextSelAbsentAbsent">این ویژگی حذف شده باقی میماند</String>
+ <String Id="UITextSelAbsentAdvertise">این ویژگی تنظیم خواهد شد تا هنگامیکه نیازبود نصب شود</String>
+ <String Id="UITextSelAbsentCD">این ویژگی نصب خواهد شد تا از روی سی دی اِجرا شود</String>
+ <String Id="UITextSelAbsentLocal">این ویژگی روی درایو محلی نصب خواهد شد</String>
+ <String Id="UITextSelAbsentNetwork">این ویژگی برای اجرا از شبکه نصب خواهد شد</String>
+ <String Id="UITextSelAdvertiseAbsent">این ویژگی خارج از دسترس میباشد</String>
+ <String Id="UITextSelAdvertiseAdvertise">زمانیکه نیازباشد نصب خواهد شد</String>
+ <String Id="UITextSelAdvertiseCD">این ویژگی برای اجرا از سی دی موجود خواهد بود</String>
+ <String Id="UITextSelAdvertiseLocal">این ویژگی از درایو محلی نصب خواهد شد</String>
+ <String Id="UITextSelAdvertiseNetwork">این ویژگی برای اجرا از شبکه موجود خواهد بود</String>
+ <String Id="UITextSelCDAbsent">این ویژگی کاملا حذف خواهد شد،شما قادر به اجرا از سی دی نخواهید بود</String>
+ <String Id="UITextSelCDAdvertise">این ویژگی از حالت اجرا از سی دی به حالت زمانیکه نیازباشد نصب شود تغییر خواهد کرد</String>
+ <String Id="UITextSelCDCD">این ویژگی برای اجرا از سی دی باقی میماند</String>
+ <String Id="UITextSelCDLocal">این ویژگی از حالت اجرا از سی دی به حالت نصب شده در درایو محلی تغییر خواهد کرد</String>
+ <String Id="UITextSelChildCostNeg">این ویژگی [1] از فضای دیسک را آزاد میکند.</String>
+ <String Id="UITextSelChildCostPos">این ویژگی نیاز به [1] در درایو محلی دارد.</String>
+ <String Id="UITextSelCostPending">کامپایل بها برای این ویژگی...</String>
+ <String Id="UITextSelLocalAbsent">این ویژگی کاملا حذف خواهد شد</String>
+ <String Id="UITextSelLocalAdvertise">این ویژگی از درایو محلی حذف خواهد شد،اما تنظیم میشود زمانیکه نیاز بود نصب شود</String>
+ <String Id="UITextSelLocalCD">این ویژگی از درایو محلی حذف خواهد شد،اما هنوز برای اجرا از سی دی موجود خواهد بود</String>
+ <String Id="UITextSelLocalLocal">این ویژگی در درایو محلی باقی میماند</String>
+ <String Id="UITextSelLocalNetwork">این ویژگی از درایو محلی حذف خواهد شد،اما هنوز برای اجرا از شبکه موجود خواهد بود</String>
+ <String Id="UITextSelNetworkAbsent">این ویژگی کاملا حذف خواهد شد،شما قادر به اجرا از شبکه نخواهید بود</String>
+ <String Id="UITextSelNetworkAdvertise">این ویژگی از حالت اجرا از شبکه به حالت زمانیکه نیازباشد نصب شود تغییر خواهد کرد</String>
+ <String Id="UITextSelNetworkLocal">این ویژگی از حالت اجرا از شبکه به حالت نصب شده در درایو محلی تغییر خواهد کرد</String>
+ <String Id="UITextSelNetworkNetwork">این ویژگی برای اجرا از شبکه باقی میماند</String>
+ <String Id="UITextSelParentCostNegNeg">این ویژگی [1] از درایو محلی را آزاد خواهد کرد. آن [2] از [3] زیر ویژگی های انتخاب شده را دارد. زیرویژگی ها [4] از درایو محلی را آزاد میکند.</String>
+ <String Id="UITextSelParentCostNegPos">این ویژگی [1] از درایو محلی را آزاد خواهد کرد. آن [2] از [3] زیر ویژگی های انتخاب شده را دارد. زیرویژگی ها نیاز به [4] از درایو محلی دارد.</String>
+ <String Id="UITextSelParentCostPosNeg">این ویژگی نیاز به [1] از درایو محلی دارد. آن [2] از [3] زیرویژگی های انتخاب شده را دارد. زیرویژگی ها [4] از درایو محلی را ازاد میکند.</String>
+ <String Id="UITextSelParentCostPosPos">این ویژگی نیاز به [1] از درایو محلی دارد. آن [2] از [3] زیرویژگی های انتخاب شده را دارد. زیرویژگی ها نیازبه [4] از درایو محلی دارد.</String>
+ <String Id="UITextTimeRemaining">زمان باقیمانده: {[1] دقیقه }{[2] ثانیه}</String>
+ <String Id="UITextVolumeCostAvailable">دردسترس</String>
+ <String Id="UITextVolumeCostDifference">اختلاف</String>
+ <String Id="UITextVolumeCostRequired">موردنیاز</String>
+ <String Id="UITextVolumeCostSize">حجم دیسک</String>
+ <String Id="UITextVolumeCostVolume">درایو</String>
+</WixLocalization>
diff --git a/src/VBox/Installer/win/NLS/fr_FR.wxl b/src/VBox/Installer/win/NLS/fr_FR.wxl
new file mode 100644
index 00000000..773786c5
--- /dev/null
+++ b/src/VBox/Installer/win/NLS/fr_FR.wxl
@@ -0,0 +1,618 @@
+<?xml version="1.0" encoding="utf-8"?>
+
+<!--
+ Language Definition Include for VirtualBox WiX script.
+-->
+<!--
+ Copyright (C) 2011-2023 Oracle and/or its affiliates.
+
+ This file is part of VirtualBox base platform packages, as
+ available from https://www.virtualbox.org.
+
+ This program is free software; you can redistribute it and/or
+ modify it under the terms of the GNU General Public License
+ as published by the Free Software Foundation, in version 3 of the
+ License.
+
+ This program is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, see <https://www.gnu.org/licenses>.
+
+ SPDX-License-Identifier: GPL-3.0-only
+-->
+
+<WixLocalization xmlns="http://schemas.microsoft.com/wix/2006/localization" Codepage="1252" Culture="fr_FR">
+ <String Id="LANG">1036</String>
+ <String Id="LangName">Francais</String>
+
+ <String Id="ButtonText_No">&amp;Non</String>
+ <String Id="ButtonText_Yes">&amp;Oui</String>
+ <String Id="ButtonText_Cancel">&amp;Annuler</String>
+ <String Id="ButtonText_Next">&amp;Suivant &gt;</String>
+ <String Id="ButtonText_Back">&lt; &amp;Précédent</String>
+ <String Id="ButtonText_Browse">Parco&amp;urir</String>
+ <String Id="ButtonText_OK">O&amp;K</String>
+ <String Id="ButtonText_Check">&amp;Vérifier</String>
+ <String Id="ButtonText_Install">&amp;Installer</String>
+ <String Id="ButtonText_Remove">&amp;Enlever</String>
+ <String Id="ButtonText_Finish">&amp;Terminer</String>
+ <String Id="ButtonText_Repair">&amp;Réparer</String>
+ <String Id="ButtonText_Return">&amp;Précédent</String>
+ <String Id="ButtonText_Retry">&amp;Réessayer</String>
+ <String Id="ButtonText_Ignore">&amp;Ignorer</String>
+ <String Id="ButtonText_Exit">Q&amp;uitter</String>
+
+ <String Id="InstallModeCustom">Personalisé</String>
+ <String Id="Setup">Installation</String>
+
+ <!---->
+
+ <String Id="StartMenu_License">Licence</String>
+ <String Id="StartMenu_UserManual">Manuel d'utilisation</String>
+
+ <!---->
+
+ <String Id="VB_App">Application [ProductName].</String>
+ <String Id="VB_USBDriver">Pilotes USB [ProductName] pour le support de périphériques USB.</String>
+ <String Id="VB_Network">Pilotes [ProductName] pour le support réseau.</String>
+ <String Id="VB_NetFltDriver">Pilote [ProductName] pour l'accès réseau par pont.</String>
+ <String Id="VB_NetAdpDriver">Pilote de carte réseau virtuelle [ProductName] pour l'accès réseau privé hôte.</String>
+ <String Id="VB_NetLwfDriver">[ProductName] driver for NDIS6 Bridged Networking.</String>
+ <String Id="VB_NetAdp6Driver">[ProductName] virtual network adapter driver for NDIS6 Host-Only Networking.</String>
+
+ <String Id="VB_Python">Python support for VirtualBox.</String>
+
+ <!---->
+
+ <String Id="NeedAdmin">Vous ne pouvez pas (dés)installer [ProductName] sans droits d'administrateur! Ce programme d'installation terminera maintenant.</String>
+ <String Id="NeedMSCRT">[ProductName] needs the Microsoft Visual C++ 2019 Redistributable Package being installed first. Please install and restart the installation of [ProductName].</String>
+ <String Id="WrongOS">Cette application nécéssite Windows XP ou plus récent.</String>
+ <String Id="Only32Bit">Cette application ne marche que sur des systèmes Windows 32-bit. Veuillez installer la version 64-bit de [ProductName]!</String>
+ <String Id="Only64Bit">Cette application ne marche que sur des systèmes Windows 64-bit. Veuillez installer la version 32-bit de [ProductName]!</String>
+ <String Id="InnotekFound">Vous avez une ancienne installation de innotek VirtualBox sur cette machine. Il vous faudra la désinstaller avant de pouvoir installer [ProductName].</String>
+
+ <!---->
+
+ <String Id="CancelDlg_Question">Voulez vous vraiment abondonner l'installation de [ProductName]?</String>
+
+ <!---->
+
+ <String Id="WelcomeDlg_Header">Bienvenue dans l'assistant d'installation de [ProductName]</String>
+ <String Id="WelcomeDlg_Body">Cet assistant installera [ProductName] sur votre ordinateur. Appuyez sur Suivant pour continuer ou sur Annuler pour abondonner l'installation.</String>
+
+ <!---->
+
+ <String Id="LicenseAgreementDlg_Header">Contrat de licence de logiciel</String>
+ <String Id="LicenseAgreementDlg_Body">Veuillez lire attentivement le Contrat de licence suivant.</String>
+ <String Id="LicenseAgreementDlg_Accept">J'&amp;accepte les termes du Contrat de licence</String>
+ <String Id="LicenseAgreementDlg_Decline">Je &amp;n'accepte pas les termes du Contrat de licence</String>
+
+ <!---->
+
+ <String Id="CheckSerialDlg_Header">Numéro de série</String>
+ <String Id="CheckSerialDlg_Body">Veulliez entrer votre numéro de série dans les champs ci-dessous. Vous le trouverez sur l'autocollant à l'intérieur du boîtier du CD de VirtualBox.</String>
+ <String Id="CheckSerialDlg_Footer">Quand vous avez fini d'entrer le numéro de série, appuyez sur le bouton Vérifier ci-dessous.</String>
+
+ <!---->
+
+ <String Id="WrongSerialDlg_Header">Le numéro de série que vous avez entré n'est pas valide!</String>
+ <String Id="WrongSerialDlg_Desc1">Veulliez retourner pour réentrer votre numéro de série.</String>
+ <String Id="WrongSerialDlg_Desc2">N'oubliez pas que le numéro de série doit être entré exactement comme il est imprimé sur l'autocollant.</String>
+
+ <!---->
+
+ <String Id="WarnSaveStatesDlg_Header">Avertissement:</String>
+ <String Id="WarnSaveStatesDlg_Header2">Etat sauvegardé incompatible!</String>
+ <String Id="WarnSaveStatesDlg_Desc">Quand vous mettez à jour [ProductName], les états sauvegardés de vos machines existants ne fonctionneront plus! Après l'installation, il vous faudra les rejeter manuellement.</String>
+ <String Id="WarnSaveStatesDlg_Proceed">Poursuivre avec l'installation?</String>
+
+ <!---->
+
+ <String Id="WarnTAPDevicesDlg_Header">Interfaces réseau hôte</String>
+ <String Id="WarnTAPDevicesDlg_Desc">Si vous avez utilisé des interfaces réseau hôte sur votre système avec la version précédente, il vous faudra les recréer manuellement après cette installation.</String>
+
+ <!---->
+
+ <String Id="CustomizeDlg_Location">Location:</String>
+ <String Id="CustomizeDlg_DiskUsage">&amp;Espace disque</String>
+ <String Id="CustomizeDlg_SelFeatures">Choisissez les fonctionnalités que vous souhaiter installer.</String>
+ <String Id="CustomizeDlg_IconTree">Cliquez sur les icônes dans l'arborescence ci-dessous pour choisir les fonctionnalités qui seront installés.</String>
+ <String Id="CustomizeDlg_CustomSetup">Installation personalisée</String>
+ <String Id="CustomizeDlg_SelItemDesc">Description de l'entrée sélectionnée en plusieurs lignes.</String>
+ <String Id="CustomizeDlg_SelItemSize">La taille de l'entrée sélectionnée.</String>
+ <String Id="CustomizeDlg_SelItemPath">&lt;Chemin de l'entrée sélectionnée&gt;</String>
+
+ <!---->
+
+ <String Id="Customize2Dlg_Header">Personaliser</String>
+ <String Id="Customize2Dlg_Desc">Veuillez choisir une des options suivantes:</String>
+ <String Id="Customize2Dlg_CreateStartMenuEntries">Créer des éléments dans le menu démarrer</String>
+ <String Id="Customize2Dlg_CreateDesktopShortcut">Créer un raccourci sur le bureau</String>
+ <String Id="Customize2Dlg_CreateQuickLaunch">Créer un raccourci dans la barre de lancement rapide</String>
+ <String Id="Customize2Dlg_RegisterFileExtensions">Inscription des associations de fichiers</String>
+
+ <!---->
+
+ <String Id="SelectionNetworkTypeDlg_CommonDescription">Veuillez choisir le type de pilotes réseau à utiliser :</String>
+ <String Id="SelectionNetworkTypeDlg_DescriptionNDIS5">NDIS5 network drivers.
+This is default for older versions of Windows (pre-Vista).</String>
+ <String Id="SelectionNetworkTypeDlg_DescriptionNDIS6">NDIS6 network drivers.
+This is default for newer versions of Windows (Vista and newer).</String>
+ <String Id="SelectionNetworkTypeDlg_RadioButtonNDIS5">Utiliser pilotes réseau NDIS5.</String>
+ <String Id="SelectionNetworkTypeDlg_RadioButtonNDIS6">Utiliser pilotes réseau NDIS6.</String>
+
+ <!---->
+
+ <String Id="WarnDisconNetIfacesDlg_Title">Avertissement</String>
+ <String Id="WarnDisconNetIfacesDlg_Title2">Interfaces réseau</String>
+ <String Id="WarnDisconNetIfacesDlg_Desc">L'installation de la fonctionnalité réseau de [ProductName] réinitialisera votre connection réseau et vous déconnectera temporairement du réseau.</String>
+ <String Id="WarnDisconNetIfacesDlg_Question">Désirez-vous poursuivre l'installation maintenant?</String>
+
+ <!---->
+
+ <String Id="WarnPythonDlg_Title">Missing Dependencies</String>
+ <String Id="WarnPythonDlg_Title2">Python Core / win32api</String>
+ <String Id="WarnPythonDlg_Desc">Installing the [ProductName] Python bindings requires the Python Core package and the win32api bindings to be installed first.</String>
+ <String Id="WarnPythonDlg_Desc2">When continuing the installation of the [ProductName] Python bindings now, those need to be set up manually later. Refer to the [ProductName] SDK manual for more information.</String>
+ <String Id="WarnPythonDlg_Question">Proceed with installation now?</String>
+
+ <!---->
+
+ <String Id="DiskCostDlg_SpaceRequired">L'espace disque requise pour l'installation des fonctionnalités sélectionnées.</String>
+ <String Id="DiskCostDlg_NotEnoughSpace">Les supports mises en relief n'ont pas assez d'espace disque disponible pour les fonctionnalités sélectionnées. Vous pouvez soit supprimer des fichiers sur les supports, soit choisir d'installer moins de fonctionnalités sur les supports locals, soit choisir des supports differents pour l'installation.</String>
+ <String Id="DiskCostDlg_SpaceRequirements">Espace disque requise</String>
+ <String Id="DiskCostDlg_VolumeList">{120}{70}{70}{70}{70}</String>
+
+ <!---->
+
+ <String Id="BrowseDlg_BrowseDestFolder">Choisissez un dossier pour l'installation</String>
+ <String Id="BrowseDlg_ChangeCurFolder">Changer le dossier d'installation</String>
+ <String Id="BrowseDlg_UpOneLevelTooltip">Dossier parent</String>
+ <String Id="BrowseDlg_CreateNewFolderTooltip">Créer un nouveau dossier</String>
+ <String Id="BrowseDlg_LookIn">&amp;Chercher dans:</String>
+ <String Id="BrowseDlg_FolderName">&amp;Nom du dossier:</String>
+
+ <!---->
+
+ <String Id="VerifyReadyDlg_ReadyToBegin">L'assistant est prêt à commencer l'installation [InstallMode].</String>
+ <String Id="VerifyReadyDlg_ClickInstall">Appuyez sur Installer pour commencer l'installation. Si vous désirez revoir ou modifier vos paramètres d'installation, appuyez sur Précédent. Appuyez sur Annuler pour abondoner l'installation.</String>
+ <String Id="VerifyReadyDlg_ReadyToInstall">Prêt à installer</String>
+
+ <!---->
+
+ <String Id="ExitDlg_ClickFinish">Veuillez appuyez sur Terminer pour quitter l'assistant d'installation.</String>
+ <String Id="ExitDlg_InstComplete">L'installation de [ProductName] est terminé.</String>
+ <String Id="ExitDlg_StartVBox">Démarrer [ProductName] après l'installation</String>
+
+ <!---->
+
+ <String Id="FatalErrorDlg_Header">L'assistant d'installation [ProductName] a terminé anormalement</String>
+ <String Id="FatalErrorDlg_Desc">L'installation de [ProductName] a été terminé en raison d'une erreur. Votre système n'a pas été modifié. Pour installer ce programme plus tard, veuillez relancer l'assistant.</String>
+ <String Id="FatalErrorDlg_Footer">Appuyez sur Terminer pour quitter l'assistant d'installation.</String>
+
+ <!---->
+
+ <String Id="FilesInUse_Text">Les applications suivantes utilisent des fichiers qui doivent être mis à jour dans le cadre de cette installation. Fermez ces applications puis cliquez sur Réessayer pour poursuivre l'installation ou sur Quitter pour quitter l'installation.</String>
+ <String Id="FilesInUse_Description">Certains fichiers devant être mis à jour sont en cours d'utilisation.</String>
+ <String Id="FilesInUse_Title">Fichiers en cours d'utilisation</String>
+
+ <!---->
+
+ <String Id="UserExitDlg_Header">L'assistant d'installation [ProductName] a été interrompu</String>
+ <String Id="UserExitDlg_Desc">L'installation de [ProductName] a été interrompu. Votre système n'a pas été modifié. Pour installer ce programme ultérieurement, veuillez relancer l'assistant.</String>
+ <String Id="UserExitDlg_Footer">Appuyez sur Terminer pour quitter l'assistant d'installation.</String>
+
+ <!---->
+
+ <String Id="ProgressDlg_PleaseWait">Veuillez patienter pendant que l'assistant installe [ProductName]. Ceci peut durer plusieurs minutes.</String>
+
+ <!---->
+
+ <String Id="ResumeDlg_Header">Continuant l'assistant d'installation [ProductName]</String>
+ <String Id="ResumeDlg_Desc">L'assistant d'installation completera l'installation de [ProductName] sur votre ordinateur. Appuyez sur Installer pour continuer ou sur Annuler pour abondonner l'assistant.</String>
+
+ <!---->
+
+ <String Id="MaintenanceTypeDlg_Header">Modifier, réparer ou supprimer une installation</String>
+ <String Id="MaintenanceTypeDlg_SelOption">Choisissez l'opération que vous désirer effectuer.</String>
+ <String Id="MaintenanceTypeDlg_Repair">Ré&amp;parer</String>
+ <String Id="MaintenanceTypeDlg_RepairText">Répare des erreurs dans l'état de l'installation la plus récente - répare des fichiers, racourcis et entrées dans la base de registre manquants ou corrompus.</String>
+ <String Id="MaintenanceTypeDlg_RepairTooltip">Reparer installation</String>
+ <String Id="MaintenanceTypeDlg_RepairProgress1">Repare</String>
+ <String Id="MaintenanceTypeDlg_RepairProgress2">repare</String>
+ <String Id="MaintenanceTypeDlg_Remove">&amp;Désinstaller</String>
+ <String Id="MaintenanceTypeDlg_RemoveText">Supprime [ProductName] de votre ordinateur.</String>
+ <String Id="MaintenanceTypeDlg_RemoveTooltip">Suprimer installation</String>
+ <String Id="MaintenanceTypeDlg_RemoveProgress1">Suprime</String>
+ <String Id="MaintenanceTypeDlg_RemoveProgress2">suprime</String>
+
+ <!---->
+
+ <String Id="MaintenanceWelcomeDlg_Header">Bienvenue dans l'assistant d'installation [ProductName]</String>
+ <String Id="MaintenanceWelcomeDlg_Desc">L'assistant d'installation vous permettra de réparer ou de supprimer de votre ordinateur l'installation actuelle de [ProductName]. Appuyez sur Suivant pour continuer ou sur Annuler pour abondonner l'assistant.</String>
+
+ <!---->
+
+ <String Id="OutOfDiskDlg_InstallationExceeds">L'espace disque disponible est insuffisant pour l'installation.</String>
+ <String Id="OutOfDiskDlg_NotEnoughDiskSpace">Les supports mises en relief n'ont pas assez d'espace disque disponible pour les fonctionnalités sélectionnées. Vous pouvez soit supprimer des fichiers sur les supports, soit choisir d'installer moins de fonctionnalités sur les supports locals, soit choisir des supports différents pour l'installation.</String>
+ <String Id="OutOfDiskDlg_OutOfDiskSpace">Espace disque insuffisant</String>
+
+ <!---->
+
+ <String Id="OutOfRbDiskDlg_InstallationExceeds">L'espace disque disponible est insuffisant pour l'installation.</String>
+ <String Id="OutOfRbDiskDlg_NotEnoughDiskSpace">Les supports mises en relief n'ont pas assez d'espace disque disponible pour les fonctionnalités sélectionnées. Vous pouvez soit supprimer des fichiers sur les supports, soit choisir d'installer moins de fonctionnalités sur les supports locals, soit choisir des supports différents pour l'installation.</String>
+ <String Id="OutOfRbDiskDlg_OutOfDiskSpace">Espace disque épuisé</String>
+ <String Id="OutOfRbDiskDlg_Desc">En alternative, vous pouvez choisir de désactiver la fonctionnalité «rollback», qui permet de réstaurer l'état d'origine de votre ordinateur en cas d'interruption de l'installation. Appuyez sur Oui si vous désirer courir le risque de désactiver le rollback.</String>
+
+ <!---->
+
+ <String Id="VerifyRemoveDlg_Header">Supprimer [ProductName]</String>
+ <String Id="VerifyRemoveDlg_Desc">Vous avez choisi de supprimer l'application de votre ordinateur.</String>
+ <String Id="VerifyRemoveDlg_ClickRemove">Appuyez sur Désinstaller pour supprimer [ProductName] de votre ordinateur. Si vous désirez revoir ou modifier vos paramètres d'installation, appuyez sur Précédent. Appuyez sur Annuler pour quitter l'assistant.</String>
+
+ <!---->
+
+ <String Id="VerifyRepairDlg_Header">Réparer [ProductName]</String>
+ <String Id="VerifyRepairDlg_ReadyToBegin">L'assistant d'installation est prêt à commencer la réparation de [ProductName].</String>
+ <String Id="VerifyRepairDlg_ClickRepair">Appuyez sur Réparer pour réparer l'installation de [ProductName]. Si vous désirez revoir ou modifier vos paramètres d'installation, appuyez sur Précédent. Appuyez sur Annuler pour quitter l'assistant.</String>
+
+ <!---->
+
+ <String Id="WaitForCostingDlg_PleaseWait">Veuillez patienter pendant que le programme d'installation découvre l'espace disque requis.</String>
+
+ <!---->
+
+ <String Id="MsiRMFilesInUse_Text">Les applications suivantes utilisent des fichiers qui doivent être mis à jour dans le cadre de cette installation. Vous pouvez laisser l'assistant d'installation les fermer puis essayer de les redémarrer ou redémarrer l'ordinateur ultérieurement.</String>
+ <String Id="MsiRMFilesInUse_Description">Certains fichiers devant être mis à jour sont en cours d'utilisation.</String>
+ <String Id="MsiRMFilesInUse_Title">Fichiers en cours d'utilisation</String>
+ <String Id="MsiRMFilesInUse_UseRM">&amp;Fermer les applications et essayer de les redémarrer.</String>
+ <String Id="MsiRMFilesInUse_DontUseRM">&amp;Ne pas fermer les applications. Un redémarrage sera nécessaire.</String>
+
+ <!-- The following strings are internally used by WiX and MSI -->
+ <String Id="Error0">{{Erreur irrécupérable : }}</String>
+ <String Id="Error1">{{Erreur [1]. }}</String>
+ <String Id="Error2">Avertissement [1]. </String>
+ <String Id="Error4">Informations [1]. </String>
+ <String Id="Error5">Le programme d'installation a rencontré une erreur inattendue lors de l'installation de ce package. Il s'agit peut-être d'un problème lié au package. Le code d'erreur est [1]. {{Les arguments sont : [2], [3], [4]}}</String>
+ <String Id="Error7">{{Disque plein : }}</String>
+ <String Id="Error8">Action [Time] : [1]. [2]</String>
+ <String Id="Error9">[ProductName]</String>
+ <String Id="Error10">{[2]}{, [3]}{, [4]}</String>
+ <String Id="Error11">Type de message : [1], Argument : [2]</String>
+ <String Id="Error12">=== Début de l'écriture dans le journal : [Date] [Time] ===</String>
+ <String Id="Error13">=== Fin de l'écriture dans le journal : [Date] [Time] ===</String>
+ <String Id="Error14">Début de l'action [Time] : [1].</String>
+ <String Id="Error15">Fin de l'action [Time] : [1]. Valeur renvoyée : [2].</String>
+ <String Id="Error16">Durée restante : {[1] minute(s) }{[2] secondes}</String>
+ <String Id="Error17">Mémoire insuffisante. Fermez les autres applications avant de recommencer.</String>
+ <String Id="Error18">Le programme d'installation ne répond plus.</String>
+ <String Id="Error19">L'exécution du programme d'installation a pris fin prématurément.</String>
+ <String Id="Error20">Veuillez patienter pendant que Windows configure le logiciel "[ProductName]"</String>
+ <String Id="Error21">Collecte des informations nécessaires en cours...</String>
+ <String Id="Error22">Suppression des versions précédentes de cette application...</String>
+ <String Id="Error23">Préparation de la suppression des versions précédentes de cette application...</String>
+ <String Id="Error32">L'installation du logiciel "[ProductName]" s'est terminée correctement.</String>
+ <String Id="Error33">Échec de l'installation du logiciel "[ProductName]".</String>
+ <String Id="Error1101">Erreur lors de la lecture du fichier [2]. {{ Erreur système [3].}} Vérifiez que ce fichier existe et que vous êtes autorisé à y accéder.</String>
+ <String Id="Error1301">Impossible de créer le fichier '[2]'. Un répertoire portant ce nom existe déjà. Annulez l'installation et essayez de l'effectuer à un autre emplacement.</String>
+ <String Id="Error1302">Insérez le disque : [2]</String>
+ <String Id="Error1303">Le programme d'installation ne dispose pas des privilèges suffisants pour accéder à ce répertoire : [2]. Impossible de poursuivre l'installation. Ouvrez une session en tant qu'administrateur ou contactez votre administrateur système.</String>
+ <String Id="Error1304">Erreur lors de l'écriture dans le fichier : [2]. Vérifiez que vous êtes autorisé à accéder à ce répertoire.</String>
+ <String Id="Error1305">Erreur lors de la lecture du fichier [2]. {{ Erreur système [3].}} Vérifiez que ce fichier existe et que vous êtes autorisé à y accéder.</String>
+ <String Id="Error1306">Une autre application dispose d'un droit d'accès exclusif au fichier '[2]'. Fermez toutes les autres applications, puis cliquez sur Réessayer.</String>
+ <String Id="Error1307">L'espace disque est insuffisant pour installer ce fichier : [2]. Libérez de l'espace disque et cliquez sur Réessayer ou cliquez sur Annuler pour quitter.</String>
+ <String Id="Error1308">Fichier source introuvable : [2]. Vérifiez que le fichier existe et que vous êtes autorisé à y accéder.</String>
+ <String Id="Error1309">Erreur lors de la lecture du fichier [3].{{ Erreur système [2].}} Vérifiez que ce fichier existe et que vous êtes autorisé à y accéder.</String>
+ <String Id="Error1310">Erreur lors de l'écriture dans le fichier : [3]. {{ Erreur système [2].}} Vérifiez que vous êtes autorisé à accéder à ce répertoire.</String>
+ <String Id="Error1311">Fichier source introuvable {{(cabinet)}} : [2]. Vérifiez que le fichier existe et que vous êtes autorisé à y accéder.</String>
+ <String Id="Error1312">Impossible de créer le répertoire '[2]'. Un fichier portant ce nom existe déjà. Renommez le fichier et cliquez sur Réessayer ou cliquez sur Annuler pour quitter.</String>
+ <String Id="Error1313">Le volume [2] est actuellement indisponible. Veuillez en sélectionner un autre.</String>
+ <String Id="Error1314">Le chemin d'accès spécifié '[2]' n'est pas disponible.</String>
+ <String Id="Error1315">Impossible d'écrire dans le dossier spécifié : [2].</String>
+ <String Id="Error1316">Une erreur réseau s'est produite lors de la tentative de lecture à partir du fichier : [2]</String>
+ <String Id="Error1317">Erreur lors de la tentative de création du répertoire : [2]</String>
+ <String Id="Error1318">Une erreur réseau s'est produite lors de la tentative de création du répertoire : [2]</String>
+ <String Id="Error1319">Une erreur réseau s'est produite lors de la tentative d'ouverture du fichier CAB du fichier source : [2].</String>
+ <String Id="Error1320">Le chemin d'accès spécifié est trop long : [2]</String>
+ <String Id="Error1321">Le programme d'installation ne dispose pas des privilèges nécessaires pour modifier ce fichier : [2].</String>
+ <String Id="Error1322">Une partie du chemin d'accès au dossier '[2]' n'est pas valide. Il est peut-être vide ou dépasse la longueur autorisée par le système.</String>
+ <String Id="Error1323">Le chemin d'accès au dossier '[2]' contient des mots non valides.</String>
+ <String Id="Error1324">Le chemin d'accès au dossier '[2]' contient un caractère non valide.</String>
+ <String Id="Error1325">Le nom de fichier court '[2]' n'est pas valide.</String>
+ <String Id="Error1326">Erreur lors de l'obtention des informations sur la sécurité du fichier [3] GetLastError : [2]</String>
+ <String Id="Error1327">Lecteur non valide : [2]</String>
+ <String Id="Error1328">Erreur lors de l'application du correctif au fichier [2]. Celui-ci a probablement été mis à jour par d'autres moyens et ne peut plus être modifié par ce correctif. Pour plus d'informations, consultez le fournisseur de votre correctif. {{Erreur système : [3]}}</String>
+ <String Id="Error1329">Un fichier requis ne peut pas être installé, car le fichier CAB [2] n'est pas signé numériquement. Cela indique peut-être que le fichier CAB est endommagé.</String>
+ <String Id="Error1330">Un fichier requis ne peut pas être installé, car le fichier CAB [2] contient une signature numérique non valide. Cela indique peut-être que le fichier est endommagé.{{ L'erreur [3] a été renvoyée par WinVerifyTrust.}}</String>
+ <String Id="Error1331">Échec de la copie du fichier [2] : erreur CRC.</String>
+ <String Id="Error1332">Échec du déplacement du fichier [2] : erreur CRC.</String>
+ <String Id="Error1333">Échec de la modification du fichier [2] : erreur CRC.</String>
+ <String Id="Error1334">Impossible d'installer le fichier '[2]', car il est introuvable dans le fichier CAB '[3]'. Cela indique peut-être une erreur au niveau du réseau, une erreur de lecture à partir du CD-ROM ou un problème inhérent au package.</String>
+ <String Id="Error1335">Le fichier CAB '[2]' requis pour l'installation est endommagé et ne peut pas être utilisé. Cela indique peut-être une erreur au niveau du réseau, une erreur de lecture à partir du CD-ROM ou un problème inhérent au package.</String>
+ <String Id="Error1336">Une erreur s'est produite lors de la création d'un fichier temporaire nécessaire à l'installation.{{ Dossier : [3]. Code d'erreur système : [2]}}</String>
+ <String Id="Error1401">Impossible de créer la clé : [2]. {{ Erreur système [3].}} Vérifiez que vous disposez des droits d'accès nécessaires pour cette clé ou contactez votre service de support technique. </String>
+ <String Id="Error1402">Impossible d'ouvrir la clé [2]. Erreur système [3]. Vérifiez que vous disposez des droits d'accès nécessaires pour cette clé ou contactez votre service de support technique. </String>
+ <String Id="Error1403">Impossible de supprimer la valeur [2] de la clé [3]. {{ Erreur système [4].}} Vérifiez que vous disposez des droits suffisants pour cette clé ou contactez votre service de support technique. </String>
+ <String Id="Error1404">Impossible de supprimer la clé [2]. Erreur système [3]. Vérifiez que vous disposez des droits d'accès nécessaires pour cette clé ou contactez votre service de support technique. </String>
+ <String Id="Error1405">Impossible de lire la valeur [2] de la clé [3]. {{ Erreur système [4].}} Vérifiez que vous disposez des droits suffisants pour cette clé ou contactez votre service de support technique. </String>
+ <String Id="Error1406">Impossible d'écrire la valeur [2] dans la clé [3].{{ Erreur système [4].}} Vérifiez que vous disposez des droits d'accès nécessaires pour cette clé ou contactez votre service de support technique.</String>
+ <String Id="Error1407">Impossible d'obtenir le nom des valeurs de la clé [2]. {{ Erreur système [3].}} Vérifiez que vous disposez des droits d'accès nécessaires pour cette clé ou contactez votre service de support technique.</String>
+ <String Id="Error1408">Impossible d'obtenir le nom des sous-clés de la clé [2]. {{ Erreur système [3].}} Vérifiez que vous disposez des droits d'accès nécessaires pour cette clé ou contactez votre service de support technique.</String>
+ <String Id="Error1409">Impossible de lire les informations sur la sécurité de la clé [2]. {{ Erreur système [3].}} Vérifiez que vous disposez des droits d'accès nécessaires pour cette clé ou contactez votre service de support technique.</String>
+ <String Id="Error1410">Impossible d'augmenter l'espace disponible dans le Registre. [2] Ko d'espace doivent être libres dans le Registre pour permettre l'installation de cette application.</String>
+ <String Id="Error1500">Une autre installation est en cours d'exécution. Vous devez la terminer avant de poursuivre cette installation.</String>
+ <String Id="Error1501">Erreur lors de l'accès aux données protégées. Vérifiez que Windows Installer est correctement configuré, puis recommencez l'installation.</String>
+ <String Id="Error1502">L'utilisateur '[2]' a déjà lancé l'installation du produit '[3]'. Il devra réexécuter cette installation avant de pouvoir utiliser le produit. L'installation en cours va se poursuivre.</String>
+ <String Id="Error1503">L'utilisateur '[2]' a déjà lancé l'installation du produit '[3]'. Il devra réexécuter cette installation avant de pouvoir utiliser le produit.</String>
+ <String Id="Error1601">Espace disque insuffisant -- Volume : '[2]' ; espace nécessaire : [3] Ko ; espace disponible : [4] Ko. Libérez de l'espace sur le disque, puis recommencez.</String>
+ <String Id="Error1602">Voulez-vous vraiment annuler ?</String>
+ <String Id="Error1603">Le fichier [2][3] est en cours d'utilisation{ par l'opération suivante : nom : [4], identifiant : [5], titre de la fenêtre : '[6]'}. Fermez cette application et réessayez.</String>
+ <String Id="Error1604">Le produit '[2]' est déjà installé. Impossible d'installer ce produit, car il est incompatible avec celui déjà installé.</String>
+ <String Id="Error1605">Espace insuffisant sur le volume '[2]' pour continuer l'installation avec l'option de récupération. [3] Ko sont requis, alors que seuls [4] Ko sont disponibles. Cliquez sur Ignorer pour poursuivre l'installation sans enregistrer les informations de récupération, cliquez sur Recommencer pour revérifier l'espace libre, ou cliquez sur Annuler pour arrêter.</String>
+ <String Id="Error1606">Impossible d'accéder à l'emplacement réseau [2].</String>
+ <String Id="Error1607">Fermez les applications suivantes avant de poursuivre l'installation :</String>
+ <String Id="Error1608">Impossible de trouver un produit compatible précédemment installé permettant l'installation de ce produit sur cet ordinateur.</String>
+ <String Id="Error1609">Erreur lors de l'application des paramètres de sécurité. [2] n'est pas un utilisateur ou un groupe valide. Cela indique peut-être une erreur au niveau du package ou de la connexion à un contrôleur de domaine sur le réseau. Vérifiez votre connexion réseau et cliquez sur Réessayer ou cliquez sur Annuler pour mettre fin à l'installation. {{Impossible de localiser l'ID de sécurité de l'utilisateur, erreur système [3]}}</String>
+ <String Id="Error1701">La clé [2] n'est pas valide. Vérifiez que vous avez entré la clé correcte.</String>
+ <String Id="Error1702">Le programme d'installation doit redémarrer votre système avant que la configuration de [2] puisse continuer. Cliquez sur Oui pour redémarrer maintenant ou sur Non si vous voulez redémarrer ultérieurement.</String>
+ <String Id="Error1703">Vous devez redémarrer votre système pour que les modifications apportées à la configuration de [2] prennent effet. Cliquez sur Oui pour redémarrer maintenant, ou sur Non si vous voulez redémarrer manuellement ultérieurement.</String>
+ <String Id="Error1704">L'installation de [2] est interrompue. Vous devez annuler les modifications apportées par cette installation pour continuer. Voulez-vous annuler les modifications ?</String>
+ <String Id="Error1705">Une installation de ce produit est déjà en cours. Vous devez annuler les modifications apportées par cette installation pour continuer. Voulez-vous annuler les modifications ?</String>
+ <String Id="Error1706">Aucun package d'installation pour le produit [2] n'a été trouvé. Recommencez l'installation en utilisant une copie valide du package d'installation '[3]'.</String>
+ <String Id="Error1707">Installation terminée.</String>
+ <String Id="Error1708">Échec de l'installation.</String>
+ <String Id="Error1709">Produit : [2] -- [3]</String>
+ <String Id="Error1710">Vous pouvez restaurer l'état antérieur de votre ordinateur ou poursuivre l'installation ultérieurement. Voulez-vous restaurer votre ordinateur ?</String>
+ <String Id="Error1711">Une erreur s'est produite lors de l'écriture des informations concernant l'installation sur le disque. Vérifiez que l'espace disponible sur le disque est suffisant, puis cliquez sur Réessayer ou cliquez sur Annuler pour mettre fin à l'installation.</String>
+ <String Id="Error1712">Impossible de trouver un ou plusieurs des fichiers requis pour restaurer l'état antérieur de votre ordinateur. Impossible de procéder à la restauration.</String>
+ <String Id="Error1713">[2] ne peut pas installer un des produits nécessaires. Contactez votre service de support technique. {{Erreur système : [3].}}</String>
+ <String Id="Error1714">Impossible de supprimer la version antérieure de [2]. Contactez votre service de support technique. {{Erreur système [3].}}</String>
+ <String Id="Error1715">[2] installé</String>
+ <String Id="Error1716">[2] configuré</String>
+ <String Id="Error1717">[2] supprimé</String>
+ <String Id="Error1718">Le fichier [2] a été rejeté par la stratégie de signature numérique.</String>
+ <String Id="Error1719">Impossible d'accéder au service Windows Installer. Ceci peut se produire si Windows est en mode Sans échec, ou si le programme d'installation de Windows n'est pas correctement installé. Contactez votre service de support technique pour assistance.</String>
+ <String Id="Error1720">Il y a un problème au niveau du package Windows Installer. Un script requis pour cette installation n'a pas pu être exécuté. Contactez votre service de support technique ou l'éditeur du package. {{Action personnalisée [2] erreur de script [3], [4] : [5] ligne [6], colonne [7], [8] }}</String>
+ <String Id="Error1721">Il y a un problème au niveau du package Windows Installer. Un programme requis pour cette installation n'a pas pu être exécuté. Contactez votre service de support technique ou l'éditeur du package. {Action : [2], emplacement : [3], commande : [4] }}</String>
+ <String Id="Error1722">Il y a un problème au niveau du package Windows Installer. Un programme nécessaire à l'installation ne s'est pas correctement exécuté. Contactez votre service de support technique ou l'éditeur du package. {{Action [2], emplacement : [3], commande : [4] }}</String>
+ <String Id="Error1723">Il y a un problème au niveau du package Windows Installer. Une DLL requise pour cette installation n'a pas pu être exécutée. Contactez votre service de support technique ou l'éditeur du package. {{Action [2], entrée : [3], bibliothèque : [4] }}</String>
+ <String Id="Error1724">Suppression effectuée.</String>
+ <String Id="Error1725">Échec de la suppression.</String>
+ <String Id="Error1726">Annonce effectuée.</String>
+ <String Id="Error1727">Échec de l'annonce.</String>
+ <String Id="Error1728">Configuration effectuée.</String>
+ <String Id="Error1729">Échec de la configuration.</String>
+ <String Id="Error1730">Vous devez être administrateur pour supprimer cette application. Pour la supprimer, ouvrez une session en tant qu'administrateur ou contactez votre service de support technique pour assistance.</String>
+ <String Id="Error1731">Le package d'installation source pour le produit [2] n'est pas synchronisé avec le package client. Réessayez l'installation en utilisant une copie valide du package d'installation '[3]'.</String>
+ <String Id="Error1732">Vous devez redémarrer l'ordinateur afin de terminer l'installation du produit [2]. D'autres utilisateurs sont actuellement connectés à cet ordinateur et le redémarrer pourrait causer la perte de leurs données. Voulez-vous redémarrer maintenant ?</String>
+ <String Id="Error1801">Le chemin d'accès [2] n'est pas valide. Spécifiez un chemin d'accès valide.</String>
+ <String Id="Error1802">Mémoire insuffisante. Fermez les autres applications avant de recommencer.</String>
+ <String Id="Error1803">Le lecteur [2] est vide. Insérez un disque et cliquez sur Réessayer, ou cliquez sur Annuler pour revenir au volume sélectionné précédemment.</String>
+ <String Id="Error1804">Le lecteur [2] est vide. Insérez un disque et cliquez sur Recommencer, ou cliquez sur Annuler pour revenir dans la boîte de dialogue Sélection de l'emplacement et sélectionner un autre volume.</String>
+ <String Id="Error1805">Le dossier [2] n'existe pas. Entrez un chemin d'accès à un dossier existant.</String>
+ <String Id="Error1806">Vous ne disposez pas des privilèges nécessaires pour lire le contenu de ce dossier.</String>
+ <String Id="Error1807">Impossible de trouver un dossier de destination valide pour l'installation.</String>
+ <String Id="Error1901">Une erreur s'est produite lors de la tentative de lecture de la base de données d'installation source : [2].</String>
+ <String Id="Error1902">Planification du redémarrage : Le fichier [2] est renommé [3]. Pour terminer l'opération, votre système doit être redémarré.</String>
+ <String Id="Error1903">Planification du redémarrage : Suppression du fichier [2]. Pour terminer l'opération, votre système doit être redémarré.</String>
+ <String Id="Error1904">Impossible d'inscrire le module [2]. HRESULT [3]. Contactez votre service de support technique.</String>
+ <String Id="Error1905">Impossible d'annuler l'inscription du module [2]. HRESULT [3]. Contactez votre service de support technique.</String>
+ <String Id="Error1906">Impossible de placer le package [2] dans le cache. Erreur : [3]. Contactez votre Support technique.</String>
+ <String Id="Error1907">Impossible d'inscrire la police [2]. Vérifiez que vous disposez des autorisations nécessaires pour l'installation des polices et que le système prend en charge cette police.</String>
+ <String Id="Error1908">Impossible d'annuler l'inscription de la police [2]. Vérifiez que vous disposez des autorisations requises pour supprimer des polices.</String>
+ <String Id="Error1909">Impossible de créer le raccourci [2]. Vérifiez que le dossier de destination existe et que vous êtes autorisé à y accéder.</String>
+ <String Id="Error1910">Impossible de supprimer le raccourci [2]. Vérifiez que le fichier de raccourcis existe et que vous êtes autorisé à y accéder.</String>
+ <String Id="Error1911">Impossible d'inscrire la bibliothèque de types pour le fichier [2]. Contactez votre service de support technique.</String>
+ <String Id="Error1912">Impossible d'annuler l'inscription de la bibliothèque de types pour le fichier [2]. Contactez votre service de support technique.</String>
+ <String Id="Error1913">Impossible de mettre à jour le fichier ini [2][3]. Vérifiez que ce fichier existe et que vous êtes autorisé à y accéder.</String>
+ <String Id="Error1914">Impossible de planifier le remplacement du fichier [3] par le fichier [2] au redémarrage. Vérifiez que vous êtes autorisé à accéder en écriture au fichier [3].</String>
+ <String Id="Error1915">Erreur lors de la suppression du gestionnaire de pilotes ODBC. Erreur ODBC [2] : [3]. Contactez votre Support technique.</String>
+ <String Id="Error1916">Erreur lors de l'installation du gestionnaire de pilotes ODBC. Erreur ODBC [2] : [3]. Contactez votre Support technique.</String>
+ <String Id="Error1917">Erreur lors de la suppression du pilote ODBC [4]. Erreur ODBC [2] : [3]. Vérifiez que vous disposez des privilèges nécessaires pour supprimer des pilotes ODBC.</String>
+ <String Id="Error1918">Erreur lors de l'installation du pilote ODBC [4]. Erreur ODBC [2] : [3]. Vérifiez que le fichier [4] existe et que vous êtes autorisé à y accéder.</String>
+ <String Id="Error1919">Erreur lors de la configuration de la source de données ODBC [4]. Erreur ODBC [2] : [3]. Vérifiez que le fichier [4] existe et que vous êtes autorisé à y accéder.</String>
+ <String Id="Error1920">Échec du démarrage du service '[2]' ([3]). Vérifiez que vous disposez des privilèges nécessaires pour démarrer les services système.</String>
+ <String Id="Error1921">Impossible d'arrêter le service '[2]' ([3]). Vérifiez que vous disposez des privilèges nécessaires pour arrêter les services système.</String>
+ <String Id="Error1922">Impossible de supprimer le service '[2]' ([3]). Vérifiez que vous disposez des privilèges nécessaires pour supprimer les services système.</String>
+ <String Id="Error1923">Impossible d'installer le service'[2]' ([3]). Vérifiez que vous disposez des privilèges nécessaires pour installer des services système.</String>
+ <String Id="Error1924">Impossible de mettre à jour la variable d'environnement '[2]'. Vérifiez que vous disposez des privilèges nécessaires pour modifier les variables d'environnement.</String>
+ <String Id="Error1925">Vous ne disposez pas des privilèges nécessaires pour exécuter cette installation pour tous les utilisateurs de cet ordinateur. Ouvrez une session en tant qu'administrateur, puis relancez cette installation.</String>
+ <String Id="Error1926">Impossible de définir la sécurité de fichier pour le fichier '[3]'. Erreur : [2]. Vérifiez que vous disposez des privilèges nécessaires pour modifier les autorisations de sécurité pour ce fichier.</String>
+ <String Id="Error1927">Les services de composants (COM+ 1.0) ne sont pas installés sur cet ordinateur. Cette installation nécessite les services de composants afin de se terminer correctement. Les services de composants sont disponibles sur Windows 2000.</String>
+ <String Id="Error1928">Erreur lors de l'inscription de l'application COM+. Contactez votre service de support technique pour plus d'informations.</String>
+ <String Id="Error1929">Erreur lors de l'annulation de l'inscription de l'application COM+. Contactez votre service de support technique pour plus d'informations.</String>
+ <String Id="Error1930">La description du service '[2]' ([3]) n'a pas pu être modifiée.</String>
+ <String Id="Error1931">Le service Windows Installer ne peut pas mettre à jour le fichier système [2], car le fichier est protégé par Windows. Vous devrez peut-être mettre à jour votre système d'exploitation pour que ce programme fonctionne correctement. {{Version du package : [3], version protégée du système d'exploitation : [4]}}</String>
+ <String Id="Error1932">Le service Windows Installer ne peut pas mettre à jour le fichier Windows protégé [2]. {{Version du package : [3], Version protégée du système d'exploitation : [4], Erreur SFP : [5]}}</String>
+ <String Id="Error1933">Le service Windows Installer ne peut pas mettre à jour certains fichiers Windows protégés. {{Erreur SFP : [2]. Liste des fichiers protégés :\r\n[3]}}</String>
+ <String Id="Error1934">Les installations utilisateurs sont désactivées par la stratégie en vigueur sur cet ordinateur.</String>
+ <String Id="Error1935">Une erreur s'est produite lors de l'installation de l'assembly '[6]'. Reportez-vous à l'aide et au support pour plus d'informations. HRESULT : [3]. {{interface d'assembly : [4], fonction : [5], composant : [2]}}</String>
+ <String Id="Error1936">Une erreur s'est produite lors de l'installation de l'assembly '[6]'. L'assembly n'a pas un nom fort et n'est pas signé avec une longueur de clé minimale. HRESULT : [3]. {{interface de l'assembly : [4], fonction : [5], composant: [2]}}</String>
+ <String Id="Error1937">Une erreur s'est produite lors de l'installation de l'assembly '[6]'. La signature ou le catalogue n'a pas pu être vérifié ou n'est pas valide. HRESULT : [3]. {{interface d'assembly : [4], fonction : [5], composant : [2]}}</String>
+ <String Id="Error1938">Une erreur s'est produite lors de l'installation de l'assembly '[6]'. Un ou plusieurs des modules de l'assembly sont introuvables. HRESULT : [3]. {{interface d'assembly : [4], fonction : [5], composant : [2]}}</String>
+
+ <!-- Own / special errors -->
+ <String Id="Error25001">L'application "[2]" doit être fermée pour que l'installation puisse continuer.</String>
+
+ <String Id="ProgressTextInstallValidate">Validation de l'installation</String>
+ <String Id="ProgressTextInstallFiles">Copie des nouveaux fichiers</String>
+ <String Id="ProgressTextInstallFilesTemplate">Fichier : [1], Répertoire : [9], Taille : [6]</String>
+ <String Id="ProgressTextInstallAdminPackage">Copie des fichiers d'installation réseau</String>
+ <String Id="ProgressTextInstallAdminPackageTemplate">Fichier : [1], Répertoire : [9], Taille : [6]</String>
+ <String Id="ProgressTextFileCost">Calcul de l'espace nécessaire</String>
+ <String Id="ProgressTextCostInitialize">Calcul de l'espace nécessaire</String>
+ <String Id="ProgressTextCostFinalize">Calcul de l'espace nécessaire</String>
+ <String Id="ProgressTextCreateShortcuts">Création des raccourcis</String>
+ <String Id="ProgressTextCreateShortcutsTemplate">Raccourci : [1]</String>
+ <String Id="ProgressTextPublishComponents">Publication des composants qualifiés</String>
+ <String Id="ProgressTextPublishComponentsTemplate">Identificateur du composant : [1], qualificateur : [2]</String>
+ <String Id="ProgressTextPublishFeatures">Publication des composants du produit</String>
+ <String Id="ProgressTextPublishFeaturesTemplate">Composant : [1]</String>
+ <String Id="ProgressTextPublishProduct">Publication des informations sur le produit</String>
+ <String Id="ProgressTextRegisterClassInfo">Inscription des serveurs de classes</String>
+ <String Id="ProgressTextRegisterClassInfoTemplate">Identificateur de classe : [1]</String>
+ <String Id="ProgressTextRegisterExtensionInfo">Inscription des extensions serveur</String>
+ <String Id="ProgressTextRegisterExtensionInfoTemplate">Extension : [1]</String>
+ <String Id="ProgressTextRegisterMIMEInfo">Inscription des informations MIME</String>
+ <String Id="ProgressTextRegisterMIMEInfoTemplate">Type de contenu MIME : [1], extension : [2]</String>
+ <String Id="ProgressTextRegisterProgIdInfo">Inscription des identificateurs de programmes</String>
+ <String Id="ProgressTextRegisterProgIdInfoTemplate">Identificateur du programme : [1]</String>
+ <String Id="ProgressTextAllocateRegistrySpace">Allocation de l'espace du Registre</String>
+ <String Id="ProgressTextAllocateRegistrySpaceTemplate">Espace libre : [1]</String>
+ <String Id="ProgressTextAppSearch">Recherche des applications déjà installées</String>
+ <String Id="ProgressTextAppSearchTemplate">Propriété : [1], Signature : [2]</String>
+ <String Id="ProgressTextBindImage">Liaison des exécutables</String>
+ <String Id="ProgressTextBindImageTemplate">Fichier : [1]</String>
+ <String Id="ProgressTextCCPSearch">Recherche des produits éligibles</String>
+ <String Id="ProgressTextCreateFolders">Création des dossiers</String>
+ <String Id="ProgressTextCreateFoldersTemplate">Dossier : [1]</String>
+ <String Id="ProgressTextDeleteServices">Suppression des services</String>
+ <String Id="ProgressTextDeleteServicesTemplate">Service : [1]</String>
+ <String Id="ProgressTextDuplicateFiles">Création de fichiers dupliqués</String>
+ <String Id="ProgressTextDuplicateFilesTemplate">Fichier : [1], Répertoire : [9], Taille : [6]</String>
+ <String Id="ProgressTextFindRelatedProducts">Recherche des applications associées</String>
+ <String Id="ProgressTextFindRelatedProductsTemplate">Application trouvée : [1]</String>
+ <String Id="ProgressTextInstallODBC">Installation des composants ODBC</String>
+ <String Id="ProgressTextInstallServices">Installation des nouveaux services</String>
+ <String Id="ProgressTextInstallServicesTemplate">Service : [2]</String>
+ <String Id="ProgressTextLaunchConditions">Évaluation des conditions de lancement</String>
+ <String Id="ProgressTextMigrateFeatureStates">Migration de l'état des composants à partir des applications associées</String>
+ <String Id="ProgressTextMigrateFeatureStatesTemplate">Application : [1]</String>
+ <String Id="ProgressTextMoveFiles">Déplacement des fichiers</String>
+ <String Id="ProgressTextMoveFilesTemplate">Fichier : [1], Répertoire : [9], Taille : [6]</String>
+ <String Id="ProgressTextPatchFiles">Fichiers de correction</String>
+ <String Id="ProgressTextPatchFilesTemplate">Fichier : [1], Répertoire : [2], Taille : [3]</String>
+ <String Id="ProgressTextProcessComponents">Mise à jour de l'inscription des composants</String>
+ <String Id="ProgressTextRegisterComPlus">Inscription des composants et applications COM+</String>
+ <String Id="ProgressTextRegisterComPlusTemplate">Id application : [1]{{, Type application : [2], Utilisateurs : [3], RSN : [4]}}</String>
+ <String Id="ProgressTextRegisterFonts">Inscription des polices</String>
+ <String Id="ProgressTextRegisterFontsTemplate">Police : [1]</String>
+ <String Id="ProgressTextRegisterProduct">Inscription du produit</String>
+ <String Id="ProgressTextRegisterProductTemplate">[1]</String>
+ <String Id="ProgressTextRegisterTypeLibraries">Inscription des bibliothèques de type</String>
+ <String Id="ProgressTextRegisterTypeLibrariesTemplate">Identificateur de la bibliothèque : [1]</String>
+ <String Id="ProgressTextRegisterUser">Inscription de l'utilisateur</String>
+ <String Id="ProgressTextRegisterUserTemplate">[1]</String>
+ <String Id="ProgressTextRemoveDuplicateFiles">Suppression des fichiers dupliqués</String>
+ <String Id="ProgressTextRemoveDuplicateFilesTemplate">Fichier : [1], Répertoire : [9]</String>
+ <String Id="ProgressTextRemoveEnvironmentStrings">Mise à jour des chaînes d'environnement</String>
+ <String Id="ProgressTextRemoveEnvironmentStringsTemplate">Nom : [1], valeur : [2], action : [3]</String>
+ <String Id="ProgressTextRemoveExistingProducts">Suppression des applications</String>
+ <String Id="ProgressTextRemoveExistingProductsTemplate">Application : [1], Ligne de commande : [2]</String>
+ <String Id="ProgressTextRemoveFiles">Suppression des fichiers</String>
+ <String Id="ProgressTextRemoveFilesTemplate">Fichier : [1], Répertoire : [9]</String>
+ <String Id="ProgressTextRemoveFolders">Suppression des dossiers</String>
+ <String Id="ProgressTextRemoveFoldersTemplate">Dossier : [1]</String>
+ <String Id="ProgressTextRemoveIniValues">Suppression des entrées des fichiers INI</String>
+ <String Id="ProgressTextRemoveIniValuesTemplate">Fichier : [1] ; section : [2] ; clé : [3] ; valeur : [4]</String>
+ <String Id="ProgressTextRemoveODBC">Suppression des composants ODBC</String>
+ <String Id="ProgressTextRemoveRegistryValues">Suppression des valeurs du Registre système</String>
+ <String Id="ProgressTextRemoveRegistryValuesTemplate">Clé : [1], Nom : [2]</String>
+ <String Id="ProgressTextRemoveShortcuts">Suppression des raccourcis</String>
+ <String Id="ProgressTextRemoveShortcutsTemplate">Raccourci : [1]</String>
+ <String Id="ProgressTextRMCCPSearch">Recherche des produits éligibles</String>
+ <String Id="ProgressTextSelfRegModules">Inscription des modules</String>
+ <String Id="ProgressTextSelfRegModulesTemplate">Fichier : [1] ; dossier : [2]</String>
+ <String Id="ProgressTextSelfUnregModules">Annulation de l'inscription des modules</String>
+ <String Id="ProgressTextSelfUnregModulesTemplate">Fichier : [1] ; dossier : [2]</String>
+ <String Id="ProgressTextSetODBCFolders">Initialisation des répertoires ODBC en cours</String>
+ <String Id="ProgressTextStartServices">Démarrage des services</String>
+ <String Id="ProgressTextStartServicesTemplate">Service : [1]</String>
+ <String Id="ProgressTextStopServices">Arrêt des services</String>
+ <String Id="ProgressTextStopServicesTemplate">Service : [1]</String>
+ <String Id="ProgressTextUnpublishComponents">Annulation de la publication des composants qualifiés</String>
+ <String Id="ProgressTextUnpublishComponentsTemplate">Identificateur du composant : [1], qualificateur : [2]</String>
+ <String Id="ProgressTextUnpublishFeatures">Annulation de la publication des composants du produit</String>
+ <String Id="ProgressTextUnpublishFeaturesTemplate">Composant : [1]</String>
+ <String Id="ProgressTextUnregisterClassInfo">Annulation de l'inscription des serveurs de classes</String>
+ <String Id="ProgressTextUnregisterClassInfoTemplate">Identificateur de classe : [1]</String>
+ <String Id="ProgressTextUnregisterComPlus">Annulation de l'inscription des composants et applications COM+</String>
+ <String Id="ProgressTextUnregisterComPlusTemplate">Id application : [1]{{, AppType : [2]}}</String>
+ <String Id="ProgressTextUnregisterExtensionInfo">Annulation de l'inscription des extensions serveur</String>
+ <String Id="ProgressTextUnregisterExtensionInfoTemplate">Extension : [1]</String>
+ <String Id="ProgressTextUnregisterFonts">Annulation de l'inscription des polices</String>
+ <String Id="ProgressTextUnregisterFontsTemplate">Police : [1]</String>
+ <String Id="ProgressTextUnregisterMIMEInfo">Annulation de l'inscription des informations MIME</String>
+ <String Id="ProgressTextUnregisterMIMEInfoTemplate">Type de contenu MIME : [1], extension : [2]</String>
+ <String Id="ProgressTextUnregisterProgIdInfo">Annulation de l'inscription des identificateurs de programmes</String>
+ <String Id="ProgressTextUnregisterProgIdInfoTemplate">Identificateur du programme : [1]</String>
+ <String Id="ProgressTextUnregisterTypeLibraries">Annulation de l'inscription des bibliothèques de type</String>
+ <String Id="ProgressTextUnregisterTypeLibrariesTemplate">Identificateur de la bibliothèque : [1]</String>
+ <String Id="ProgressTextWriteEnvironmentStrings">Mise à jour des chaînes d'environnement</String>
+ <String Id="ProgressTextWriteEnvironmentStringsTemplate">Nom : [1], valeur : [2], action : [3]</String>
+ <String Id="ProgressTextWriteIniValues">Écriture des valeurs des fichiers INI</String>
+ <String Id="ProgressTextWriteIniValuesTemplate">Fichier : [1] ; section : [2] ; clé : [3] ; valeur : [4]</String>
+ <String Id="ProgressTextWriteRegistryValues">Écriture des valeurs du Registre système</String>
+ <String Id="ProgressTextWriteRegistryValuesTemplate">Clé : [1], Nom : [2], Valeur : [3]</String>
+ <String Id="ProgressTextAdvertise">Publication d'informations sur l'application</String>
+ <String Id="ProgressTextGenerateScript">Génération de scripts pour l'action :</String>
+ <String Id="ProgressTextGenerateScriptTemplate">[1]</String>
+ <String Id="ProgressTextInstallSFPCatalogFile">Installation du catalogue système</String>
+ <String Id="ProgressTextInstallSFPCatalogFileTemplate">Fichier : [1], dépendances : [2]</String>
+ <String Id="ProgressTextMsiPublishAssemblies">Publication des informations de modules</String>
+ <String Id="ProgressTextMsiPublishAssembliesTemplate">Contexte de l'application : [1], nom de l'assembly : [2]</String>
+ <String Id="ProgressTextMsiUnpublishAssemblies">Dépublication des informations sur l'assembly</String>
+ <String Id="ProgressTextMsiUnpublishAssembliesTemplate">Contexte de l'application : [1], nom de l'assembly : [2]</String>
+ <String Id="ProgressTextRollback">Annulation de l'action :</String>
+ <String Id="ProgressTextRollbackTemplate">[1]</String>
+ <String Id="ProgressTextRollbackCleanup">Suppression des fichiers de sauvegarde</String>
+ <String Id="ProgressTextRollbackCleanupTemplate">Fichier : [1]</String>
+ <String Id="ProgressTextUnmoveFiles">Suppression des fichiers déplacés</String>
+ <String Id="ProgressTextUnmoveFilesTemplate">Fichier : [1], Répertoire : [9]</String>
+ <String Id="ProgressTextUnpublishProduct">Annulation de la publication des informations sur le produit</String>
+
+ <String Id="UITextbytes">octets</String>
+ <String Id="UITextGB">Go</String>
+ <String Id="UITextKB">Ko</String>
+ <String Id="UITextMB">Mo</String>
+ <String Id="UITextMenuAbsent">Ce composant ne sera pas disponible.</String>
+ <String Id="UITextMenuAdvertise">Ce composant sera installé à la demande.</String>
+ <String Id="UITextMenuAllCD">Ce composant sera installé en totalité pour être exécuté à partir du CD</String>
+ <String Id="UITextMenuAllLocal">Ce composant sera installé en totalité sur le disque dur local</String>
+ <String Id="UITextMenuAllNetwork">Ce composant sera installé en totalité pour être exécuté à partir du réseau</String>
+ <String Id="UITextMenuCD">Installation pour une exécution à partir du CD</String>
+ <String Id="UITextMenuLocal">Installation sur le disque dur local</String>
+ <String Id="UITextMenuNetwork">Installation pour une exécution à partir du réseau</String>
+ <String Id="UITextScriptInProgress">Collecte des informations nécessaires en cours...</String>
+ <String Id="UITextSelAbsentAbsent">Ce composant ne sera pas installé</String>
+ <String Id="UITextSelAbsentAdvertise">Ce composant sera configuré pour être installé à la demande</String>
+ <String Id="UITextSelAbsentCD">Ce composant sera installé pour être exécuté à partir du CD</String>
+ <String Id="UITextSelAbsentLocal">Ce composant sera installé sur le disque dur local</String>
+ <String Id="UITextSelAbsentNetwork">Ce composant sera installé pour être exécuté à partir du réseau</String>
+ <String Id="UITextSelAdvertiseAbsent">Ce composant ne sera plus disponible</String>
+ <String Id="UITextSelAdvertiseAdvertise">Installation à la demande</String>
+ <String Id="UITextSelAdvertiseCD">Ce composant sera disponible pour être exécuté à partir du CD</String>
+ <String Id="UITextSelAdvertiseLocal">Ce composant sera installé sur votre disque dur local</String>
+ <String Id="UITextSelAdvertiseNetwork">Ce composant sera disponible pour être exécuté à partir du réseau</String>
+ <String Id="UITextSelCDAbsent">Ce composant sera désinstallé en totalité et ne pourra plus être exécuté à partir du CD</String>
+ <String Id="UITextSelCDAdvertise">Ce composant ne pourra plus être exécuté à partir du CD et sera configuré pour être installé à la demande</String>
+ <String Id="UITextSelCDCD">Ce composant sera conservé pour être exécuté à partir du CD</String>
+ <String Id="UITextSelCDLocal">Ce composant ne pourra plus être exécuté à partir du CD et sera installé sur le disque dur local</String>
+ <String Id="UITextSelChildCostNeg">Ce composant libère [1] sur votre disque dur.</String>
+ <String Id="UITextSelChildCostPos">Ce composant nécessite la présence de [1] sur votre disque dur.</String>
+ <String Id="UITextSelCostPending">Calcul de l'espace nécessaire pour ce composant...</String>
+ <String Id="UITextSelLocalAbsent">Ce composant sera supprimé en totalité</String>
+ <String Id="UITextSelLocalAdvertise">Ce composant sera supprimé du disque dur local, mais sera configuré pour être installé à la demande</String>
+ <String Id="UITextSelLocalCD">Ce composant sera supprimé du disque dur local, mais pourra encore être exécuté à partir du CD</String>
+ <String Id="UITextSelLocalLocal">Ce composant sera conservé sur le disque dur local</String>
+ <String Id="UITextSelLocalNetwork">Ce composant sera supprimé de votre disque dur local, mais sera toujours disponible pour être exécuté à partir du réseau</String>
+ <String Id="UITextSelNetworkAbsent">Ce composant sera désinstallé en totalité et ne pourra plus être exécuté à partir du réseau</String>
+ <String Id="UITextSelNetworkAdvertise">Ce composant ne pourra plus être exécuté à partir du réseau et sera configuré pour être installé à la demande</String>
+ <String Id="UITextSelNetworkLocal">Ce composant ne pourra plus être exécuté à partir du réseau et sera installé sur le disque dur local</String>
+ <String Id="UITextSelNetworkNetwork">Ce composant sera conservé pour être exécuté à partir du réseau</String>
+ <String Id="UITextSelParentCostNegNeg">Ce composant libère [1] sur votre disque dur. [2] sous-composants sur [3] sont sélectionnés. Les sous-composants libèrent [4] sur votre disque dur.</String>
+ <String Id="UITextSelParentCostNegPos">Ce composant libère [1] sur votre disque dur. [2] sous-composants sur [3] sont sélectionnés. Les sous-composants nécessitent la présence de [4] sur votre disque dur.</String>
+ <String Id="UITextSelParentCostPosNeg">Ce composant nécessite la présence de [1] sur votre disque dur. [2] sous-composants sur [3] sont sélectionnés. Les sous-composants libèrent [4] sur votre disque dur.</String>
+ <String Id="UITextSelParentCostPosPos">Ce composant nécessite la présence de [1] sur votre disque dur. [2] sous-composants sur [3] sont sélectionnés. Les sous-composants nécessitent la présence de [4] sur votre disque dur.</String>
+ <String Id="UITextTimeRemaining">Durée restante : {[1] minute(s) }{[2] secondes}</String>
+ <String Id="UITextVolumeCostAvailable">Disponible</String>
+ <String Id="UITextVolumeCostDifference">Différences</String>
+ <String Id="UITextVolumeCostRequired">Nécessaire</String>
+ <String Id="UITextVolumeCostSize">Taille du disque</String>
+ <String Id="UITextVolumeCostVolume">Volume</String>
+
+</WixLocalization>
diff --git a/src/VBox/Installer/win/NLS/it_IT.wxl b/src/VBox/Installer/win/NLS/it_IT.wxl
new file mode 100644
index 00000000..adead2a5
--- /dev/null
+++ b/src/VBox/Installer/win/NLS/it_IT.wxl
@@ -0,0 +1,548 @@
+<?xml version="1.0" encoding="utf-8"?>
+
+<!--
+ Language Definition Include for VirtualBox WiX script.
+-->
+<!--
+ Copyright (C) 2011-2023 Oracle and/or its affiliates.
+
+ This file is part of VirtualBox base platform packages, as
+ available from https://www.virtualbox.org.
+
+ This program is free software; you can redistribute it and/or
+ modify it under the terms of the GNU General Public License
+ as published by the Free Software Foundation, in version 3 of the
+ License.
+
+ This program is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, see <https://www.gnu.org/licenses>.
+
+ SPDX-License-Identifier: GPL-3.0-only
+-->
+
+<WixLocalization xmlns="http://schemas.microsoft.com/wix/2006/localization" Codepage="1252" Culture="en_US">
+ <String Id="LANG">1040</String>
+ <String Id="LangName">Italiano</String>
+
+ <String Id="ButtonText_No">&amp;No</String>
+ <String Id="ButtonText_Yes">&amp;Sì</String>
+ <String Id="ButtonText_Cancel">A&amp;nnulla</String>
+ <String Id="ButtonText_Next">&amp;Avanti &gt;</String>
+ <String Id="ButtonText_Back">&lt; &amp;Indietro</String>
+ <String Id="ButtonText_Browse">S&amp;foglia</String>
+ <String Id="ButtonText_OK">O&amp;K</String>
+ <String Id="ButtonText_Check">&amp;Controlla</String>
+ <String Id="ButtonText_Install">&amp;Installa</String>
+ <String Id="ButtonText_Remove">&amp;Rimuovi</String>
+ <String Id="ButtonText_Finish">&amp;Fine</String>
+ <String Id="ButtonText_Repair">&amp;Ripara</String>
+ <String Id="ButtonText_Return">&amp;Ritorna</String>
+ <String Id="ButtonText_Retry">Ri&amp;prova</String>
+ <String Id="ButtonText_Ignore">I&amp;gnora</String>
+ <String Id="ButtonText_Exit">E&amp;sci</String>
+ <String Id="InstallModeCustom">Personalizzato</String>
+ <String Id="Setup">Installazione</String>
+ <!---->
+ <String Id="StartMenu_License">Licenza</String>
+ <String Id="StartMenu_UserManual">Manuale utente</String>
+ <!---->
+ <String Id="VB_App">Applicazione [ProductName].</String>
+ <String Id="VB_USBDriver">Driver di [ProductName] per il supporto di dispositivi USB.</String>
+ <String Id="VB_Network">Driver di [ProductName] per il supporto di rete.</String>
+ <String Id="VB_NetFltDriver">Driver di [ProductName] per la rete con bridge.</String>
+ <String Id="VB_NetAdpDriver">Driver di [ProductName] per la scheda di rete virtuale per la rete solo host.</String>
+ <String Id="VB_NetLwfDriver">Driver di [ProductName] per la rete con bridge NDIS6.</String>
+ <String Id="VB_NetAdp6Driver">Driver di [ProductName] per la scheda di rete virtuale per la rete solo host NDIS6.</String>
+
+ <String Id="VB_Python">Supporto Python per VirtualBox.</String>
+ <!---->
+ <String Id="NeedAdmin">Devi avere diritti di amministrazione per (dis)installare [ProductName]! L'installazione sarà interrotta immediatamente.</String>
+ <String Id="NeedMSCRT">[ProductName] needs the Microsoft Visual C++ 2019 Redistributable Package being installed first. Please install and restart the installation of [ProductName].</String>
+ <String Id="WrongOS">Questa applicazione può essere eseguita solo su Windows XP o superiori.</String>
+ <String Id="Only32Bit">Questa applicazione può essere eseguita solo su sistemi Windows a 32 bit. Installa la versione a 64 bit di [ProductName]!</String>
+ <String Id="Only64Bit">Questa applicazione può essere eseguita solo su sistemi Windows a 64 bit. Installa la versione a 32 bit di [ProductName]!</String>
+ <String Id="SunFound">Una vecchia installazione di Sun VirtualBox è stata trovata su questa macchina. Disinstalla prima questo pacchetto e poi installa [ProductName]!</String>
+ <String Id="InnotekFound">Una vecchia installazione di innotek VirtualBox è stata trovata su questa macchina. Disinstalla prima questo pacchetto e poi installa [ProductName]!</String>
+ <!---->
+ <String Id="CancelDlg_Question">Sei sicuro di voler annullare l'installazione di [ProductName]?</String>
+ <!---->
+ <String Id="WelcomeDlg_Header">Benvenuti nella procedura guidata di installazione di [ProductName]</String>
+ <String Id="WelcomeDlg_Body">La procedura guidata installerà [ProductName] sul tuo computer. Fai clic su Avanti per continuare o su Annulla per uscire dalla procedura guidata.</String>
+ <!---->
+ <String Id="LicenseAgreementDlg_Header">Accordo di licenza con l'utente finale</String>
+ <String Id="LicenseAgreementDlg_Body">Leggi attentamente il seguente accordo di licenza.</String>
+ <String Id="LicenseAgreementDlg_Accept">&amp;Accetto i termini dell'accordo di licenza</String>
+ <String Id="LicenseAgreementDlg_Decline">&amp;Non accetto i termini dell'accordo di licenza</String>
+ <!---->
+ <String Id="CheckSerialDlg_Header">Numero di serie</String>
+ <String Id="CheckSerialDlg_Body">Digita il numero di serie nel campo seguente. Troverai il numero sull'adesivo all'interno della custodia del CD di VirtualBox.</String>
+ <String Id="CheckSerialDlg_Footer">Una volta digitato il numero di serie, premi il pulsante "Controlla" in basso.</String>
+ <!---->
+ <String Id="WrongSerialDlg_Header">Il numero di serie digitato non era valido!</String>
+ <String Id="WrongSerialDlg_Desc1">Torna indietro per digitare nuovamente il numero di serie.</String>
+ <String Id="WrongSerialDlg_Desc2">Ricorda che il numero seriale deve essere scritto esattamente come è stampato sull'adesivo.</String>
+ <!---->
+ <String Id="WarnSaveStatesDlg_Header">Avviso:</String>
+ <String Id="WarnSaveStatesDlg_Header2">Stati salvati non compatibili!</String>
+ <String Id="WarnSaveStatesDlg_Desc">Quando aggiorni [ProductName], tutti gli stati salvati dalle macchine già esistenti non funzioneranno più! Dopo l'installazione, dovrai scartarli manualmente.</String>
+ <String Id="WarnSaveStatesDlg_Proceed">Procedere subito con l'installazione?</String>
+ <!---->
+ <String Id="WarnTAPDevicesDlg_Header">Interfacce host</String>
+ <String Id="WarnTAPDevicesDlg_Desc">Se hai utilizzato interfacce host per le tue macchine nella versione precedente, devi ricrearle manualmente dopo questa installazione.</String>
+ <!---->
+ <String Id="NetCfgLocked">La seguente applicazione dovrebbe essere chiusa prima di procedere con l'installazione: "[2]"</String>
+ <!---->
+ <String Id="CustomizeDlg_Location">Posizione:</String>
+ <String Id="CustomizeDlg_DiskUsage">&amp;Utilizzo del disco</String>
+ <String Id="CustomizeDlg_SelFeatures">Seleziona la modalità di installazione delle funzionalità.</String>
+ <String Id="CustomizeDlg_IconTree">Fai clic sulle icone dell'albero seguente per cambiare la modalità di installazione delle funzionalità.</String>
+ <String Id="CustomizeDlg_CustomSetup">Installazione personalizzata</String>
+ <String Id="CustomizeDlg_SelItemDesc">CustomizeDlgItemDescription-CustomizeDlgItemDescription</String>
+ <String Id="CustomizeDlg_SelItemSize">CustomizeDlgItemSize-CustomizeDlgItemSize</String>
+ <String Id="CustomizeDlg_SelItemPath">CustomizeDlgLocation-CustomizeDlgLocation</String>
+ <!---->
+ <String Id="Customize2Dlg_Header">Personalizza</String>
+ <String Id="Customize2Dlg_Desc">Scegli dalle opzioni seguenti:</String>
+ <String Id="Customize2Dlg_CreateStartMenuEntries">Crea voci del menu di avvio</String>
+ <String Id="Customize2Dlg_CreateDesktopShortcut">Crea una scorciatoia sul desktop</String>
+ <String Id="Customize2Dlg_CreateQuickLaunch">Crea una scorciatoia nella barra di avvio veloce</String>
+ <String Id="Customize2Dlg_RegisterFileExtensions">Registrati associazioni di file</String>
+ <!---->
+ <String Id="SelectionNetworkTypeDlg_CommonDescription">Scegli quale tipo di driver di rete utilizzerai:</String>
+ <String Id="SelectionNetworkTypeDlg_DescriptionNDIS5">Driver di rete NDIS5.
+Questo è il tipo predefinito per le vecchie versioni di Windows (pre-Vista).</String>
+ <String Id="SelectionNetworkTypeDlg_DescriptionNDIS6">Driver di rete NDIS6.
+Questo è il tipo predefinito per le nuove versioni di Windows (Vista e successivi).</String>
+ <String Id="SelectionNetworkTypeDlg_RadioButtonNDIS5">Usa driver di rete NDIS5.</String>
+ <String Id="SelectionNetworkTypeDlg_RadioButtonNDIS6">Usa driver di rete NDIS6.</String>
+ <!---->
+ <String Id="WarnDisconNetIfacesDlg_Title">Avviso:</String>
+ <String Id="WarnDisconNetIfacesDlg_Title2">Interfacce di rete</String>
+ <String Id="WarnDisconNetIfacesDlg_Desc">L'installazione delle funzionalità di rete di [ProductName] ripristinerà la connessione di rete causando una disconnessione temporanea dalla rete.</String>
+ <String Id="WarnDisconNetIfacesDlg_Question">Vuoi procedere subito con l'installazione?</String>
+ <!---->
+ <String Id="WarnPythonDlg_Title">Missing Dependencies</String>
+ <String Id="WarnPythonDlg_Title2">Python Core / win32api</String>
+ <String Id="WarnPythonDlg_Desc">Installing the [ProductName] Python bindings requires the Python Core package and the win32api bindings to be installed first.</String>
+ <String Id="WarnPythonDlg_Desc2">When continuing the installation of the [ProductName] Python bindings now, those need to be set up manually later. Refer to the [ProductName] SDK manual for more information.</String>
+ <String Id="WarnPythonDlg_Question">Proceed with installation now?</String>
+ <!---->
+ <String Id="DiskCostDlg_SpaceRequired">Lo spazio su disco richiesto per l'installazione delle funzionalità selezionate.</String>
+ <String Id="DiskCostDlg_NotEnoughSpace">I volumi evidenziati non hanno spazio disponibile sufficiente per le funzionalità attualmente selezionate. Puoi rimuovere alcuni file dai volumi evidenziati, scegliere di installare meno funzionalità sul disco locale o selezionare un disco di destinazione diverso.</String>
+ <String Id="DiskCostDlg_SpaceRequirements">Requisiti di spazio disco</String>
+ <String Id="DiskCostDlg_VolumeList">{120}{70}{70}{70}{70}</String>
+ <!---->
+ <String Id="BrowseDlg_BrowseDestFolder">Spostati nella cartella di destinazione</String>
+ <String Id="BrowseDlg_ChangeCurFolder">Cambia la cartella di destinazione attuale</String>
+ <String Id="BrowseDlg_UpOneLevelTooltip">Livello superiore</String>
+ <String Id="BrowseDlg_CreateNewFolderTooltip">Crea una nuova cartella</String>
+ <String Id="BrowseDlg_LookIn">&amp;Cerca in:</String>
+ <String Id="BrowseDlg_FolderName">&amp;Nome della cartella:</String>
+ <!---->
+ <String Id="VerifyReadyDlg_ReadyToBegin">La procedura guidata è pronta per iniziare l'installazione di [InstallMode].</String>
+ <String Id="VerifyReadyDlg_ClickInstall">Fai clic su Installa per iniziare l'installazione. Se vuoi rivedere o cambiare una qualsiasi impostazione di installazione, fai clic su Indietro. Fai clic su Annulla per uscire dalla procedura guidata.</String>
+ <String Id="VerifyReadyDlg_ReadyToInstall">Pronto per l'installazione</String>
+ <!---->
+ <String Id="ExitDlg_ClickFinish">Fai clic sul pulsante Fine per uscire dalla procedura guidata.</String>
+ <String Id="ExitDlg_InstComplete">L'installazione di [ProductName] è completa.</String>
+ <String Id="ExitDlg_StartVBox">Avvia [ProductName] dopo l'installazione</String>
+ <!---->
+ <String Id="FatalErrorDlg_Header">La procedura guidata di [ProductName] è stata terminata in anticipo</String>
+ <String Id="FatalErrorDlg_Desc">L'installazione di [ProductName] è stata terminata in anticipo a causa di un errore. Il sistema non è stato modificato. Per installare questo programma successivamente, esegui nuovamente l'installazione.</String>
+ <String Id="FatalErrorDlg_Footer">Fai clic sul pulsante Fine per uscire dalla procedura guidata.</String>
+ <!---->
+ <String Id="FilesInUse_Text">Le seguenti applicazioni stanno utilizzando file che devono essere aggiornati da questa installazione. Chiudi queste applicazioni e poi fai clic su &amp;Riprova per continuare l'installazione o Esci per abbandonarla.</String>
+ <String Id="FilesInUse_Description">Alcuni file che devono essere aggiornati sono attualmente utilizzati.</String>
+ <String Id="FilesInUse_Title">File in uso</String>
+ <!---->
+ <String Id="UserExitDlg_Header">La procedura guidata di [ProductName] è stata interrotta</String>
+ <String Id="UserExitDlg_Desc">L'installazione di [ProductName] è stata interrotta. Il sistema non è stato modificato. Per installare questo programma successivamente, esegui nuovamente questa installazione.</String>
+ <String Id="UserExitDlg_Footer">Fai clic sul pulsante Fine per uscire dalla procedura guidata.</String>
+ <!---->
+ <String Id="ProgressDlg_PleaseWait">Attendi che la procedura guidata installi [ProductName]. Potrebbe richiedere qualche minuto.</String>
+ <!---->
+ <String Id="ResumeDlg_Header">Ripristino della procedura guidata di installazione di [ProductName]</String>
+ <String Id="ResumeDlg_Desc">La procedura guidata completerà l'installazione di [ProductName] sul tuo computer. Fai clic su Installa per continuare o Annulla per uscire dalla procedura guidata.</String>
+ <!---->
+ <String Id="MaintenanceTypeDlg_Header">Modifica, ripara o rimuovi l'installazione</String>
+ <String Id="MaintenanceTypeDlg_SelOption">Seleziona l'operazione che desideri eseguire.</String>
+ <String Id="MaintenanceTypeDlg_Repair">Ri&amp;para</String>
+ <String Id="MaintenanceTypeDlg_RepairText">Ripara gli errori nello stato di installazione più recente - corregge i file, le scorciatoie e le voci di registro mancanti o danneggiate.</String>
+ <String Id="MaintenanceTypeDlg_RepairTooltip">Ripara l'installazione</String>
+ <String Id="MaintenanceTypeDlg_RepairProgress1">Riparazione</String>
+ <String Id="MaintenanceTypeDlg_RepairProgress2">ripara</String>
+ <String Id="MaintenanceTypeDlg_Remove">&amp;Rimuovi</String>
+ <String Id="MaintenanceTypeDlg_RemoveText">Rimuove [ProductName] dal tuo computer.</String>
+ <String Id="MaintenanceTypeDlg_RemoveTooltip">Rimuovi l'installazione</String>
+ <String Id="MaintenanceTypeDlg_RemoveProgress1">Rimozione</String>
+ <String Id="MaintenanceTypeDlg_RemoveProgress2">rimuove</String>
+ <!---->
+ <String Id="MaintenanceWelcomeDlg_Header">Benvenuti nella procedura guidata di installazione di [ProductName]</String>
+ <String Id="MaintenanceWelcomeDlg_Desc">La procedura guidata di installazione ti consentirà di riparare la tua installazione attuale o rimuovere [ProductName] dal tuo computer. Fai clic su Avanti per continuare o Annulla per uscire dalla procedura guidata.</String>
+ <!---->
+ <String Id="OutOfDiskDlg_InstallationExceeds">Lo spazio su disco richiesto per l'installazione supera lo spazio disponibile.</String>
+ <String Id="OutOfDiskDlg_NotEnoughDiskSpace">I volumi evidenziati non hanno spazio disco sufficiente per le funzionalità attualmente selezionate. Puoi rimuovere alcuni file dai volumi evidenziati, scegliere di installare meno funzionalità sul disco locale o seleziona un disco di destinazione diverso.</String>
+ <String Id="OutOfDiskDlg_OutOfDiskSpace">Spazio su disco insufficiente</String>
+ <!---->
+ <String Id="OutOfRbDiskDlg_InstallationExceeds">Lo spazio su disco richiesto per l'installazione supera lo spazio disponibile.</String>
+ <String Id="OutOfRbDiskDlg_NotEnoughDiskSpace">I volumi evidenziati non hanno spazio disco sufficiente per le funzionalità attualmente selezionate. Puoi rimuovere alcuni file dai volumi evidenziati, scegliere di installare meno funzionalità sul disco locale o seleziona un disco di destinazione diverso.</String>
+ <String Id="OutOfRbDiskDlg_OutOfDiskSpace">Spazio su disco insufficiente</String>
+ <String Id="OutOfRbDiskDlg_Desc">In alternativa, puoi scegliere di disabilitare la funzionalità di rollback dell'installatore. Questo consente all'installatore di ripristinare lo stato originale del tuo computer qualore l'installazione venisse interrotta in qualsiasi modo. Fai clic su Sì se desideri rischiare di disabilitare il rollback.</String>
+ <!---->
+ <String Id="VerifyRemoveDlg_Header">Rimuovi [ProductName]</String>
+ <String Id="VerifyRemoveDlg_Desc">Hai scelto di rimuovere il programma dal tuo computer.</String>
+ <String Id="VerifyRemoveDlg_ClickRemove">Fai clic su Rimuovi per rimuovere [ProductName] dal tuo computer. Se vuoi rivedere o cambiare una qualsiasi impostazione di installazione, fai clic su Indietro. Fai clic su Annulla per uscire dalla procedura guidata.</String>
+ <!---->
+ <String Id="VerifyRepairDlg_Header">Ripara [ProductName]</String>
+ <String Id="VerifyRepairDlg_ReadyToBegin">La procedura guidata di installazione è pronta per iniziare la riparazione di [ProductName].</String>
+ <String Id="VerifyRepairDlg_ClickRepair">Fai clic su Ripara per riparare l'installazione di [ProductName]. Se vuoi rivedere o cambiare le impostazioni di installazione, fai clic su Indietro. Fai clic su Annulla per uscire dalla procedura guidata.</String>
+ <!---->
+ <String Id="WaitForCostingDlg_PleaseWait">Attendi che l'installatore termini il calcolo dei requisiti di spazio sul disco.</String>
+ <!---->
+ <String Id="MsiRMFilesInUse_Text">Le seguenti applicazioni stanno utilizzando file che devono essere aggiornati da questa installazione. Puoi permette alla procedura guidata di chiuderle e tentare di riavviarle o riavviare successivamente la macchina.</String>
+ <String Id="MsiRMFilesInUse_Description">Alcuni file che devono essere aggiornati sono attualmente utilizzati.</String>
+ <String Id="MsiRMFilesInUse_Title">File in uso</String>
+ <String Id="MsiRMFilesInUse_UseRM">&amp;Chiudi le applicazioni e prova a riavviarle.</String>
+ <String Id="MsiRMFilesInUse_DontUseRM">&amp;Non chiudere le applicazioni. Sarà necessario un riavvio.</String>
+ <!-- The following strings are internally used by WiX and MSI -->
+ <String Id="Error0">{{Errore grave: }}</String>
+ <String Id="Error1">{{Errore [1]. }}</String>
+ <String Id="Error2">Avviso [1]. </String>
+ <String Id="Error3" />
+ <String Id="Error4">Info [1]. </String>
+ <String Id="Error5">L'installatore ha riscontrato un errore inatteso durante l'installazione di questo pacchetto. Questo potrebbe indicare un problema con questo pacchetto. Il codice di errore è [1]. {{Gli argomenti sono: [2], [3], [4]}}</String>
+ <String Id="Error6" />
+ <String Id="Error7">{{Disco pieno: }}</String>
+ <String Id="Error8">Azione [Time]: [1]. [2]</String>
+ <String Id="Error9">[ProductName]</String>
+ <String Id="Error10">{[2]}{, [3]}{, [4]}</String>
+ <String Id="Error11">Tipo di messaggio: [1], Argomento: [2]</String>
+ <String Id="Error12">=== Registrazione iniziata: [Date] [Time] ===</String>
+ <String Id="Error13">=== Registrazione fermata: [Date] [Time] ===</String>
+ <String Id="Error14">Avvio azione [Time]: [1].</String>
+ <String Id="Error15">Azione terminata [Time]: [1]. Valore restituito [2].</String>
+ <String Id="Error16">Tempo rimanente: {[1] minuti }{[2] secondi}</String>
+ <String Id="Error17">Memoria insufficiente. Chiudi le altre applicazione prima di riprovare.</String>
+ <String Id="Error18">L'installazione non risponde più.</String>
+ <String Id="Error19">L'installatore si è fermato prematuramente.</String>
+ <String Id="Error20">Attendi mentre Windows configura [ProductName]</String>
+ <String Id="Error21">Raccolta delle informazioni necessarie in corso...</String>
+ <String Id="Error22">Rimozione delle vecchie versioni di questa applicazione...</String>
+ <String Id="Error23">Preparazione della rimozione delle vecchie versioni di questa applicazione...</String>
+ <String Id="Error32">{[ProductName] }Installazione completata correttamente.</String>
+ <String Id="Error33">{[ProductName] }Installazione non riuscita.</String>
+ <String Id="Error1101">Errore durante la lettura dal file: [2]. {{ Errore di sistema [3].}} Verifica che il file esista e che sia accessibile.</String>
+ <String Id="Error1301">Impossibile creare il file '[2]'. Una cartella con questo nome esiste già. Annulla l'installazione o prova ad installare in una posizione diversa.</String>
+ <String Id="Error1302">Inserisci il disco: [2]</String>
+ <String Id="Error1303">L'installatore ha privilegi insufficienti per accedere a questa cartella: [2]. L'installazione non può continuare. Accedi come amministratore o contatta il tuo amministratore di sistema.</String>
+ <String Id="Error1304">Errore durante la scrittura del file: [2]. Verifica di avere l'accesso a tale cartella.</String>
+ <String Id="Error1305">Errore durante la lettura del file [2]. {{ Errore di sistema [3].}} Verifica che il file esista e sia accessibile.</String>
+ <String Id="Error1306">Un'altra applicazione ha accesso esclusivo al file '[2]'. Termina le altre applicazioni e fai clic su Riprova.</String>
+ <String Id="Error1307">Non c'è spazio su disco sufficiente per installare questo file: [2]. Libera spazio su disco e fai clic su Riprova, o fai clic su Annulla per uscire.</String>
+ <String Id="Error1308">File di origine non trovato: [2]. Verifica che il file esista e che sia accessibile.</String>
+ <String Id="Error1309">Errore durante la lettura del file: [3]. {{ Errore di sistema [2].}} Verifica che il file esista e sia accessibile.</String>
+ <String Id="Error1310">Errore durante la scrittura del file: [3]. {{ Errore di sistema [2].}} Verifica di avere l'accesso a tale cartella.</String>
+ <String Id="Error1311">File di origine non trovato{{(cabinet)}}: [2]. Verifica che il file esista e sia accessibile.</String>
+ <String Id="Error1312">Impossibile creare la cartella '[2]'. Un file con questo nome esiste già. Rinomina o rimuovi il file e fai clic su Riprova, o fai clic su Annulla per uscire.</String>
+ <String Id="Error1313">Il volume [2] è attualmente indisponibile. Selezionane un altro.</String>
+ <String Id="Error1314">Il percorso specificato '[2]' non è disponibile.</String>
+ <String Id="Error1315">Impossibile scrivere nella cartella specificata: [2].</String>
+ <String Id="Error1316">Si è verificato un errore di rete durante il tentativo di leggere dal file: [2]</String>
+ <String Id="Error1317">Si è verificato un errore durante il tentativo di creare la cartella: [2]</String>
+ <String Id="Error1318">Si è verificato un errore di rete durante il tentativo di creare la cartella: [2]</String>
+ <String Id="Error1319">Si è verificato un errore di rete durante il tentativo di aprire il cabinet del file sorgente: [2]</String>
+ <String Id="Error1320">Il percorso specificato è troppo lungo: [2]</String>
+ <String Id="Error1321">L'installatore ha privilegi insufficienti per modificare questo file: [2].</String>
+ <String Id="Error1322">Una parte del percorso della cartella '[2]' non è valida. È vuota o eccede la lunghezza consentita dal sistema.</String>
+ <String Id="Error1323">Il percorso '[2]' contiene parole non valide nei percorsi delle cartelle.</String>
+ <String Id="Error1324">Il percorso della cartella '[2]' contiene un carattere non valido.</String>
+ <String Id="Error1325">'[2]' non è un nome breve valido.</String>
+ <String Id="Error1326">Errore durante il recupero della protezione del file: [3] GetLastString: [2]</String>
+ <String Id="Error1327">Disco non valido: [2]</String>
+ <String Id="Error1328">Errore durante l'applicazione della patch al file [2]. È stato probabilmente aggiornato in altro modo, e non può essere più modificato da questa patch. Per ulteriori informazioni contatta il fornitore della patch. {{Errore di sistema: [3]}}</String>
+ <String Id="Error1329">Un file richiesto non può essere installato poiché il file cabinet [2] non è firmato digitalmente. Questo potrebbe indicare che il file cabinet è danneggiato.</String>
+ <String Id="Error1330">Un file richiesto non può essere installato poiché il file cabinet [2] non è firmato digitalmente. Questo potrebbe indicare che il file cabinet è danneggiato.{{ L'errore [3] è stato restituito da WinVerifyTrust.}}</String>
+ <String Id="Error1331">Impossibile copiare correttamente il file [2]: errore CRC.</String>
+ <String Id="Error1332">Impossibile spostare correttamente il file [2]: errore CRC.</String>
+ <String Id="Error1333">Impossibile applicare correttamente il file di patch [2]: errore CRC.</String>
+ <String Id="Error1334">Il file '[2]' non può essere installato poiché il file non può essere trovato nel file cabinet '[3]'. Questo potrebbe indicare un errore di rete, un errore di lettura dal CD-ROM o un problema con questo pacchetto.</String>
+ <String Id="Error1335">Il file cabinet '[2]' richiesto da questa installazione è danneggiato e non può essere utilizzato. Questo potrebbe indicare un errore di rete, un errore di lettura dal CD-ROM o un problema con questo pacchetto.</String>
+ <String Id="Error1336">Si è verificato un errore durante la creazione di un file temporaneo che è necessario per completare questa installazione.{{ Cartella: [3]. Codice dell'errore di sistema: [2]}}</String>
+ <String Id="Error1401">Impossibile creare la chiave: [2]. {{ Errore di sistema [3].}} Verifica di avere accesso alla chiave, o contatta il tuo personale di supporto. </String>
+ <String Id="Error1402">Impossibile aprire la chiave: [2]. {{ Errore di sistema [3].}} Verifica di avere accesso alla chiave, o contatta il tuo personale di supporto. </String>
+ <String Id="Error1403">Impossibile eliminare il valore [2] dalla chiave [3]. {{ Errore di sistema [4].}} Verifica di avere accesso alla chiave, o contatta il tuo personale di supporto. </String>
+ <String Id="Error1404">Impossibile eliminare la chiave [2]. {{ Errore di sistema [3].}} Verifica di avere accesso alla chiave, o contatta il tuo personale di supporto. </String>
+ <String Id="Error1405">Impossibile leggere il valore [2] dalla chiave [3]. {{ Errore di sistema [4].}} Verifica di avere accesso alla chiave, o contatta il tuo personale di supporto. </String>
+ <String Id="Error1406">Impossibile scrivere il valore [2] nella chiave [3]. {{ Errore di sistema [4].}} Verifica di avere accesso alla chiave, o contatta il tuo personale di supporto.</String>
+ <String Id="Error1407">Impossibile ottenere i nomi dei valori per la chiave [2]. {{ Errore di sistema [3].}} Verifica di avere accesso alla chiave, o contatta il tuo personale di supporto.</String>
+ <String Id="Error1408">Impossibile ottenere i nomi delle sotto-chiavi per la chiave [2]. {{ Errore di sistema [3].}} Verifica di avere accesso alla chiave, o contatta il tuo personale di supporto.</String>
+ <String Id="Error1409">Impossibile leggere le informazioni di sicurezza per la chiave [2]. {{ Errore di sistema [3].}} Verifica di avere accesso alla chiave, o contatta il tuo personale di supporto.</String>
+ <String Id="Error1410">Impossibile incrementare lo spazio disponibile per il registro. [2] KB di spazio libero per il registro sono richiesti per l'installazione di questa applicazione.</String>
+ <String Id="Error1500">Un'altra installazione è in corso. Devi completare quella installazione prima di continuare con questa.</String>
+ <String Id="Error1501">Errore durante l'accesso ai dati protetti. Assicurati che Windows Installer sia installato correttamente e prova nuovamente l'installazione.</String>
+ <String Id="Error1502">L'utente '[2]' ha iniziato precedentemente un'installazione del prodotto '[3]'. Quell'utente dovrà eseguire nuovamente l'installazione prima che possa utilizzare il prodotto. La tua installazione attuale continuerà subito.</String>
+ <String Id="Error1503">L'utente '[2]' ha iniziato precedentemente un'installazione del prodotto '[3]'. Quell'utente dovrà eseguire nuovamente l'installazione prima che possa utilizzare il prodotto.</String>
+ <String Id="Error1601">Spazio su disco insufficiente -- Volume: '[2]'; spazio richiesto: [3] KB; spazio disponibile: [4] KB. Libera spazio sul disco e riprova.</String>
+ <String Id="Error1602">Sei sicuro di voler annullare?</String>
+ <String Id="Error1603">Il file [2][3] è in uso { dal processo seguente: Nome: [4], Id: [5], Titolo finestra: '[6]'}. Chiudi l'applicazione e riprova.</String>
+ <String Id="Error1604">Il prodotto '[2]' è già installato, e impedisce l'installazione di questo prodotto. I due prodotti sono incompatibili.</String>
+ <String Id="Error1605">Non c'è spazio su disco sufficiente sul volume '[2]' per continuare l'installazione con il ripristino abilitato. [3] KB sono richiesti, ma solo [4] KB sono disponibili. Fai clic su Ignora per continuare l'installazione senza salvare le informazioni di ripristino, fai clic su Riprova per controllare nuovamente lo spazio disponibile o fai clic su Annulla per uscire dall'installazione.</String>
+ <String Id="Error1606">Impossibile accedere al percorso di rete [2].</String>
+ <String Id="Error1607">Le seguenti applicazioni dovrebbero essere chiuse prima di continuare l'installazione:</String>
+ <String Id="Error1608">Impossibile trovare alcun prodotto compatibile precedentemente installato sulla macchina per l'installazione di questo prodotto.</String>
+ <String Id="Error1609">Si è verificato un errore durante l'applicazione delle impostazioni di sicurezza. [2] non è un utente o gruppo valido. Questo potrebbe essere un problema del pacchetto o un problema di connessione a un controller di dominio sulla rete. Controlla la tua connessione di rete e fai clic su Riprova o su Annulla per terminare l'installazione. {{Impossibile trovare il SID dell'utente, errore di sistema [3]}}</String>
+ <String Id="Error1701">La chiave [2] non è valida. Verifica di aver digitato la chiave corretta.</String>
+ <String Id="Error1702">L'installatore deve riavviare il tuo sistema prima che la Configurazione di [2] possa continuare. Fai clic su Sì per riavviare subito o No se preferisci riavviare manualmente più tardi.</String>
+ <String Id="Error1703">Devi riavviare il tuo sistema affinché le modifiche di Configurazione apportare da [2] abbiano effetto. Fai clic su Sì per riavviare subito o No se preferisci riavviare manualmente più tardi.</String>
+ <String Id="Error1704">Un'installazione di [2] è attualmente sospesa. Devi annullare le modifiche fatte da quell'installazione per continuare. Vuoi annullare tali modifiche?</String>
+ <String Id="Error1705">Una precedente installazione di questo prodotto è in corso. Devi annullare le modifiche fatte da quell'installazione per continuare. Vuoi annullare tali modifiche?</String>
+ <String Id="Error1706">Un pacchetto di installazione per il prodotto [2] non è disponibile. Prova nuovamente l'installazione utilizzando una copia valida del pacchetto di installazione '[3]'.</String>
+ <String Id="Error1707">Installazione completata correttamente.</String>
+ <String Id="Error1708">Installazione non riuscita.</String>
+ <String Id="Error1709">Prodotto: [2] -- [3]</String>
+ <String Id="Error1710">Puoi sia ripristinare il tuo computer al suo stato precedente, sia continuare l'installazione successivamente. Vuoi ripristinare?</String>
+ <String Id="Error1711">Si è verificato un errore durante la scrittura delle informazioni di installazione su disco. Controlla per assicurarti che sia disponibile lo spazio su disco necessario, e fai clic su Riprova, o Annulla per terminare l'installazione.</String>
+ <String Id="Error1712">Uno o più file richiesti per ripristinare il tuo computer al suo stato precedente non possono essere trovati. Il ripristino non sarà possibile.</String>
+ <String Id="Error1713">[2] non è in grado di installare uno dei prodotti richiesti. Contatta il tuo supporto tecnico. {{Stringa di sistema: [3].}}</String>
+ <String Id="Error1714">La vecchia versione di [2] non può essere rimossa. Contatta il tuo supporto tecnico. {{Stringa di sistema [3].}}</String>
+ <String Id="Error1715">Installato [2]</String>
+ <String Id="Error1716">Configurato [2]</String>
+ <String Id="Error1717">Rimosso [2]</String>
+ <String Id="Error1718">Il file [2] è stato rifiutata dal criterio di firma digitale.</String>
+ <String Id="Error1719">Il servizio Windows Installer non è accessibile. Ciò può accadere se Windows viene eseguito in modalità provvisoria o se Windows Installer non è installato correttamente. Contatta il tuo supporto tecnico per richiedere assistenza.</String>
+ <String Id="Error1720">C'è un problema con questa versione del pacchetto Windows Installer. Uno script richiesto per completare questa installazione non può essere eseguito. Contatta il tuo supporto tecnico o il fornitore del pacchetto. {{Azione personalizzata [2] errore script [3], [4]: [5] Riga [6], Colonna [7], [8] }}</String>
+ <String Id="Error1721">C'è un problema con questa versione del pacchetto Windows Installer. Un programma richiesto per completare questa installazione non può essere eseguito. Contatta il tuo supporto tecnico o il fornitore del pacchetto. {{Azione: [2], posizione: [3], comando: [4] }}</String>
+ <String Id="Error1722">C'è un problema con questa versione del pacchetto Windows Installer. L'esecuzione di un programma parte dell'installazione non è terminata come previsto. Contatta il tuo supporto tecnico o il fornitore del pacchetto. {{Azione [2], posizione: [3], comando: [4] }}</String>
+ <String Id="Error1723">C'è un problema con questa versione del pacchetto Windows Installer. Una DLL richiesta per completare questa installazione non può essere eseguita. Contatta il tuo supporto tecnico o il fornitore del pacchetto. {{Azione [2], voce: [3], libreria: [4] }}</String>
+ <String Id="Error1724">Rimozione completata correttamente.</String>
+ <String Id="Error1725">Rimozione non riuscita.</String>
+ <String Id="Error1726">Pubblicazione completata correttamente.</String>
+ <String Id="Error1727">Pubblicazione non riuscita.</String>
+ <String Id="Error1728">Configurazione completata correttamente.</String>
+ <String Id="Error1729">Configurazione non riuscita.</String>
+ <String Id="Error1730">Devi essere un amministratore per rimuovere questa applicazione. Per rimuovere questa applicazione, puoi accedere come amministratore o contattare il tuo supporto tecnico per ricevere assistenza.</String>
+ <String Id="Error1801">Il percorso [2] non è valido. Specifica un percorso valido.</String>
+ <String Id="Error1802">Memoria insufficiente. Chiudi le altre applicazioni prima di riprovare.</String>
+ <String Id="Error1803">Non c'è alcun disco nel lettore [2]. Inseriscine uno e fai clic su Riprova, o fai clic su Annulla per tornare al volume selezionato in precedenza.</String>
+ <String Id="Error1804">Non c'è alcun disco nel lettore [2]. Inseriscine uno e fai clic su Riprova, o fai clic su Annulla per tornare alla finestra di navigazione e selezionare un volume differente.</String>
+ <String Id="Error1805">La cartella [2] non esiste. Digita un percorso a una cartella esistente.</String>
+ <String Id="Error1806">Non hai i permessi di lettura su questa cartella.</String>
+ <String Id="Error1807">Non è possibile determinare una cartella di destinazione valida per l'installazione.</String>
+ <String Id="Error1901">Errore durante il tentativo di leggere dal database di installazione di origine: [2].</String>
+ <String Id="Error1902">Pianificazione dell'operazione di riavvio: rinomina del file [2] in [3]. Necessario il riavvio per completare l'operazione.</String>
+ <String Id="Error1903">Pianificazione dell'operazione di riavvio: eliminazione del file [2]. È necessario il riavvio per completare l'operazione.</String>
+ <String Id="Error1904">La registrazione del modulo [2] non è riuscita. HRESULT [3]. Contatta il tuo personale di supporto.</String>
+ <String Id="Error1905">La de-registrazione del modulo [2] non è riuscita. HRESULT [3]. Contatta il tuo personale di supporto.</String>
+ <String Id="Error1906">Memorizzazione in cache del pacchetto [2] non riuscita. Errore: [3]. Contatta il tuo personale di supporto.</String>
+ <String Id="Error1907">Impossibile registrare il carattere [2]. Verifica di avere permessi sufficienti per installare i caratteri, e che il sistema supporti questo carattere.</String>
+ <String Id="Error1908">Impossibile de-registrare il carattere [2]. Verifica di avere permessi sufficienti per rimuovere i caratteri.</String>
+ <String Id="Error1909">Impossibile creare la scorciatoia [2]. Verifica che la cartella di destinazione esista e che sia accessibile.</String>
+ <String Id="Error1910">Impossibile rimuovere la scorciatoia [2]. Verifica che il file della scorciatoia esista e che sia accessibile.</String>
+ <String Id="Error1911">Impossibile registrare la libreria dei tipi per il file [2]. Contatta il tuo personale di supporto.</String>
+ <String Id="Error1912">Impossibile de-registrare la libreria dei tipi per il file [2]. Contatta il tuo personale di supporto.</String>
+ <String Id="Error1913">Impossibile aggiornare il file ini [2][3]. Verifica che il file esista e che sia accessibile.</String>
+ <String Id="Error1914">Impossibile pianificare la sostituzione del file [3] con il file [2] all riavvio. Verifica di avere i permessi di scrittura sul file [3].</String>
+ <String Id="Error1915">Errore durante la rimozione del gestore dei driver ODBC, errore ODBC [2]: [3]. Contatta il tuo personale di supporto.</String>
+ <String Id="Error1916">Errore durante l'installazione del gestore dei driver ODBC, errore ODBC [2]: [3]. Contatta il tuo personale di supporto.</String>
+ <String Id="Error1917">Errore durante la rimozione del driver ODBC: [4], errore ODBC [2]: [3]. Verifica di aver privilegi sufficienti per rimuovere i driver ODBC.</String>
+ <String Id="Error1918">Errore durante l'installazione del driver ODBC: [4], errore ODBC [2]: [3]. Verifica che il file [4] esista e che sia accessibile.</String>
+ <String Id="Error1919">Errore durante la Configurazione dell'origine dati ODBC: [4], errore ODBC [2]: [3]. Verifica che il file [4] esista e che sia accessibile.</String>
+ <String Id="Error1920">Il servizio '[2]' ([3]) non può essere avviato. Verifica di aver privilegi sufficienti per avviare i servizi di sistema.</String>
+ <String Id="Error1921">Il servizio '[2]' ([3]) non può essere fermato. Verifica di aver privilegi sufficienti per fermare i servizi di sistema.</String>
+ <String Id="Error1922">Il servizio '[2]' ([3]) non può essere eliminato. Verifica di aver privilegi sufficienti per rimuovere i servizi di sistema.</String>
+ <String Id="Error1923">Il servizio '[2]' ([3]) non può essere installato. Verifica di aver privilegi sufficienti per installare i servizi di sistema.</String>
+ <String Id="Error1924">Impossibile aggiornare la variabile d'ambiente '[2]'. Verifica di avere privilegi sufficienti per modificare le variabili d'ambiente.</String>
+ <String Id="Error1925">Non hai privilegi sufficienti per completare questa installazione per tutti gli utenti sulla macchina. Accedi come amministratore e riprova questa installazione.</String>
+ <String Id="Error1926">Impossibile impostare la sicurezza del file '[3]'. Errore: [2]. Verifica di avere privilegi sufficienti per modificare i permessi di protezione per questo file.</String>
+ <String Id="Error1927">I Component Services (COM+ 1.0) non sono installati su questo computer. Questa installazione richiede i Component Services per essere completata correttamente. Component Services sono disponibili su Windows 2000.</String>
+ <String Id="Error1928">Errore durante la registrazione dell'applicazione COM+. Contatta il tuo personale di supporto per ulteriori informazioni.</String>
+ <String Id="Error1929">Errore durante la de-registrazione dell'applicazione COM+. Contatta il tuo personale di supporto per ulteriori informazioni.</String>
+ <String Id="Error1930">La descrizione del servizio '[2]' ([3]) non può essere cambiata.</String>
+ <String Id="Error1931">Il servizio Windows Installer non può aggiornare il file di sistema [2] poiché il file è protetto da Windows. Potresti dover aggiornare il tuo sistema operativo affinché questo programma funzioni correttamente. {{Versione pacchetto: [3], Versione protetta OS: [4]}}</String>
+ <String Id="Error1932">Il servizio Windows Installer non può aggiornare il file protetto di Windows [2]. {{Versione pacchetto: [3], Versione protetta OS: [4], Errore SFP: [5]}}</String>
+ <String Id="Error1933">Il servizio Windows Installer non può aggiornare uno o più file protetti di Windows. {{Stringa SFP: [2]. Elenco dei file protetti:\r\n[3]}}</String>
+ <String Id="Error1934">Le installazioni utente sono disabilitate tramite policy sulla macchina.</String>
+ <String Id="Error1935">Si è verificato un errore durante l'installazione del componente assembly [2]. HRESULT: [3]. {{interfaccia assembly: [4], funzione: [5], nome assembly: [6]}}</String>
+ <!-- Own / special errors -->
+ <String Id="Error25001">L'applicazione "[2]" deve essere chiusa affinché l'installazione possa continuare.</String>
+ <String Id="ProgressTextInstallValidate">Convalida dell'installazione</String>
+ <String Id="ProgressTextInstallFiles">Copia dei nuovi file</String>
+ <String Id="ProgressTextInstallFilesTemplate">File: [1], Cartella: [9], Dimensione: [6]</String>
+ <String Id="ProgressTextInstallAdminPackage">Copia dei file di installazione da rete</String>
+ <String Id="ProgressTextInstallAdminPackageTemplate">File: [1], Cartella: [9], Dimensione: [6]</String>
+ <String Id="ProgressTextFileCost">Calcolo dei requisiti di spazio</String>
+ <String Id="ProgressTextCostInitialize">Calcolo dei requisiti di spazio</String>
+ <String Id="ProgressTextCostFinalize">Calcolo dei requisiti di spazio</String>
+ <String Id="ProgressTextCreateShortcuts">Creazione delle scorciatoie</String>
+ <String Id="ProgressTextCreateShortcutsTemplate">Scorciatoia: [1]</String>
+ <String Id="ProgressTextPublishComponents">Pubblicazione componenti qualificate</String>
+ <String Id="ProgressTextPublishComponentsTemplate">ID componente: [1], Qualificatore: [2]</String>
+ <String Id="ProgressTextPublishFeatures">Pubblicazione funzionalità del prodotto</String>
+ <String Id="ProgressTextPublishFeaturesTemplate">Funzionalità: [1]</String>
+ <String Id="ProgressTextPublishProduct">Pubblicazione delle informazioni sul prodotto</String>
+ <String Id="ProgressTextRegisterClassInfo">Registrazione dei server delle classi</String>
+ <String Id="ProgressTextRegisterClassInfoTemplate">ID classe: [1]</String>
+ <String Id="ProgressTextRegisterExtensionInfo">Registrazione dei server delle estensioni</String>
+ <String Id="ProgressTextRegisterExtensionInfoTemplate">Estensione: [1]</String>
+ <String Id="ProgressTextRegisterMIMEInfo">Registrazione informazioni MIME</String>
+ <String Id="ProgressTextRegisterMIMEInfoTemplate">Tipo di contenuto MIME: [1], Estensione: [2]</String>
+ <String Id="ProgressTextRegisterProgIdInfo">Registrazione degli identificatori di programma</String>
+ <String Id="ProgressTextRegisterProgIdInfoTemplate">ProgId: [1]</String>
+ <String Id="ProgressTextAllocateRegistrySpace">Allocazione spazio di registro</String>
+ <String Id="ProgressTextAllocateRegistrySpaceTemplate">Spazio disponibile: [1]</String>
+ <String Id="ProgressTextAppSearch">Ricerca delle applicazioni installate</String>
+ <String Id="ProgressTextAppSearchTemplate">Proprietà: [1], Firma: [2]</String>
+ <String Id="ProgressTextBindImage">Associazione eseguibili</String>
+ <String Id="ProgressTextBindImageTemplate">File: [1]</String>
+ <String Id="ProgressTextCCPSearch">Ricerca dei prodotti qualificanti</String>
+ <String Id="ProgressTextCreateFolders">Creazione delle cartelle</String>
+ <String Id="ProgressTextCreateFoldersTemplate">Cartella: [1]</String>
+ <String Id="ProgressTextDeleteServices">Eliminazione dei servizi</String>
+ <String Id="ProgressTextDeleteServicesTemplate">Servizio: [1]</String>
+ <String Id="ProgressTextDuplicateFiles">Creazione dei file duplicati</String>
+ <String Id="ProgressTextDuplicateFilesTemplate">File: [1], Cartella: [9], Dimensione: [6]</String>
+ <String Id="ProgressTextFindRelatedProducts">Ricerca della applicazioni correlate</String>
+ <String Id="ProgressTextFindRelatedProductsTemplate">Trovata applicazione: [1]</String>
+ <String Id="ProgressTextInstallODBC">Installazione dei componenti ODBC</String>
+ <String Id="ProgressTextInstallServices">Installazione dei nuovi servizi</String>
+ <String Id="ProgressTextInstallServicesTemplate">Servizio: [2]</String>
+ <String Id="ProgressTextLaunchConditions">Valutazione delle condizioni di avvio</String>
+ <String Id="ProgressTextMigrateFeatureStates">Migrazione degli stati delle funzionalità dalle applicazioni correlate</String>
+ <String Id="ProgressTextMigrateFeatureStatesTemplate">Applicazione: [1]</String>
+ <String Id="ProgressTextMoveFiles">Spostamento dei file</String>
+ <String Id="ProgressTextMoveFilesTemplate">File: [1], Cartella: [9], Dimensione: [6]</String>
+ <String Id="ProgressTextPatchFiles">Applicazione patch ai file</String>
+ <String Id="ProgressTextPatchFilesTemplate">File: [1], Cartella: [2], Dimensione: [3]</String>
+ <String Id="ProgressTextProcessComponents">Aggiornamento registrazione dei componenti</String>
+ <String Id="ProgressTextRegisterComPlus">Registrazione applicazioni COM+ e componenti</String>
+ <String Id="ProgressTextRegisterComPlusTemplate">AppId: [1]{{, AppType: [2], Utenti: [3], RSN: [4]}}</String>
+ <String Id="ProgressTextRegisterFonts">Registrazione dei caratteri</String>
+ <String Id="ProgressTextRegisterFontsTemplate">Carattere: [1]</String>
+ <String Id="ProgressTextRegisterProduct">Registrazione del prodotto</String>
+ <String Id="ProgressTextRegisterProductTemplate">[1]</String>
+ <String Id="ProgressTextRegisterTypeLibraries">Registrazione delle librerie dei tipi</String>
+ <String Id="ProgressTextRegisterTypeLibrariesTemplate">LibID: [1]</String>
+ <String Id="ProgressTextRegisterUser">Registrazione utente</String>
+ <String Id="ProgressTextRegisterUserTemplate">[1]</String>
+ <String Id="ProgressTextRemoveDuplicateFiles">Rimozione dei file duplicati</String>
+ <String Id="ProgressTextRemoveDuplicateFilesTemplate">File: [1], Cartella: [9]</String>
+ <String Id="ProgressTextRemoveEnvironmentStrings">Aggiornamento stringhe d'ambiente</String>
+ <String Id="ProgressTextRemoveEnvironmentStringsTemplate">Nome: [1], Valore: [2], Azione [3]</String>
+ <String Id="ProgressTextRemoveExistingProducts">Rimozione delle applicazioni</String>
+ <String Id="ProgressTextRemoveExistingProductsTemplate">Applicazione: [1], Riga di comando: [2]</String>
+ <String Id="ProgressTextRemoveFiles">Rimozione dei file</String>
+ <String Id="ProgressTextRemoveFilesTemplate">File: [1], Cartella: [9]</String>
+ <String Id="ProgressTextRemoveFolders">Rimozione delle cartelle</String>
+ <String Id="ProgressTextRemoveFoldersTemplate">Cartella: [1]</String>
+ <String Id="ProgressTextRemoveIniValues">Rimozione voci dei file INI</String>
+ <String Id="ProgressTextRemoveIniValuesTemplate">File: [1], Sezione: [2], Chiave: [3], Valore: [4]</String>
+ <String Id="ProgressTextRemoveODBC">Rimozione componenti ODBC</String>
+ <String Id="ProgressTextRemoveRegistryValues">Rimozione dei valori del registro di sistema</String>
+ <String Id="ProgressTextRemoveRegistryValuesTemplate">Chiave: [1], Nome: [2]</String>
+ <String Id="ProgressTextRemoveShortcuts">Rimozione delle scorciatoie</String>
+ <String Id="ProgressTextRemoveShortcutsTemplate">Scorciatoia: [1]</String>
+ <String Id="ProgressTextRMCCPSearch">Ricerca dei prodotti qualificanti</String>
+ <String Id="ProgressTextSelfRegModules">Registrazione dei moduli</String>
+ <String Id="ProgressTextSelfRegModulesTemplate">File: [1], Cartella: [2]</String>
+ <String Id="ProgressTextSelfUnregModules">De-registrazione dei moduli</String>
+ <String Id="ProgressTextSelfUnregModulesTemplate">File: [1], Cartella: [2]</String>
+ <String Id="ProgressTextSetODBCFolders">Inizializzazione delle cartelle ODBC</String>
+ <String Id="ProgressTextStartServices">Avvio dei servizi</String>
+ <String Id="ProgressTextStartServicesTemplate">Servizio: [1]</String>
+ <String Id="ProgressTextStopServices">Interruzione dei servizi</String>
+ <String Id="ProgressTextStopServicesTemplate">Servizio: [1]</String>
+ <String Id="ProgressTextUnpublishComponents">Rimozione pubblicazione dei componenti qualificati</String>
+ <String Id="ProgressTextUnpublishComponentsTemplate">ID componente: [1], Qualificatore: [2]</String>
+ <String Id="ProgressTextUnpublishFeatures">Rimozione della pubblicazione delle funzionalità di prodotto</String>
+ <String Id="ProgressTextUnpublishFeaturesTemplate">Funzionalità: [1]</String>
+ <String Id="ProgressTextUnregisterClassInfo">De-registrazione server delle classi</String>
+ <String Id="ProgressTextUnregisterClassInfoTemplate">ID classe: [1]</String>
+ <String Id="ProgressTextUnregisterComPlus">De-registrazione applicazioni COM+ e componenti</String>
+ <String Id="ProgressTextUnregisterComPlusTemplate">AppId: [1]{{, AppType: [2]}}</String>
+ <String Id="ProgressTextUnregisterExtensionInfo">De-registrazione server delle estensioni</String>
+ <String Id="ProgressTextUnregisterExtensionInfoTemplate">Estensione: [1]</String>
+ <String Id="ProgressTextUnregisterFonts">De-registrazione dei caratteri</String>
+ <String Id="ProgressTextUnregisterFontsTemplate">Carattere: [1]</String>
+ <String Id="ProgressTextUnregisterMIMEInfo">De-registrazione informazioni MIME</String>
+ <String Id="ProgressTextUnregisterMIMEInfoTemplate">Tipi di contenuto MIME: [1], Estensione: [2]</String>
+ <String Id="ProgressTextUnregisterProgIdInfo">De-registrazione degli identificatori di programma</String>
+ <String Id="ProgressTextUnregisterProgIdInfoTemplate">ProgId: [1]</String>
+ <String Id="ProgressTextUnregisterTypeLibraries">De-registrazione delle librerie dei tipi</String>
+ <String Id="ProgressTextUnregisterTypeLibrariesTemplate">LibID: [1]</String>
+ <String Id="ProgressTextWriteEnvironmentStrings">Aggiornamento stringhe d'ambiente</String>
+ <String Id="ProgressTextWriteEnvironmentStringsTemplate">Nome: [1], Valore: [2], Azione [3]</String>
+ <String Id="ProgressTextWriteIniValues">Scrittura valori dei file INI</String>
+ <String Id="ProgressTextWriteIniValuesTemplate">File: [1], Sezione: [2], Chiave: [3], Valore: [4]</String>
+ <String Id="ProgressTextWriteRegistryValues">Scrittura valori registro di sistema</String>
+ <String Id="ProgressTextWriteRegistryValuesTemplate">Chiave: [1], Nome: [2], Valore: [3]</String>
+ <String Id="ProgressTextAdvertise">Pubblicazione dell'applicazione</String>
+ <String Id="ProgressTextGenerateScript">Generazione di operazioni di script per l'azione:</String>
+ <String Id="ProgressTextGenerateScriptTemplate">[1]</String>
+ <String Id="ProgressTextInstallSFPCatalogFile">Installazione del catalogo di sistema</String>
+ <String Id="ProgressTextInstallSFPCatalogFileTemplate">File: [1], Dipendenze: [2]</String>
+ <String Id="ProgressTextMsiPublishAssemblies">Pubblicazione informazioni assembly</String>
+ <String Id="ProgressTextMsiPublishAssembliesTemplate">Contesto dell'applicazione:[1], Nome assembly:[2]</String>
+ <String Id="ProgressTextMsiUnpublishAssemblies">Rimozione pubblicazione informazioni assembly</String>
+ <String Id="ProgressTextMsiUnpublishAssembliesTemplate">Contesto dell'applicazione:[1], Nome assembly:[2]</String>
+ <String Id="ProgressTextRollback">Azione di rollback:</String>
+ <String Id="ProgressTextRollbackTemplate">[1]</String>
+ <String Id="ProgressTextRollbackCleanup">Rimozione dei file di backup</String>
+ <String Id="ProgressTextRollbackCleanupTemplate">File: [1]</String>
+ <String Id="ProgressTextUnmoveFiles">Rimozione dei file spostati</String>
+ <String Id="ProgressTextUnmoveFilesTemplate">File: [1], Cartella: [9]</String>
+ <String Id="ProgressTextUnpublishProduct">Rimozione della pubblicazione delle informazioni sul prodotto</String>
+ <String Id="UITextbytes">byte</String>
+ <String Id="UITextGB">GB</String>
+ <String Id="UITextKB">KB</String>
+ <String Id="UITextMB">MB</String>
+ <String Id="UITextMenuAbsent">La funzionalità completa non sarà disponibile</String>
+ <String Id="UITextMenuAdvertise">La funzionalità sarà installata quando richiesto</String>
+ <String Id="UITextMenuAllCD">La funzionalità completa sarà installata per essere eseguita da CD</String>
+ <String Id="UITextMenuAllLocal">La funzionalità completa sarà installata sul disco fisso locale</String>
+ <String Id="UITextMenuAllNetwork">La funzionalità completa sarà installata per essere eseguita dalla rete</String>
+ <String Id="UITextMenuCD">Sarà installata per essere eseguita da CD</String>
+ <String Id="UITextMenuLocal">Sarà installata sul disco fisso locale</String>
+ <String Id="UITextMenuNetwork">Sarà installata per essere eseguita dalla rete</String>
+ <String Id="UITextScriptInProgress">Raccolta delle informazioni necessarie in corso...</String>
+ <String Id="UITextSelAbsentAbsent">Questa funzionalità rimarrà disinstallata</String>
+ <String Id="UITextSelAbsentAdvertise">Questa funzionalità sarà impostata per essere installata quando necessario</String>
+ <String Id="UITextSelAbsentCD">Questa funzionalità sarà installata per essere eseguita da CD</String>
+ <String Id="UITextSelAbsentLocal">Questa funzionalità sarà installata sul disco fisso locale</String>
+ <String Id="UITextSelAbsentNetwork">Questa funzionalità sarà installata per essere eseguita dalla rete</String>
+ <String Id="UITextSelAdvertiseAbsent">Questa funzionalità diventerà indisponibile</String>
+ <String Id="UITextSelAdvertiseAdvertise">Sarà installata quando richiesto</String>
+ <String Id="UITextSelAdvertiseCD">Questa funzionalità sarà disponibile per essere eseguita da CD</String>
+ <String Id="UITextSelAdvertiseLocal">Questa funzionalità sarà installata sul disco fisso locale</String>
+ <String Id="UITextSelAdvertiseNetwork">Questa funzionalità sarà disponibile per essere eseguita dalla rete</String>
+ <String Id="UITextSelCDAbsent">Questa funzionalità sarà disinstallata completamente, non potrai eseguirla da CD</String>
+ <String Id="UITextSelCDAdvertise">Questa funzionalità cambierà dallo stato di esecuzione da CD a impostazione per essere installata quando necessario</String>
+ <String Id="UITextSelCDCD">Questa funzionalità continuerà ad essere eseguibile da CD</String>
+ <String Id="UITextSelCDLocal">Questa funzionalità cambierà dallo stato di esecuzione da CD a impostazione per essere installata sul disco fisso locale</String>
+ <String Id="UITextSelChildCostNeg">Questa funzionalità libera [1] sul tuo disco fisso.</String>
+ <String Id="UITextSelChildCostPos">Questa funzionalità richiede [1] del tuo disco fisso.</String>
+ <String Id="UITextSelCostPending">Costo di compilazione per questa funzionalità...</String>
+ <String Id="UITextSelLocalAbsent">Questa funzionalità sarà rimossa completamente</String>
+ <String Id="UITextSelLocalAdvertise">Questa funzionalità sarà rimossa dal tuo disco fisso locale, ma sarà impostata per essere installata quando necessario</String>
+ <String Id="UITextSelLocalCD">Questa funzionalità sarà rimossa dal tuo disco fisso locale, ma sarà ancora disponibile per l'esecuzione da CD</String>
+ <String Id="UITextSelLocalLocal">Questa funzionalità rimarrà sul tuo disco fisso locale</String>
+ <String Id="UITextSelLocalNetwork">Questa funzionalità sarà rimossa dal tuo disco fisso locale, ma sarà ancora disponibile per essere eseguita dalla rete</String>
+ <String Id="UITextSelNetworkAbsent">Questa funzionalità sarà disinstallata completamente, non potrai eseguirla dalla rete</String>
+ <String Id="UITextSelNetworkAdvertise">Questa funzionalità cambierà dallo stato di esecuzione da rete a impostazione per essere installata quando necessario</String>
+ <String Id="UITextSelNetworkLocal">Questa funzionalità cambierà dallo stato di esecuzione da rete a essere installata sul disco fisso locale</String>
+ <String Id="UITextSelNetworkNetwork">Questa funzionalità continuerà ad essere eseguibile dalla rete</String>
+ <String Id="UITextSelParentCostNegNeg">Questa funzionalità libera [1] sul tuo disco fisso. Ha [2] di [3] sotto-funzionalità selezionate. Le sotto-funzionalità liberano [4] sul tuo disco fisso..</String>
+ <String Id="UITextSelParentCostNegPos">Questa funzionalità libera [1] sul tuo disco fisso. Ha [2] di [3] sotto-funzionalità selezionate. Le sotto-funzionalità richiedono [4] sul tuo disco fisso.</String>
+ <String Id="UITextSelParentCostPosNeg">Questa funzionalità richiede [1] sul tuo disco fisso. Ha [2] di [3] sotto-funzionalità selezionate. Le sotto-funzionalità liberano [4] sul tuo disco fisso.</String>
+ <String Id="UITextSelParentCostPosPos">Questa funzionalità richiede [1] sul tuo disco fisso. Ha [2] di [3] sotto-funzionalità selezionate. Le sotto-funzionalità richiedono [4] sul tuo disco fisso.</String>
+ <String Id="UITextTimeRemaining">Tempo rimanente: {[1] minuti }{[2] secondi}</String>
+ <String Id="UITextVolumeCostAvailable">Disponibile</String>
+ <String Id="UITextVolumeCostDifference">Differenza</String>
+ <String Id="UITextVolumeCostRequired">Richiesto</String>
+ <String Id="UITextVolumeCostSize">Dimensione disco</String>
+ <String Id="UITextVolumeCostVolume">Volume</String>
+</WixLocalization>
diff --git a/src/VBox/Installer/win/NLS/ru_RU.wxl b/src/VBox/Installer/win/NLS/ru_RU.wxl
new file mode 100644
index 00000000..b3be4e45
--- /dev/null
+++ b/src/VBox/Installer/win/NLS/ru_RU.wxl
@@ -0,0 +1,620 @@
+<?xml version="1.0" encoding="utf-8"?>
+
+<!--
+ Language Definition Include for VirtualBox WiX script.
+-->
+<!--
+ Copyright (C) 2011-2023 Oracle and/or its affiliates.
+
+ This file is part of VirtualBox base platform packages, as
+ available from https://www.virtualbox.org.
+
+ This program is free software; you can redistribute it and/or
+ modify it under the terms of the GNU General Public License
+ as published by the Free Software Foundation, in version 3 of the
+ License.
+
+ This program is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, see <https://www.gnu.org/licenses>.
+
+ SPDX-License-Identifier: GPL-3.0-only
+-->
+
+<WixLocalization xmlns="http://schemas.microsoft.com/wix/2006/localization" Codepage="1252" Culture="en_US">
+ <String Id="LANG">1033</String>
+ <String Id="LangName">English</String>
+
+ <String Id="ButtonText_No">&amp;No</String>
+ <String Id="ButtonText_Yes">&amp;Yes</String>
+ <String Id="ButtonText_Cancel">&amp;Cancel</String>
+ <String Id="ButtonText_Next">&amp;Next &gt;</String>
+ <String Id="ButtonText_Back">&lt; &amp;Back</String>
+ <String Id="ButtonText_Browse">Br&amp;owse</String>
+ <String Id="ButtonText_OK">O&amp;K</String>
+ <String Id="ButtonText_Check">&amp;Check</String>
+ <String Id="ButtonText_Install">&amp;Install</String>
+ <String Id="ButtonText_Remove">&amp;Remove</String>
+ <String Id="ButtonText_Finish">&amp;Finish</String>
+ <String Id="ButtonText_Repair">&amp;Repair</String>
+ <String Id="ButtonText_Return">&amp;Return</String>
+ <String Id="ButtonText_Retry">Re&amp;try</String>
+ <String Id="ButtonText_Ignore">I&amp;gnore</String>
+ <String Id="ButtonText_Exit">E&amp;xit</String>
+
+ <String Id="InstallModeCustom">Custom</String>
+ <String Id="Setup">Setup</String>
+
+ <!---->
+
+ <String Id="StartMenu_License">License</String>
+ <String Id="StartMenu_UserManual">User manual</String>
+
+ <!---->
+
+ <String Id="VB_App">[ProductName] application.</String>
+ <String Id="VB_USBDriver">[ProductName] USB device drivers for USB device support.</String>
+ <String Id="VB_Network">[ProductName] network device drivers for networking support.</String>
+ <String Id="VB_NetFltDriver">[ProductName] driver for Bridged Networking.</String>
+ <String Id="VB_NetAdpDriver">[ProductName] virtual network adapter driver for Host-Only Networking.</String>
+ <String Id="VB_NetLwfDriver">[ProductName] driver for NDIS6 Bridged Networking.</String>
+ <String Id="VB_NetAdp6Driver">[ProductName] virtual network adapter driver for NDIS6 Host-Only Networking.</String>
+
+ <String Id="VB_Python">Python support for VirtualBox.</String>
+
+ <!---->
+
+ <String Id="NeedAdmin">You need to have administrator rights to (un)install [ProductName]! This setup will abort now.</String>
+ <String Id="NeedMSCRT">[ProductName] needs the Microsoft Visual C++ 2019 Redistributable Package being installed first. Please install and restart the installation of [ProductName].</String>
+ <String Id="WrongOS">This application only runs on Windows XP or above.</String>
+ <String Id="Only32Bit">This application only runs on 32-bit Windows systems. Please install the 64-bit version of [ProductName]!</String>
+ <String Id="Only64Bit">This application only runs on 64-bit Windows systems. Please install the 32-bit version of [ProductName]!</String>
+ <String Id="SunFound">An old Sun VirtualBox installation has been found on this machine. Please uninstall this package first and then install [ProductName]!</String>
+ <String Id="InnotekFound">An old innotek VirtualBox installation has been found on this machine. Please uninstall this package first and then install [ProductName]!</String>
+
+ <!---->
+
+ <String Id="CancelDlg_Question">Are you sure you want to cancel [ProductName] installation?</String>
+
+ <!---->
+
+ <String Id="WelcomeDlg_Header">Welcome to the [ProductName] Setup Wizard</String>
+ <String Id="WelcomeDlg_Body">The Setup Wizard will install [ProductName] on your computer. Click Next to continue or Cancel to exit the Setup Wizard.</String>
+
+ <!---->
+
+ <String Id="LicenseAgreementDlg_Header">End-User License Agreement</String>
+ <String Id="LicenseAgreementDlg_Body">Please read the following license agreement carefully.</String>
+ <String Id="LicenseAgreementDlg_Accept">I &amp;accept the terms in the License Agreement</String>
+ <String Id="LicenseAgreementDlg_Decline">I &amp;do not accept the terms in the License Agreement</String>
+
+ <!---->
+
+ <String Id="CheckSerialDlg_Header">Serial Number</String>
+ <String Id="CheckSerialDlg_Body">Please enter your serial number in the fields below. You'll find it on the sticker inside the VirtualBox CD case.</String>
+ <String Id="CheckSerialDlg_Footer">When done entering the serial number, press the "Check" button below.</String>
+
+ <!---->
+
+ <String Id="WrongSerialDlg_Header">Entered serial number was invalid!</String>
+ <String Id="WrongSerialDlg_Desc1">Please go back to enter your serial number again.</String>
+ <String Id="WrongSerialDlg_Desc2">Keep in mind that the serial number must be spelled exactly like printed on the sticker.</String>
+
+ <!---->
+
+ <String Id="WarnSaveStatesDlg_Header">Warning:</String>
+ <String Id="WarnSaveStatesDlg_Header2">Incompatible Saved States!</String>
+ <String Id="WarnSaveStatesDlg_Desc">When upgrading [ProductName], all saved states from your already existing machines won't work anymore! After the installation, you have to discard them manually.</String>
+ <String Id="WarnSaveStatesDlg_Proceed">Proceed with installation now?</String>
+
+ <!---->
+
+ <String Id="WarnTAPDevicesDlg_Header">Host Interfaces</String>
+ <String Id="WarnTAPDevicesDlg_Desc">If you used some host interfaces for your machines in the previous version, you have to recreate them manually after this installation.</String>
+
+ <!---->
+
+ <String Id="NetCfgLocked">The following application should be closed before continuing the install: "[2]"</String>
+
+ <!---->
+
+ <String Id="CustomizeDlg_Location">Location:</String>
+ <String Id="CustomizeDlg_DiskUsage">Disk &amp;Usage</String>
+ <String Id="CustomizeDlg_SelFeatures">Select the way you want features to be installed.</String>
+ <String Id="CustomizeDlg_IconTree">Click on the icons in the tree below to change the way features will be installed.</String>
+ <String Id="CustomizeDlg_CustomSetup">Custom Setup</String>
+ <String Id="CustomizeDlg_SelItemDesc">CustomizeDlgItemDescription-CustomizeDlgItemDescription</String>
+ <String Id="CustomizeDlg_SelItemSize">CustomizeDlgItemSize-CustomizeDlgItemSize</String>
+ <String Id="CustomizeDlg_SelItemPath">CustomizeDlgLocation-CustomizeDlgLocation</String>
+
+ <!---->
+
+ <String Id="Customize2Dlg_Header">Customize</String>
+ <String Id="Customize2Dlg_Desc">Please choose from the options below:</String>
+ <String Id="Customize2Dlg_CreateStartMenuEntries">Create start menu entries</String>
+ <String Id="Customize2Dlg_CreateDesktopShortcut">Create a shortcut on the desktop</String>
+ <String Id="Customize2Dlg_CreateQuickLaunch">Create a shortcut in the Quick Launch Bar</String>
+ <String Id="Customize2Dlg_RegisterFileExtensions">Register file associations</String>
+
+ <!---->
+
+ <String Id="SelectionNetworkTypeDlg_CommonDescription">Please choose which type of network drivers you will use:</String>
+ <String Id="SelectionNetworkTypeDlg_DescriptionNDIS5">NDIS5 network drivers.
+This is default for older versions of Windows (pre-Vista).</String>
+ <String Id="SelectionNetworkTypeDlg_DescriptionNDIS6">NDIS6 network drivers.
+This is default for newer versions of Windows (Vista and newer).</String>
+ <String Id="SelectionNetworkTypeDlg_RadioButtonNDIS5">Use NDIS5 network drivers.</String>
+ <String Id="SelectionNetworkTypeDlg_RadioButtonNDIS6">Use NDIS6 network drivers.</String>
+
+ <!---->
+
+ <String Id="WarnDisconNetIfacesDlg_Title">Warning:</String>
+ <String Id="WarnDisconNetIfacesDlg_Title2">Network Interfaces</String>
+ <String Id="WarnDisconNetIfacesDlg_Desc">Installing the [ProductName] Networking feature will reset your network connection and temporarily disconnect you from the network.</String>
+ <String Id="WarnDisconNetIfacesDlg_Question">Proceed with installation now?</String>
+
+ <!---->
+
+ <String Id="WarnPythonDlg_Title">Missing Dependencies</String>
+ <String Id="WarnPythonDlg_Title2">Python Core / win32api</String>
+ <String Id="WarnPythonDlg_Desc">Installing the [ProductName] Python bindings requires the Python Core package and the win32api bindings to be installed first.</String>
+ <String Id="WarnPythonDlg_Desc2">When continuing the installation of the [ProductName] Python bindings now, those need to be set up manually later. Refer to the [ProductName] SDK manual for more information.</String>
+ <String Id="WarnPythonDlg_Question">Proceed with installation now?</String>
+
+ <!---->
+
+ <String Id="DiskCostDlg_SpaceRequired">The disk space required for the installation of the selected features.</String>
+ <String Id="DiskCostDlg_NotEnoughSpace">The highlighted volumes (if any) do not have enough disk space available for the currently selected features. You can either remove some files from the highlighted volumes, or choose to install less features onto local drive(s), or select different destination drive(s).</String>
+ <String Id="DiskCostDlg_SpaceRequirements">Disk Space Requirements</String>
+ <String Id="DiskCostDlg_VolumeList">{120}{70}{70}{70}{70}</String>
+
+ <!---->
+
+ <String Id="BrowseDlg_BrowseDestFolder">Browse to the destination folder</String>
+ <String Id="BrowseDlg_ChangeCurFolder">Change current destination folder</String>
+ <String Id="BrowseDlg_UpOneLevelTooltip">Up one level</String>
+ <String Id="BrowseDlg_CreateNewFolderTooltip">Create a new folder</String>
+ <String Id="BrowseDlg_LookIn">&amp;Look in:</String>
+ <String Id="BrowseDlg_FolderName">&amp;Folder name:</String>
+
+ <!---->
+
+ <String Id="VerifyReadyDlg_ReadyToBegin">The Setup Wizard is ready to begin the [InstallMode] installation.</String>
+ <String Id="VerifyReadyDlg_ClickInstall">Click Install to begin the installation. If you want to review or change any of your installation settings, click Back. Click Cancel to exit the wizard.</String>
+ <String Id="VerifyReadyDlg_ReadyToInstall">Ready to Install</String>
+
+ <!---->
+
+ <String Id="ExitDlg_ClickFinish">Click the Finish button to exit the Setup Wizard.</String>
+ <String Id="ExitDlg_InstComplete">[ProductName] installation is complete.</String>
+ <String Id="ExitDlg_StartVBox">Start [ProductName] after installation</String>
+
+ <!---->
+
+ <String Id="FatalErrorDlg_Header">[ProductName] Setup Wizard ended prematurely</String>
+ <String Id="FatalErrorDlg_Desc">[ProductName] setup ended prematurely because of an error. Your system has not been modified. To install this program at a later time, please run the installation again.</String>
+ <String Id="FatalErrorDlg_Footer">Click the Finish button to exit the Setup Wizard.</String>
+
+ <!---->
+
+ <String Id="FilesInUse_Text">The following applications are using files that need to be updated by this setup. Close these applications and then click &amp;Retry to continue the installation or Exit to exit it.</String>
+ <String Id="FilesInUse_Description">Some files that need to be updated are currently in use.</String>
+ <String Id="FilesInUse_Title">Files in Use</String>
+
+ <!---->
+
+ <String Id="UserExitDlg_Header">[ProductName] Setup Wizard was interrupted</String>
+ <String Id="UserExitDlg_Desc">[ProductName] setup was interrupted. Your system has not been modified. To install this program at a later time, please run the installation again.</String>
+ <String Id="UserExitDlg_Footer">Click the Finish button to exit the Setup Wizard.</String>
+
+ <!---->
+
+ <String Id="ProgressDlg_PleaseWait">Please wait while the Setup Wizard installs [ProductName]. This may take several minutes.</String>
+
+ <!---->
+
+ <String Id="ResumeDlg_Header">Resuming the [ProductName] Setup Wizard</String>
+ <String Id="ResumeDlg_Desc">The Setup Wizard will complete the installation of [ProductName] on your computer. Click Install to continue or Cancel to exit the Setup Wizard.</String>
+
+ <!---->
+
+ <String Id="MaintenanceTypeDlg_Header">Modify, Repair or Remove installation</String>
+ <String Id="MaintenanceTypeDlg_SelOption">Select the operation you wish to perform.</String>
+ <String Id="MaintenanceTypeDlg_Repair">Re&amp;pair</String>
+ <String Id="MaintenanceTypeDlg_RepairText">Repairs errors in the most recent installation state - fixes missing or corrupt files, shortcuts and registry entries.</String>
+ <String Id="MaintenanceTypeDlg_RepairTooltip">Repair installation</String>
+ <String Id="MaintenanceTypeDlg_RepairProgress1">Repairing</String>
+ <String Id="MaintenanceTypeDlg_RepairProgress2">repairs</String>
+ <String Id="MaintenanceTypeDlg_Remove">&amp;Remove</String>
+ <String Id="MaintenanceTypeDlg_RemoveText">Removes [ProductName] from your computer.</String>
+ <String Id="MaintenanceTypeDlg_RemoveTooltip">Remove installation</String>
+ <String Id="MaintenanceTypeDlg_RemoveProgress1">Removing</String>
+ <String Id="MaintenanceTypeDlg_RemoveProgress2">removes</String>
+
+ <!---->
+
+ <String Id="MaintenanceWelcomeDlg_Header">Welcome to the [ProductName] Setup Wizard</String>
+ <String Id="MaintenanceWelcomeDlg_Desc">The Setup Wizard will allow you to repair your current installation or remove [ProductName] from your computer. Click Next to continue or Cancel to exit the Setup Wizard.</String>
+
+ <!---->
+
+ <String Id="OutOfDiskDlg_InstallationExceeds">Disk space required for the installation exceeds available disk space.</String>
+ <String Id="OutOfDiskDlg_NotEnoughDiskSpace">The highlighted volumes do not have enough disk space available for the currently selected features. You can either remove some files from the highlighted volumes, or choose to install less features onto local drive(s), or select different destination drive(s).</String>
+ <String Id="OutOfDiskDlg_OutOfDiskSpace">Out of Disk Space</String>
+
+ <!---->
+
+ <String Id="OutOfRbDiskDlg_InstallationExceeds">Disk space required for the installation exceeds available disk space.</String>
+ <String Id="OutOfRbDiskDlg_NotEnoughDiskSpace">The highlighted volumes do not have enough disk space available for the currently selected features. You can either remove some files from the highlighted volumes, or choose to install less features onto local drive(s), or select different destination drive(s).</String>
+ <String Id="OutOfRbDiskDlg_OutOfDiskSpace">Out of Disk Space</String>
+ <String Id="OutOfRbDiskDlg_Desc">Alternatively, you may choose to disable the installer's rollback functionality. This allows the installer to restore your computer's original state should the installation be interrupted in any way. Click Yes if you wish to take the risk to disable rollback.</String>
+
+ <!---->
+
+ <String Id="VerifyRemoveDlg_Header">Remove [ProductName]</String>
+ <String Id="VerifyRemoveDlg_Desc">You have chosen to remove the program from your computer.</String>
+ <String Id="VerifyRemoveDlg_ClickRemove">Click Remove to remove [ProductName] from your computer. If you want to review or change any of your installation settings, click Back. Click Cancel to exit the wizard.</String>
+
+ <!---->
+
+ <String Id="VerifyRepairDlg_Header">Repair [ProductName]</String>
+ <String Id="VerifyRepairDlg_ReadyToBegin">The Setup Wizard is ready to begin the repair of [ProductName].</String>
+ <String Id="VerifyRepairDlg_ClickRepair">Click Repair to repair the installation of [ProductName]. If you want to review or change any of your installation settings, click Back. Click Cancel to exit the wizard.</String>
+
+ <!---->
+
+ <String Id="WaitForCostingDlg_PleaseWait">Please wait while the installer finishes determining your disk space requirements.</String>
+
+ <!---->
+
+ <String Id="MsiRMFilesInUse_Text">The following applications are using files that need to be updated by this setup. You can let Setup Wizard close them and attempt to restart them or reboot the machine later.</String>
+ <String Id="MsiRMFilesInUse_Description">Some files that need to be updated are currently in use.</String>
+ <String Id="MsiRMFilesInUse_Title">Files in Use</String>
+ <String Id="MsiRMFilesInUse_UseRM">&amp;Close the applications and attempt to restart them.</String>
+ <String Id="MsiRMFilesInUse_DontUseRM">&amp;Do not close applications. A reboot will be required.</String>
+
+ <!-- The following strings are internally used by WiX and MSI -->
+ <String Id="Error0">{{Fatal error: }}</String>
+ <String Id="Error1">{{Error [1]. }}</String>
+ <String Id="Error2">Warning [1]. </String>
+ <String Id="Error3" />
+ <String Id="Error4">Info [1]. </String>
+ <String Id="Error5">The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is [1]. {{The arguments are: [2], [3], [4]}}</String>
+ <String Id="Error6" />
+ <String Id="Error7">{{Disk full: }}</String>
+ <String Id="Error8">Action [Time]: [1]. [2]</String>
+ <String Id="Error9">[ProductName]</String>
+ <String Id="Error10">{[2]}{, [3]}{, [4]}</String>
+ <String Id="Error11">Message type: [1], Argument: [2]</String>
+ <String Id="Error12">=== Logging started: [Date] [Time] ===</String>
+ <String Id="Error13">=== Logging stopped: [Date] [Time] ===</String>
+ <String Id="Error14">Action start [Time]: [1].</String>
+ <String Id="Error15">Action ended [Time]: [1]. Return value [2].</String>
+ <String Id="Error16">Time remaining: {[1] minutes }{[2] seconds}</String>
+ <String Id="Error17">Out of memory. Shut down other applications before retrying.</String>
+ <String Id="Error18">Installer is no longer responding.</String>
+ <String Id="Error19">Installer stopped prematurely.</String>
+ <String Id="Error20">Please wait while Windows configures [ProductName]</String>
+ <String Id="Error21">Gathering required information...</String>
+ <String Id="Error22">Removing older versions of this application...</String>
+ <String Id="Error23">Preparing to remove older versions of this application...</String>
+ <String Id="Error32">{[ProductName] }Setup completed successfully.</String>
+ <String Id="Error33">{[ProductName] }Setup failed.</String>
+ <String Id="Error1101">Error reading from file: [2]. {{ System error [3].}} Verify that the file exists and that you can access it.</String>
+ <String Id="Error1301">Cannot create the file '[2]'. A directory with this name already exists. Cancel the install and try installing to a different location.</String>
+ <String Id="Error1302">Please insert the disk: [2]</String>
+ <String Id="Error1303">The installer has insufficient privileges to access this directory: [2]. The installation cannot continue. Log on as administrator or contact your system administrator.</String>
+ <String Id="Error1304">Error writing to file: [2]. Verify that you have access to that directory.</String>
+ <String Id="Error1305">Error reading from file [2]. {{ System error [3].}} Verify that the file exists and that you can access it.</String>
+ <String Id="Error1306">Another application has exclusive access to the file '[2]'. Please shut down all other applications, then click Retry.</String>
+ <String Id="Error1307">There is not enough disk space to install this file: [2]. Free some disk space and click Retry, or click Cancel to exit.</String>
+ <String Id="Error1308">Source file not found: [2]. Verify that the file exists and that you can access it.</String>
+ <String Id="Error1309">Error reading from file: [3]. {{ System error [2].}} Verify that the file exists and that you can access it.</String>
+ <String Id="Error1310">Error writing to file: [3]. {{ System error [2].}} Verify that you have access to that directory.</String>
+ <String Id="Error1311">Source file not found{{(cabinet)}}: [2]. Verify that the file exists and that you can access it.</String>
+ <String Id="Error1312">Cannot create the directory '[2]'. A file with this name already exists. Please rename or remove the file and click retry, or click Cancel to exit.</String>
+ <String Id="Error1313">The volume [2] is currently unavailable. Please select another.</String>
+ <String Id="Error1314">The specified path '[2]' is unavailable.</String>
+ <String Id="Error1315">Unable to write to the specified folder: [2].</String>
+ <String Id="Error1316">A network error occurred while attempting to read from the file: [2]</String>
+ <String Id="Error1317">An error occurred while attempting to create the directory: [2]</String>
+ <String Id="Error1318">A network error occurred while attempting to create the directory: [2]</String>
+ <String Id="Error1319">A network error occurred while attempting to open the source file cabinet: [2]</String>
+ <String Id="Error1320">The specified path is too long: [2]</String>
+ <String Id="Error1321">The Installer has insufficient privileges to modify this file: [2].</String>
+ <String Id="Error1322">A portion of the folder path '[2]' is invalid. It is either empty or exceeds the length allowed by the system.</String>
+ <String Id="Error1323">The folder path '[2]' contains words that are not valid in folder paths.</String>
+ <String Id="Error1324">The folder path '[2]' contains an invalid character.</String>
+ <String Id="Error1325">'[2]' is not a valid short file name.</String>
+ <String Id="Error1326">Error getting file security: [3] GetLastString: [2]</String>
+ <String Id="Error1327">Invalid Drive: [2]</String>
+ <String Id="Error1328">Error applying patch to file [2]. It has probably been updated by other means, and can no longer be modified by this patch. For more information contact your patch vendor. {{System Error: [3]}}</String>
+ <String Id="Error1329">A file that is required cannot be installed because the cabinet file [2] is not digitally signed. This may indicate that the cabinet file is corrupt.</String>
+ <String Id="Error1330">A file that is required cannot be installed because the cabinet file [2] has an invalid digital signature. This may indicate that the cabinet file is corrupt.{{ Error [3] was returned by WinVerifyTrust.}}</String>
+ <String Id="Error1331">Failed to correctly copy [2] file: CRC error.</String>
+ <String Id="Error1332">Failed to correctly move [2] file: CRC error.</String>
+ <String Id="Error1333">Failed to correctly patch [2] file: CRC error.</String>
+ <String Id="Error1334">The file '[2]' cannot be installed because the file cannot be found in cabinet file '[3]'. This could indicate a network error, an error reading from the CD-ROM, or a problem with this package.</String>
+ <String Id="Error1335">The cabinet file '[2]' required for this installation is corrupt and cannot be used. This could indicate a network error, an error reading from the CD-ROM, or a problem with this package.</String>
+ <String Id="Error1336">There was an error creating a temporary file that is needed to complete this installation.{{ Folder: [3]. System error code: [2]}}</String>
+ <String Id="Error1401">Could not create key: [2]. {{ System error [3].}} Verify that you have sufficient access to that key, or contact your support personnel. </String>
+ <String Id="Error1402">Could not open key: [2]. {{ System error [3].}} Verify that you have sufficient access to that key, or contact your support personnel. </String>
+ <String Id="Error1403">Could not delete value [2] from key [3]. {{ System error [4].}} Verify that you have sufficient access to that key, or contact your support personnel. </String>
+ <String Id="Error1404">Could not delete key [2]. {{ System error [3].}} Verify that you have sufficient access to that key, or contact your support personnel. </String>
+ <String Id="Error1405">Could not read value [2] from key [3]. {{ System error [4].}} Verify that you have sufficient access to that key, or contact your support personnel. </String>
+ <String Id="Error1406">Could not write value [2] to key [3]. {{ System error [4].}} Verify that you have sufficient access to that key, or contact your support personnel.</String>
+ <String Id="Error1407">Could not get value names for key [2]. {{ System error [3].}} Verify that you have sufficient access to that key, or contact your support personnel.</String>
+ <String Id="Error1408">Could not get sub key names for key [2]. {{ System error [3].}} Verify that you have sufficient access to that key, or contact your support personnel.</String>
+ <String Id="Error1409">Could not read security information for key [2]. {{ System error [3].}} Verify that you have sufficient access to that key, or contact your support personnel.</String>
+ <String Id="Error1410">Could not increase the available registry space. [2] KB of free registry space is required for the installation of this application.</String>
+ <String Id="Error1500">Another installation is in progress. You must complete that installation before continuing this one.</String>
+ <String Id="Error1501">Error accessing secured data. Please make sure the Windows Installer is configured properly and try the install again.</String>
+ <String Id="Error1502">User '[2]' has previously initiated an install for product '[3]'. That user will need to run that install again before they can use that product. Your current install will now continue.</String>
+ <String Id="Error1503">User '[2]' has previously initiated an install for product '[3]'. That user will need to run that install again before they can use that product.</String>
+ <String Id="Error1601">Out of disk space -- Volume: '[2]'; required space: [3] KB; available space: [4] KB. Free some disk space and retry.</String>
+ <String Id="Error1602">Are you sure you want to cancel?</String>
+ <String Id="Error1603">The file [2][3] is being held in use{ by the following process: Name: [4], Id: [5], Window Title: '[6]'}. Close that application and retry.</String>
+ <String Id="Error1604">The product '[2]' is already installed, preventing the installation of this product. The two products are incompatible.</String>
+ <String Id="Error1605">There is not enough disk space on the volume '[2]' to continue the install with recovery enabled. [3] KB are required, but only [4] KB are available. Click Ignore to continue the install without saving recovery information, click Retry to check for available space again, or click Cancel to quit the installation.</String>
+ <String Id="Error1606">Could not access network location [2].</String>
+ <String Id="Error1607">The following applications should be closed before continuing the install:</String>
+ <String Id="Error1608">Could not find any previously installed compliant products on the machine for installing this product.</String>
+ <String Id="Error1609">An error occurred while applying security settings. [2] is not a valid user or group. This could be a problem with the package, or a problem connecting to a domain controller on the network. Check your network connection and click Retry, or Cancel to end the install. {{Unable to locate the user's SID, system error [3]}}</String>
+ <String Id="Error1701">The key [2] is not valid. Verify that you entered the correct key.</String>
+ <String Id="Error1702">The installer must restart your system before configuration of [2] can continue. Click Yes to restart now or No if you plan to manually restart later.</String>
+ <String Id="Error1703">You must restart your system for the configuration changes made to [2] to take effect. Click Yes to restart now or No if you plan to manually restart later.</String>
+ <String Id="Error1704">An installation for [2] is currently suspended. You must undo the changes made by that installation to continue. Do you want to undo those changes?</String>
+ <String Id="Error1705">A previous installation for this product is in progress. You must undo the changes made by that installation to continue. Do you want to undo those changes?</String>
+ <String Id="Error1706">An installation package for the product [2] cannot be found. Try the installation again using a valid copy of the installation package '[3]'.</String>
+ <String Id="Error1707">Installation completed successfully.</String>
+ <String Id="Error1708">Installation failed.</String>
+ <String Id="Error1709">Product: [2] -- [3]</String>
+ <String Id="Error1710">You may either restore your computer to its previous state or continue the install later. Would you like to restore?</String>
+ <String Id="Error1711">An error occurred while writing installation information to disk. Check to make sure enough disk space is available, and click Retry, or Cancel to end the install.</String>
+ <String Id="Error1712">One or more of the files required to restore your computer to its previous state could not be found. Restoration will not be possible.</String>
+ <String Id="Error1713">[2] cannot install one of its required products. Contact your technical support group. {{System String: [3].}}</String>
+ <String Id="Error1714">The older version of [2] cannot be removed. Contact your technical support group. {{System String [3].}}</String>
+ <String Id="Error1715">Installed [2]</String>
+ <String Id="Error1716">Configured [2]</String>
+ <String Id="Error1717">Removed [2]</String>
+ <String Id="Error1718">File [2] was rejected by digital signature policy.</String>
+ <String Id="Error1719">The Windows Installer Service could not be accessed. This can occur if you are running Windows in safe mode, or if the Windows Installer is not correctly installed. Contact your support personnel for assistance.</String>
+ <String Id="Error1720">There is a problem with this Windows Installer package. A script required for this install to complete could not be run. Contact your support personnel or package vendor. {{Custom action [2] script error [3], [4]: [5] Line [6], Column [7], [8] }}</String>
+ <String Id="Error1721">There is a problem with this Windows Installer package. A program required for this install to complete could not be run. Contact your support personnel or package vendor. {{Action: [2], location: [3], command: [4] }}</String>
+ <String Id="Error1722">There is a problem with this Windows Installer package. A program run as part of the setup did not finish as expected. Contact your support personnel or package vendor. {{Action [2], location: [3], command: [4] }}</String>
+ <String Id="Error1723">There is a problem with this Windows Installer package. A DLL required for this install to complete could not be run. Contact your support personnel or package vendor. {{Action [2], entry: [3], library: [4] }}</String>
+ <String Id="Error1724">Removal completed successfully.</String>
+ <String Id="Error1725">Removal failed.</String>
+ <String Id="Error1726">Advertisement completed successfully.</String>
+ <String Id="Error1727">Advertisement failed.</String>
+ <String Id="Error1728">Configuration completed successfully.</String>
+ <String Id="Error1729">Configuration failed.</String>
+ <String Id="Error1730">You must be an Administrator to remove this application. To remove this application, you can log on as an Administrator, or contact your technical support group for assistance.</String>
+ <String Id="Error1801">The path [2] is not valid. Please specify a valid path.</String>
+ <String Id="Error1802">Out of memory. Shut down other applications before retrying.</String>
+ <String Id="Error1803">There is no disk in drive [2]. Please insert one and click Retry, or click Cancel to go back to the previously selected volume.</String>
+ <String Id="Error1804">There is no disk in drive [2]. Please insert one and click Retry, or click Cancel to return to the browse dialog and select a different volume.</String>
+ <String Id="Error1805">The folder [2] does not exist. Please enter a path to an existing folder.</String>
+ <String Id="Error1806">You have insufficient privileges to read this folder.</String>
+ <String Id="Error1807">A valid destination folder for the install could not be determined.</String>
+ <String Id="Error1901">Error attempting to read from the source install database: [2].</String>
+ <String Id="Error1902">Scheduling reboot operation: Renaming file [2] to [3]. Must reboot to complete operation.</String>
+ <String Id="Error1903">Scheduling reboot operation: Deleting file [2]. Must reboot to complete operation.</String>
+ <String Id="Error1904">Module [2] failed to register. HRESULT [3]. Contact your support personnel.</String>
+ <String Id="Error1905">Module [2] failed to unregister. HRESULT [3]. Contact your support personnel.</String>
+ <String Id="Error1906">Failed to cache package [2]. Error: [3]. Contact your support personnel.</String>
+ <String Id="Error1907">Could not register font [2]. Verify that you have sufficient permissions to install fonts, and that the system supports this font.</String>
+ <String Id="Error1908">Could not unregister font [2]. Verify that you that you have sufficient permissions to remove fonts.</String>
+ <String Id="Error1909">Could not create Shortcut [2]. Verify that the destination folder exists and that you can access it.</String>
+ <String Id="Error1910">Could not remove Shortcut [2]. Verify that the shortcut file exists and that you can access it.</String>
+ <String Id="Error1911">Could not register type library for file [2]. Contact your support personnel.</String>
+ <String Id="Error1912">Could not unregister type library for file [2]. Contact your support personnel.</String>
+ <String Id="Error1913">Could not update the ini file [2][3]. Verify that the file exists and that you can access it.</String>
+ <String Id="Error1914">Could not schedule file [2] to replace file [3] on reboot. Verify that you have write permissions to file [3].</String>
+ <String Id="Error1915">Error removing ODBC driver manager, ODBC error [2]: [3]. Contact your support personnel.</String>
+ <String Id="Error1916">Error installing ODBC driver manager, ODBC error [2]: [3]. Contact your support personnel.</String>
+ <String Id="Error1917">Error removing ODBC driver: [4], ODBC error [2]: [3]. Verify that you have sufficient privileges to remove ODBC drivers.</String>
+ <String Id="Error1918">Error installing ODBC driver: [4], ODBC error [2]: [3]. Verify that the file [4] exists and that you can access it.</String>
+ <String Id="Error1919">Error configuring ODBC data source: [4], ODBC error [2]: [3]. Verify that the file [4] exists and that you can access it.</String>
+ <String Id="Error1920">Service '[2]' ([3]) failed to start. Verify that you have sufficient privileges to start system services.</String>
+ <String Id="Error1921">Service '[2]' ([3]) could not be stopped. Verify that you have sufficient privileges to stop system services.</String>
+ <String Id="Error1922">Service '[2]' ([3]) could not be deleted. Verify that you have sufficient privileges to remove system services.</String>
+ <String Id="Error1923">Service '[2]' ([3]) could not be installed. Verify that you have sufficient privileges to install system services.</String>
+ <String Id="Error1924">Could not update environment variable '[2]'. Verify that you have sufficient privileges to modify environment variables.</String>
+ <String Id="Error1925">You do not have sufficient privileges to complete this installation for all users of the machine. Log on as administrator and then retry this installation.</String>
+ <String Id="Error1926">Could not set file security for file '[3]'. Error: [2]. Verify that you have sufficient privileges to modify the security permissions for this file.</String>
+ <String Id="Error1927">Component Services (COM+ 1.0) are not installed on this computer. This installation requires Component Services in order to complete successfully. Component Services are available on Windows 2000.</String>
+ <String Id="Error1928">Error registering COM+ Application. Contact your support personnel for more information.</String>
+ <String Id="Error1929">Error unregistering COM+ Application. Contact your support personnel for more information.</String>
+ <String Id="Error1930">The description for service '[2]' ([3]) could not be changed.</String>
+ <String Id="Error1931">The Windows Installer service cannot update the system file [2] because the file is protected by Windows. You may need to update your operating system for this program to work correctly. {{Package version: [3], OS Protected version: [4]}}</String>
+ <String Id="Error1932">The Windows Installer service cannot update the protected Windows file [2]. {{Package version: [3], OS Protected version: [4], SFP Error: [5]}}</String>
+ <String Id="Error1933">The Windows Installer service cannot update one or more protected Windows files. {{SFP String: [2]. List of protected files:\r\n[3]}}</String>
+ <String Id="Error1934">User installations are disabled via policy on the machine.</String>
+ <String Id="Error1935">An error occured during the installation of assembly component [2]. HRESULT: [3]. {{assembly interface: [4], function: [5], assembly name: [6]}}</String>
+
+ <!-- Own / special errors -->
+ <String Id="Error25001">The application "[2]" needs to be closed for the installation to continue.</String>
+
+ <String Id="ProgressTextInstallValidate">Validating install</String>
+ <String Id="ProgressTextInstallFiles">Copying new files</String>
+ <String Id="ProgressTextInstallFilesTemplate">File: [1], Directory: [9], Size: [6]</String>
+ <String Id="ProgressTextInstallAdminPackage">Copying network install files</String>
+ <String Id="ProgressTextInstallAdminPackageTemplate">File: [1], Directory: [9], Size: [6]</String>
+ <String Id="ProgressTextFileCost">Computing space requirements</String>
+ <String Id="ProgressTextCostInitialize">Computing space requirements</String>
+ <String Id="ProgressTextCostFinalize">Computing space requirements</String>
+ <String Id="ProgressTextCreateShortcuts">Creating shortcuts</String>
+ <String Id="ProgressTextCreateShortcutsTemplate">Shortcut: [1]</String>
+ <String Id="ProgressTextPublishComponents">Publishing Qualified Components</String>
+ <String Id="ProgressTextPublishComponentsTemplate">Component ID: [1], Qualifier: [2]</String>
+ <String Id="ProgressTextPublishFeatures">Publishing Product Features</String>
+ <String Id="ProgressTextPublishFeaturesTemplate">Feature: [1]</String>
+ <String Id="ProgressTextPublishProduct">Publishing product information</String>
+ <String Id="ProgressTextRegisterClassInfo">Registering Class servers</String>
+ <String Id="ProgressTextRegisterClassInfoTemplate">Class Id: [1]</String>
+ <String Id="ProgressTextRegisterExtensionInfo">Registering extension servers</String>
+ <String Id="ProgressTextRegisterExtensionInfoTemplate">Extension: [1]</String>
+ <String Id="ProgressTextRegisterMIMEInfo">Registering MIME info</String>
+ <String Id="ProgressTextRegisterMIMEInfoTemplate">MIME Content Type: [1], Extension: [2]</String>
+ <String Id="ProgressTextRegisterProgIdInfo">Registering program identifiers</String>
+ <String Id="ProgressTextRegisterProgIdInfoTemplate">ProgId: [1]</String>
+ <String Id="ProgressTextAllocateRegistrySpace">Allocating registry space</String>
+ <String Id="ProgressTextAllocateRegistrySpaceTemplate">Free space: [1]</String>
+ <String Id="ProgressTextAppSearch">Searching for installed applications</String>
+ <String Id="ProgressTextAppSearchTemplate">Property: [1], Signature: [2]</String>
+ <String Id="ProgressTextBindImage">Binding executables</String>
+ <String Id="ProgressTextBindImageTemplate">File: [1]</String>
+ <String Id="ProgressTextCCPSearch">Searching for qualifying products</String>
+ <String Id="ProgressTextCreateFolders">Creating folders</String>
+ <String Id="ProgressTextCreateFoldersTemplate">Folder: [1]</String>
+ <String Id="ProgressTextDeleteServices">Deleting services</String>
+ <String Id="ProgressTextDeleteServicesTemplate">Service: [1]</String>
+ <String Id="ProgressTextDuplicateFiles">Creating duplicate files</String>
+ <String Id="ProgressTextDuplicateFilesTemplate">File: [1], Directory: [9], Size: [6]</String>
+ <String Id="ProgressTextFindRelatedProducts">Searching for related applications</String>
+ <String Id="ProgressTextFindRelatedProductsTemplate">Found application: [1]</String>
+ <String Id="ProgressTextInstallODBC">Installing ODBC components</String>
+ <String Id="ProgressTextInstallServices">Installing new services</String>
+ <String Id="ProgressTextInstallServicesTemplate">Service: [2]</String>
+ <String Id="ProgressTextLaunchConditions">Evaluating launch conditions</String>
+ <String Id="ProgressTextMigrateFeatureStates">Migrating feature states from related applications</String>
+ <String Id="ProgressTextMigrateFeatureStatesTemplate">Application: [1]</String>
+ <String Id="ProgressTextMoveFiles">Moving files</String>
+ <String Id="ProgressTextMoveFilesTemplate">File: [1], Directory: [9], Size: [6]</String>
+ <String Id="ProgressTextPatchFiles">Patching files</String>
+ <String Id="ProgressTextPatchFilesTemplate">File: [1], Directory: [2], Size: [3]</String>
+ <String Id="ProgressTextProcessComponents">Updating component registration</String>
+ <String Id="ProgressTextRegisterComPlus">Registering COM+ Applications and Components</String>
+ <String Id="ProgressTextRegisterComPlusTemplate">AppId: [1]{{, AppType: [2], Users: [3], RSN: [4]}}</String>
+ <String Id="ProgressTextRegisterFonts">Registering fonts</String>
+ <String Id="ProgressTextRegisterFontsTemplate">Font: [1]</String>
+ <String Id="ProgressTextRegisterProduct">Registering product</String>
+ <String Id="ProgressTextRegisterProductTemplate">[1]</String>
+ <String Id="ProgressTextRegisterTypeLibraries">Registering type libraries</String>
+ <String Id="ProgressTextRegisterTypeLibrariesTemplate">LibID: [1]</String>
+ <String Id="ProgressTextRegisterUser">Registering user</String>
+ <String Id="ProgressTextRegisterUserTemplate">[1]</String>
+ <String Id="ProgressTextRemoveDuplicateFiles">Removing duplicated files</String>
+ <String Id="ProgressTextRemoveDuplicateFilesTemplate">File: [1], Directory: [9]</String>
+ <String Id="ProgressTextRemoveEnvironmentStrings">Updating environment strings</String>
+ <String Id="ProgressTextRemoveEnvironmentStringsTemplate">Name: [1], Value: [2], Action [3]</String>
+ <String Id="ProgressTextRemoveExistingProducts">Removing applications</String>
+ <String Id="ProgressTextRemoveExistingProductsTemplate">Application: [1], Command line: [2]</String>
+ <String Id="ProgressTextRemoveFiles">Removing files</String>
+ <String Id="ProgressTextRemoveFilesTemplate">File: [1], Directory: [9]</String>
+ <String Id="ProgressTextRemoveFolders">Removing folders</String>
+ <String Id="ProgressTextRemoveFoldersTemplate">Folder: [1]</String>
+ <String Id="ProgressTextRemoveIniValues">Removing INI files entries</String>
+ <String Id="ProgressTextRemoveIniValuesTemplate">File: [1], Section: [2], Key: [3], Value: [4]</String>
+ <String Id="ProgressTextRemoveODBC">Removing ODBC components</String>
+ <String Id="ProgressTextRemoveRegistryValues">Removing system registry values</String>
+ <String Id="ProgressTextRemoveRegistryValuesTemplate">Key: [1], Name: [2]</String>
+ <String Id="ProgressTextRemoveShortcuts">Removing shortcuts</String>
+ <String Id="ProgressTextRemoveShortcutsTemplate">Shortcut: [1]</String>
+ <String Id="ProgressTextRMCCPSearch">Searching for qualifying products</String>
+ <String Id="ProgressTextSelfRegModules">Registering modules</String>
+ <String Id="ProgressTextSelfRegModulesTemplate">File: [1], Folder: [2]</String>
+ <String Id="ProgressTextSelfUnregModules">Unregistering modules</String>
+ <String Id="ProgressTextSelfUnregModulesTemplate">File: [1], Folder: [2]</String>
+ <String Id="ProgressTextSetODBCFolders">Initializing ODBC directories</String>
+ <String Id="ProgressTextStartServices">Starting services</String>
+ <String Id="ProgressTextStartServicesTemplate">Service: [1]</String>
+ <String Id="ProgressTextStopServices">Stopping services</String>
+ <String Id="ProgressTextStopServicesTemplate">Service: [1]</String>
+ <String Id="ProgressTextUnpublishComponents">Unpublishing Qualified Components</String>
+ <String Id="ProgressTextUnpublishComponentsTemplate">Component ID: [1], Qualifier: [2]</String>
+ <String Id="ProgressTextUnpublishFeatures">Unpublishing Product Features</String>
+ <String Id="ProgressTextUnpublishFeaturesTemplate">Feature: [1]</String>
+ <String Id="ProgressTextUnregisterClassInfo">Unregister Class servers</String>
+ <String Id="ProgressTextUnregisterClassInfoTemplate">Class Id: [1]</String>
+ <String Id="ProgressTextUnregisterComPlus">Unregistering COM+ Applications and Components</String>
+ <String Id="ProgressTextUnregisterComPlusTemplate">AppId: [1]{{, AppType: [2]}}</String>
+ <String Id="ProgressTextUnregisterExtensionInfo">Unregistering extension servers</String>
+ <String Id="ProgressTextUnregisterExtensionInfoTemplate">Extension: [1]</String>
+ <String Id="ProgressTextUnregisterFonts">Unregistering fonts</String>
+ <String Id="ProgressTextUnregisterFontsTemplate">Font: [1]</String>
+ <String Id="ProgressTextUnregisterMIMEInfo">Unregistering MIME info</String>
+ <String Id="ProgressTextUnregisterMIMEInfoTemplate">MIME Content Type: [1], Extension: [2]</String>
+ <String Id="ProgressTextUnregisterProgIdInfo">Unregistering program identifiers</String>
+ <String Id="ProgressTextUnregisterProgIdInfoTemplate">ProgId: [1]</String>
+ <String Id="ProgressTextUnregisterTypeLibraries">Unregistering type libraries</String>
+ <String Id="ProgressTextUnregisterTypeLibrariesTemplate">LibID: [1]</String>
+ <String Id="ProgressTextWriteEnvironmentStrings">Updating environment strings</String>
+ <String Id="ProgressTextWriteEnvironmentStringsTemplate">Name: [1], Value: [2], Action [3]</String>
+ <String Id="ProgressTextWriteIniValues">Writing INI files values</String>
+ <String Id="ProgressTextWriteIniValuesTemplate">File: [1], Section: [2], Key: [3], Value: [4]</String>
+ <String Id="ProgressTextWriteRegistryValues">Writing system registry values</String>
+ <String Id="ProgressTextWriteRegistryValuesTemplate">Key: [1], Name: [2], Value: [3]</String>
+ <String Id="ProgressTextAdvertise">Advertising application</String>
+ <String Id="ProgressTextGenerateScript">Generating script operations for action:</String>
+ <String Id="ProgressTextGenerateScriptTemplate">[1]</String>
+ <String Id="ProgressTextInstallSFPCatalogFile">Installing system catalog</String>
+ <String Id="ProgressTextInstallSFPCatalogFileTemplate">File: [1], Dependencies: [2]</String>
+ <String Id="ProgressTextMsiPublishAssemblies">Publishing assembly information</String>
+ <String Id="ProgressTextMsiPublishAssembliesTemplate">Application Context:[1], Assembly Name:[2]</String>
+ <String Id="ProgressTextMsiUnpublishAssemblies">Unpublishing assembly information</String>
+ <String Id="ProgressTextMsiUnpublishAssembliesTemplate">Application Context:[1], Assembly Name:[2]</String>
+ <String Id="ProgressTextRollback">Rolling back action:</String>
+ <String Id="ProgressTextRollbackTemplate">[1]</String>
+ <String Id="ProgressTextRollbackCleanup">Removing backup files</String>
+ <String Id="ProgressTextRollbackCleanupTemplate">File: [1]</String>
+ <String Id="ProgressTextUnmoveFiles">Removing moved files</String>
+ <String Id="ProgressTextUnmoveFilesTemplate">File: [1], Directory: [9]</String>
+ <String Id="ProgressTextUnpublishProduct">Unpublishing product information</String>
+
+ <String Id="UITextbytes">bytes</String>
+ <String Id="UITextGB">GB</String>
+ <String Id="UITextKB">KB</String>
+ <String Id="UITextMB">MB</String>
+ <String Id="UITextMenuAbsent">Entire feature will be unavailable</String>
+ <String Id="UITextMenuAdvertise">Feature will be installed when required</String>
+ <String Id="UITextMenuAllCD">Entire feature will be installed to run from CD</String>
+ <String Id="UITextMenuAllLocal">Entire feature will be installed on local hard drive</String>
+ <String Id="UITextMenuAllNetwork">Entire feature will be installed to run from network</String>
+ <String Id="UITextMenuCD">Will be installed to run from CD</String>
+ <String Id="UITextMenuLocal">Will be installed on local hard drive</String>
+ <String Id="UITextMenuNetwork">Will be installed to run from network</String>
+ <String Id="UITextScriptInProgress">Gathering required information...</String>
+ <String Id="UITextSelAbsentAbsent">This feature will remain uninstalled</String>
+ <String Id="UITextSelAbsentAdvertise">This feature will be set to be installed when required</String>
+ <String Id="UITextSelAbsentCD">This feature will be installed to run from CD</String>
+ <String Id="UITextSelAbsentLocal">This feature will be installed on the local hard drive</String>
+ <String Id="UITextSelAbsentNetwork">This feature will be installed to run from the network</String>
+ <String Id="UITextSelAdvertiseAbsent">This feature will become unavailable</String>
+ <String Id="UITextSelAdvertiseAdvertise">Will be installed when required</String>
+ <String Id="UITextSelAdvertiseCD">This feature will be available to run from CD</String>
+ <String Id="UITextSelAdvertiseLocal">This feature will be installed on your local hard drive</String>
+ <String Id="UITextSelAdvertiseNetwork">This feature will be available to run from the network</String>
+ <String Id="UITextSelCDAbsent">This feature will be uninstalled completely, you won't be able to run it from CD</String>
+ <String Id="UITextSelCDAdvertise">This feature will change from run from CD state to set to be installed when required</String>
+ <String Id="UITextSelCDCD">This feature will remain to be run from CD</String>
+ <String Id="UITextSelCDLocal">This feature will change from run from CD state to be installed on the local hard drive</String>
+ <String Id="UITextSelChildCostNeg">This feature frees up [1] on your hard drive.</String>
+ <String Id="UITextSelChildCostPos">This feature requires [1] on your hard drive.</String>
+ <String Id="UITextSelCostPending">Compiling cost for this feature...</String>
+ <String Id="UITextSelLocalAbsent">This feature will be completely removed</String>
+ <String Id="UITextSelLocalAdvertise">This feature will be removed from your local hard drive, but will be set to be installed when required</String>
+ <String Id="UITextSelLocalCD">This feature will be removed from your local hard drive, but will be still available to run from CD</String>
+ <String Id="UITextSelLocalLocal">This feature will remain on you local hard drive</String>
+ <String Id="UITextSelLocalNetwork">This feature will be removed from your local hard drive, but will be still available to run from the network</String>
+ <String Id="UITextSelNetworkAbsent">This feature will be uninstalled completely, you won't be able to run it from the network</String>
+ <String Id="UITextSelNetworkAdvertise">This feature will change from run from network state to set to be installed when required</String>
+ <String Id="UITextSelNetworkLocal">This feature will change from run from network state to be installed on the local hard drive</String>
+ <String Id="UITextSelNetworkNetwork">This feature will remain to be run from the network</String>
+ <String Id="UITextSelParentCostNegNeg">This feature frees up [1] on your hard drive. It has [2] of [3] subfeatures selected. The subfeatures free up [4] on your hard drive.</String>
+ <String Id="UITextSelParentCostNegPos">This feature frees up [1] on your hard drive. It has [2] of [3] subfeatures selected. The subfeatures require [4] on your hard drive.</String>
+ <String Id="UITextSelParentCostPosNeg">This feature requires [1] on your hard drive. It has [2] of [3] subfeatures selected. The subfeatures free up [4] on your hard drive.</String>
+ <String Id="UITextSelParentCostPosPos">This feature requires [1] on your hard drive. It has [2] of [3] subfeatures selected. The subfeatures require [4] on your hard drive.</String>
+ <String Id="UITextTimeRemaining">Time remaining: {[1] minutes }{[2] seconds}</String>
+ <String Id="UITextVolumeCostAvailable">Available</String>
+ <String Id="UITextVolumeCostDifference">Difference</String>
+ <String Id="UITextVolumeCostRequired">Required</String>
+ <String Id="UITextVolumeCostSize">Disk Size</String>
+ <String Id="UITextVolumeCostVolume">Volume</String>
+
+</WixLocalization>
diff --git a/src/VBox/Installer/win/NLS/tr_TR.wxl b/src/VBox/Installer/win/NLS/tr_TR.wxl
new file mode 100644
index 00000000..2604eff9
--- /dev/null
+++ b/src/VBox/Installer/win/NLS/tr_TR.wxl
@@ -0,0 +1,620 @@
+<?xml version="1.0" encoding="utf-8"?>
+
+<!--
+ Language Definition Include for VirtualBox WiX script.
+-->
+<!--
+ Copyright (C) 2011-2023 Oracle and/or its affiliates.
+
+ This file is part of VirtualBox base platform packages, as
+ available from https://www.virtualbox.org.
+
+ This program is free software; you can redistribute it and/or
+ modify it under the terms of the GNU General Public License
+ as published by the Free Software Foundation, in version 3 of the
+ License.
+
+ This program is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, see <https://www.gnu.org/licenses>.
+
+ SPDX-License-Identifier: GPL-3.0-only
+-->
+
+<WixLocalization xmlns="http://schemas.microsoft.com/wix/2006/localization" Codepage="1254" Culture="tr_TR">
+ <String Id="LANG">1055</String>
+ <String Id="LangName">Türkçe</String>
+
+ <String Id="ButtonText_No">&amp;Hayır</String>
+ <String Id="ButtonText_Yes">&amp;Evet</String>
+ <String Id="ButtonText_Cancel">İ&amp;ptal</String>
+ <String Id="ButtonText_Next">İ&amp;leri &gt;</String>
+ <String Id="ButtonText_Back">&lt; &amp;Geri</String>
+ <String Id="ButtonText_Browse">&amp;Gözat</String>
+ <String Id="ButtonText_OK">&amp;TAMAM</String>
+ <String Id="ButtonText_Check">&amp;Denetle</String>
+ <String Id="ButtonText_Install">&amp;Yükle</String>
+ <String Id="ButtonText_Remove">K&amp;aldır</String>
+ <String Id="ButtonText_Finish">&amp;Bitir</String>
+ <String Id="ButtonText_Repair">&amp;Onar</String>
+ <String Id="ButtonText_Return">Geri &amp;Dön</String>
+ <String Id="ButtonText_Retry">Yeniden De&amp;ne</String>
+ <String Id="ButtonText_Ignore">Yok&amp;say</String>
+ <String Id="ButtonText_Exit">Çı&amp;kış</String>
+
+ <String Id="InstallModeCustom">Özel</String>
+ <String Id="Setup">Kur</String>
+
+ <!---->
+
+ <String Id="StartMenu_License">Lisans</String>
+ <String Id="StartMenu_UserManual">Kullanım kılavuzu</String>
+
+ <!---->
+
+ <String Id="VB_App">[ProductName] uygulaması.</String>
+ <String Id="VB_USBDriver">USB aygıtı desteği için [ProductName] USB aygıtı sürücüleri.</String>
+ <String Id="VB_Network">Ağ oluşturma desteği için [ProductName] ağ aygıtı sürücüleri.</String>
+ <String Id="VB_NetFltDriver">Köprü Ağı Oluşturma için [ProductName] sürücüsü.</String>
+ <String Id="VB_NetAdpDriver">Yalnızca-Anamakine Ağı Oluşturma için [ProductName] sanal ağ bağdaştırıcısı sürücüsü.</String>
+ <String Id="VB_NetLwfDriver">NDIS6 Köprü Ağı Oluşturma için [ProductName] sürücüsü.</String>
+ <String Id="VB_NetAdp6Driver">NDIS6 Yalnızca-Anamakine Ağı Oluşturma için [ProductName] sanal ağ bağdaştırıcısı sürücüsü.</String>
+
+ <String Id="VB_Python">VirtualBox için Python desteği.</String>
+
+ <!---->
+
+ <String Id="NeedAdmin">[ProductName] uygulamasını yüklemek(kaldırmak) için yönetici haklarına sahip olmanız gerekir! Bu kur şimdi iptal edilecek.</String>
+ <String Id="NeedMSCRT">[ProductName] uygulamasının öncelikle Microsoft Visual C++ 2019 Yeniden Dağıtılabilir Paketinin yüklenmesine ihtiyacı var. Lütfen [ProductName] uygulamasının kurulumunu yeniden başlatın ve yükleyin.</String>
+ <String Id="WrongOS">Bu uygulama yalnızca Windows XP veya üzerinde çalışır.</String>
+ <String Id="Only32Bit">Bu uygulama yalnızca 32-bit Windows sistemlerinde çalışır. Lütfen [ProductName] 64-bit sürümünü yükleyin!</String>
+ <String Id="Only64Bit">Bu uygulama yalnızca 64-bit Windows sistemlerinde çalışır. Lütfen [ProductName] 32-bit sürümünü yükleyin!</String>
+ <String Id="SunFound">Bu makinede eski bir Sun VirtualBox kurulumu bulundu. Lütfen önce bu paketi kaldırın ve sonra [ProductName] yükleyin!</String>
+ <String Id="InnotekFound">Bu makinede eski bir innotek VirtualBox kurulumu bulundu. Lütfen önce bu paketi kaldırın ve sonra [ProductName] yükleyin!</String>
+
+ <!---->
+
+ <String Id="CancelDlg_Question">[ProductName] kurulumunu iptal etmek istediğinize emin misiniz?</String>
+
+ <!---->
+
+ <String Id="WelcomeDlg_Header">[ProductName] Kur Sihirbazına Hoş Geldiniz</String>
+ <String Id="WelcomeDlg_Body">Kur Sihirbazı, bilgisayarınıza [ProductName] uygulamasını yükleyecek. Devam etmek için İleri'ye veya Kur Sihirbazından çıkmak için İptal'e tıklayın.</String>
+
+ <!---->
+
+ <String Id="LicenseAgreementDlg_Header">Son Kullanıcı Lisans Sözleşmesi</String>
+ <String Id="LicenseAgreementDlg_Body">Lütfen aşağıdaki lisans sözleşmesini dikkatlice okuyun.</String>
+ <String Id="LicenseAgreementDlg_Accept">Lisans Sözleşmesi içindeki şartları kabul e&amp;diyorum</String>
+ <String Id="LicenseAgreementDlg_Decline">Lisans Sözleşmesi içindeki şartları kabul e&amp;tmiyorum</String>
+
+ <!---->
+
+ <String Id="CheckSerialDlg_Header">Seri Numarası</String>
+ <String Id="CheckSerialDlg_Body">Lütfen aşağıdaki alana seri numaranızı girin. VirtualBox CD kutusu içerisindeki etikette bulacaksınız.</String>
+ <String Id="CheckSerialDlg_Footer">Seri numarasını girmeniz bittiğinde, aşağıdaki "Denetle" düğmesine basın".</String>
+
+ <!---->
+
+ <String Id="WrongSerialDlg_Header">Girilen seri numarası geçersiz!</String>
+ <String Id="WrongSerialDlg_Desc1">Seri numaranızı tekrar girmek için lütfen geri gidin.</String>
+ <String Id="WrongSerialDlg_Desc2">Seri numarasını etiket üzerine basıldığı gibi aynen hecesi hecesine yazılmak zorunda olduğunu aklınızdan çıkarmayın.</String>
+
+ <!---->
+
+ <String Id="WarnSaveStatesDlg_Header">Uyarı:</String>
+ <String Id="WarnSaveStatesDlg_Header2">Uyumsuz Kaydedildi Durumları!</String>
+ <String Id="WarnSaveStatesDlg_Desc">[ProductName] yükseltildiğinde, zaten varolan makinelerinizden gelen tüm kaydedildi durumları bundan böyle çalışmayacaktır! Kurulumdan sonra, bunlardan el ile vazgeçmek zorundasınız.</String>
+ <String Id="WarnSaveStatesDlg_Proceed">Şimdi kuruluma devam edilsin mi?</String>
+
+ <!---->
+
+ <String Id="WarnTAPDevicesDlg_Header">Anamakine Arayüzleri</String>
+ <String Id="WarnTAPDevicesDlg_Desc">Önceki sürümdeki makineleriniz için bazı anamakine arayüzleri kullandıysanız, bu kurulumdan sonra bunları el ile yeniden oluşturmak zorundasınız.</String>
+
+ <!---->
+
+ <String Id="NetCfgLocked">Şurada belirtilen uygulama yüklemeye devam etmeden önce kapatılmalıdır: "[2]"</String>
+
+ <!---->
+
+ <String Id="CustomizeDlg_Location">Konum:</String>
+ <String Id="CustomizeDlg_DiskUsage">Disk &amp;Kullanımı</String>
+ <String Id="CustomizeDlg_SelFeatures">Yüklenmesini istediğiniz özellikler için yolu seçin.</String>
+ <String Id="CustomizeDlg_IconTree">Yüklenecek özelliklerin yolunu değiştirmek için aşağıda ağaçtaki simgelere tıklayın.</String>
+ <String Id="CustomizeDlg_CustomSetup">Özel Kurulum</String>
+ <String Id="CustomizeDlg_SelItemDesc">CustomizeDlgItemDescription-CustomizeDlgItemDescription</String>
+ <String Id="CustomizeDlg_SelItemSize">CustomizeDlgItemSize-CustomizeDlgItemSize</String>
+ <String Id="CustomizeDlg_SelItemPath">CustomizeDlgLocation-CustomizeDlgLocation</String>
+
+ <!---->
+
+ <String Id="Customize2Dlg_Header">Özelleştir</String>
+ <String Id="Customize2Dlg_Desc">Lütfen aşağıdaki seçeneklerden seçin:</String>
+ <String Id="Customize2Dlg_CreateStartMenuEntries">Başlangıç menüsü girişlerini oluştur</String>
+ <String Id="Customize2Dlg_CreateDesktopShortcut">Masaüstünde kısayol oluştur</String>
+ <String Id="Customize2Dlg_CreateQuickLaunch">Hızlı Başlat Çubuğunda kısayol oluştur</String>
+ <String Id="Customize2Dlg_RegisterFileExtensions">Dosya ilişkilendirmelerini kaydettir</String>
+
+ <!---->
+
+ <String Id="SelectionNetworkTypeDlg_CommonDescription">Lütfen hangi tür ağ sürücülerini kullanacağınızı seçin:</String>
+ <String Id="SelectionNetworkTypeDlg_DescriptionNDIS5">NDIS5 ağ sürücüleri.
+Bu, Windows'un (Vista öncesi) daha eski sürümleri için varsayılandır.</String>
+ <String Id="SelectionNetworkTypeDlg_DescriptionNDIS6">NDIS6 ağ sürücüleri.
+Bu, Windows'un (Vista ve daha yenisi) daha yeni sürümleri için varsayılandır.</String>
+ <String Id="SelectionNetworkTypeDlg_RadioButtonNDIS5">NDIS5 ağ sürücülerini kullan.</String>
+ <String Id="SelectionNetworkTypeDlg_RadioButtonNDIS6">NDIS6 ağ sürücülerini kullan.</String>
+
+ <!---->
+
+ <String Id="WarnDisconNetIfacesDlg_Title">Uyarı:</String>
+ <String Id="WarnDisconNetIfacesDlg_Title2">Ağ Arayüzleri</String>
+ <String Id="WarnDisconNetIfacesDlg_Desc">[ProductName] Ağ Oluşturma özelliğini yüklemek ağ bağlantınızı sıfırlayacak ve geçici olarak ağdan bağlantınızı kesecektir.</String>
+ <String Id="WarnDisconNetIfacesDlg_Question">Şimdi kuruluma devam edilsin mi?</String>
+
+ <!---->
+
+ <String Id="WarnPythonDlg_Title">Eksik Bağımlılıklar</String>
+ <String Id="WarnPythonDlg_Title2">Python Çekirdeği / win32api</String>
+ <String Id="WarnPythonDlg_Desc">[ProductName] Python bağlamalarının yüklenmesi, önce Python Çekirdek paketinin ve win32api bağlamalarının yüklenmesini gerektirir.</String>
+ <String Id="WarnPythonDlg_Desc2">[ProductName] Python bağlamalarının kurulumuna şimdi devam ederken, bunların daha sonra el ile ayarlanması gerekir. Daha fazla bilgi için [ProductName] SDK kılavuzuna bakın.</String>
+ <String Id="WarnPythonDlg_Question">Kuruluma şimdi devam edilsin mi?</String>
+
+ <!---->
+
+ <String Id="DiskCostDlg_SpaceRequired">Seçilen özelliklerin kurulumu için gereken disk alanı.</String>
+ <String Id="DiskCostDlg_NotEnoughSpace">Vurgulanan birimler (eğer varsa) şu anki seçilen özellikler için kullanılabilir yeterli disk alanına sahip değil. Ya vurgulanan birimlerden bazı dosyaları kaldırabilir ya da yerel sürücü(lere)ye daha az özellik yüklemeyi seçebilirsiniz veya farklı hedef sürücü(leri) seçebilirsiniz.</String>
+ <String Id="DiskCostDlg_SpaceRequirements">Disk Alanı Gereksinimleri</String>
+ <String Id="DiskCostDlg_VolumeList">{120}{70}{70}{70}{70}</String>
+
+ <!---->
+
+ <String Id="BrowseDlg_BrowseDestFolder">Hedef klasöre gözatın</String>
+ <String Id="BrowseDlg_ChangeCurFolder">Şu anki hedef klasörü değiştirin</String>
+ <String Id="BrowseDlg_UpOneLevelTooltip">Bir seviye yukarı</String>
+ <String Id="BrowseDlg_CreateNewFolderTooltip">Yeni bir klasör oluştur</String>
+ <String Id="BrowseDlg_LookIn">&amp;Bakılan yer:</String>
+ <String Id="BrowseDlg_FolderName">&amp;Klasör adı:</String>
+
+ <!---->
+
+ <String Id="VerifyReadyDlg_ReadyToBegin">Kur Sihirbazı, [InstallMode] kuruluma başlamak için hazır.</String>
+ <String Id="VerifyReadyDlg_ClickInstall">Kuruluma başlamak için Yükle'ye tıklayın. Eğer herhangi bir kurulum ayarınızı gözden geçirmek veya değiştirmek istiyorsanız, Geri'ye tıklayın. Sihirbazdan çıkmak için İptal'e tıklayın.</String>
+ <String Id="VerifyReadyDlg_ReadyToInstall">Yüklemek için hazır</String>
+
+ <!---->
+
+ <String Id="ExitDlg_ClickFinish">Kur Sihirbazından çıkmak için Bitir düğmesine tıklayın.</String>
+ <String Id="ExitDlg_InstComplete">[ProductName] kurulumu tamamlandı.</String>
+ <String Id="ExitDlg_StartVBox">Kurulumdan sonra [ProductName] uygulamasını başlat</String>
+
+ <!---->
+
+ <String Id="FatalErrorDlg_Header">[ProductName] Kur Sihirbazı zamansız sonlandı</String>
+ <String Id="FatalErrorDlg_Desc">[ProductName] kur bir hata yüzünden zamansız sonlandı. Sisteminiz değiştirilmedi. Bu programı daha sonraki bir zamanda yüklemek için lütfen kurulumu tekrar çalıştırın.</String>
+ <String Id="FatalErrorDlg_Footer">Kur Sihirbazından çıkmak için Bitir düğmesine tıklayın.</String>
+
+ <!---->
+
+ <String Id="FilesInUse_Text">Bu kur tarafından güncellenmesi gereken dosyaları aşağıdaki uygulamalar kullanıyor. Bu uygulamaları kapatın ve sonra kuruluma devam etmek için &amp;Yeniden Dene'ye veya çıkmak için İptal'e tıklayın.</String>
+ <String Id="FilesInUse_Description">Şu anda kullanımda olan bazı dosyaların güncellenmesi gerek.</String>
+ <String Id="FilesInUse_Title">Kullanımda olan Dosyalar</String>
+
+ <!---->
+
+ <String Id="UserExitDlg_Header">[ProductName] Kur Sihirbazı yarıda kesildi</String>
+ <String Id="UserExitDlg_Desc">[ProductName] kur yarıda kesildi. Sisteminiz değiştirilmedi. Bu programı daha sonraki bir zamanda yüklemek için lütfen kurulumu tekrar çalıştırın.</String>
+ <String Id="UserExitDlg_Footer">Kur Sihirbazından çıkmak için Bitir düğmesine tıklayın.</String>
+
+ <!---->
+
+ <String Id="ProgressDlg_PleaseWait">Kur Sihirbazı, [ProductName] uygulamasını yüklerken lütfen bekleyin. Bu birkaç dakika alabilir.</String>
+
+ <!---->
+
+ <String Id="ResumeDlg_Header">[ProductName] Kur Sihirbazına Devam Ediliyor</String>
+ <String Id="ResumeDlg_Desc">Kur Sihirbazı [ProductName] uygulamasının bilgisayarınıza kurulumunu tamamlayacak. Devam etmek için Yükle'ye veya Kur Sihirbazından çıkmak için İptal'e tıklayın.</String>
+
+ <!---->
+
+ <String Id="MaintenanceTypeDlg_Header">Kurulumu Değiştir, Onar veya Kaldır</String>
+ <String Id="MaintenanceTypeDlg_SelOption">Uygulanmasını istediğiniz işlemi seçin.</String>
+ <String Id="MaintenanceTypeDlg_Repair">&amp;Onar</String>
+ <String Id="MaintenanceTypeDlg_RepairText">En son kurulum durumundaki hataları onarır - eksik veya bozuk dosyaları, kısayolları ve kayıt defteri girişlerini düzeltir.</String>
+ <String Id="MaintenanceTypeDlg_RepairTooltip">Kurulumu onar</String>
+ <String Id="MaintenanceTypeDlg_RepairProgress1">Onarılıyor</String>
+ <String Id="MaintenanceTypeDlg_RepairProgress2">onarma</String>
+ <String Id="MaintenanceTypeDlg_Remove">&amp;Kaldır</String>
+ <String Id="MaintenanceTypeDlg_RemoveText">[ProductName] uygulamasını bilgisayarınızdan kaldırır.</String>
+ <String Id="MaintenanceTypeDlg_RemoveTooltip">Kurulumu kaldır</String>
+ <String Id="MaintenanceTypeDlg_RemoveProgress1">Kaldırılıyor</String>
+ <String Id="MaintenanceTypeDlg_RemoveProgress2">kaldırma</String>
+
+ <!---->
+
+ <String Id="MaintenanceWelcomeDlg_Header">[ProductName] Kur Sihirbazına Hoş Geldiniz</String>
+ <String Id="MaintenanceWelcomeDlg_Desc">Kur Sihirbazı şu anki kurulumunuzu onarmanıza veya [ProductName] uygulamasını bilgisayarınızdan kaldırmanıza izin verecektir. Devam etmek için İleri'ye veya Kur Sihirbazından çıkmak için İptal'e tıklayın.</String>
+
+ <!---->
+
+ <String Id="OutOfDiskDlg_InstallationExceeds">Kurulum için gereken disk alanı mevcut disk alanını aşıyor.</String>
+ <String Id="OutOfDiskDlg_NotEnoughDiskSpace">Vurgulanan birimler şu anki seçilen özellikler için kullanılabilir yeterli disk alanına sahip değil. Ya vurgulanan birimlerden bazı dosyaları kaldırabilir ya da yerel sürücü(lere)ye daha az özellik yüklemeyi seçebilirsiniz veya farklı hedef sürücü(leri) seçebilirsiniz.</String>
+ <String Id="OutOfDiskDlg_OutOfDiskSpace">Yetersiz Disk Alanı</String>
+
+ <!---->
+
+ <String Id="OutOfRbDiskDlg_InstallationExceeds">Kurulum için gereken disk alanı mevcut disk alanını aşıyor.</String>
+ <String Id="OutOfRbDiskDlg_NotEnoughDiskSpace">Vurgulanan birimler şu anki seçilen özellikler için kullanılabilir yeterli disk alanına sahip değil. Ya vurgulanan birimlerden bazı dosyaları kaldırabilir ya da yerel sürücü(lere)ye daha az özellik yüklemeyi seçebilirsiniz veya farklı hedef sürücü(leri) seçebilirsiniz.</String>
+ <String Id="OutOfRbDiskDlg_OutOfDiskSpace">Yetersiz Disk Alanı</String>
+ <String Id="OutOfRbDiskDlg_Desc">Alternatif olarak, yükleyicinin geriye alma işlevselliğini etkisizleştirmeyi seçebilirsiniz. Bu, herhangi bir şekilde kurulumun yarıda kesilmesiyle yükleyicinin bilgisayarınızın orijinal durumuna geri yüklenmesi için izin verir. Geri almayı etkisizleştirme riskini almak isterseniz Evet'e tıklayın.</String>
+
+ <!---->
+
+ <String Id="VerifyRemoveDlg_Header">[ProductName] Kaldır</String>
+ <String Id="VerifyRemoveDlg_Desc">Programı bilgisayarınızdan kaldırmayı seçmektesiniz.</String>
+ <String Id="VerifyRemoveDlg_ClickRemove">[ProductName] uygulamasını bilgisayarınızdan kaldırmak için Kaldır'a tıklayın. Eğer herhangi bir kurulum ayarınızı gözden geçirmek veya değiştirmek istiyorsanız, Geri'ye tıklayın. Sihirbazdan çıkmak için İptal'e tıklayın.</String>
+
+ <!---->
+
+ <String Id="VerifyRepairDlg_Header">[ProductName] Onar</String>
+ <String Id="VerifyRepairDlg_ReadyToBegin">Kur Sihirbazı [ProductName] uygulamasının onarılmasına başlamak için hazır.</String>
+ <String Id="VerifyRepairDlg_ClickRepair">[ProductName] kurulumunu onarmak için Onar'a tıklayın. Eğer herhangi bir kurulum ayarınızı gözden geçirmek veya değiştirmek istiyorsanız, Geri'ye tıklayın. Sihirbazdan çıkmak için İptal'e tıklayın.</String>
+
+ <!---->
+
+ <String Id="WaitForCostingDlg_PleaseWait">Yükleyici disk alanı gereksinimlerinizi belirlemeyi tamamlarken lütfen bekleyin.</String>
+
+ <!---->
+
+ <String Id="MsiRMFilesInUse_Text">Bu kur tarafından güncellenmesi gereken dosyaları aşağıdaki uygulamalar kullanıyor. Kur Sihirbazına bunları kapatması ve yeniden başlatmayı denemesi veya daha sonra makineyi yeniden başlatması için izin verebilirsiniz.</String>
+ <String Id="MsiRMFilesInUse_Description">Şu anda kullanımda olan bazı dosyaların güncellenmesi gerek.</String>
+ <String Id="MsiRMFilesInUse_Title">Kullanımda olan Dosyalar</String>
+ <String Id="MsiRMFilesInUse_UseRM">Uygulamaları &amp;kapat ve bunları yeniden başlatmayı dene.</String>
+ <String Id="MsiRMFilesInUse_DontUseRM">Uygulamaları kapat&amp;ma. Yeniden başlatma gerekecektir.</String>
+
+ <!-- The following strings are internally used by WiX and MSI -->
+ <String Id="Error0">{{Önemli hata: }}</String>
+ <String Id="Error1">{{Hata [1]. }}</String>
+ <String Id="Error2">Uyarı [1]. </String>
+ <String Id="Error3" />
+ <String Id="Error4">Bilgi [1]. </String>
+ <String Id="Error5">Yükleyici bu paketi yüklerken beklenmeyen bir hatayla karşılaştı. Bu, bu paketle bir sorun olduğunu gösterebilir. Hata kodu [1]. {{Bağımsız değişkenler: [2], [3], [4]}}</String>
+ <String Id="Error6" />
+ <String Id="Error7">{{Disk dolu: }}</String>
+ <String Id="Error8">Eylem [Time]: [1]. [2]</String>
+ <String Id="Error9">[ProductName]</String>
+ <String Id="Error10">{[2]}{, [3]}{, [4]}</String>
+ <String Id="Error11">İleti türü: [1], Bağımsız değişken: [2]</String>
+ <String Id="Error12">=== Günlükleme başlama: [Date] [Time] ===</String>
+ <String Id="Error13">=== Günlükleme durma: [Date] [Time] ===</String>
+ <String Id="Error14">Eylem başlama [Time]: [1].</String>
+ <String Id="Error15">Eylem bitiş [Time]: [1]. Dönen değer [2].</String>
+ <String Id="Error16">Kalan süre: {[1] dakika }{[2] saniye}</String>
+ <String Id="Error17">Yetersiz bellek. Yeniden denemeden önce diğer uygulamaları kapatın.</String>
+ <String Id="Error18">Yükleyici artık yanıt vermiyor.</String>
+ <String Id="Error19">Yükleyici zamansız durdu.</String>
+ <String Id="Error20">Windows, [ProductName] uygulamasını yapılandırırken lütfen bekleyin</String>
+ <String Id="Error21">Gereken bilgiler toplanıyor...</String>
+ <String Id="Error22">Bu uygulamanın eski sürümleri kaldırılıyor...</String>
+ <String Id="Error23">Bu uygulamanın eski sürümleri kaldırmak için hazırlanıyor...</String>
+ <String Id="Error32">{[ProductName] }Kur başarılı olarak tamamlandı.</String>
+ <String Id="Error33">{[ProductName] }Kur başarısız oldu.</String>
+ <String Id="Error1101">Dosyadan okurken hata oldu: [2]. {{ Sistem hatası [3].}} Dosyanın mevcut olduğunu ve erişebildiğinizi doğrulayın.</String>
+ <String Id="Error1301">'[2]' dosyası oluşturulamıyor. Bu isimle bir dizin zaten mevcut. Yüklemeyi iptal edin ve farklı bir yere yüklemeyi deneyin.</String>
+ <String Id="Error1302">Lütfen şu diski takın: [2]</String>
+ <String Id="Error1303">Yükleyici şu dizine erişmek için yetersiz yetkilere sahip: [2]. Kurulum devam edemiyor. Yönetici olarak oturum açın ya da sistem yöneticinize başvurun.</String>
+ <String Id="Error1304">Dosyaya yazarken hata oldu: [2]. Bu dizine erişebildiğinizi doğrulayın.</String>
+ <String Id="Error1305">[2] dosyasından okurken hata oldu. {{ Sistem hatası [3].}} Dosyanın mevcut olduğunu ve erişebildiğinizi doğrulayın.</String>
+ <String Id="Error1306">Başka bir uygulama '[2]' dosyasına ayrıcalıklı erişime sahip. Lütfen tüm diğer uygulamaları kapatın, sonra Yeniden Dene'ye tıklayın.</String>
+ <String Id="Error1307">Şu dosyayı yüklemek için yeterli disk alanı yok: [2]. Biraz disk alanı açın ve Yeniden Dene'ye tıklayın ya da çıkmak için İptal'e tıklayın.</String>
+ <String Id="Error1308">Kaynak dosya bulunamadı: [2]. Dosyanın mevcut olduğunu ve erişebildiğinizi doğrulayın.</String>
+ <String Id="Error1309">Dosyadan okurken hata oldu: [3]. {{ Sistem hatası [2].}} Dosyanın mevcut olduğunu ve erişebildiğinizi doğrulayın.</String>
+ <String Id="Error1310">Dosyaya yazarken hata oldu: [3]. {{ Sistem hatası [2].}} Bu dizine erişebildiğinizi doğrulayın.</String>
+ <String Id="Error1311">Kaynak dosya bulunamadı{{(kabin)}}: [2]. Dosyanın mevcut olduğunu ve erişebildiğinizi doğrulayın.</String>
+ <String Id="Error1312">'[2]' dizini oluşturulamıyor. Bu isimde bir dosya zaten mevcut. Lütfen dosyayı yeniden adlandırın ya da kaldırın ve yeniden deneye tıklayın veya çıkmak için İptal'e tıklayın.</String>
+ <String Id="Error1313">Birim [2] şu anda kullanılamaz. Lütfen başka birini seçin.</String>
+ <String Id="Error1314">Belirtilen yol '[2]' kullanılamaz.</String>
+ <String Id="Error1315">Belirtilen klasöre yazılamıyor: [2].</String>
+ <String Id="Error1316">Şu dosyadan okuma denenirken bir ağ hatası meydana geldi: [2]</String>
+ <String Id="Error1317">Şu dizinin oluşturulması denenirken bir hata meydana geldi: [2]</String>
+ <String Id="Error1318">Şu dizinin oluşturulması denenirken bir ağ hatası meydana geldi: [2]</String>
+ <String Id="Error1319">Şu kaynak dosya kabininin açılması denenirken bir ağ hatası meydana geldi: [2]</String>
+ <String Id="Error1320">Belirtilen yol çok uzun: [2]</String>
+ <String Id="Error1321">Yükleyici şu dosyayı değiştirmek için yetersiz yetkilere sahip: [2].</String>
+ <String Id="Error1322">'[2]' klasör yolunun bir kısmı geçersiz. Ya boş ya da sistem tarafından izin verilen uzunluğu aşıyor.</String>
+ <String Id="Error1323">'[2]' klasör yolu, klasör yollarında geçerli olmayan kelimeler içeriyor.</String>
+ <String Id="Error1324">'[2]' klasör yolu geçersiz bir karakter içeriyor.</String>
+ <String Id="Error1325">'[2]' geçerli bir kısa dosya adı değil.</String>
+ <String Id="Error1326">Dosya güvenliği sağlanırken hata oldu: [3] SonDizeyiAl: [2]</String>
+ <String Id="Error1327">Geçersiz Sürücü: [2]</String>
+ <String Id="Error1328">[2] dosyasına yama uygulanırken hata oldu. Muhtemelen diğer araçlar tarafından güncellenmiştir ve artık bu yamayla değiştirilemez. Daha fazla bilgi için yama satıcınızla temasa geçin. {{Sistem Hatası: [3]}}</String>
+ <String Id="Error1329">[2] kabin dosyası sayısal olarak imzalanmadığından gereken dosya yüklenemez. Bu kabin dosyasının bozuk olduğunu gösterebilir.</String>
+ <String Id="Error1330">[2] kabin dosyası geçersiz bir sayısal imzaya sahip olduğundan gereken dosya yüklenemez. Bu kabin dosyasının bozuk olduğunu gösterebilir.{{ Hata [3], WinVerifyTrust tarafından döndürüldü.}}</String>
+ <String Id="Error1331">Doğru olarak [2] dosyasını kopyalama başarısız oldu: CRC hatası.</String>
+ <String Id="Error1332">Doğru olarak [2] dosyasını taşıma başarısız oldu: CRC hatası.</String>
+ <String Id="Error1333">Doğru olarak [2] dosyasını yamalama başarısız oldu: CRC hatası.</String>
+ <String Id="Error1334">Dosya '[3]' kabin dosyasında bulunamadığından '[2]' dosyası yüklenemez. Bu bir ağ hatasını, CD-ROM'dan okuma hatasını veya bu paketle ilgili bir sorunu gösterebilir.</String>
+ <String Id="Error1335">Bu kurulum için gereken '[2]' kabin dosyası bozuk ve kullanılamaz. Bu bir ağ hatasını, CD-ROM'dan okuma hatasını veya bu paketle ilgili bir sorunu gösterebilir.</String>
+ <String Id="Error1336">Bu kurulumu tamamlamak için gereken bir geçici dosya oluşturulurken bir hata oldu.{{ Klasör: [3]. Sistem hatası kodu: [2]}}</String>
+ <String Id="Error1401">Anahtar oluşturulamadı: [2]. {{ Sistem hatası [3].}} Bu anahtara yeterli erişiminiz olduğunu doğrulayın ya da destek personelinize başvurun. </String>
+ <String Id="Error1402">Anahtar açılamadı: [2]. {{ Sistem hatası [3].}} Bu anahtara yeterli erişiminiz olduğunu doğrulayın ya da destek personelinize başvurun. </String>
+ <String Id="Error1403">[3] anahtarından [2] değeri silinemedi. {{ Sistem hatası [4].}} Bu anahtara yeterli erişiminiz olduğunu doğrulayın ya da destek personelinize başvurun. </String>
+ <String Id="Error1404">[2] anahtarı silinemedi. {{ Sistem hatası [3].}} Bu anahtara yeterli erişiminiz olduğunu doğrulayın ya da destek personelinize başvurun. </String>
+ <String Id="Error1405">[3] anahtarından [2] değeri okunamadı. {{ Sistem hatası [4].}} Bu anahtara yeterli erişiminiz olduğunu doğrulayın ya da destek personelinize başvurun. </String>
+ <String Id="Error1406">[3] anahtarına [2] değeri yazılamadı. {{ Sistem hatası [4].}} Bu anahtara yeterli erişiminiz olduğunu doğrulayın ya da destek personelinize başvurun.</String>
+ <String Id="Error1407">[2] anahtarı için değer adları alınamadı. {{ Sistem hatası [3].}} Bu anahtara yeterli erişiminiz olduğunu doğrulayın ya da destek personelinize başvurun.</String>
+ <String Id="Error1408">[2] anahtarı için alt anahtar adları alınamadı. {{ Sistem hatası [3].}} Bu anahtara yeterli erişiminiz olduğunu doğrulayın ya da destek personelinize başvurun.</String>
+ <String Id="Error1409">[2] anahtarı için güvenlik bilgisi okunamadı. {{ Sistem hatası [3].}} Bu anahtara yeterli erişiminiz olduğunu doğrulayın ya da destek personelinize başvurun.</String>
+ <String Id="Error1410">Mevcut kayıt defteri alanı attırılamadı. Bu uygulamanın kurulumu için [2] KB boş kayıt defteri alanı gerekli.</String>
+ <String Id="Error1500">Başka bir kurulum sürmekte. Buna devam etmeden önce bu kurulumu tamamlamak zorundasınız.</String>
+ <String Id="Error1501">Güvenli veriye erişilirken hata oldu. Lütfen Windows Yükleyicinin doğru bir şekilde yapılandırıldığından emin olun ve tekrar yüklemeyi deneyin.</String>
+ <String Id="Error1502">Kullanıcı '[2]', '[3]' ürünü için önceden başlatılmış bir yüklemeye sahip. Bu kullanıcının bu yüklemeyi ürünü kullanmadan önce tekrar çalıştırması gerekecek. Şu anki yüklemeniz şimdi devam edecek.</String>
+ <String Id="Error1503">Kullanıcı '[2]', '[3]' ürünü için önceden başlatılmış bir yüklemeye sahip. Bu kullanıcının bu yüklemeyi ürünü kullanmadan önce tekrar çalıştırması gerekecek.</String>
+ <String Id="Error1601">Yetersiz disk alanı -- Birim: '[2]'; gereken alan: [3] KB; kullanılabilir alan: [4] KB. Biraz disk alanı açın ve yeniden deneyin.</String>
+ <String Id="Error1602">İptal etmek istediğinize emin misiniz?</String>
+ <String Id="Error1603">[2][3] dosyası kullanımda tutulmakta{ belirtilen işleme göre: Adı: [4], Kimliği: [5], Pencere Başlığı: '[6]'}. Bu uygulamayı kapatın ve yeniden deneyin.</String>
+ <String Id="Error1604">'[2]' ürünü zaten yüklü, bu ürünün kurulumu önleniyor. İki ürün uyumsuz.</String>
+ <String Id="Error1605">Kurtarma etkinleştirilmiş yüklemeye devam etmek için '[2]' biriminde yeterli disk alanı yok. [3] KB gerekli, ancak yalnızca [4] KB mevcut. Kurtarma bilgisini kaydetmeden yüklemeye devam etmek için Yoksay'a tıklayın, kullanılabilir alanı tekrar denetlemek için Yeniden Dene'ye tıklayın ya da kurulumdan çıkmak için İptal'e tıklayın.</String>
+ <String Id="Error1606">[2] ağ konumuna erişilemedi.</String>
+ <String Id="Error1607">Aşağıdaki uygulamalar yüklemeye devam etmeden önce kapatılmalıdır:</String>
+ <String Id="Error1608">Bu ürünün yüklenmesi için makinede önceden yüklenmiş herhangi bir uyumlu ürün bulunamadı.</String>
+ <String Id="Error1609">Güvenlik ayarları uygulanırken bir hata meydana geldi. [2] geçerli bir kullanıcı veya grup değil. Bu, paketle ilgili bir sorun veya ağdaki bir etki alanı denetleyicisine bağlanma sorunu olabilir. Ağ bağlantılarınızı denetleyin ve Yeniden Dene'ye veya yüklemeyi sonlandırmak için İptal'e tıklayın. {{Kullanıcının SID konumu belirlenemiyor, sistem hatası [3]}}</String>
+ <String Id="Error1701">Anahtar [2] geçerli değil. Doğru anahtarı girdiğinizi doğrulayın.</String>
+ <String Id="Error1702">Yükleyici, [2] yapılandırmasına devam edebilmek için önce sisteminizi yeniden başlatmak zorunda. Hemen yeniden başlatmak için Evet'e veya sonra el ile yeniden başlatmak için Hayır'a tıklayın.</String>
+ <String Id="Error1703">[2] için yapılan yapılandırma değişikliklerinin etkili olması için sisteminizi yeniden başlatmak zorundasınız. Hemen yeniden başlatmak için Evet'e veya sonra el ile yeniden başlatmak için Hayır'a tıklayın.</String>
+ <String Id="Error1704">[2] için kurulum şu anda askıya alındı. Devam etmek için bu kurulum tarafından yapılan değişiklikleri geri almak zorundasınız. Bu değişikleri geri almak istiyor musunuz?</String>
+ <String Id="Error1705">Bu ürün için önceki bir kurulum sürmekte. Devam etmek için bu kurulum tarafından yapılan değişiklikleri geri almak zorundasınız. Bu değişikleri geri almak istiyor musunuz?</String>
+ <String Id="Error1706">[2] ürünü için bir kurulum paketi bulunamaz. '[3]' kurulum paketinin geçerli bir kopyasını kullanarak tekrar kurulumu deneyin.</String>
+ <String Id="Error1707">Kurulum başarılı olarak tamamlandı.</String>
+ <String Id="Error1708">Kurulum başarısız oldu.</String>
+ <String Id="Error1709">Ürün: [2] -- [3]</String>
+ <String Id="Error1710">Ya bilgisayarınızı önceki durumuna geri yükleyebilir ya da daha sonra yüklemeye devam edebilirsiniz. Geri yüklemek ister misiniz?</String>
+ <String Id="Error1711">Diske kurulum bilgisi yazılırken bir hata meydana geldi. Yeterli disk alanının mevcut olduğundan emin olmak için denetleyin ve Yeniden Dene'ye veya yüklemeyi sonlandırmak için İptal'e tıklayın.</String>
+ <String Id="Error1712">Bilgisayarınızı önceki durumuna geri yüklemek için gereken dosyaların bir veya daha fazlası bulunamadı. Geri yüklemek mümkün olmayacaktır.</String>
+ <String Id="Error1713">[2] gerektirdiği ürünlerden birini yükleyemiyor. Teknik destek grubunuza başvurun. {{Sistem Dizesi: [3].}}</String>
+ <String Id="Error1714">[2] uygulamasının eski sürümü kaldırılamaz. Teknik destek grubunuza başvurun. {{Sistem Dizesi [3].}}</String>
+ <String Id="Error1715">[2] Yüklendi</String>
+ <String Id="Error1716">[2] Yapılandırıldı</String>
+ <String Id="Error1717">[2] Kaldırıldı</String>
+ <String Id="Error1718">Dosya [2], sayısal imza ilkesi tarafından reddedildi.</String>
+ <String Id="Error1719">Windows Yükleyici Hizmetine erişilemedi. Bu, Windows'u güvenli kipte çalıştırıyorsanız ya da Windows Yükleyici doğru olarak yüklenmediyse olur. Yardım için destek personelinize başvurun.</String>
+ <String Id="Error1720">Bu Windows Yükleyici paketiyle ilgili bir sorun var. Bu yüklemeyi tamamlamak için gereken bir betik çalıştırılamadı. Destek personelinize veya paket satıcınıza başvurun. {{Özel eylem [2] betik hatası [3], [4]: [5] Satır [6], Sütun [7], [8] }}</String>
+ <String Id="Error1721">Bu Windows Yükleyici paketiyle ilgili bir sorun var. Bu yüklemeyi tamamlamak için gereken bir program çalıştırılamadı. Destek personelinize veya paket satıcınıza başvurun. {{Eylem: [2], konum: [3], komut: [4] }}</String>
+ <String Id="Error1722">Bu Windows Yükleyici paketiyle ilgili bir sorun var. Kur'un parçası olarak çalışan bir program beklendiği gibi tamamlanmadı. Destek personelinize veya paket satıcınıza başvurun. {{Eylem [2], konum: [3], komut: [4] }}</String>
+ <String Id="Error1723">Bu Windows Yükleyici paketiyle ilgili bir sorun var. Bu yüklemeyi tamamlamak için gereken bir DLL çalıştırılamadı. Destek personelinize veya paket satıcınıza başvurun. {{Eylem [2], giriş: [3], kütüphane: [4] }}</String>
+ <String Id="Error1724">Kaldırma başarılı olarak tamamlandı.</String>
+ <String Id="Error1725">Kaldırma başarısız oldu.</String>
+ <String Id="Error1726">Duyurma başarılı olarak tamamlandı.</String>
+ <String Id="Error1727">Duyurma başarısız oldu.</String>
+ <String Id="Error1728">Yapılandırma başarılı olarak tamamlandı.</String>
+ <String Id="Error1729">Yapılandırma başarısız oldu.</String>
+ <String Id="Error1730">Bu uygulamayı kaldırmak için Yönetici olmak zorundasınız. Bu uygulamayı kaldırmak için Yönetici olarak oturum açabilirsiniz veya yardım için teknik destek grubunuza başvurun.</String>
+ <String Id="Error1801">Yol [2] geçerli değil. Lütfen geçerli bir yol belirleyin.</String>
+ <String Id="Error1802">Yetersiz bellek. Yeniden denemeden önce diğer uygulamaları kapatın.</String>
+ <String Id="Error1803">[2] sürücüsünde disk yok. Lütfen bir tane yerleştirin ve Yeniden Dene'ye tıklayın ya da önceki seçilen birime geri gitmek için İptal'e tıklayın.</String>
+ <String Id="Error1804">[2] sürücüsünde disk yok. Lütfen bir tane yerleştirin ve Yeniden Dene'ye tıklayın ya da gözat iletisine dönmek ve farklı bir birim seçmek için İptal'e tıklayın.</String>
+ <String Id="Error1805">Klasör [2] mevcut değil. Lütfen mevcut bir klasör için yol girin.</String>
+ <String Id="Error1806">Bu klasörü okumak için yeterli yetkilere sahip değilsiniz.</String>
+ <String Id="Error1807">Yükleme için geçerli bir hedef klasör belirlenemedi.</String>
+ <String Id="Error1901">Kaynak yükleme veritabanından okumaya çalışırken hata oldu: [2].</String>
+ <String Id="Error1902">Yeniden başlatma işlemi zamanlanıyor: [2] dosyası [3] adına yeniden adlandırılıyor. İşlemi tamamlamak için yeniden başlatmak zorundasınız.</String>
+ <String Id="Error1903">Yeniden başlatma işlemi zamanlanıyor: [2] dosyası siliniyor. İşlemi tamamlamak için yeniden başlatmak zorundasınız.</String>
+ <String Id="Error1904">Kaydettirmek için [2] modülü başarısız oldu. HRESULT [3]. Destek personelinize başvurun.</String>
+ <String Id="Error1905">Kaydını kaldırmak için [2] modülü başarısız oldu. HRESULT [3]. Destek personelinize başvurun.</String>
+ <String Id="Error1906">[2] paketini önbellekleme başarısız oldu. Hata: [3]. Destek personelinize başvurun.</String>
+ <String Id="Error1907">[2] yazı tipi kaydettirilemedi. Yazı tiplerini yüklemek için yeterli izinlere sahip olduğunuzu ve sistemin bu yazı tipini desteklediğini doğrulayın.</String>
+ <String Id="Error1908">[2] yazı tipi kaydı kaldırılamadı. Yazı tiplerini kaldırmak için yeterli izinlere sahip olduğunuzu doğrulayın.</String>
+ <String Id="Error1909">[2] Kısayolu oluşturulamadı. Hedef klasörün mevcut olduğunu ve erişebildiğinizi doğrulayın.</String>
+ <String Id="Error1910">[2] Kısayolu kaldırılamadı. Kısayol dosyasının mevcut olduğunu ve erişebildiğinizi doğrulayın.</String>
+ <String Id="Error1911">[2] dosyası için tür kütüphanesi kaydettirilemedi. Destek personelinize başvurun.</String>
+ <String Id="Error1912">[2] dosyası için tür kütüphanesi kaydı kaldırılamadı. Destek personelinize başvurun.</String>
+ <String Id="Error1913">[2][3] ini dosyası güncellenemedi. Dosyanın mevcut olduğunu ve erişebildiğinizi doğrulayın.</String>
+ <String Id="Error1914">Yeniden başlatmada [3] dosyasının değiştirilmesi için [2] dosyası zamanlanamadı. [3] dosyasına yazma izinlerine sahip olduğunuzu doğrulayın.</String>
+ <String Id="Error1915">ODBC sürücü yöneticisi kaldırılırken hata oldu, ODBC hatası [2]: [3]. Destek personelinize başvurun.</String>
+ <String Id="Error1916">ODBC sürücü yöneticisi yüklenirken hata oldu, ODBC hatası [2]: [3]. Destek personelinize başvurun.</String>
+ <String Id="Error1917">ODBC sürücüsü kaldırılırken hata oldu: [4], ODBC hatası [2]: [3]. ODBC sürücülerini kaldırmak için yeterli yetkilere sahip olduğunuzu doğrulayın.</String>
+ <String Id="Error1918">ODBC sürücüsü yüklenirken hata oldu: [4], ODBC hatası [2]: [3]. [4] dosyasının mevcut olduğunu ve erişebildiğinizi doğrulayın.</String>
+ <String Id="Error1919">ODBC veri kaynağı yapılandırılırken hata oldu: [4], ODBC hatası [2]: [3]. [4] dosyasının mevcut olduğunu ve erişebildiğinizi doğrulayın.</String>
+ <String Id="Error1920">Başlatmak için '[2]' ([3]) hizmeti başarısız oldu. Sistem hizmetlerini başlatmak için yeterli yetkilere sahip olduğunuzu doğrulayın.</String>
+ <String Id="Error1921">'[2]' ([3]) hizmeti durdurulamadı. Sistem hizmetlerini durdurmak için yeterli yetkilere sahip olduğunuzu doğrulayın.</String>
+ <String Id="Error1922">'[2]' ([3]) hizmeti silinemedi. Sistem hizmetlerini kaldırmak için yeterli yetkilere sahip olduğunuzu doğrulayın.</String>
+ <String Id="Error1923">'[2]' ([3]) hizmeti yüklenemedi. Sistem hizmetlerini yüklemek için yeterli yetkilere sahip olduğunuzu doğrulayın.</String>
+ <String Id="Error1924">'[2]' ortam değişkeni güncellenemedi. Ortam değişkenlerini değiştirmek için yeterli yetkilere sahip olduğunuzu doğrulayın.</String>
+ <String Id="Error1925">Makinenin tüm kullanıcılarının bu kurulumunu tamamlamak için yeterli yetkilere sahip değilsiniz. Yönetici olarak oturum açın ve sonra bu kurulumu yeniden deneyin.</String>
+ <String Id="Error1926">'[3]' dosyası için dosya güvenliği ayarlanamadı. Hata: [2]. Bu dosyanın güvenlik izinlerini değiştirmek için yeterli yetkilere sahip olduğunuzu doğrulayın.</String>
+ <String Id="Error1927">Bileşen Hizmetleri (COM+ 1.0) bu bilgisayara yüklenmedi. Bu kurulumun başarılı olarak tamamlanması Bileşen Hizmetlerini gerektirir. Bileşen Hizmetleri Windows 2000'de mevcuttur.</String>
+ <String Id="Error1928">COM+ Uygulaması kaydettirilirken hata oldu. Daha fazla bilgi için destek personelinize başvurun.</String>
+ <String Id="Error1929">COM+ Uygulamasının kaydı kaldırılırken hata oldu. Daha fazla bilgi için destek personelinize başvurun.</String>
+ <String Id="Error1930">'[2]' ([3]) hizmeti tanımı değiştirilemedi.</String>
+ <String Id="Error1931">Windows Yükleyici hizmeti, [2] sistem dosyasını güncelleyemiyor çünkü dosya Windows tarafından korunuyor. Bu programın doğru olarak çalışması için işletim sisteminizi güncellemeniz gerekebilir. {{Paket sürümü: [3], İS Korunan sürüm: [4]}}</String>
+ <String Id="Error1932">Windows Yükleyici hizmeti, korunan [2] Windows dosyasını güncelleyemiyor. {{Paket sürümü: [3], İS Korunan sürüm: [4], SFP Hatası: [5]}}</String>
+ <String Id="Error1933">Windows Yükleyici hizmeti, bir ya da daha fazla korunan Windows dosyasını güncelleyemiyor. {{SFP Dizesi: [2]. Korunan dosyaların listesi:\r\n[3]}}</String>
+ <String Id="Error1934">Kullanıcı kurulumları makinedeki ilke yoluyla etkisizleştirildi.</String>
+ <String Id="Error1935">[2] derleme bileşeninin kurulumu sırasında bir hata meydana geldi. HRESULT: [3]. {{derleme arayüzü: [4], işlev: [5], derleme adı: [6]}}</String>
+
+ <!-- Own / special errors -->
+ <String Id="Error25001">"[2]" uygulamasının kuruluma devam etmesi için kapatılması gerekiyor.</String>
+
+ <String Id="ProgressTextInstallValidate">Yükleme doğrulanıyor</String>
+ <String Id="ProgressTextInstallFiles">Yeni dosyalar kopyalanıyor</String>
+ <String Id="ProgressTextInstallFilesTemplate">Dosya: [1], Dizin: [9], Boyut: [6]</String>
+ <String Id="ProgressTextInstallAdminPackage">Ağ yükleme dosyaları kopyalanıyor</String>
+ <String Id="ProgressTextInstallAdminPackageTemplate">Dosya: [1], Dizin: [9], Boyut: [6]</String>
+ <String Id="ProgressTextFileCost">Alan gereksinimleri hesaplanıyor</String>
+ <String Id="ProgressTextCostInitialize">Alan gereksinimleri hesaplanıyor</String>
+ <String Id="ProgressTextCostFinalize">Alan gereksinimleri hesaplanıyor</String>
+ <String Id="ProgressTextCreateShortcuts">Kısayollar oluşturuluyor</String>
+ <String Id="ProgressTextCreateShortcutsTemplate">Kısayol: [1]</String>
+ <String Id="ProgressTextPublishComponents">Nitelikli Bileşenler yayınlanıyor</String>
+ <String Id="ProgressTextPublishComponentsTemplate">Bileşen Kimliği: [1], Niteleyici: [2]</String>
+ <String Id="ProgressTextPublishFeatures">Ürün Özellikleri yayınlanıyor</String>
+ <String Id="ProgressTextPublishFeaturesTemplate">Özellik: [1]</String>
+ <String Id="ProgressTextPublishProduct">Ürün bilgisi yayınlanıyor</String>
+ <String Id="ProgressTextRegisterClassInfo">Sınıf sunucuları kaydettiriliyor</String>
+ <String Id="ProgressTextRegisterClassInfoTemplate">Sınıf Kimliği: [1]</String>
+ <String Id="ProgressTextRegisterExtensionInfo">Uzantı sunucuları kaydettiriliyor</String>
+ <String Id="ProgressTextRegisterExtensionInfoTemplate">Uzantı: [1]</String>
+ <String Id="ProgressTextRegisterMIMEInfo">MIME bilgisi kaydettiriliyor</String>
+ <String Id="ProgressTextRegisterMIMEInfoTemplate">MIME İçerik Türü: [1], Uzantı: [2]</String>
+ <String Id="ProgressTextRegisterProgIdInfo">Program tanımlayıcıları kaydettiriliyor</String>
+ <String Id="ProgressTextRegisterProgIdInfoTemplate">ProgKimliği: [1]</String>
+ <String Id="ProgressTextAllocateRegistrySpace">Kayıt defteri alanı ayrılıyor</String>
+ <String Id="ProgressTextAllocateRegistrySpaceTemplate">Boş alan: [1]</String>
+ <String Id="ProgressTextAppSearch">Yüklü uygulamalar aranıyor</String>
+ <String Id="ProgressTextAppSearchTemplate">Özellik: [1], İmza: [2]</String>
+ <String Id="ProgressTextBindImage">Çalıştırılabilirler bağlanıyor</String>
+ <String Id="ProgressTextBindImageTemplate">Dosya: [1]</String>
+ <String Id="ProgressTextCCPSearch">Niteleyici ürünler aranıyor</String>
+ <String Id="ProgressTextCreateFolders">Klasörler oluşturuluyor</String>
+ <String Id="ProgressTextCreateFoldersTemplate">Klasör: [1]</String>
+ <String Id="ProgressTextDeleteServices">Hizmetler siliniyor</String>
+ <String Id="ProgressTextDeleteServicesTemplate">Hizmet: [1]</String>
+ <String Id="ProgressTextDuplicateFiles">Kopya dosyalar oluşturuluyor</String>
+ <String Id="ProgressTextDuplicateFilesTemplate">Dosya: [1], Dizin: [9], Boyut: [6]</String>
+ <String Id="ProgressTextFindRelatedProducts">İlgili uygulamalar aranıyor</String>
+ <String Id="ProgressTextFindRelatedProductsTemplate">Bulunan uygulama: [1]</String>
+ <String Id="ProgressTextInstallODBC">ODBC bileşenleri yükleniyor</String>
+ <String Id="ProgressTextInstallServices">Yeni hizmetler yükleniyor</String>
+ <String Id="ProgressTextInstallServicesTemplate">Hizmet: [2]</String>
+ <String Id="ProgressTextLaunchConditions">Başlatma şartları değerlendiriliyor</String>
+ <String Id="ProgressTextMigrateFeatureStates">İlgili uygulamalardan özellik durumları geçiriliyor</String>
+ <String Id="ProgressTextMigrateFeatureStatesTemplate">Uygulama: [1]</String>
+ <String Id="ProgressTextMoveFiles">Dosyalar taşınıyor</String>
+ <String Id="ProgressTextMoveFilesTemplate">Dosya: [1], Dizin: [9], Boyut: [6]</String>
+ <String Id="ProgressTextPatchFiles">Dosyalar yamalanıyor</String>
+ <String Id="ProgressTextPatchFilesTemplate">Dosya: [1], Dizin: [2], Boyut: [3]</String>
+ <String Id="ProgressTextProcessComponents">Bileşen kaydı güncelleniyor</String>
+ <String Id="ProgressTextRegisterComPlus">COM+ Uygulamaları ve Bileşenleri kaydettiriliyor</String>
+ <String Id="ProgressTextRegisterComPlusTemplate">UygKimliği: [1]{{, UygTürü: [2], Kullanıcı: [3], RSN: [4]}}</String>
+ <String Id="ProgressTextRegisterFonts">Yazı tipleri kaydettiriliyor</String>
+ <String Id="ProgressTextRegisterFontsTemplate">Yazı Tipi: [1]</String>
+ <String Id="ProgressTextRegisterProduct">Ürün kaydettiriliyor</String>
+ <String Id="ProgressTextRegisterProductTemplate">[1]</String>
+ <String Id="ProgressTextRegisterTypeLibraries">Tür kütüphaneleri kaydettiriliyor</String>
+ <String Id="ProgressTextRegisterTypeLibrariesTemplate">KtphKimliği: [1]</String>
+ <String Id="ProgressTextRegisterUser">Kullanıcı kaydettiriliyor</String>
+ <String Id="ProgressTextRegisterUserTemplate">[1]</String>
+ <String Id="ProgressTextRemoveDuplicateFiles">Çoğaltılmış dosyalar kaldırılıyor</String>
+ <String Id="ProgressTextRemoveDuplicateFilesTemplate">Dosya: [1], Dizin: [9]</String>
+ <String Id="ProgressTextRemoveEnvironmentStrings">Ortam dizeleri güncelleniyor</String>
+ <String Id="ProgressTextRemoveEnvironmentStringsTemplate">Adı: [1], Değer: [2], Eylem [3]</String>
+ <String Id="ProgressTextRemoveExistingProducts">Uygulamalar kaldırılıyor</String>
+ <String Id="ProgressTextRemoveExistingProductsTemplate">Uygulama: [1], Komut satırı: [2]</String>
+ <String Id="ProgressTextRemoveFiles">Dosyalar kaldırılıyor</String>
+ <String Id="ProgressTextRemoveFilesTemplate">Dosya: [1], Dizin: [9]</String>
+ <String Id="ProgressTextRemoveFolders">Klasörler kaldırılıyor</String>
+ <String Id="ProgressTextRemoveFoldersTemplate">Klasör: [1]</String>
+ <String Id="ProgressTextRemoveIniValues">INI dosyaları girişleri kaldırılıyor</String>
+ <String Id="ProgressTextRemoveIniValuesTemplate">Dosya: [1], Bölüm: [2], Anahtar: [3], Değer: [4]</String>
+ <String Id="ProgressTextRemoveODBC">ODBC bileşenleri kaldırılıyor</String>
+ <String Id="ProgressTextRemoveRegistryValues">Sistem kayıt defteri değerleri kaldırılıyor</String>
+ <String Id="ProgressTextRemoveRegistryValuesTemplate">Anahtar: [1], Adı: [2]</String>
+ <String Id="ProgressTextRemoveShortcuts">Kısayollar kaldırılıyor</String>
+ <String Id="ProgressTextRemoveShortcutsTemplate">Kısayol: [1]</String>
+ <String Id="ProgressTextRMCCPSearch">Niteleyici ürünler aranıyor</String>
+ <String Id="ProgressTextSelfRegModules">Modüller kaydettiriliyor</String>
+ <String Id="ProgressTextSelfRegModulesTemplate">Dosya: [1], Klasör: [2]</String>
+ <String Id="ProgressTextSelfUnregModules">Modüllerin kaydı kaldırılıyor</String>
+ <String Id="ProgressTextSelfUnregModulesTemplate">Dosya: [1], Klasör: [2]</String>
+ <String Id="ProgressTextSetODBCFolders">ODBC dizinleri başlatılıyor</String>
+ <String Id="ProgressTextStartServices">Hizmetler başlatılıyor</String>
+ <String Id="ProgressTextStartServicesTemplate">Hizmet: [1]</String>
+ <String Id="ProgressTextStopServices">Hizmetler durduruluyor</String>
+ <String Id="ProgressTextStopServicesTemplate">Hizmet: [1]</String>
+ <String Id="ProgressTextUnpublishComponents">Nitelikli Bileşenler yayından kaldırılıyor</String>
+ <String Id="ProgressTextUnpublishComponentsTemplate">Bileşen Kimliği: [1], Niteleyici: [2]</String>
+ <String Id="ProgressTextUnpublishFeatures">Ürün Özellikleri yayından kaldırılıyor</String>
+ <String Id="ProgressTextUnpublishFeaturesTemplate">Özellik: [1]</String>
+ <String Id="ProgressTextUnregisterClassInfo">Sınıf sunucularının kaydını kaldır</String>
+ <String Id="ProgressTextUnregisterClassInfoTemplate">Sınıf Kimliği: [1]</String>
+ <String Id="ProgressTextUnregisterComPlus">COM+ Uygulamalarının ve Bileşenlerinin kaydı kaldırılıyor</String>
+ <String Id="ProgressTextUnregisterComPlusTemplate">UygKimliği: [1]{{, UygTürü: [2]}}</String>
+ <String Id="ProgressTextUnregisterExtensionInfo">Uzantı sunucularının kaydı kaldırılıyor</String>
+ <String Id="ProgressTextUnregisterExtensionInfoTemplate">Uzantı: [1]</String>
+ <String Id="ProgressTextUnregisterFonts">Yazı tiplerinin kaydı kaldırılıyor</String>
+ <String Id="ProgressTextUnregisterFontsTemplate">Yazı Tipi: [1]</String>
+ <String Id="ProgressTextUnregisterMIMEInfo">MIME bilgisinin kaydı kaldırılıyor</String>
+ <String Id="ProgressTextUnregisterMIMEInfoTemplate">MIME İçerik Türü: [1], Uzantı: [2]</String>
+ <String Id="ProgressTextUnregisterProgIdInfo">Program tanımlayıcılarının kaydı kaldırılıyor</String>
+ <String Id="ProgressTextUnregisterProgIdInfoTemplate">ProgKimliği: [1]</String>
+ <String Id="ProgressTextUnregisterTypeLibraries">Tür kütüphanelerinin kaydı kaldırılıyor</String>
+ <String Id="ProgressTextUnregisterTypeLibrariesTemplate">KtphKimliği: [1]</String>
+ <String Id="ProgressTextWriteEnvironmentStrings">Ortam dizeleri güncelleniyor</String>
+ <String Id="ProgressTextWriteEnvironmentStringsTemplate">Adı: [1], Değer: [2], Eylem [3]</String>
+ <String Id="ProgressTextWriteIniValues">INI dosyaları değerleri yazılıyor</String>
+ <String Id="ProgressTextWriteIniValuesTemplate">Dosya: [1], Bölüm: [2], Anahtar: [3], Değer: [4]</String>
+ <String Id="ProgressTextWriteRegistryValues">Sistem kayıt defteri değerleri yazılıyor</String>
+ <String Id="ProgressTextWriteRegistryValuesTemplate">Anahtar: [1], Adı: [2], Değer: [3]</String>
+ <String Id="ProgressTextAdvertise">Uygulama duyuruluyor</String>
+ <String Id="ProgressTextGenerateScript">Şu eylem için betik işlemleri üretiliyor:</String>
+ <String Id="ProgressTextGenerateScriptTemplate">[1]</String>
+ <String Id="ProgressTextInstallSFPCatalogFile">Sistem kataloğu yükleniyor</String>
+ <String Id="ProgressTextInstallSFPCatalogFileTemplate">Dosya: [1], Bağımlılar: [2]</String>
+ <String Id="ProgressTextMsiPublishAssemblies">Derleme bilgisi yayınlanıyor</String>
+ <String Id="ProgressTextMsiPublishAssembliesTemplate">Uygulama Bağlamı:[1], Derleme Adı:[2]</String>
+ <String Id="ProgressTextMsiUnpublishAssemblies">Derleme bilgisi yayından kaldırılıyor</String>
+ <String Id="ProgressTextMsiUnpublishAssembliesTemplate">Uygulama Bağlamı:[1], Derleme Adı:[2]</String>
+ <String Id="ProgressTextRollback">Geri alma eylemi:</String>
+ <String Id="ProgressTextRollbackTemplate">[1]</String>
+ <String Id="ProgressTextRollbackCleanup">Yedekleme dosyaları kaldırılıyor</String>
+ <String Id="ProgressTextRollbackCleanupTemplate">Dosya: [1]</String>
+ <String Id="ProgressTextUnmoveFiles">Taşınan dosyalar kaldırılıyor</String>
+ <String Id="ProgressTextUnmoveFilesTemplate">Dosya: [1], Dizin: [9]</String>
+ <String Id="ProgressTextUnpublishProduct">Ürün bilgisi yayından kaldırılıyor</String>
+
+ <String Id="UITextbytes">bayt</String>
+ <String Id="UITextGB">GB</String>
+ <String Id="UITextKB">KB</String>
+ <String Id="UITextMB">MB</String>
+ <String Id="UITextMenuAbsent">Bütün özellik kullanılamaz olacaktır</String>
+ <String Id="UITextMenuAdvertise">Özellik gerektiğinde yüklenecektir</String>
+ <String Id="UITextMenuAllCD">Bütün özellik CD'den çalıştırmak için yüklenecektir</String>
+ <String Id="UITextMenuAllLocal">Bütün özellik yerel sabit sürücüye yüklenecektir</String>
+ <String Id="UITextMenuAllNetwork">Bütün özellik ağdan çalıştırmak için yüklenecektir</String>
+ <String Id="UITextMenuCD">CD'den çalıştırmak için yüklenecektir</String>
+ <String Id="UITextMenuLocal">Yerel sabit sürücüye yüklenecektir</String>
+ <String Id="UITextMenuNetwork">Ağdan çalıştırmak için yüklenecektir</String>
+ <String Id="UITextScriptInProgress">Gereken bilgiler toplanıyor...</String>
+ <String Id="UITextSelAbsentAbsent">Bu özellik kaldırıldı olarak kalacaktır</String>
+ <String Id="UITextSelAbsentAdvertise">Bu özellik gerektiğinde yüklenmesi için ayarlanacaktır</String>
+ <String Id="UITextSelAbsentCD">Bu özellik CD'den çalıştırmak için yüklenecektir</String>
+ <String Id="UITextSelAbsentLocal">Bu özellik yerel sabit sürücüye yüklenecektir</String>
+ <String Id="UITextSelAbsentNetwork">Bu özellik ağdan çalıştırmak için yüklenecektir</String>
+ <String Id="UITextSelAdvertiseAbsent">Bu özellik kullanılamaz olacaktır</String>
+ <String Id="UITextSelAdvertiseAdvertise">Gerektiğinde yüklenecektir</String>
+ <String Id="UITextSelAdvertiseCD">Bu özellik CD'den çalıştırmak için kullanılabilir olacaktır</String>
+ <String Id="UITextSelAdvertiseLocal">Bu özellik yerel sabit sürücünüze yüklenecektir</String>
+ <String Id="UITextSelAdvertiseNetwork">Bu özellik ağdan çalıştırmak için kullanılabilir olacaktır</String>
+ <String Id="UITextSelCDAbsent">Bu özellik tamamen kaldırılacaktır, CD'den çalıştıramayacaksınız</String>
+ <String Id="UITextSelCDAdvertise">Bu özellik CD'den çalıştır durumundan, gerektiğinde yüklenecek durumuna değiştirilecektir</String>
+ <String Id="UITextSelCDCD">Bu özellik CD'den çalıştır olarak kalacaktır</String>
+ <String Id="UITextSelCDLocal">Bu özellik CD'den çalıştır durumundan, yerel sabit sürücüye yüklenecek durumuna değiştirilecektir</String>
+ <String Id="UITextSelChildCostNeg">Bu özellik sabit sürücünüzde [1] yer kazandırır.</String>
+ <String Id="UITextSelChildCostPos">Bu özellik sabit sürücünüzde [1] gerektirir.</String>
+ <String Id="UITextSelCostPending">Bu özellik için gerekenler belirleniyor...</String>
+ <String Id="UITextSelLocalAbsent">Bu özellik tamamen kaldırılacaktır</String>
+ <String Id="UITextSelLocalAdvertise">Bu özellik yerel sabit sürücünüzden kaldırılacaktır, ancak gerektiğinde yüklenecek durumuna ayarlanacaktır</String>
+ <String Id="UITextSelLocalCD">Bu özellik yerel sabit sürücünüzden kaldırılacaktır, ancak hala CD'den çalıştırmak için kullanılabilir olacaktır</String>
+ <String Id="UITextSelLocalLocal">Bu özellik yerel sabit sürücünüzde kalacaktır</String>
+ <String Id="UITextSelLocalNetwork">Bu özellik yerel sabit sürücünüzden kaldırılacaktır, ancak hala ağdan çalıştırmak için kullanılabilir olacaktır</String>
+ <String Id="UITextSelNetworkAbsent">Bu özellik tamamen kaldırılacaktır, ağdan çalıştıramayacaksınız</String>
+ <String Id="UITextSelNetworkAdvertise">Bu özellik ağdan çalıştır durumundan, gerektiğinde yüklenecek durumuna değiştirilecektir</String>
+ <String Id="UITextSelNetworkLocal">Bu özellik ağdan çalıştır durumundan, yerel sabit sürücüye yüklenecek durumuna değiştirilecektir</String>
+ <String Id="UITextSelNetworkNetwork">Bu özellik ağdan çalıştır olarak kalacaktır</String>
+ <String Id="UITextSelParentCostNegNeg">Bu özellik sabit sürücünüzde [1] yer kazandırır. Seçili [2] / [3] alt özelliğe sahiptir. Alt özellikler sabit sürücünüzde [4] yer kazandırır.</String>
+ <String Id="UITextSelParentCostNegPos">Bu özellik sabit sürücünüzde [1] yer kazandırır. Seçili [2] / [3] alt özelliğe sahiptir. Alt özellikler sabit sürücünüzde [4] gerektirir.</String>
+ <String Id="UITextSelParentCostPosNeg">Bu özellik sabit sürücünüzde [1] gerektirir. Seçili [2] / [3] alt özelliğe sahiptir. Alt özellikler sabit sürücünüzde [4] yer kazandırır.</String>
+ <String Id="UITextSelParentCostPosPos">Bu özellik sabit sürücünüzde [1] gerektirir. Seçili [2] / [3] alt özelliğe sahiptir. Alt özellikler sabit sürücünüzde [4] gerektirir.</String>
+ <String Id="UITextTimeRemaining">Kalan süre: {[1] dakika }{[2] saniye}</String>
+ <String Id="UITextVolumeCostAvailable">Kullanılabilir</String>
+ <String Id="UITextVolumeCostDifference">Fark</String>
+ <String Id="UITextVolumeCostRequired">Gereken</String>
+ <String Id="UITextVolumeCostSize">Disk Boyutu</String>
+ <String Id="UITextVolumeCostVolume">Birim</String>
+
+</WixLocalization>
diff --git a/src/VBox/Installer/win/NLS/zh_CN.wxl b/src/VBox/Installer/win/NLS/zh_CN.wxl
new file mode 100644
index 00000000..7ea1c68c
--- /dev/null
+++ b/src/VBox/Installer/win/NLS/zh_CN.wxl
@@ -0,0 +1,620 @@
+<?xml version="1.0" encoding="utf-8"?>
+
+<!--
+ Language Definition Include for VirtualBox WiX script.
+-->
+<!--
+ Copyright (C) 2011-2023 Oracle and/or its affiliates.
+
+ This file is part of VirtualBox base platform packages, as
+ available from https://www.virtualbox.org.
+
+ This program is free software; you can redistribute it and/or
+ modify it under the terms of the GNU General Public License
+ as published by the Free Software Foundation, in version 3 of the
+ License.
+
+ This program is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, see <https://www.gnu.org/licenses>.
+
+ SPDX-License-Identifier: GPL-3.0-only
+-->
+
+<WixLocalization xmlns="http://schemas.microsoft.com/wix/2006/localization" Codepage="65001" Culture="zh_CN">
+<String Id="LANG">2052</String>
+<String Id="LangName">简体中文</String>
+
+<String Id="ButtonText_No">否(&amp;N)</String>
+<String Id="ButtonText_Yes">是(&amp;Y)</String>
+<String Id="ButtonText_Cancel">取消(&amp;C)</String>
+<String Id="ButtonText_Next">下一步(&amp;N) &gt;</String>
+<String Id="ButtonText_Back">&lt; 上一步(&amp;B)</String>
+<String Id="ButtonText_Browse">浏览(&amp;O)</String>
+<String Id="ButtonText_OK">确定(&amp;K)</String>
+<String Id="ButtonText_Check">检查(&amp;C)</String>
+<String Id="ButtonText_Install">安装(&amp;I)</String>
+<String Id="ButtonText_Remove">删除(&amp;R)</String>
+<String Id="ButtonText_Finish">完成(&amp;F)</String>
+<String Id="ButtonText_Repair">修复(&amp;R)</String>
+<String Id="ButtonText_Return">返回(&amp;R)</String>
+<String Id="ButtonText_Retry">重试(&amp;T)</String>
+<String Id="ButtonText_Ignore">忽略(&amp;G)</String>
+<String Id="ButtonText_Exit">结束(&amp;X)</String>
+
+<String Id="InstallModeCustom">自定</String>
+<String Id="Setup">设置</String>
+
+<!---->
+
+<String Id="StartMenu_License">软件许可</String>
+<String Id="StartMenu_UserManual">用户手册</String>
+
+<!---->
+
+<String Id="VB_App">[ProductName] 应用程序。</String>
+<String Id="VB_USBDriver">[ProductName] USB 设备驱动程序针对 USB 设备支持。</String>
+<String Id="VB_Network">[ProductName] 网络设备驱动程序针对网络支持。</String>
+<String Id="VB_NetFltDriver">[ProductName] 驱动程序针对桥接网络。</String>
+<String Id="VB_NetAdpDriver">[ProductName] 虚拟网络界面卡针对“仅主机”网络。</String>
+<String Id="VB_NetLwfDriver">[ProductName] driver for NDIS6 Bridged Networking.</String>
+<String Id="VB_NetAdp6Driver">[ProductName] virtual network adapter driver for NDIS6 Host-Only Networking.</String>
+
+<String Id="VB_Python">VirtualBox 的 Python 支持。</String>
+
+<!---->
+
+<String Id="NeedAdmin">需要系统管理员权限安装 (或卸载)[ProductName]!此安装程序现在将中止。</String>
+<String Id="NeedMSCRT">[ProductName] needs the Microsoft Visual C++ 2019 Redistributable Package being installed first. Please install and restart the installation of [ProductName].</String>
+<String Id="WrongOS">此应用程序只能运行在 Windows XP 或以上。</String>
+<String Id="Only32Bit">此应用程序只能运行在 32 位 Windows 系统。 请安装 [ProductName] 的 64 位版本!</String>
+<String Id="Only64Bit">此应用程序只能运行在 64 位 Windows 系统。 请安装 [ProductName] 的 32 位版本!</String>
+<String Id="SunFound">在此计算机发现旧的 Sun VirtualBox 安装。 请先卸载此组件然后安装 [ProductName]!</String>
+<String Id="InnotekFound">在此计算机发现旧的 innotek VirtualBox 安装。 请先卸载此组件然后安装 [ProductName]!</String>
+
+<!---->
+
+<String Id="CancelDlg_Question">确定要取消 [ProductName] 安装吗?</String>
+
+<!---->
+
+<String Id="WelcomeDlg_Header">欢迎使用 [ProductName] 安装向导</String>
+<String Id="WelcomeDlg_Body">安装向导将在你的计算机安装 [ProductName]。 单击"下一步"继续或"取消"结束安装向导。</String>
+
+<!---->
+
+<String Id="LicenseAgreementDlg_Header">最终用户授权协议</String>
+<String Id="LicenseAgreementDlg_Body">请仔细阅读以下授权协议。</String>
+<String Id="LicenseAgreementDlg_Accept">我接受授权协议中条款(&amp;A)</String>
+<String Id="LicenseAgreementDlg_Decline">我不接受授权协议中条款(&amp;D)</String>
+
+<!---->
+
+<String Id="CheckSerialDlg_Header">序号</String>
+<String Id="CheckSerialDlg_Body">请在以下字段输入你的序号。 你可以在 VirtualBox CD 盒内的贴纸找到。</String>
+<String Id="CheckSerialDlg_Footer">序号输入完成时,单击以下"检查"按钮。</String>
+
+<!---->
+
+<String Id="WrongSerialDlg_Header">输入的序号无效!</String>
+<String Id="WrongSerialDlg_Desc1">请返回再次输入你的序号。</String>
+<String Id="WrongSerialDlg_Desc2">请记得,序号必须和印在贴纸上的拼写完全一样。</String>
+
+<!---->
+
+<String Id="WarnSaveStatesDlg_Header">警告:</String>
+<String Id="WarnSaveStatesDlg_Header2">已经的存储状态不兼容!</String>
+<String Id="WarnSaveStatesDlg_Desc">升级 [ProductName] 时,所有来自已经存在机器的存储状态不再能动作!安装后,你必须手动舍弃。</String>
+<String Id="WarnSaveStatesDlg_Proceed">立即进行安装吗?</String>
+
+<!---->
+
+<String Id="WarnTAPDevicesDlg_Header">主机界面</String>
+<String Id="WarnTAPDevicesDlg_Desc">如果你的机器在先前版本使用某些主机界面。 在此安装后你必须重新创建它们。</String>
+
+<!---->
+
+<String Id="NetCfgLocked">继续安装前,必须关闭以下应用程序:"[2]"</String>
+
+<!---->
+
+<String Id="CustomizeDlg_Location">位置:</String>
+<String Id="CustomizeDlg_DiskUsage">磁盘空间(&amp;U)</String>
+<String Id="CustomizeDlg_SelFeatures">选择你要安装的功能。</String>
+<String Id="CustomizeDlg_IconTree">单击以下树状中图示选择安装的功能。</String>
+<String Id="CustomizeDlg_CustomSetup">自定安装</String>
+<String Id="CustomizeDlg_SelItemDesc">CustomizeDlgItemDescription-CustomizeDlgItemDescription</String>
+<String Id="CustomizeDlg_SelItemSize">CustomizeDlgItemSize-CustomizeDlgItemSize</String>
+<String Id="CustomizeDlg_SelItemPath">CustomizeDlgLocation-CustomizeDlgLocation</String>
+
+<!---->
+
+<String Id="Customize2Dlg_Header">自定</String>
+<String Id="Customize2Dlg_Desc">请选择以下选项:</String>
+<String Id="Customize2Dlg_CreateStartMenuEntries">添加系统菜单条目</String>
+<String Id="Customize2Dlg_CreateDesktopShortcut">在桌面创建快捷方式</String>
+<String Id="Customize2Dlg_CreateQuickLaunch">在快速启动栏创建快捷方式</String>
+<String Id="Customize2Dlg_RegisterFileExtensions">注册文件关联</String>
+
+<!---->
+
+<String Id="SelectionNetworkTypeDlg_CommonDescription">Please choose which type of network drivers you will use:</String>
+<String Id="SelectionNetworkTypeDlg_DescriptionNDIS5">NDIS5 network drivers.
+This is default for older versions of Windows (pre-Vista).</String>
+<String Id="SelectionNetworkTypeDlg_DescriptionNDIS6">NDIS6 network drivers.
+This is default for newer versions of Windows (Vista and newer).</String>
+<String Id="SelectionNetworkTypeDlg_RadioButtonNDIS5">Use NDIS5 network drivers.</String>
+<String Id="SelectionNetworkTypeDlg_RadioButtonNDIS6">Use NDIS6 network drivers.</String>
+
+<!---->
+
+<String Id="WarnDisconNetIfacesDlg_Title">警告:</String>
+<String Id="WarnDisconNetIfacesDlg_Title2">网络界面</String>
+<String Id="WarnDisconNetIfacesDlg_Desc">安装 [ProductName] 网络功能将重置网络连接并暂时中断网络连接。</String>
+<String Id="WarnDisconNetIfacesDlg_Question">立即安装吗?</String>
+
+<!---->
+
+<String Id="WarnPythonDlg_Title">Missing Dependencies</String>
+<String Id="WarnPythonDlg_Title2">Python Core / win32api</String>
+<String Id="WarnPythonDlg_Desc">Installing the [ProductName] Python bindings requires the Python Core package and the win32api bindings to be installed first.</String>
+<String Id="WarnPythonDlg_Desc2">When continuing the installation of the [ProductName] Python bindings now, those need to be set up manually later. Refer to the [ProductName] SDK manual for more information.</String>
+<String Id="WarnPythonDlg_Question">Proceed with installation now?</String>
+
+<!---->
+
+<String Id="DiskCostDlg_SpaceRequired">安装选择功能所需的磁盘空间。</String>
+<String Id="DiskCostDlg_NotEnoughSpace">高亮的磁盘区(如果有)对于当前选择的功能没有足够的磁盘空间可以使用。 可以从高亮的磁盘区删除一些文件,或选择安装较少功能在本机磁盘,或选择其他磁盘。</String>
+<String Id="DiskCostDlg_SpaceRequirements">磁盘空间需求</String>
+<String Id="DiskCostDlg_VolumeList">{120}{70}{70}{70}{70}</String>
+
+<!---->
+
+<String Id="BrowseDlg_BrowseDestFolder">浏览目的地文件夹</String>
+<String Id="BrowseDlg_ChangeCurFolder">更改当前目的文件夹</String>
+<String Id="BrowseDlg_UpOneLevelTooltip">上一层</String>
+<String Id="BrowseDlg_CreateNewFolderTooltip">创建新文件夹</String>
+<String Id="BrowseDlg_LookIn">浏览(&amp;L):</String>
+<String Id="BrowseDlg_FolderName">文件夹名称(&amp;F):</String>
+
+<!---->
+
+<String Id="VerifyReadyDlg_ReadyToBegin">安装向导准备好进行 [InstallMode] 安装。</String>
+<String Id="VerifyReadyDlg_ClickInstall">单击"安装"开始安装。 如果你要检查或更改任何安装设置,单击"上一步"。 单击"取消"结束向导。</String>
+<String Id="VerifyReadyDlg_ReadyToInstall">准备好安装</String>
+
+<!---->
+
+<String Id="ExitDlg_ClickFinish">单击"完成"按钮结束安装向导。</String>
+<String Id="ExitDlg_InstComplete">[ProductName] 安装完成。</String>
+<String Id="ExitDlg_StartVBox">安装后运行 [ProductName]</String>
+
+<!---->
+
+<String Id="FatalErrorDlg_Header">[ProductName] 安装向导太早结束</String>
+<String Id="FatalErrorDlg_Desc">[ProductName] 安装因为错误太早结束。 你的系统未做修改。 若要稍后安装此程序,请再次执行安装。</String>
+<String Id="FatalErrorDlg_Footer">单击"完成"按钮结束安装向导。</String>
+
+<!---->
+
+<String Id="FilesInUse_Text">以下应用程序使用此安装需要更新的文件。 关闭这些应用程序接著单击"重试(&amp;R)"以继续安装或"取消"结束向导。</String>
+<String Id="FilesInUse_Description">某些需要更新的文件当前使用中。</String>
+<String Id="FilesInUse_Title">文件使用中</String>
+
+<!---->
+
+<String Id="UserExitDlg_Header">[ProductName] 安装向导中断</String>
+<String Id="UserExitDlg_Desc">[ProductName] 安装中断。 你的系统未做修改。 若要稍后安装此程序,请再次执行安装。</String>
+<String Id="UserExitDlg_Footer">单击"完成"按钮结束安装向导。</String>
+
+<!---->
+
+<String Id="ProgressDlg_PleaseWait">在安装向导安装 [ProductName] 时请稍候。 这需要几分钟时间。</String>
+
+<!---->
+
+<String Id="ResumeDlg_Header">正在继续 [ProductName] 安装向导</String>
+<String Id="ResumeDlg_Desc">安装向导将在你的计算机完成 [ProductName] 的安装。 单击"安装"以继续或"取消"结束安装向导。</String>
+
+<!---->
+
+<String Id="MaintenanceTypeDlg_Header">修改、修复或删除安装</String>
+<String Id="MaintenanceTypeDlg_SelOption">选择你希望执行的操作。</String>
+<String Id="MaintenanceTypeDlg_Repair">修复(&amp;P)</String>
+<String Id="MaintenanceTypeDlg_RepairText">修复在最近安装状态的错误 - 修复缺少或毁坏的文件、快捷方式和注册档项目。</String>
+<String Id="MaintenanceTypeDlg_RepairTooltip">修复安装</String>
+<String Id="MaintenanceTypeDlg_RepairProgress1">正在修复</String>
+<String Id="MaintenanceTypeDlg_RepairProgress2">repairs</String>
+<String Id="MaintenanceTypeDlg_Remove">删除(&amp;R)</String>
+<String Id="MaintenanceTypeDlg_RemoveText">从计算机删除 [ProductName]。</String>
+<String Id="MaintenanceTypeDlg_RemoveTooltip">删除安装</String>
+<String Id="MaintenanceTypeDlg_RemoveProgress1">正在删除</String>
+<String Id="MaintenanceTypeDlg_RemoveProgress2">removes</String>
+
+<!---->
+
+<String Id="MaintenanceWelcomeDlg_Header">欢迎使用 [ProductName] 安装向导</String>
+<String Id="MaintenanceWelcomeDlg_Desc">安装向导将允许你修复当前的安装或从你的计算机删除 [ProductName]。 单击"下一步"以继续或"取消"结束安装向导。</String>
+
+<!---->
+
+<String Id="OutOfDiskDlg_InstallationExceeds">安装所需的磁盘空间超过可用的磁盘空间。</String>
+<String Id="OutOfDiskDlg_NotEnoughDiskSpace">高亮的磁盘区对于当前选择的功能没有足够的磁盘空间可以使用。 你可以从高亮的磁盘区删除一些文件,或选择安装较少功能在本机磁盘机,或选择不同目的地磁盘机。</String>
+<String Id="OutOfDiskDlg_OutOfDiskSpace">磁盘空间不足</String>
+
+<!---->
+
+<String Id="OutOfRbDiskDlg_InstallationExceeds">安装所需的磁盘空间超过可用的磁盘空间。</String>
+<String Id="OutOfRbDiskDlg_NotEnoughDiskSpace">高亮的磁盘区对于当前选择的功能没有足够的磁盘空间可以使用。 你可以从高亮的磁盘区删除一些文件,或选择安装较少功能在本机磁盘机,或选择不同目的地磁盘机。</String>
+<String Id="OutOfRbDiskDlg_OutOfDiskSpace">磁盘空间不足</String>
+<String Id="OutOfRbDiskDlg_Desc">或者,你可以选择停用安装程序的恢复功能。 这允许安装程序在任何方式中断安装时撤消你计算机的原始状态。 单击"是"如果你希望承担停用恢复功能的风险。</String>
+
+<!---->
+
+<String Id="VerifyRemoveDlg_Header">删除 [ProductName]</String>
+<String Id="VerifyRemoveDlg_Desc">你已经选择从你的计算机删除程序。</String>
+<String Id="VerifyRemoveDlg_ClickRemove">单击"删除"以从你的计算机删除 [ProductName]。 如果你要检查或更改任何安装设置,单击"上一步"。 单击"取消"结束向导。</String>
+
+<!---->
+
+<String Id="VerifyRepairDlg_Header">修复 [ProductName]</String>
+<String Id="VerifyRepairDlg_ReadyToBegin">安装向导准备好开始修复 [ProductName]。</String>
+<String Id="VerifyRepairDlg_ClickRepair">单击"修复"以修复 [ProductName] 的安装。 如果你要检查或更改任何安装设置,单击"上一步"。 单击"取消"结束向导。</String>
+
+<!---->
+
+<String Id="WaitForCostingDlg_PleaseWait">在安装程序完成判断你的磁盘空间需求时请稍候。</String>
+
+<!---->
+
+<String Id="MsiRMFilesInUse_Text">以下应用程序使用此安装需要更新的文件。 你可以让安装向导关闭并尝试重新引导这些应用程序或稍后重新引导计算机。</String>
+<String Id="MsiRMFilesInUse_Description">某些需要更新的文件当前使用中。</String>
+<String Id="MsiRMFilesInUse_Title">文件使用中</String>
+<String Id="MsiRMFilesInUse_UseRM">关闭应用程序并尝试重新引导它们。 (&amp;C)</String>
+<String Id="MsiRMFilesInUse_DontUseRM">不要关闭应用程序,将需要重新开机。 (&amp;D)</String>
+
+<!-- The following strings are internally used by WiX and MSI -->
+<String Id="Error0">{{严重错误:}}</String>
+<String Id="Error1">{{错误 [1]。}}</String>
+<String Id="Error2">警告 [1]。</String>
+<String Id="Error3"/>
+<String Id="Error4">信息 [1]。</String>
+<String Id="Error5">安装程序安装这个封装时发生未预期的错误。 这可能表示这个封装的问题。 错误码 [1]。 {{引数:[2], [3], [4]}}</String>
+<String Id="Error6"/>
+<String Id="Error7">{{磁盘已满:}}</String>
+<String Id="Error8">动作 [Time]:[1]. [2]</String>
+<String Id="Error9">[ProductName]</String>
+<String Id="Error10">{[2]}{, [3]}{, [4]}</String>
+<String Id="Error11">消息类型:[1], 引数:[2]</String>
+<String Id="Error12">=== 打开记录时间:[Date] [Time] ===</String>
+<String Id="Error13">=== 停止记录时间:[Date] [Time] ===</String>
+<String Id="Error14">动作开始 [Time]:[1]。</String>
+<String Id="Error15">动作结束 [Time]:[1]。 返回值 [2]。</String>
+<String Id="Error16">剩下时间:{[1] 分 }{[2] 秒}</String>
+<String Id="Error17">内存不足,重试之前先关闭其它应用程序。</String>
+<String Id="Error18">安装程序不再有响应。</String>
+<String Id="Error19">安装程序已经永久中止。</String>
+<String Id="Error20">在 Windows 组态 [ProductName] 时请稍候</String>
+<String Id="Error21">正在收集所需的信息...</String>
+<String Id="Error22">正在删除此应用程序的旧版本...</String>
+<String Id="Error23">正在准备删除此应用程序的旧版本...</String>
+<String Id="Error32">{[ProductName] } 安装成功完成。</String>
+<String Id="Error33">{[ProductName] } 安装失败。</String>
+<String Id="Error1101">读入文件错误:[2]。{{ 系统错误 [3]。}} 检查文件是否存在,并且可以访问。</String>
+<String Id="Error1301">不能创建目录 '[2]'。 同名的目录已经存在。 取消安装并尝试安装到不同位置。</String>
+<String Id="Error1302">请插入磁盘:[2]</String>
+<String Id="Error1303">安装程序的权限不足,不能访问这个目录:[2],安装不能继续,以系统管理员的身份登录或是连络你的系统管理员。</String>
+<String Id="Error1304">写入至文件时发生错误:[2]。请检查你可以访问那个目录。</String>
+<String Id="Error1305">读入文件时发生错误:[2]。{{ 系统错误 [3]。}} 请检查文件是否存在,并且可以访问。</String>
+<String Id="Error1306">另一个应用程序独占访问文件 '[2]'。 请关闭所有其它应用程序,然后单击"重试"。</String>
+<String Id="Error1307">磁盘空间不足,不能安装这个文件:[2]。释放一些磁盘空间然后单击"重试",或单击"取消"结束。</String>
+<String Id="Error1308">找不到源文件案:[2]。 请验证文件存在并且你可以访问它。</String>
+<String Id="Error1309">读入文件错误:[3]。{{ 系统错误 [2]。}} 请检查文件是否存在,并且可以访问。</String>
+<String Id="Error1310">写入至文件时发生错误:[3]。{{ 系统错误 [2]。}} 请检查你可以访问那个目录。</String>
+<String Id="Error1311">找不到源文件案 {{(cabinet)}}:[2]。 请检查文件存在并且可以访问。</String>
+<String Id="Error1312">不能创建目录 '[2]'。 同名的文件已经存在。 请重新命名或删除文件并单击"重试",或单击"取消"结束。</String>
+<String Id="Error1313">磁盘区 [2] 当前不可使用。 请选择另一个。</String>
+<String Id="Error1314">指定的路径 '[2]' 不可使用。</String>
+<String Id="Error1315">不能写入指定的文件夹:[2]。</String>
+<String Id="Error1316">尝试从文件读入时发生网络错误:[2]</String>
+<String Id="Error1317">尝试创建目录时发生错误:[2]</String>
+<String Id="Error1318">尝试创建目录时发生网络错误:[2]</String>
+<String Id="Error1319">尝试打开源文件案时发生网络错误:[2]</String>
+<String Id="Error1320">指定的路径太长:[2]</String>
+<String Id="Error1321">Installer 的权限不足以修改这个文件:[2]。</String>
+<String Id="Error1322">文件夹路径的部份 '[2]' 无效。其为空或超过系统允许的长度。</String>
+<String Id="Error1323">文件夹路径 '[2]' 包含无效的字在文件夹路径。</String>
+<String Id="Error1324">文件夹路径 '[2]' 包含无效字符。</String>
+<String Id="Error1325">'[2]' 不是有效的短文件名。</String>
+<String Id="Error1326">取得文件安全性错误:[3] GetLastString:[2]</String>
+<String Id="Error1327">无效的磁盘机:[2]</String>
+<String Id="Error1328">套用修正档到文件 [2] 错误。 可能已由其它主机更新,且这个修正档不再能修改。 更多信息请联络你的修正档供应商。 {{系统错误:[3]}}</String>
+<String Id="Error1329">不能安装所需的文件,因为 cabinet 文件 [2] 没有数字签名。 这表示 cabinet 文件已经毁坏。</String>
+<String Id="Error1330">不能安装所需的文件,因为 cabinet 文件 [2] 有无效的数字签名。 这表示 cabinet 文件已经毁坏。 {{ WinVerifyTrust 返回错误 [3]。}}</String>
+<String Id="Error1331">修正复制 [2] 文件失败:CRC 错误。</String>
+<String Id="Error1332">修正移动 [2] 文件失败:CRC 错误。</String>
+<String Id="Error1333">修正路径 [2] 文件失败:CRC 错误。</String>
+<String Id="Error1334">不能安装 '[2]' 因为在 cainet 文件 '[3]' 中找不到文件。 这表示网络错误、从 CD-ROM 读入错误、或此安装包问题。</String>
+<String Id="Error1335">此安装所需的 cabinet 文件 '[2]' 已经毁坏且不能使用。 这表示网络错误、从 CD-ROM 读入错误、或此安装包问题。</String>
+<String Id="Error1336">完成这个安装所需的临时文件案创建错误。 {{ 文件夹:[3]。 系统错误码:[2]}}</String>
+<String Id="Error1401">不能创建机码:[2]。{{ 系统错误 [3]。}} 检查你是有足够的权限访问该机码,或是连络你的支持人员。</String>
+<String Id="Error1402">不能打开机码:[2]。{{ 系统错误 [3]。}} 检查你是有足够的权限访问该机码,或是连络你的支持人员。</String>
+<String Id="Error1403">不能从机码 [3] 删除值:[2]。{{ 系统错误 [4]。}} 检查你是有足够的权限访问该机码,或是连络你的支持人员。</String>
+<String Id="Error1404">不能删除机码:[2]。{{ 系统错误 [3]。}} 检查你是有足够的权限访问该机码,或是连络你的支持人员。</String>
+<String Id="Error1405">不能从机码 [3] 读入值 [2]。{{ 系统错误 [4]。}} 检查你是有足够的权限访问该机码,或是连络你的支持人员。</String>
+<String Id="Error1406">不能写入值 [2] 至机码 [3]。{{ 系统错误 [4]。}} 检查你是有足够的权限访问该机码,或是连络你的支持人员。</String>
+<String Id="Error1407">不能取得机码 [2] 的值名称。{{ 系统错误 [3]。}} 检查你是有足够的权限访问该机码,或是连络你的支持人员。</String>
+<String Id="Error1408">不能取得机码 [2] 的子机码名称。{{ 系统错误 [3]。}} 检查你是有足够的权限访问该机码,或是连络你的支持人员。</String>
+<String Id="Error1409">不能读入机码 [2] 的安全信息。{{ 系统错误 [3]。}} 检查你是有足够的权限访问该机码,或是连络你的支持人员。</String>
+<String Id="Error1410">不能增加可用的注册空间。 此应用程序须要 [2] KB 以上的空间。</String>
+<String Id="Error1500">其它的安装正在进行中,你必须完成该项安装之后才能继续。</String>
+<String Id="Error1501">访问保全数据时发生错误,请确定 Windows Installer 是否正确组态,然后再试一次。</String>
+<String Id="Error1502">用户 '[2]' 先前已经引导产品 '[3]' 的安装。 该用户在可以使用该产品前需要再次执行安装。你当前的安装现在将继续。</String>
+<String Id="Error1503">用户 '[2]' 先前已经引导产品 '[3]' 的安装。 该用户在可以使用该产品前需要再次执行安装。</String>
+<String Id="Error1601">磁盘空间不足 -- 磁盘区:'[2]',所需空间:[3] KB; 可用空间:[4] KB。 释放一些磁盘空间并重试。</String>
+<String Id="Error1602">你确定要取消吗?</String>
+<String Id="Error1603">文件 [2][3] 正在由 { 以下处理程序:名称:[4],Id:[5],窗口标题:'[6]'} 使用中。 关闭该应用程序并重试。</String>
+<String Id="Error1604">已经安装产品 '[2]',此产品防止安装。 两个产品不兼容。</String>
+<String Id="Error1605">磁盘区 '[2]' 没有足够的磁盘空间以启用恢复的安装继续。 需要 [3] KB,但只有 [4] KB 可以使用。 单击"忽略"以不存储恢复信息继续安装,单击"重试"以再次检查可用空间,或单击"取消"以离开安装。</String>
+<String Id="Error1606">不能访问网络位置 [2]。</String>
+<String Id="Error1607">继续安装前应该关闭以下应用程序:</String>
+<String Id="Error1608">不能在本机中找到任何先前已安装的合格版本。</String>
+<String Id="Error1609">套用安全性设置时发生错误。 [2] 不是有效的用户或群组。 这会是安装包的问题或连接到网络上网域控制站的问题。 检查你的网络连接并单击"重试",或"取消"以结束安装。 {{找不到用户的 SID,系统错误 [3]}}</String>
+<String Id="Error1701">金钥 [2] 是无效的,检查你输入的金钥是否正确。</String>
+<String Id="Error1702">要继续设置 [2] 之前,Installer 必须重新引导你的系统,按"是"将立即重新引导;如果你想要稍后手动重新引导请按"否"。</String>
+<String Id="Error1703">你必须重新引导你的系统,对 [2] 所做的组态更改才会生效,按"是"立即重新引导;如果你想要稍后手动重新引导请按"否"。</String>
+<String Id="Error1704">安装 [2] 当前已经暂停,你必须恢复该安装所做的更改才能继续,你要恢复这些更改吗?</String>
+<String Id="Error1705">另一个安装这个产品的程序正在进行中,你必须恢复该安装所做的更改才能继续,你要恢复这些更改吗?</String>
+<String Id="Error1706">找不到产品 [2] 的安装包。 尝试使用安装包 '[3]' 的有效副本尝试再次安装。</String>
+<String Id="Error1707">安装成功完成。</String>
+<String Id="Error1708">安装失败。</String>
+<String Id="Error1709">产品:[2] -- [3]</String>
+<String Id="Error1710">你可以将计算机撤消成先前的状态或稍后继续安装,你希望撤消吗?</String>
+<String Id="Error1711">写入安装信息至磁盘时发生错误,确定磁盘的空间足够,并按"重试",或按"取消"来结束安装。</String>
+<String Id="Error1712">撤消你的计算机成之前的状态所需的一个或数个文件找不到。 不能撤消。</String>
+<String Id="Error1713">[2] 不能安装其所需的产品之一。 请联络你的技术支持小组。 {{系统符串:[3]。}}</String>
+<String Id="Error1714">不能删除 [2] 的旧版本。 请联络你的技术支持小组。 {{系统符串 [3]。}}</String>
+<String Id="Error1715">已经安装 [2]</String>
+<String Id="Error1716">已经组态 [2]</String>
+<String Id="Error1717">已经删除 [2]</String>
+<String Id="Error1718">数字签名原则拒绝文件 [2] 。</String>
+<String Id="Error1719">不能访问 Windows Installer 服务。 如果你正执行在 Windows 安全模式,这将会发生。 请联络你的技术支持人员以取得协助。</String>
+<String Id="Error1720">这个 Windows Installer 封装有问题。 完成这个安装需要的指令码不能执行。 联络你的支持人员或封装供应商。 {{自定动作 [2] 指令码错误 [3],[4]:[5] 行 [6],栏 [7],[8] }}</String>
+<String Id="Error1721">这个 Windows Installer 封装有问题。 完成这个安装需要的程序不能执行。 联络你的支持人员或封装供应商。 {{动作 [2],位置:[3],命令:[4] }}</String>
+<String Id="Error1722">这个 Windows Installer 封装有问题。 以 setup 部分执行的程序不能如预期完成。 联络你的支持人员或封装供应商。 {{动作 [2],位置:[3],命令:[4] }}</String>
+<String Id="Error1723">这个 Windows Installer 封装有问题。 完成这个安装需要的 DLL 不能执行。 联络你的支持人员或封装供应商。 {{动作 [2],项目:[3],库:[4] }}</String>
+<String Id="Error1724">删除成功完成。</String>
+<String Id="Error1725">删除失败。</String>
+<String Id="Error1726">宣告成功完成。</String>
+<String Id="Error1727">宣告失败。</String>
+<String Id="Error1728">组态成功完成。</String>
+<String Id="Error1729">组态失败。</String>
+<String Id="Error1730">你必须是管理器以删除这个应用程序。 要删除这个应用程序,你可以使用系统管理员登录或联络你的技术支持群组取得协助。</String>
+<String Id="Error1801">路径 [2] 无效。 请指定有效的路径。</String>
+<String Id="Error1802">内存不足,重试之前先关闭其它应用程序。</String>
+<String Id="Error1803">磁盘机 [2] 中没有磁片,请插入磁片然后重试,或按"取消"回到上次选择的磁盘区。</String>
+<String Id="Error1804">磁盘机 [2] 中没有磁片,请插入磁片然后按"重试",或按"取消"回到浏览对话框,并选择不同的磁盘区。</String>
+<String Id="Error1805">文件夹 [2] 不存在,请输入一个现有的文件夹路径。</String>
+<String Id="Error1806">你的权限不足,不能读入这个文件夹。</String>
+<String Id="Error1807">不能决定合法的目的文件夹。</String>
+<String Id="Error1901">尝试读入来源安装数据库时发生错误:[2]。</String>
+<String Id="Error1902">正在排定重新开机作业:正在更改文件名称 [2] 成 [3],必须重新开机才能完成作业。</String>
+<String Id="Error1903">正在排定重新开机作业:正在删除文件 [2],必须重新开机才能完成作业。</String>
+<String Id="Error1904">注册模块 [2] 失败。HRESULT [3]。连络你的支持人员。</String>
+<String Id="Error1905">取消注册模块 [2] 失败。HRESULT [3]。连络你的支持人员。</String>
+<String Id="Error1906">不能预存封装 [2]。错误:[3]。请连络支持人员。</String>
+<String Id="Error1907">不能注册字体 [2]。 请确认是否有足够的权限及系统支持。</String>
+<String Id="Error1908">不能解除注册字体 [2]。 请确认你有足够的权限来删除字体。</String>
+<String Id="Error1909">不能创建快捷方式 [2]。 请确认目地文件夹是否存在及你的访问权。</String>
+<String Id="Error1910">不能删除快捷方式 [2]。 请确认目地文件夹是否存在及你的访问权。</String>
+<String Id="Error1911">不能注册文件 [2] 的类型库。 请连络系统支持人员。</String>
+<String Id="Error1912">不能解除注册文件 [2] 的 type library。 请连络系统支持人员。</String>
+<String Id="Error1913">不能更新 ini 档 [2][3]。 请确认文件是否存在及你的访问权。</String>
+<String Id="Error1914">不能预定在重开机时将文件 [2] 取代 [3]。 请确认你有 [3] 的访问权。</String>
+<String Id="Error1915">删除 ODBC 驱动程序管理员错误,ODBC 错误 [2]:[3]。请连络系统支持人员。</String>
+<String Id="Error1916">安装 ODBC 驱动程序管理员错误,ODBC 错误 [2]:[3]。请连络系统支持人员。</String>
+<String Id="Error1917">删除 ODBC 驱动程序管理员错误:[4],ODBC 错误 [2]:[3]。请确认你有足够权限。</String>
+<String Id="Error1918">安装 ODBC 驱动程序管理员错误:[4],ODBC 错误 [2]:[3]。请确认文件[4]存在并可访问。</String>
+<String Id="Error1919">设置 ODBC 数据来源错误:[4],ODBC 错误 [2]:[3]。请确认文件[4]存在并可访问。</String>
+<String Id="Error1920">引导服务 '[2]' ([3]) 失败。 请确认你有权限以引导系统服务。</String>
+<String Id="Error1921">停止服务 '[2]' ([3]) 失败。 请确认你有权限以引导系统服务。</String>
+<String Id="Error1922">删除服务 '[2]' ([3]) 失败。 请确认你有权限以引导系统服务。</String>
+<String Id="Error1923">不能安装服务 '[2]' ([3]) 。 请确认你有权限以引导系统服务。</String>
+<String Id="Error1924">不能更新环境变量 '[2]'。 请确认你有权限以修改环境变量。</String>
+<String Id="Error1925">你没有权限使计算机的所有用户都完成此安装。请以系统管理员权限登录,接著再重试此安装。</String>
+<String Id="Error1926">不能配置文件案 '[3]' 的文件安全性。 错误:[2]。 请确认你有权限以修改此文件的安全性权限。</String>
+<String Id="Error1927">这台计算机并未安装 Component Services (COM+ 1.0)。这项安装需要有 Component Services 才能进行。Component Services 包含在 Windows XP 中。</String>
+<String Id="Error1928">注册 COM+ 应用程序时发生错误。请联络你的支持人员以取得其它信息。</String>
+<String Id="Error1929">解除 COM+ 应用程序注册时发生错误。请联络你的支持人员以取得其它信息。</String>
+<String Id="Error1930">不能更改服务 '[2]' ([3]) 的描述。</String>
+<String Id="Error1931">Windows Installer 服务不能更新系统文件 [2] 因为文件受 Windows 保护。 你可能需要更新你的作业系统使这个程序正确动作。 {{{封装版本:[3],受 OS 保护的版本:[4]}}</String>
+<String Id="Error1932">Windows Installer 服务不能更新受保护的 Windows 文件 [2]。 {{封装版本:[3],受 OS 保护的版本:[4],SFP 错误:[5]}}</String>
+<String Id="Error1933">Windows Installer 服务不能更新一个或数个受保护的 Windows 文件。 {{SFP 符串:[2]。 受保护的文件清单:\r\n[3]}}</String>
+<String Id="Error1934">计算机的原则停用用户安装。</String>
+<String Id="Error1935">组件组件 [2] 的安装期间发生错误。 HRESULT:[3]。 {{组件界面:[4],函数:[5],组件名称:[6]}}</String>
+
+<!-- Own / special errors -->
+<String Id="Error25001">需要关闭应用程序 "[2]" 以继续关闭。</String>
+
+<String Id="ProgressTextInstallValidate">正在验证安装</String>
+<String Id="ProgressTextInstallFiles">正在复制新文件</String>
+<String Id="ProgressTextInstallFilesTemplate">文件:[1], 目录:[9], 尺寸:[6]</String>
+<String Id="ProgressTextInstallAdminPackage">正在复制网络安装文件</String>
+<String Id="ProgressTextInstallAdminPackageTemplate">文件:[1], 目录:[9], 尺寸:[6]</String>
+<String Id="ProgressTextFileCost">正在计算空间需求</String>
+<String Id="ProgressTextCostInitialize">正在计算空间需求</String>
+<String Id="ProgressTextCostFinalize">正在计算空间需求</String>
+<String Id="ProgressTextCreateShortcuts">正在创建快捷方式</String>
+<String Id="ProgressTextCreateShortcutsTemplate">快捷方式:[1]</String>
+<String Id="ProgressTextPublishComponents">正在发布合格的组件</String>
+<String Id="ProgressTextPublishComponentsTemplate">组件 ID:[1], 公布者:[2]</String>
+<String Id="ProgressTextPublishFeatures">正在发布产品功能</String>
+<String Id="ProgressTextPublishFeaturesTemplate">功能:[1]</String>
+<String Id="ProgressTextPublishProduct">正在发布产品信息</String>
+<String Id="ProgressTextRegisterClassInfo">正在注册类型服务器</String>
+<String Id="ProgressTextRegisterClassInfoTemplate">类型 Id:[1]</String>
+<String Id="ProgressTextRegisterExtensionInfo">正在注册扩展服务器</String>
+<String Id="ProgressTextRegisterExtensionInfoTemplate">扩展名 [1]</String>
+<String Id="ProgressTextRegisterMIMEInfo">正在注册 MIME 信息</String>
+<String Id="ProgressTextRegisterMIMEInfoTemplate">MIME 内容类型:[1],扩展名:[2]</String>
+<String Id="ProgressTextRegisterProgIdInfo">正在注册程序辨识字符</String>
+<String Id="ProgressTextRegisterProgIdInfoTemplate">ProgId: [1]</String>
+<String Id="ProgressTextAllocateRegistrySpace">正在分配注册空间</String>
+<String Id="ProgressTextAllocateRegistrySpaceTemplate">可用空间:[1]</String>
+<String Id="ProgressTextAppSearch">正在寻找已安装的应用程序</String>
+<String Id="ProgressTextAppSearchTemplate">内容:[1], 签章:[2]</String>
+<String Id="ProgressTextBindImage">正在系结执行档</String>
+<String Id="ProgressTextBindImageTemplate">文件:[1]</String>
+<String Id="ProgressTextCCPSearch">正在寻找查询产品</String>
+<String Id="ProgressTextCreateFolders">正在创建文件夹</String>
+<String Id="ProgressTextCreateFoldersTemplate">文件夹:[1]</String>
+<String Id="ProgressTextDeleteServices">正在删除服务</String>
+<String Id="ProgressTextDeleteServicesTemplate">服务:[1]</String>
+<String Id="ProgressTextDuplicateFiles">正在创建重复文件</String>
+<String Id="ProgressTextDuplicateFilesTemplate">文件:[1], 目录:[9], 尺寸:[6]</String>
+<String Id="ProgressTextFindRelatedProducts">正在寻找相关的应用程序</String>
+<String Id="ProgressTextFindRelatedProductsTemplate">找到应用程序:[1]</String>
+<String Id="ProgressTextInstallODBC">正在安装 ODBC 组件</String>
+<String Id="ProgressTextInstallServices">正在安装新服务</String>
+<String Id="ProgressTextInstallServicesTemplate">服务:[2]</String>
+<String Id="ProgressTextLaunchConditions">正在评估引导条件</String>
+<String Id="ProgressTextMigrateFeatureStates">正在从相关的应用程序迁移功能状态</String>
+<String Id="ProgressTextMigrateFeatureStatesTemplate">应用程序:[1]</String>
+<String Id="ProgressTextMoveFiles">正在移动文件</String>
+<String Id="ProgressTextMoveFilesTemplate">文件:[1], 目录:[9], 尺寸:[6]</String>
+<String Id="ProgressTextPatchFiles">正在修补文件</String>
+<String Id="ProgressTextPatchFilesTemplate">文件:[1], 目录:[2], 尺寸:[3]</String>
+<String Id="ProgressTextProcessComponents">正在更新组件注册</String>
+<String Id="ProgressTextRegisterComPlus">正在注册 COM+ 应用程序和组件</String>
+<String Id="ProgressTextRegisterComPlusTemplate">AppId:[1]{{, AppType:[2],用户:[3],RSN:[4]}}</String>
+<String Id="ProgressTextRegisterFonts">正在注册字体</String>
+<String Id="ProgressTextRegisterFontsTemplate">字体:[1]</String>
+<String Id="ProgressTextRegisterProduct">正在注册产品</String>
+<String Id="ProgressTextRegisterProductTemplate">[1]</String>
+<String Id="ProgressTextRegisterTypeLibraries">正在注册类型库</String>
+<String Id="ProgressTextRegisterTypeLibrariesTemplate">LibID: [1]</String>
+<String Id="ProgressTextRegisterUser">正在注册用户</String>
+<String Id="ProgressTextRegisterUserTemplate">[1]</String>
+<String Id="ProgressTextRemoveDuplicateFiles">正在删除重复的文件</String>
+<String Id="ProgressTextRemoveDuplicateFilesTemplate">文件:[1], 目录:[9]</String>
+<String Id="ProgressTextRemoveEnvironmentStrings">正在更新环境符串</String>
+<String Id="ProgressTextRemoveEnvironmentStringsTemplate">名称:[1], 数值:[2], 动作:[3]</String>
+<String Id="ProgressTextRemoveExistingProducts">正在删除应用程序</String>
+<String Id="ProgressTextRemoveExistingProductsTemplate">应用程序:[1], 命令列:[2]</String>
+<String Id="ProgressTextRemoveFiles">正在删除文件</String>
+<String Id="ProgressTextRemoveFilesTemplate">文件:[1], 目录:[9]</String>
+<String Id="ProgressTextRemoveFolders">正在删除文件夹</String>
+<String Id="ProgressTextRemoveFoldersTemplate">文件夹:[1]</String>
+<String Id="ProgressTextRemoveIniValues">正在删除 INI 文件项目</String>
+<String Id="ProgressTextRemoveIniValuesTemplate">文件:[1], 区段:[2], 机码:[3], 数值:[4]</String>
+<String Id="ProgressTextRemoveODBC">正在删除 ODBC 组件</String>
+<String Id="ProgressTextRemoveRegistryValues">正在删除系统注册档数值</String>
+<String Id="ProgressTextRemoveRegistryValuesTemplate">机码:[1], 名称:[2]</String>
+<String Id="ProgressTextRemoveShortcuts">正在删除快捷方式</String>
+<String Id="ProgressTextRemoveShortcutsTemplate">快捷方式:[1]</String>
+<String Id="ProgressTextRMCCPSearch">正在寻找查询产品</String>
+<String Id="ProgressTextSelfRegModules">正在注册模块</String>
+<String Id="ProgressTextSelfRegModulesTemplate">文件:[1], 文件夹:[2]</String>
+<String Id="ProgressTextSelfUnregModules">正在解除模块注册</String>
+<String Id="ProgressTextSelfUnregModulesTemplate">文件:[1], 文件夹:[2]</String>
+<String Id="ProgressTextSetODBCFolders">正在初始化 ODBC 目录</String>
+<String Id="ProgressTextStartServices">正在引导服务</String>
+<String Id="ProgressTextStartServicesTemplate">服务:[1]</String>
+<String Id="ProgressTextStopServices">正在停止服务</String>
+<String Id="ProgressTextStopServicesTemplate">服务:[1]</String>
+<String Id="ProgressTextUnpublishComponents">正在取消组件公布</String>
+<String Id="ProgressTextUnpublishComponentsTemplate">组件 ID:[1], 公布者:[2]</String>
+<String Id="ProgressTextUnpublishFeatures">正在取消功能公布</String>
+<String Id="ProgressTextUnpublishFeaturesTemplate">功能:[1]</String>
+<String Id="ProgressTextUnregisterClassInfo">解除类型服务器注册</String>
+<String Id="ProgressTextUnregisterClassInfoTemplate">类型 Id:[1]</String>
+<String Id="ProgressTextUnregisterComPlus">正在解除 COM+ 应用程序和组件注册</String>
+<String Id="ProgressTextUnregisterComPlusTemplate">AppId: [1]{{, AppType: [2]}}</String>
+<String Id="ProgressTextUnregisterExtensionInfo">正在解除扩充服务器注册</String>
+<String Id="ProgressTextUnregisterExtensionInfoTemplate">扩展名 [1]</String>
+<String Id="ProgressTextUnregisterFonts">正在解除字体注册</String>
+<String Id="ProgressTextUnregisterFontsTemplate">字体:[1]</String>
+<String Id="ProgressTextUnregisterMIMEInfo">正在解除 MIME 信息注册</String>
+<String Id="ProgressTextUnregisterMIMEInfoTemplate">MIME 内容类型:[1],扩展名:[2]</String>
+<String Id="ProgressTextUnregisterProgIdInfo">正在解除程序标识码注册</String>
+<String Id="ProgressTextUnregisterProgIdInfoTemplate">ProgId: [1]</String>
+<String Id="ProgressTextUnregisterTypeLibraries">正在解除类型库注册</String>
+<String Id="ProgressTextUnregisterTypeLibrariesTemplate">LibID: [1]</String>
+<String Id="ProgressTextWriteEnvironmentStrings">正在更新环境符串</String>
+<String Id="ProgressTextWriteEnvironmentStringsTemplate">名称:[1], 数值:[2], 动作:[3]</String>
+<String Id="ProgressTextWriteIniValues">正在写入 INI 文件数值</String>
+<String Id="ProgressTextWriteIniValuesTemplate">文件:[1], 区段:[2], 机码:[3], 数值:[4]</String>
+<String Id="ProgressTextWriteRegistryValues">正在写入系统注册表</String>
+<String Id="ProgressTextWriteRegistryValuesTemplate">机码:[1],名称:[2],值:[3]</String>
+<String Id="ProgressTextAdvertise">正在宣告应用程序</String>
+<String Id="ProgressTextGenerateScript">正在产生动作的 script 操作:</String>
+<String Id="ProgressTextGenerateScriptTemplate">[1]</String>
+<String Id="ProgressTextInstallSFPCatalogFile">正在安装系统目录</String>
+<String Id="ProgressTextInstallSFPCatalogFileTemplate">文件:[1],依存关系:[2]</String>
+<String Id="ProgressTextMsiPublishAssemblies">正在发布组件信息</String>
+<String Id="ProgressTextMsiPublishAssembliesTemplate">应用程序内容:[1],组件名称:[2]</String>
+<String Id="ProgressTextMsiUnpublishAssemblies">正在取消信息公布</String>
+<String Id="ProgressTextMsiUnpublishAssembliesTemplate">应用程序内容:[1],组件名称:[2]</String>
+<String Id="ProgressTextRollback">恢复动作:</String>
+<String Id="ProgressTextRollbackTemplate">[1]</String>
+<String Id="ProgressTextRollbackCleanup">正在删除备份文件</String>
+<String Id="ProgressTextRollbackCleanupTemplate">文件:[1]</String>
+<String Id="ProgressTextUnmoveFiles">正在删除移动的文件</String>
+<String Id="ProgressTextUnmoveFilesTemplate">文件:[1], 目录:[9]</String>
+<String Id="ProgressTextUnpublishProduct">正在取消发布产品信息</String>
+
+<String Id="UITextbytes">字节</String>
+<String Id="UITextGB">GB</String>
+<String Id="UITextKB">KB</String>
+<String Id="UITextMB">MB</String>
+<String Id="UITextMenuAbsent">整个功能将不可用</String>
+<String Id="UITextMenuAdvertise">需要时将安装的功能</String>
+<String Id="UITextMenuAllCD">整个功能将会安装成从 CD 上执行</String>
+<String Id="UITextMenuAllLocal">整个功能将会安装到本机硬盘</String>
+<String Id="UITextMenuAllNetwork">整个功能将会安装成从网络上执行</String>
+<String Id="UITextMenuCD">将会安装成从 CD 上执行</String>
+<String Id="UITextMenuLocal">将会安装到本机硬盘</String>
+<String Id="UITextMenuNetwork">将会安装成从网络执行</String>
+<String Id="UITextScriptInProgress">正在收集所需的信息...</String>
+<String Id="UITextSelAbsentAbsent">这个功能将保持未安装的状态</String>
+<String Id="UITextSelAbsentAdvertise">这个功能会设置成视需要进行安装</String>
+<String Id="UITextSelAbsentCD">这个功能将会安装成从 CD 执行</String>
+<String Id="UITextSelAbsentLocal">这个功能将会安装在本机硬盘中</String>
+<String Id="UITextSelAbsentNetwork">这个功能将会安装成从网络执行</String>
+<String Id="UITextSelAdvertiseAbsent">这个功能将不能使用</String>
+<String Id="UITextSelAdvertiseAdvertise">将会视需要进行安装</String>
+<String Id="UITextSelAdvertiseCD">这个功能可以从 CD 上执行</String>
+<String Id="UITextSelAdvertiseLocal">这个功能将安装在你的本机硬盘</String>
+<String Id="UITextSelAdvertiseNetwork">这个功能可以从网络执行</String>
+<String Id="UITextSelCDAbsent">这个功能将完整卸载,你将不能从 CD 执行</String>
+<String Id="UITextSelCDAdvertise">这个功能会从 CD 执行更改成视需要进行安装</String>
+<String Id="UITextSelCDCD">这个功能仍将从 CD 执行</String>
+<String Id="UITextSelCDLocal">这个功能将会从 CD 执行更改为安装在本机硬盘中</String>
+<String Id="UITextSelChildCostNeg">这个功能会在你的硬盘释放 [1] 。</String>
+<String Id="UITextSelChildCostPos">这个功能要求 [1] 在你的硬盘上。</String>
+<String Id="UITextSelCostPending">正在编译这个功能的花费...</String>
+<String Id="UITextSelLocalAbsent">这个功能将会完整删除</String>
+<String Id="UITextSelLocalAdvertise">这个功能会从你的本机硬盘上删除,但是会设置成视需要进行安装</String>
+<String Id="UITextSelLocalCD">这个功能将会从你的本机硬盘中删除,但是仍然可以从 CD 执行</String>
+<String Id="UITextSelLocalLocal">这个功能将会保留在你的本机硬盘中</String>
+<String Id="UITextSelLocalNetwork">这个功能将会从你的本机硬盘中删除,但是仍然可从网络上执行</String>
+<String Id="UITextSelNetworkAbsent">这个功能将完整卸载,你将不能从网络执行</String>
+<String Id="UITextSelNetworkAdvertise">这个功能将会从网络执行更改成视需要进行安装</String>
+<String Id="UITextSelNetworkLocal">这个功能将会从网络执行更改为安装在本机硬盘中。</String>
+<String Id="UITextSelNetworkNetwork">这个功能仍将保留成从网络执行</String>
+<String Id="UITextSelParentCostNegNeg">这个功能在你的硬盘释放 [1]。 它已选择 [2] 之 [3] 子功能。 子功能在你的硬盘释放 [4] 。</String>
+<String Id="UITextSelParentCostNegPos">这个功能在你的硬盘释放 [1]。 它已选择 [2] 之 [3] 子功能。 子功能在你的硬盘需要 [4] 。</String>
+<String Id="UITextSelParentCostPosNeg">这个功能在你的硬盘需要 [1]。 它已选择 [2] 之 [3] 子功能。 子功能在你的硬盘释放 [4] 。</String>
+<String Id="UITextSelParentCostPosPos">这个功能在你的硬盘需要 [1]。 它已选择 [2] 之 [3] 子功能。 子功能在你的硬盘需要 [4] 。</String>
+<String Id="UITextTimeRemaining">剩下时间:{[1] 分 }{[2] 秒}</String>
+<String Id="UITextVolumeCostAvailable">可用</String>
+<String Id="UITextVolumeCostDifference">差异</String>
+<String Id="UITextVolumeCostRequired">需求</String>
+<String Id="UITextVolumeCostSize">磁盘空间</String>
+<String Id="UITextVolumeCostVolume">分区</String>
+
+</WixLocalization>
diff --git a/src/VBox/Installer/win/NLS/zh_TW.wxl b/src/VBox/Installer/win/NLS/zh_TW.wxl
new file mode 100644
index 00000000..cc7da673
--- /dev/null
+++ b/src/VBox/Installer/win/NLS/zh_TW.wxl
@@ -0,0 +1,620 @@
+<?xml version="1.0" encoding="utf-8"?>
+
+<!--
+ Language Definition Include for VirtualBox WiX script.
+-->
+<!--
+ Copyright (C) 2011-2023 Oracle and/or its affiliates.
+
+ This file is part of VirtualBox base platform packages, as
+ available from https://www.virtualbox.org.
+
+ This program is free software; you can redistribute it and/or
+ modify it under the terms of the GNU General Public License
+ as published by the Free Software Foundation, in version 3 of the
+ License.
+
+ This program is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, see <https://www.gnu.org/licenses>.
+
+ SPDX-License-Identifier: GPL-3.0-only
+-->
+
+<WixLocalization xmlns="http://schemas.microsoft.com/wix/2006/localization" Codepage="65001" Culture="zh_TW">
+ <String Id="LANG">1028</String>
+ <String Id="LangName">正體中文</String>
+
+ <String Id="ButtonText_No">否(&amp;N)</String>
+ <String Id="ButtonText_Yes">是(&amp;Y)</String>
+ <String Id="ButtonText_Cancel">取消(&amp;C)</String>
+ <String Id="ButtonText_Next">下一步(&amp;N) &gt;</String>
+ <String Id="ButtonText_Back">&lt; 上一步(&amp;B)</String>
+ <String Id="ButtonText_Browse">瀏覽(&amp;O)</String>
+ <String Id="ButtonText_OK">確定(&amp;K)</String>
+ <String Id="ButtonText_Check">檢查(&amp;C)</String>
+ <String Id="ButtonText_Install">安裝(&amp;I)</String>
+ <String Id="ButtonText_Remove">移除(&amp;R)</String>
+ <String Id="ButtonText_Finish">完成(&amp;F)</String>
+ <String Id="ButtonText_Repair">修理(&amp;R)</String>
+ <String Id="ButtonText_Return">返回(&amp;R)</String>
+ <String Id="ButtonText_Retry">重試(&amp;T)</String>
+ <String Id="ButtonText_Ignore">忽略(&amp;G)</String>
+ <String Id="ButtonText_Exit">結束(&amp;X)</String>
+
+ <String Id="InstallModeCustom">自訂</String>
+ <String Id="Setup">設定</String>
+
+ <!---->
+
+ <String Id="StartMenu_License">授權</String>
+ <String Id="StartMenu_UserManual">使用者手冊</String>
+
+ <!---->
+
+ <String Id="VB_App">[ProductName] 應用程式。</String>
+ <String Id="VB_USBDriver">[ProductName] USB 裝置驅動程式針對 USB 裝置支援。</String>
+ <String Id="VB_Network">[ProductName] 網路裝置驅動程式針對網路支援。</String>
+ <String Id="VB_NetFltDriver">[ProductName] 驅動程式針對橋接網路。</String>
+ <String Id="VB_NetAdpDriver">[ProductName] 虛擬網路介面卡針對「僅限主機」網路。</String>
+ <String Id="VB_NetLwfDriver">[ProductName] 驅動程式針對 NDIS6 橋接網路。</String>
+ <String Id="VB_NetAdp6Driver">[ProductName] 虛擬網路介面卡針對 NDIS6 「僅限主機」網路。</String>
+
+ <String Id="VB_Python">VirtualBox 的 Python 支援。</String>
+
+ <!---->
+
+ <String Id="NeedAdmin">您需要有系統管理員特殊權限以安裝 (或解除安裝)[ProductName]!此安裝程式現在將中止。</String>
+ <String Id="NeedMSCRT">[ProductName] 需要先安裝 Microsoft Visual C++ 2019 可分發套件。 請安裝並重新啟動 [ProductName] 安裝。</String>
+ <String Id="WrongOS">此應用程式只能執行在 Windows XP 或以上。</String>
+ <String Id="Only32Bit">此應用程式只能執行在 32 位元的 Windows 系統。 請安裝 [ProductName] 的 64 位元版本!</String>
+ <String Id="Only64Bit">此應用程式只能執行在 64 位元的 Windows 系統。 請安裝 [ProductName] 的 32 位元版本!</String>
+ <String Id="SunFound">在此電腦發現舊的 Sun VirtualBox 安裝。 請先解除安裝此套件然後安裝 [ProductName]!</String>
+ <String Id="InnotekFound">在此電腦發現舊的 innotek VirtualBox 安裝。 請先解除安裝此套件然後安裝 [ProductName]!</String>
+
+ <!---->
+
+ <String Id="CancelDlg_Question">您確定要取消 [ProductName] 安裝嗎?</String>
+
+ <!---->
+
+ <String Id="WelcomeDlg_Header">歡迎使用 [ProductName] 安裝精靈</String>
+ <String Id="WelcomeDlg_Body">安裝精靈將在您的電腦安裝 [ProductName]。 按一下「下一步」繼續或「取消」結束安裝精靈。</String>
+
+ <!---->
+
+ <String Id="LicenseAgreementDlg_Header">最終使用者授權協議</String>
+ <String Id="LicenseAgreementDlg_Body">請仔細閱讀以下授權協議。</String>
+ <String Id="LicenseAgreementDlg_Accept">我接受授權協議中條款(&amp;A)</String>
+ <String Id="LicenseAgreementDlg_Decline">我不接受授權協議中條款(&amp;D)</String>
+
+ <!---->
+
+ <String Id="CheckSerialDlg_Header">序號</String>
+ <String Id="CheckSerialDlg_Body">請在以下欄位輸入您的序號。 您可以在 VirtualBox CD 盒內的貼紙找到。</String>
+ <String Id="CheckSerialDlg_Footer">序號輸入完成時,按一下以下「檢查」按鈕。</String>
+
+ <!---->
+
+ <String Id="WrongSerialDlg_Header">輸入的序號無效!</String>
+ <String Id="WrongSerialDlg_Desc1">請返回再次輸入您的序號。</String>
+ <String Id="WrongSerialDlg_Desc2">請記得,序號必須和印在貼紙上的拼字完全一樣。</String>
+
+ <!---->
+
+ <String Id="WarnSaveStatesDlg_Header">警告:</String>
+ <String Id="WarnSaveStatesDlg_Header2">已經的儲存狀態不相容!</String>
+ <String Id="WarnSaveStatesDlg_Desc">升級 [ProductName] 時,所有來自已經存在機器的儲存狀態不再能動作!安裝後,您必須手動捨棄。</String>
+ <String Id="WarnSaveStatesDlg_Proceed">立即進行安裝嗎?</String>
+
+ <!---->
+
+ <String Id="WarnTAPDevicesDlg_Header">主機介面</String>
+ <String Id="WarnTAPDevicesDlg_Desc">如果您的機器在先前版本使用某些主機介面。 在此安裝後您必須重新建立它們。</String>
+
+ <!---->
+
+ <String Id="NetCfgLocked">繼續安裝前,必須關閉以下應用程式: "[2]"</String>
+
+ <!---->
+
+ <String Id="CustomizeDlg_Location">位置:</String>
+ <String Id="CustomizeDlg_DiskUsage">磁碟使用量(&amp;U)</String>
+ <String Id="CustomizeDlg_SelFeatures">選取您要安裝功能的方式。</String>
+ <String Id="CustomizeDlg_IconTree">按一下以下樹狀中圖示以變更安裝功能的方式。</String>
+ <String Id="CustomizeDlg_CustomSetup">自訂安裝</String>
+ <String Id="CustomizeDlg_SelItemDesc">CustomizeDlgItemDescription-CustomizeDlgItemDescription</String>
+ <String Id="CustomizeDlg_SelItemSize">CustomizeDlgItemSize-CustomizeDlgItemSize</String>
+ <String Id="CustomizeDlg_SelItemPath">CustomizeDlgLocation-CustomizeDlgLocation</String>
+
+ <!---->
+
+ <String Id="Customize2Dlg_Header">自訂</String>
+ <String Id="Customize2Dlg_Desc">請選擇以下選項:</String>
+ <String Id="Customize2Dlg_CreateStartMenuEntries">建立 [開始] 功能表項目</String>
+ <String Id="Customize2Dlg_CreateDesktopShortcut">在桌面建立捷徑</String>
+ <String Id="Customize2Dlg_CreateQuickLaunch">在快速啟動列建立捷徑</String>
+ <String Id="Customize2Dlg_RegisterFileExtensions">註冊檔案關聯</String>
+
+ <!---->
+
+ <String Id="SelectionNetworkTypeDlg_CommonDescription">請選擇您將使用的網路驅動程式類型:</String>
+ <String Id="SelectionNetworkTypeDlg_DescriptionNDIS5">NDIS5 網路驅動程式。
+這是舊版 Windows 的預設值 (Vista 前)。</String>
+ <String Id="SelectionNetworkTypeDlg_DescriptionNDIS6">NDIS6 網路驅動程式。
+這是新版 Windows 的預設值 (Vista 和以上)。</String>
+ <String Id="SelectionNetworkTypeDlg_RadioButtonNDIS5">使用 NDIS5 網路驅動程式。</String>
+ <String Id="SelectionNetworkTypeDlg_RadioButtonNDIS6">使用 NDIS6 網路驅動程式。</String>
+
+ <!---->
+
+ <String Id="WarnDisconNetIfacesDlg_Title">警告:</String>
+ <String Id="WarnDisconNetIfacesDlg_Title2">網路介面</String>
+ <String Id="WarnDisconNetIfacesDlg_Desc">安裝 [ProductName] 網路功能將重設您的網路連線並暫時中斷網路連線。</String>
+ <String Id="WarnDisconNetIfacesDlg_Question">立即進行安裝嗎?</String>
+
+ <!---->
+
+ <String Id="WarnPythonDlg_Title">缺少相依項</String>
+ <String Id="WarnPythonDlg_Title2">Python 核心 / win32api</String>
+ <String Id="WarnPythonDlg_Desc">安裝 [ProductName] Python 綁定需要先安裝 Python 核心包和 win32api 綁定。</String>
+ <String Id="WarnPythonDlg_Desc2">現在繼續安裝 [ProductName] Python 綁定時,需要稍後手動設定這些綁定。 有關詳細資訊,請參閱 [ProductName] SDK 手冊。</String>
+ <String Id="WarnPythonDlg_Question">立即進行安裝嗎?</String>
+
+ <!---->
+
+ <String Id="DiskCostDlg_SpaceRequired">安裝選取功能所需的磁碟空間。</String>
+ <String Id="DiskCostDlg_NotEnoughSpace">反白的磁碟區 (如果有) 對於目前選取的功能沒有足夠的磁碟空間可以使用。 您可以從反白的磁碟區移除一些檔案,或選擇安裝較少功能在本機磁碟機,或選取不同目的地磁碟機。</String>
+ <String Id="DiskCostDlg_SpaceRequirements">磁碟空間需求</String>
+ <String Id="DiskCostDlg_VolumeList">{120}{70}{70}{70}{70}</String>
+
+ <!---->
+
+ <String Id="BrowseDlg_BrowseDestFolder">瀏覽目的地資料夾</String>
+ <String Id="BrowseDlg_ChangeCurFolder">變更目前目的地資料夾</String>
+ <String Id="BrowseDlg_UpOneLevelTooltip">上一層</String>
+ <String Id="BrowseDlg_CreateNewFolderTooltip">建立新的資料夾</String>
+ <String Id="BrowseDlg_LookIn">瀏覽(&amp;L):</String>
+ <String Id="BrowseDlg_FolderName">資料夾名稱(&amp;F):</String>
+
+ <!---->
+
+ <String Id="VerifyReadyDlg_ReadyToBegin">安裝精靈準備好進行 [InstallMode] 安裝。</String>
+ <String Id="VerifyReadyDlg_ClickInstall">按一下「安裝」開始安裝。 如果您要檢閱或變更任何安裝設定,按一下「上一步」。 按一下「取消」結束精靈。</String>
+ <String Id="VerifyReadyDlg_ReadyToInstall">準備好安裝</String>
+
+ <!---->
+
+ <String Id="ExitDlg_ClickFinish">按一下「完成」按鈕結束安裝精靈。</String>
+ <String Id="ExitDlg_InstComplete">[ProductName] 安裝完成。</String>
+ <String Id="ExitDlg_StartVBox">安裝後啟動 [ProductName]</String>
+
+ <!---->
+
+ <String Id="FatalErrorDlg_Header">[ProductName] 安裝精靈太早結束</String>
+ <String Id="FatalErrorDlg_Desc">[ProductName] 安裝因為錯誤太早結束。 您的系統未做修改。 若要稍後安裝此程式,請再次執行安裝。</String>
+ <String Id="FatalErrorDlg_Footer">按一下「完成」按鈕結束安裝精靈。</String>
+
+ <!---->
+
+ <String Id="FilesInUse_Text">以下應用程式使用此安裝需要更新的檔案。 關閉這些應用程式接著按一下「重試(&amp;R)」以繼續安裝或「取消」結束精靈。</String>
+ <String Id="FilesInUse_Description">某些需要更新的檔案目前使用中。</String>
+ <String Id="FilesInUse_Title">檔案使用中</String>
+
+ <!---->
+
+ <String Id="UserExitDlg_Header">[ProductName] 安裝精靈中斷</String>
+ <String Id="UserExitDlg_Desc">[ProductName] 安裝中斷。 您的系統未做修改。 若要稍後安裝此程式,請再次執行安裝。</String>
+ <String Id="UserExitDlg_Footer">按一下「完成」按鈕結束安裝精靈。</String>
+
+ <!---->
+
+ <String Id="ProgressDlg_PleaseWait">在安裝精靈安裝 [ProductName] 時請稍候。 這需要幾分鐘時間。</String>
+
+ <!---->
+
+ <String Id="ResumeDlg_Header">正在繼續 [ProductName] 安裝精靈</String>
+ <String Id="ResumeDlg_Desc">安裝精靈將在您的電腦完成 [ProductName] 的安裝。 按一下「安裝」以繼續或「取消」結束安裝精靈。</String>
+
+ <!---->
+
+ <String Id="MaintenanceTypeDlg_Header">修改、修復或移除安裝</String>
+ <String Id="MaintenanceTypeDlg_SelOption">選取您希望執行的操作。</String>
+ <String Id="MaintenanceTypeDlg_Repair">修復(&amp;P)</String>
+ <String Id="MaintenanceTypeDlg_RepairText">修復在最近安裝狀態的錯誤 - 修復缺少或損毀的檔案、捷徑和登錄檔項目。</String>
+ <String Id="MaintenanceTypeDlg_RepairTooltip">修復安裝</String>
+ <String Id="MaintenanceTypeDlg_RepairProgress1">正在修復</String>
+ <String Id="MaintenanceTypeDlg_RepairProgress2">修復</String>
+ <String Id="MaintenanceTypeDlg_Remove">移除(&amp;R)</String>
+ <String Id="MaintenanceTypeDlg_RemoveText">從電腦移除 [ProductName]。</String>
+ <String Id="MaintenanceTypeDlg_RemoveTooltip">移除安裝</String>
+ <String Id="MaintenanceTypeDlg_RemoveProgress1">正在移除</String>
+ <String Id="MaintenanceTypeDlg_RemoveProgress2">移除</String>
+
+ <!---->
+
+ <String Id="MaintenanceWelcomeDlg_Header">歡迎使用 [ProductName] 安裝精靈</String>
+ <String Id="MaintenanceWelcomeDlg_Desc">安裝精靈將允許您修復目前的安裝或從您的電腦移除 [ProductName]。 按一下「下一步」以繼續或「取消」結束安裝精靈。</String>
+
+ <!---->
+
+ <String Id="OutOfDiskDlg_InstallationExceeds">安裝所需的磁碟空間超過可用的磁碟空間。</String>
+ <String Id="OutOfDiskDlg_NotEnoughDiskSpace">反白的磁碟區對於目前選取的功能沒有足夠的磁碟空間可以使用。 您可以從反白的磁碟區移除一些檔案,或選擇安裝較少功能在本機磁碟機,或選取不同目的地磁碟機。</String>
+ <String Id="OutOfDiskDlg_OutOfDiskSpace">磁碟空間不足</String>
+
+ <!---->
+
+ <String Id="OutOfRbDiskDlg_InstallationExceeds">安裝所需的磁碟空間超過可用的磁碟空間。</String>
+ <String Id="OutOfRbDiskDlg_NotEnoughDiskSpace">反白的磁碟區對於目前選取的功能沒有足夠的磁碟空間可以使用。 您可以從反白的磁碟區移除一些檔案,或選擇安裝較少功能在本機磁碟機,或選取不同目的地磁碟機。</String>
+ <String Id="OutOfRbDiskDlg_OutOfDiskSpace">磁碟空間不足</String>
+ <String Id="OutOfRbDiskDlg_Desc">或者,您可以選擇停用安裝程式的回復功能。 這允許安裝程式在任何方式中斷安裝時還原您電腦的原始狀態。 按一下「是」如果您希望承擔停用回復功能的風險。</String>
+
+ <!---->
+
+ <String Id="VerifyRemoveDlg_Header">移除 [ProductName]</String>
+ <String Id="VerifyRemoveDlg_Desc">您已經選擇從您的電腦移除程式。</String>
+ <String Id="VerifyRemoveDlg_ClickRemove">按一下「移除」以從您的電腦移除 [ProductName]。 如果您要檢閱或變更任何安裝設定,按一下「上一步」。 按一下「取消」結束精靈。</String>
+
+ <!---->
+
+ <String Id="VerifyRepairDlg_Header">修復 [ProductName]</String>
+ <String Id="VerifyRepairDlg_ReadyToBegin">安裝精靈準備好開始修復 [ProductName]。</String>
+ <String Id="VerifyRepairDlg_ClickRepair">按一下「修復」以修復 [ProductName] 的安裝。 如果您要檢閱或變更任何安裝設定,按一下「上一步」。 按一下「取消」結束精靈。</String>
+
+ <!---->
+
+ <String Id="WaitForCostingDlg_PleaseWait">在安裝程式完成判斷您的磁碟空間需求時請稍候。</String>
+
+ <!---->
+
+ <String Id="MsiRMFilesInUse_Text">以下應用程式使用此安裝需要更新的檔案。 您可以讓安裝精靈關閉並嘗試重新啟動這些應用程式或稍後重新啟動電腦。</String>
+ <String Id="MsiRMFilesInUse_Description">某些需要更新的檔案目前使用中。</String>
+ <String Id="MsiRMFilesInUse_Title">檔案使用中</String>
+ <String Id="MsiRMFilesInUse_UseRM">關閉應用程式並嘗試重新啟動它們。 (&amp;C)</String>
+ <String Id="MsiRMFilesInUse_DontUseRM">不要關閉應用程式,將需要重新開機。 (&amp;D)</String>
+
+ <!-- The following strings are internally used by WiX and MSI -->
+ <String Id="Error0">{{嚴重錯誤: }}</String>
+ <String Id="Error1">{{錯誤 [1]。}}</String>
+ <String Id="Error2">警告 [1]。 </String>
+ <String Id="Error3" />
+ <String Id="Error4">資訊 [1]。 </String>
+ <String Id="Error5">安裝程式安裝這個封裝時發生未預期的錯誤。 這可能表示這個封裝的問題。 錯誤碼 [1]。 {{引數: [2], [3], [4]}}</String>
+ <String Id="Error6" />
+ <String Id="Error7">{{磁碟已滿: }}</String>
+ <String Id="Error8">動作 [Time]: [1]. [2]</String>
+ <String Id="Error9">[ProductName]</String>
+ <String Id="Error10">{[2]}{, [3]}{, [4]}</String>
+ <String Id="Error11">訊息類型: [1], 引數: [2]</String>
+ <String Id="Error12">=== 開啟記錄時間: [Date] [Time] ===</String>
+ <String Id="Error13">=== 停止記錄時間: [Date] [Time] ===</String>
+ <String Id="Error14">動作開始 [Time]: [1]。</String>
+ <String Id="Error15">動作結束 [Time]: [1]。 傳回值 [2]。</String>
+ <String Id="Error16">剩餘時間: {[1] 分 }{[2] 秒}</String>
+ <String Id="Error17">記憶體不足,重試之前先關閉其它應用程式。</String>
+ <String Id="Error18">安裝程式不再有回應。</String>
+ <String Id="Error19">安裝程式已經永久中止。</String>
+ <String Id="Error20">在 Windows 組態 [ProductName] 時請稍候</String>
+ <String Id="Error21">正在收集所需的資訊...</String>
+ <String Id="Error22">正在移除此應用程式的舊版本...</String>
+ <String Id="Error23">正在準備移除此應用程式的舊版本...</String>
+ <String Id="Error32">{[ProductName] } 安裝成功完成。</String>
+ <String Id="Error33">{[ProductName] } 安裝失敗。</String>
+ <String Id="Error1101">讀取檔案錯誤: [2]。{{ 系統錯誤 [3]。}} 檢查檔案是否存在,並且可以存取。</String>
+ <String Id="Error1301">無法建立目錄 '[2]'。 同名的目錄已經存在。 取消安裝並嘗試安裝到不同位置。</String>
+ <String Id="Error1302">請插入磁碟: [2]</String>
+ <String Id="Error1303">安裝程式的權限不足,無法存取這個目錄: [2],安裝無法繼續,以系統管理員的身份登入或是連絡您的系統管理員。</String>
+ <String Id="Error1304">寫入至檔案時發生錯誤: [2]。請檢查您可以存取那個目錄。</String>
+ <String Id="Error1305">讀取檔案時發生錯誤:[2]。{{ 系統錯誤 [3]。}} 請檢查檔案是否存在,並且可以存取。</String>
+ <String Id="Error1306">另一個應用程序獨占存取檔案 '[2]'。 請關閉所有其它應用程式,然後按一下「重試」。</String>
+ <String Id="Error1307">磁碟空間不足,無法安裝這個檔案: [2]。釋放一些磁碟空間然後按一下「重試」,或按一下「取消」結束。</String>
+ <String Id="Error1308">找不到來源檔案: [2]。 請驗證檔案存在並且您可以存取它。</String>
+ <String Id="Error1309">讀取檔案錯誤: [3]。{{ 系統錯誤 [2]。}} 請檢查檔案是否存在,並且可以存取。</String>
+ <String Id="Error1310">寫入至檔案時發生錯誤: [3]。{{ 系統錯誤 [2]。}} 請檢查您可以存取那個目錄。</String>
+ <String Id="Error1311">找不到來源檔案 {{(cabinet)}}: [2]。 請檢查檔案存在並且可以存取。</String>
+ <String Id="Error1312">無法建立目錄 '[2]'。 同名的檔案已經存在。 請重新命名或移除檔案並按一下「重試」,或按一下「取消」結束。</String>
+ <String Id="Error1313">磁碟區 [2] 目前不可使用。 請選取另一個。</String>
+ <String Id="Error1314">指定的路徑 '[2]' 不可使用。</String>
+ <String Id="Error1315">無法寫入指定的資料夾: [2]。</String>
+ <String Id="Error1316">嘗試從檔案讀取時發生網路錯誤: [2]</String>
+ <String Id="Error1317">嘗試建立目錄時發生錯誤: [2]</String>
+ <String Id="Error1318">嘗試建立目錄時發生網路錯誤: [2]</String>
+ <String Id="Error1319">嘗試開啟來源檔案時發生網路錯誤: [2]</String>
+ <String Id="Error1320">指定的路徑太長: [2]</String>
+ <String Id="Error1321">Installer 的權限不足以修改這個檔案: [2]。</String>
+ <String Id="Error1322">資料夾路徑的部份 '[2]' 無效。其為空或超過系統允許的長度。</String>
+ <String Id="Error1323">資料夾路徑 '[2]' 包含無效的字在資料夾路徑。</String>
+ <String Id="Error1324">資料夾路徑 '[2]' 包含無效字元。</String>
+ <String Id="Error1325">'[2]' 不是有效的短檔名。</String>
+ <String Id="Error1326">取得檔案安全性錯誤: [3] GetLastString: [2]</String>
+ <String Id="Error1327">無效的磁碟機: [2]</String>
+ <String Id="Error1328">套用修正檔到檔案 [2] 錯誤。 可能已由其他主機更新,且這個修正檔不再能修改。 更多資訊請聯絡您的修正檔供應商。 {{系統錯誤: [3]}}</String>
+ <String Id="Error1329">無法安裝所需的檔案,因為 cabinet 檔案 [2] 沒有數位簽章。 這表示 cabinet 檔案已經損毀。</String>
+ <String Id="Error1330">無法安裝所需的檔案,因為 cabinet 檔案 [2] 有無效的數位簽章。 這表示 cabinet 檔案已經損毀。 {{ WinVerifyTrust 返回錯誤 [3]。}}</String>
+ <String Id="Error1331">修正複製 [2] 檔案失敗: CRC 錯誤。</String>
+ <String Id="Error1332">修正移動 [2] 檔案失敗: CRC 錯誤。</String>
+ <String Id="Error1333">修正路徑 [2] 檔案失敗: CRC 錯誤。</String>
+ <String Id="Error1334">無法安裝 '[2]' 因為在 cainet 檔案 '[3]' 中找不到檔案。 這表示網路錯誤、從 CD-ROM 讀取錯誤、或此安裝包問題。</String>
+ <String Id="Error1335">此安裝所需的 cabinet 檔案 '[2]' 已經損毀且無法使用。 這表示網路錯誤、從 CD-ROM 讀取錯誤、或此安裝包問題。</String>
+ <String Id="Error1336">完成這個安裝所需的暫存檔案建立錯誤。 {{ 資料夾: [3]。 系統錯誤碼: [2]}}</String>
+ <String Id="Error1401">無法建立機碼: [2]。{{ 系統錯誤 [3]。}} 檢查您是有足夠的權限存取該機碼,或是連絡您的支援人員。 </String>
+ <String Id="Error1402">無法開啟機碼: [2]。{{ 系統錯誤 [3]。}} 檢查您是有足夠的權限存取該機碼,或是連絡您的支援人員。 </String>
+ <String Id="Error1403">無法從機碼 [3] 刪除值:[2]。{{ 系統錯誤 [4]。}} 檢查您是有足夠的權限存取該機碼,或是連絡您的支援人員。 </String>
+ <String Id="Error1404">無法刪除機碼:[2]。{{ 系統錯誤 [3]。}} 檢查您是有足夠的權限存取該機碼,或是連絡您的支援人員。 </String>
+ <String Id="Error1405">無法從機碼 [3] 讀取值 [2]。{{ 系統錯誤 [4]。}} 檢查您是有足夠的權限存取該機碼,或是連絡您的支援人員。 </String>
+ <String Id="Error1406">無法寫入值 [2] 至機碼 [3]。{{ 系統錯誤 [4]。}} 檢查您是有足夠的權限存取該機碼,或是連絡您的支援人員。</String>
+ <String Id="Error1407">無法取得機碼 [2] 的值名稱。{{ 系統錯誤 [3]。}} 檢查您是有足夠的權限存取該機碼,或是連絡您的支援人員。</String>
+ <String Id="Error1408">無法取得機碼 [2] 的子機碼名稱。{{ 系統錯誤 [3]。}} 檢查您是有足夠的權限存取該機碼,或是連絡您的支援人員。</String>
+ <String Id="Error1409">無法讀取機碼 [2] 的安全資訊。{{ 系統錯誤 [3]。}} 檢查您是有足夠的權限存取該機碼,或是連絡您的支援人員。</String>
+ <String Id="Error1410">無法增加可用的登錄空間。 此應用程式須要 [2] KB 以上的空間。</String>
+ <String Id="Error1500">其它的安裝正在進行中,您必須完成該項安裝之後才能繼續。</String>
+ <String Id="Error1501">存取保全資料時發生錯誤,請確定 Windows Installer 是否正確組態,然後再試一次。</String>
+ <String Id="Error1502">使用者 '[2]' 先前已經啟動產品 '[3]' 的安裝。 該使用者在可以使用該產品前需要再次執行安裝。您目前的安裝現在將繼續。</String>
+ <String Id="Error1503">使用者 '[2]' 先前已經啟動產品 '[3]' 的安裝。 該使用者在可以使用該產品前需要再次執行安裝。</String>
+ <String Id="Error1601">磁碟空間不足 -- 磁碟區: '[2]',所需空間: [3] KB; 可用空間: [4] KB。 釋放一些磁碟空間並重試。</String>
+ <String Id="Error1602">您確定要取消嗎?</String>
+ <String Id="Error1603">檔案 [2][3] 正在由 { 以下處理程序: 名稱: [4],Id: [5],視窗標題: '[6]'} 使用中。 關閉該應用程式並重試。</String>
+ <String Id="Error1604">已經安裝產品 '[2]',此產品防止安裝。 兩個產品不相容。</String>
+ <String Id="Error1605">磁碟區 '[2]' 沒有足夠的磁碟空間以啟用復原的安裝繼續。 需要 [3] KB,但只有 [4] KB 可以使用。 按一下「忽略」以不儲存復原資訊繼續安裝,按一下「重試」以再次檢查可用空間,或按一下「取消」以離開安裝。</String>
+ <String Id="Error1606">無法存取網路位置 [2]。</String>
+ <String Id="Error1607">繼續安裝前應該關閉以下應用程式:</String>
+ <String Id="Error1608">無法在本機中找到任何先前已安裝的合格版本。</String>
+ <String Id="Error1609">套用安全性設定時發生錯誤。 [2] 不是有效的使用者或群組。 這會是安裝包的問題或連線到網路上網域控制站的問題。 檢查您的網路連線並按一下「重試」,或「取消」以結束安裝。 {{找不到使用者的 SID,系統錯誤 [3]}}</String>
+ <String Id="Error1701">金鑰 [2] 是無效的,檢查您輸入的金鑰是否正確。</String>
+ <String Id="Error1702">要繼續設定 [2] 之前,Installer 必須重新啟動您的系統,按「是」將立即重新啟動;如果您想要稍後手動重新啟動請按「否」。</String>
+ <String Id="Error1703">您必須重新啟動您的系統,對 [2] 所做的組態變更才會生效,按「是」立即重新啟動;如果您想要稍後手動重新啟動請按「否」。</String>
+ <String Id="Error1704">安裝 [2] 目前已經暫停,您必須復原該安裝所做的變更才能繼續,您要復原這些變更嗎?</String>
+ <String Id="Error1705">另一個安裝這個產品的程式正在進行中,您必須復原該安裝所做的變更才能繼續,您要復原這些變更嗎?</String>
+ <String Id="Error1706">找不到產品 [2] 的安裝包。 嘗試使用安裝包 '[3]' 的有效副本嘗試再次安裝。</String>
+ <String Id="Error1707">安裝成功完成。</String>
+ <String Id="Error1708">安裝失敗。</String>
+ <String Id="Error1709">產品: [2] -- [3]</String>
+ <String Id="Error1710">您可以將電腦還原成先前的狀態或稍後繼續安裝,您希望還原嗎?</String>
+ <String Id="Error1711">寫入安裝資訊至磁碟時發生錯誤,確定磁碟的空間足夠,並按「重試」,或按「取消」來結束安裝。</String>
+ <String Id="Error1712">還原您的電腦成之前的狀態所需的一個或數個檔案找不到。 無法還原。</String>
+ <String Id="Error1713">[2] 無法安裝其所需的產品之一。 請聯絡您的技術支援小組。 {{系統字串: [3]。}}</String>
+ <String Id="Error1714">無法移除 [2] 的舊版本。 請聯絡您的技術支援小組。 {{系統字串 [3]。}}</String>
+ <String Id="Error1715">已經安裝 [2]</String>
+ <String Id="Error1716">已經組態 [2]</String>
+ <String Id="Error1717">已經移除 [2]</String>
+ <String Id="Error1718">數位簽章原則拒絕檔案 [2] 。</String>
+ <String Id="Error1719">無法存取 Windows Installer 服務。 如果您正執行在 Windows 安全模式,這將會發生。 請聯絡您的技術支援人員以取得協助。</String>
+ <String Id="Error1720">這個 Windows Installer 封裝有問題。 完成這個安裝需要的指令碼無法執行。 聯絡您的支援人員或封裝供應商。 {{自訂動作 [2] 指令碼錯誤 [3],[4]: [5] 行 [6],欄 [7],[8] }}</String>
+ <String Id="Error1721">這個 Windows Installer 封裝有問題。 完成這個安裝需要的程式無法執行。 聯絡您的支援人員或封裝供應商。 {{動作 [2],位置: [3],命令: [4] }}</String>
+ <String Id="Error1722">這個 Windows Installer 封裝有問題。 以 setup 部分執行的程式無法如預期完成。 聯絡您的支援人員或封裝供應商。 {{動作 [2],位置: [3],命令: [4] }}</String>
+ <String Id="Error1723">這個 Windows Installer 封裝有問題。 完成這個安裝需要的 DLL 無法執行。 聯絡您的支援人員或封裝供應商。 {{動作 [2],項目: [3],程式庫: [4] }}</String>
+ <String Id="Error1724">移除成功完成。</String>
+ <String Id="Error1725">移除失敗。</String>
+ <String Id="Error1726">宣告成功完成。</String>
+ <String Id="Error1727">宣告失敗。</String>
+ <String Id="Error1728">組態成功完成。</String>
+ <String Id="Error1729">組態失敗。</String>
+ <String Id="Error1730">您必須是管理者以移除這個應用程式。 要移除這個應用程式,您可以使用系統管理員登入或聯絡您的技術支援群組取得協助。</String>
+ <String Id="Error1801">路徑 [2] 無效。 請指定有效的路徑。</String>
+ <String Id="Error1802">記憶體不足,重試之前先關閉其它應用程式。</String>
+ <String Id="Error1803">磁碟機 [2] 中沒有磁片,請插入磁片然後重試,或按「取消」回到上次選取的磁碟區。</String>
+ <String Id="Error1804">磁碟機 [2] 中沒有磁片,請插入磁片然後按「重試」,或按「取消」回到瀏覽對話方塊,並選取不同的磁碟區。</String>
+ <String Id="Error1805">資料夾 [2] 不存在,請輸入一個現有的資料夾路徑。</String>
+ <String Id="Error1806">您的權限不足,無法讀取這個資料夾。</String>
+ <String Id="Error1807">無法決定合法的目的資料夾。</String>
+ <String Id="Error1901">嘗試讀取來源安裝資料庫時發生錯誤: [2]。</String>
+ <String Id="Error1902">正在排定重新開機作業: 正在更改檔案名稱 [2] 成 [3],必須重新開機才能完成作業。</String>
+ <String Id="Error1903">正在排定重新開機作業: 正在刪除檔案 [2],必須重新開機才能完成作業。</String>
+ <String Id="Error1904">註冊模組 [2] 失敗。HRESULT [3]。連絡您的支援人員。</String>
+ <String Id="Error1905">取消註冊模組 [2] 失敗。HRESULT [3]。連絡您的支援人員。</String>
+ <String Id="Error1906">無法預存封裝 [2]。錯誤: [3]。請連絡支援人員。</String>
+ <String Id="Error1907">無法註冊字型 [2]。 請確認是否有足夠的權限及系統支援。</String>
+ <String Id="Error1908">無法解除註冊字型 [2]。 請確認您有足夠的權限來移除字型。</String>
+ <String Id="Error1909">無法建立捷徑 [2]。 請確認目地資料夾是否存在及您的存取權。</String>
+ <String Id="Error1910">無法移除捷徑 [2]。 請確認目地資料夾是否存在及您的存取權。</String>
+ <String Id="Error1911">無法註冊檔案 [2] 的類型程式庫。 請連絡系統支援人員。</String>
+ <String Id="Error1912">無法解除註冊檔案 [2] 的 type library。 請連絡系統支援人員。</String>
+ <String Id="Error1913">無法更新 ini 檔 [2][3]。 請確認檔案是否存在及您的存取權。</String>
+ <String Id="Error1914">無法預定在重開機時將檔案 [2] 取代 [3]。 請確認您有 [3] 的存取權。</String>
+ <String Id="Error1915">移除 ODBC 驅動程式管理員錯誤,ODBC 錯誤 [2]: [3]。請連絡系統支援人員。</String>
+ <String Id="Error1916">安裝 ODBC 驅動程式管理員錯誤,ODBC 錯誤 [2]: [3]。請連絡系統支援人員。</String>
+ <String Id="Error1917">移除 ODBC 驅動程式管理員錯誤: [4],ODBC 錯誤 [2]: [3]。請確認您有足夠權限。</String>
+ <String Id="Error1918">安裝 ODBC 驅動程式管理員錯誤: [4],ODBC 錯誤 [2]: [3]。請確認檔案[4]存在並可存取。</String>
+ <String Id="Error1919">設定 ODBC 資料來源錯誤: [4],ODBC 錯誤 [2]: [3]。請確認檔案[4]存在並可存取。</String>
+ <String Id="Error1920">啟動服務 '[2]' ([3]) 失敗。 請確認您有足夠的特殊權限以啟動系統服務。</String>
+ <String Id="Error1921">停止服務 '[2]' ([3]) 失敗。 請確認您有足夠的特殊權限以啟動系統服務。</String>
+ <String Id="Error1922">刪除服務 '[2]' ([3]) 失敗。 請確認您有足夠的特殊權限以啟動系統服務。</String>
+ <String Id="Error1923">無法安裝服務 '[2]' ([3]) 。 請確認您有足夠的特殊權限以啟動系統服務。</String>
+ <String Id="Error1924">無法更新環境變數 '[2]'。 請確認您有足夠的特殊權限以修改環境變數。</String>
+ <String Id="Error1925">您沒有足夠的特殊權限使電腦的所有使用者都完成此安裝。請以系統管理員權限登入,接著再重試此安裝。</String>
+ <String Id="Error1926">無法設定檔案 '[3]' 的檔案安全性。 錯誤: [2]。 請確認您有足夠的特殊權限以修改此檔案的安全性權限。</String>
+ <String Id="Error1927">這台電腦並未安裝 Component Services (COM+ 1.0)。這項安裝需要有 Component Services 才能進行。Component Services 包含在 Windows XP 中。</String>
+ <String Id="Error1928">登錄 COM+ 應用程式時發生錯誤。請聯絡您的支援人員以取得其他資訊。</String>
+ <String Id="Error1929">解除 COM+ 應用程式登錄時發生錯誤。請聯絡您的支援人員以取得其他資訊。</String>
+ <String Id="Error1930">無法變更服務 '[2]' ([3]) 的描述。</String>
+ <String Id="Error1931">Windows Installer 服務無法更新系統檔案 [2] 因為檔案受 Windows 保護。 您可能需要更新您的作業系統使這個程式正確動作。 {{{封裝版本: [3],受 OS 保護的版本: [4]}}</String>
+ <String Id="Error1932">Windows Installer 服務無法更新受保護的 Windows 檔案 [2]。 {{封裝版本: [3],受 OS 保護的版本: [4],SFP 錯誤: [5]}}</String>
+ <String Id="Error1933">Windows Installer 服務無法更新一個或數個受保護的 Windows 檔案。 {{SFP 字串: [2]。 受保護的檔案清單: \r\n[3]}}</String>
+ <String Id="Error1934">電腦的原則停用使用者安裝。</String>
+ <String Id="Error1935">組件元件 [2] 的安裝期間發生錯誤。 HRESULT: [3]。 {{組件介面: [4],函數: [5],組件名稱: [6]}}</String>
+
+ <!-- Own / special errors -->
+ <String Id="Error25001">需要關閉應用程式 "[2]" 以繼續關閉。</String>
+
+ <String Id="ProgressTextInstallValidate">正在驗證安裝</String>
+ <String Id="ProgressTextInstallFiles">正在複製新檔案</String>
+ <String Id="ProgressTextInstallFilesTemplate">檔案: [1], 目錄: [9], 大小: [6]</String>
+ <String Id="ProgressTextInstallAdminPackage">正在複製網路安裝檔案</String>
+ <String Id="ProgressTextInstallAdminPackageTemplate">檔案: [1], 目錄: [9], 大小: [6]</String>
+ <String Id="ProgressTextFileCost">正在計算空間需求</String>
+ <String Id="ProgressTextCostInitialize">正在計算空間需求</String>
+ <String Id="ProgressTextCostFinalize">正在計算空間需求</String>
+ <String Id="ProgressTextCreateShortcuts">正在建立捷徑</String>
+ <String Id="ProgressTextCreateShortcutsTemplate">捷徑: [1]</String>
+ <String Id="ProgressTextPublishComponents">正在發佈合格的元件</String>
+ <String Id="ProgressTextPublishComponentsTemplate">元件 ID: [1], 公佈者: [2]</String>
+ <String Id="ProgressTextPublishFeatures">正在發佈產品功能</String>
+ <String Id="ProgressTextPublishFeaturesTemplate">功能: [1]</String>
+ <String Id="ProgressTextPublishProduct">正在發佈產品資訊</String>
+ <String Id="ProgressTextRegisterClassInfo">正在登錄類別伺服器</String>
+ <String Id="ProgressTextRegisterClassInfoTemplate">類別 Id: [1]</String>
+ <String Id="ProgressTextRegisterExtensionInfo">正在登錄擴充伺服器</String>
+ <String Id="ProgressTextRegisterExtensionInfoTemplate">副檔名 [1]</String>
+ <String Id="ProgressTextRegisterMIMEInfo">正在登錄 MIME 資訊</String>
+ <String Id="ProgressTextRegisterMIMEInfoTemplate">MIME 內容類型: [1],副檔名: [2]</String>
+ <String Id="ProgressTextRegisterProgIdInfo">正在登錄程式辨識字元</String>
+ <String Id="ProgressTextRegisterProgIdInfoTemplate">ProgId: [1]</String>
+ <String Id="ProgressTextAllocateRegistrySpace">正在配置登錄空間</String>
+ <String Id="ProgressTextAllocateRegistrySpaceTemplate">可用空間: [1]</String>
+ <String Id="ProgressTextAppSearch">正在搜尋已安裝的應用程式</String>
+ <String Id="ProgressTextAppSearchTemplate">內容: [1], 簽章: [2]</String>
+ <String Id="ProgressTextBindImage">正在繫結執行檔</String>
+ <String Id="ProgressTextBindImageTemplate">檔案: [1]</String>
+ <String Id="ProgressTextCCPSearch">正在搜尋查詢產品</String>
+ <String Id="ProgressTextCreateFolders">正在建立資料夾</String>
+ <String Id="ProgressTextCreateFoldersTemplate">資料夾: [1]</String>
+ <String Id="ProgressTextDeleteServices">正在刪除服務</String>
+ <String Id="ProgressTextDeleteServicesTemplate">服務: [1]</String>
+ <String Id="ProgressTextDuplicateFiles">正在建立重複檔案</String>
+ <String Id="ProgressTextDuplicateFilesTemplate">檔案: [1], 目錄: [9], 大小: [6]</String>
+ <String Id="ProgressTextFindRelatedProducts">正在搜尋相關的應用程式</String>
+ <String Id="ProgressTextFindRelatedProductsTemplate">找到應用程式: [1]</String>
+ <String Id="ProgressTextInstallODBC">正在安裝 ODBC 元件</String>
+ <String Id="ProgressTextInstallServices">正在安裝新服務</String>
+ <String Id="ProgressTextInstallServicesTemplate">服務: [2]</String>
+ <String Id="ProgressTextLaunchConditions">正在評估啟動條件</String>
+ <String Id="ProgressTextMigrateFeatureStates">正在從相關的應用程式遷移功能狀態</String>
+ <String Id="ProgressTextMigrateFeatureStatesTemplate">應用程式: [1]</String>
+ <String Id="ProgressTextMoveFiles">正在移動檔案</String>
+ <String Id="ProgressTextMoveFilesTemplate">檔案: [1], 目錄: [9], 大小: [6]</String>
+ <String Id="ProgressTextPatchFiles">正在修補檔案</String>
+ <String Id="ProgressTextPatchFilesTemplate">檔案: [1], 目錄: [2], 大小: [3]</String>
+ <String Id="ProgressTextProcessComponents">正在更新元件註冊</String>
+ <String Id="ProgressTextRegisterComPlus">正在註冊 COM+ 應用程式和元件</String>
+ <String Id="ProgressTextRegisterComPlusTemplate">AppId: [1]{{, AppType: [2],使用者: [3],RSN: [4]}}</String>
+ <String Id="ProgressTextRegisterFonts">正在註冊字型</String>
+ <String Id="ProgressTextRegisterFontsTemplate">字型: [1]</String>
+ <String Id="ProgressTextRegisterProduct">正在註冊產品</String>
+ <String Id="ProgressTextRegisterProductTemplate">[1]</String>
+ <String Id="ProgressTextRegisterTypeLibraries">正在登錄類別程式庫</String>
+ <String Id="ProgressTextRegisterTypeLibrariesTemplate">LibID: [1]</String>
+ <String Id="ProgressTextRegisterUser">正在登錄使用者</String>
+ <String Id="ProgressTextRegisterUserTemplate">[1]</String>
+ <String Id="ProgressTextRemoveDuplicateFiles">正在移除重複的檔案</String>
+ <String Id="ProgressTextRemoveDuplicateFilesTemplate">檔案: [1], 目錄: [9]</String>
+ <String Id="ProgressTextRemoveEnvironmentStrings">正在更新環境字串</String>
+ <String Id="ProgressTextRemoveEnvironmentStringsTemplate">名稱: [1], 數值: [2], 動作: [3]</String>
+ <String Id="ProgressTextRemoveExistingProducts">正在移除應用程式</String>
+ <String Id="ProgressTextRemoveExistingProductsTemplate">應用程式: [1], 命令列: [2]</String>
+ <String Id="ProgressTextRemoveFiles">正在移除檔案</String>
+ <String Id="ProgressTextRemoveFilesTemplate">檔案: [1], 目錄: [9]</String>
+ <String Id="ProgressTextRemoveFolders">正在移除資料夾</String>
+ <String Id="ProgressTextRemoveFoldersTemplate">資料夾: [1]</String>
+ <String Id="ProgressTextRemoveIniValues">正在移除 INI 檔案項目</String>
+ <String Id="ProgressTextRemoveIniValuesTemplate">檔案: [1], 區段: [2], 機碼: [3], 數值: [4]</String>
+ <String Id="ProgressTextRemoveODBC">正在移除 ODBC 元件</String>
+ <String Id="ProgressTextRemoveRegistryValues">正在移除系統登錄檔數值</String>
+ <String Id="ProgressTextRemoveRegistryValuesTemplate">機碼: [1], 名稱: [2]</String>
+ <String Id="ProgressTextRemoveShortcuts">正在移除捷徑</String>
+ <String Id="ProgressTextRemoveShortcutsTemplate">捷徑: [1]</String>
+ <String Id="ProgressTextRMCCPSearch">正在搜尋查詢產品</String>
+ <String Id="ProgressTextSelfRegModules">正在註冊模組</String>
+ <String Id="ProgressTextSelfRegModulesTemplate">檔案: [1], 資料夾: [2]</String>
+ <String Id="ProgressTextSelfUnregModules">正在解除模組登錄</String>
+ <String Id="ProgressTextSelfUnregModulesTemplate">檔案: [1], 資料夾: [2]</String>
+ <String Id="ProgressTextSetODBCFolders">正在初始化 ODBC 目錄</String>
+ <String Id="ProgressTextStartServices">正在啟動服務</String>
+ <String Id="ProgressTextStartServicesTemplate">服務: [1]</String>
+ <String Id="ProgressTextStopServices">正在停止服務</String>
+ <String Id="ProgressTextStopServicesTemplate">服務: [1]</String>
+ <String Id="ProgressTextUnpublishComponents">正在取消元件公佈</String>
+ <String Id="ProgressTextUnpublishComponentsTemplate">元件 ID: [1], 公佈者: [2]</String>
+ <String Id="ProgressTextUnpublishFeatures">正在取消功能公佈</String>
+ <String Id="ProgressTextUnpublishFeaturesTemplate">功能: [1]</String>
+ <String Id="ProgressTextUnregisterClassInfo">解除類別伺服器登錄</String>
+ <String Id="ProgressTextUnregisterClassInfoTemplate">類別 Id: [1]</String>
+ <String Id="ProgressTextUnregisterComPlus">正在解除 COM+ 應用程式和元件登錄</String>
+ <String Id="ProgressTextUnregisterComPlusTemplate">AppId: [1]{{, AppType: [2]}}</String>
+ <String Id="ProgressTextUnregisterExtensionInfo">正在解除擴充伺服器登錄</String>
+ <String Id="ProgressTextUnregisterExtensionInfoTemplate">副檔名 [1]</String>
+ <String Id="ProgressTextUnregisterFonts">正在解除字型登錄</String>
+ <String Id="ProgressTextUnregisterFontsTemplate">字型: [1]</String>
+ <String Id="ProgressTextUnregisterMIMEInfo">正在解除 MIME 資訊登錄</String>
+ <String Id="ProgressTextUnregisterMIMEInfoTemplate">MIME 內容類型: [1],副檔名: [2]</String>
+ <String Id="ProgressTextUnregisterProgIdInfo">正在解除程式識別碼登錄</String>
+ <String Id="ProgressTextUnregisterProgIdInfoTemplate">ProgId: [1]</String>
+ <String Id="ProgressTextUnregisterTypeLibraries">正在解除類別程式庫登錄</String>
+ <String Id="ProgressTextUnregisterTypeLibrariesTemplate">LibID: [1]</String>
+ <String Id="ProgressTextWriteEnvironmentStrings">正在更新環境字串</String>
+ <String Id="ProgressTextWriteEnvironmentStringsTemplate">名稱: [1], 數值: [2], 動作: [3]</String>
+ <String Id="ProgressTextWriteIniValues">正在寫入 INI 檔案數值</String>
+ <String Id="ProgressTextWriteIniValuesTemplate">檔案: [1], 區段: [2], 機碼: [3], 數值: [4]</String>
+ <String Id="ProgressTextWriteRegistryValues">正在寫入系統登錄檔數值</String>
+ <String Id="ProgressTextWriteRegistryValuesTemplate">機碼: [1],名稱: [2],值: [3]</String>
+ <String Id="ProgressTextAdvertise">正在宣告應用程式</String>
+ <String Id="ProgressTextGenerateScript">正在產生動作的 script 操作:</String>
+ <String Id="ProgressTextGenerateScriptTemplate">[1]</String>
+ <String Id="ProgressTextInstallSFPCatalogFile">正在安裝系統目錄</String>
+ <String Id="ProgressTextInstallSFPCatalogFileTemplate">檔案: [1],依存關係: [2]</String>
+ <String Id="ProgressTextMsiPublishAssemblies">正在發佈組件資訊</String>
+ <String Id="ProgressTextMsiPublishAssembliesTemplate">應用程式內容:[1],組件名稱:[2]</String>
+ <String Id="ProgressTextMsiUnpublishAssemblies">正在取消資訊公佈</String>
+ <String Id="ProgressTextMsiUnpublishAssembliesTemplate">應用程式內容:[1],組件名稱:[2]</String>
+ <String Id="ProgressTextRollback">回復動作:</String>
+ <String Id="ProgressTextRollbackTemplate">[1]</String>
+ <String Id="ProgressTextRollbackCleanup">正在移除備份檔案</String>
+ <String Id="ProgressTextRollbackCleanupTemplate">檔案: [1]</String>
+ <String Id="ProgressTextUnmoveFiles">正在移除移動的檔案</String>
+ <String Id="ProgressTextUnmoveFilesTemplate">檔案: [1], 目錄: [9]</String>
+ <String Id="ProgressTextUnpublishProduct">正在取消發佈產品資訊</String>
+
+ <String Id="UITextbytes">位元組</String>
+ <String Id="UITextGB">GB</String>
+ <String Id="UITextKB">KB</String>
+ <String Id="UITextMB">MB</String>
+ <String Id="UITextMenuAbsent">整個功能將不可用</String>
+ <String Id="UITextMenuAdvertise">需要時將安裝的功能</String>
+ <String Id="UITextMenuAllCD">整個功能將會安裝成從 CD 上執行</String>
+ <String Id="UITextMenuAllLocal">整個功能將會安裝到本機硬碟</String>
+ <String Id="UITextMenuAllNetwork">整個功能將會安裝成從網路上執行</String>
+ <String Id="UITextMenuCD">將會安裝成從 CD 上執行</String>
+ <String Id="UITextMenuLocal">將會安裝到本機硬碟</String>
+ <String Id="UITextMenuNetwork">將會安裝成從網路執行</String>
+ <String Id="UITextScriptInProgress">正在收集所需的資訊...</String>
+ <String Id="UITextSelAbsentAbsent">這個功能將保持未安裝的狀態</String>
+ <String Id="UITextSelAbsentAdvertise">這個功能會設定成視需要進行安裝</String>
+ <String Id="UITextSelAbsentCD">這個功能將會安裝成從 CD 執行</String>
+ <String Id="UITextSelAbsentLocal">這個功能將會安裝在本機硬碟中</String>
+ <String Id="UITextSelAbsentNetwork">這個功能將會安裝成從網路執行</String>
+ <String Id="UITextSelAdvertiseAbsent">這個功能將無法使用</String>
+ <String Id="UITextSelAdvertiseAdvertise">將會視需要進行安裝</String>
+ <String Id="UITextSelAdvertiseCD">這個功能可以從 CD 上執行</String>
+ <String Id="UITextSelAdvertiseLocal">這個功能將安裝在您的本機硬碟</String>
+ <String Id="UITextSelAdvertiseNetwork">這個功能可以從網路執行</String>
+ <String Id="UITextSelCDAbsent">這個功能將完整解除安裝,您將不能從 CD 執行</String>
+ <String Id="UITextSelCDAdvertise">這個功能會從 CD 執行變更成視需要進行安裝</String>
+ <String Id="UITextSelCDCD">這個功能仍將從 CD 執行</String>
+ <String Id="UITextSelCDLocal">這個功能將會從 CD 執行變更為安裝在本機硬碟中</String>
+ <String Id="UITextSelChildCostNeg">這個功能會在您的硬碟釋放 [1] 。</String>
+ <String Id="UITextSelChildCostPos">這個功能要求 [1] 在您的硬碟上。</String>
+ <String Id="UITextSelCostPending">正在編譯這個功能的花費...</String>
+ <String Id="UITextSelLocalAbsent">這個功能將會完整移除</String>
+ <String Id="UITextSelLocalAdvertise">這個功能會從您的本機硬碟上移除,但是會設定成視需要進行安裝</String>
+ <String Id="UITextSelLocalCD">這個功能將會從您的本機硬碟中移除,但是仍然可以從 CD 執行</String>
+ <String Id="UITextSelLocalLocal">這個功能將會保留在您的本機硬碟中</String>
+ <String Id="UITextSelLocalNetwork">這個功能將會從您的本機硬碟中移除,但是仍然可從網路上執行</String>
+ <String Id="UITextSelNetworkAbsent">這個功能將完整解除安裝,您將不能從網路執行</String>
+ <String Id="UITextSelNetworkAdvertise">這個功能將會從網路執行變更成視需要進行安裝</String>
+ <String Id="UITextSelNetworkLocal">這個功能將會從網路執行變更為安裝在本機硬碟中</String>
+ <String Id="UITextSelNetworkNetwork">這個功能仍將保留成從網路執行</String>
+ <String Id="UITextSelParentCostNegNeg">這個功能在您的硬碟釋放 [1]。 它已選取 [2] 之 [3] 子功能。 子功能在您的硬碟釋放 [4] 。</String>
+ <String Id="UITextSelParentCostNegPos">這個功能在您的硬碟釋放 [1]。 它已選取 [2] 之 [3] 子功能。 子功能在您的硬碟需要 [4] 。</String>
+ <String Id="UITextSelParentCostPosNeg">這個功能在您的硬碟需要 [1]。 它已選取 [2] 之 [3] 子功能。 子功能在您的硬碟釋放 [4] 。</String>
+ <String Id="UITextSelParentCostPosPos">這個功能在您的硬碟需要 [1]。 它已選取 [2] 之 [3] 子功能。 子功能在您的硬碟需要 [4] 。</String>
+ <String Id="UITextTimeRemaining">剩餘時間: {[1] 分 }{[2] 秒}</String>
+ <String Id="UITextVolumeCostAvailable">可用</String>
+ <String Id="UITextVolumeCostDifference">差異</String>
+ <String Id="UITextVolumeCostRequired">需求</String>
+ <String Id="UITextVolumeCostSize">磁碟大小</String>
+ <String Id="UITextVolumeCostVolume">分割區</String>
+
+</WixLocalization>
diff --git a/src/VBox/Installer/win/Permissions.wxi b/src/VBox/Installer/win/Permissions.wxi
new file mode 100644
index 00000000..5925923a
--- /dev/null
+++ b/src/VBox/Installer/win/Permissions.wxi
@@ -0,0 +1,34 @@
+<!--
+ VirtualBox Windows Installation Script (WiX)
+-->
+<!--
+ Copyright (C) 2019-2023 Oracle and/or its affiliates.
+
+ This file is part of VirtualBox base platform packages, as
+ available from https://www.virtualbox.org.
+
+ This program is free software; you can redistribute it and/or
+ modify it under the terms of the GNU General Public License
+ as published by the Free Software Foundation, in version 3 of the
+ License.
+
+ This program is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, see <https://www.gnu.org/licenses>.
+
+ SPDX-License-Identifier: GPL-3.0-only
+-->
+
+<Include xmlns="http://schemas.microsoft.com/wix/2006/wi"
+ xmlns:util="http://schemas.microsoft.com/wix/UtilExtension">
+
+ <CreateFolder>
+ <!-- Allow read and execute rights for regualr users, only SYSTEM and Administrator have write rights. -->
+ <PermissionEx Sddl="O:SYG:SYD:P(A;OICI;0x1200a9;;;WD)(A;OICI;FA;;;SY)(A;OICI;FA;;;BA)" />
+ </CreateFolder>
+
+</Include>
diff --git a/src/VBox/Installer/win/PublicProperties.wxi b/src/VBox/Installer/win/PublicProperties.wxi
new file mode 100644
index 00000000..b2e9f084
--- /dev/null
+++ b/src/VBox/Installer/win/PublicProperties.wxi
@@ -0,0 +1,52 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ VirtualBox Windows Installation Script (WiX)
+-->
+<!--
+ Copyright (C) 2015-2023 Oracle and/or its affiliates.
+
+ This file is part of VirtualBox base platform packages, as
+ available from https://www.virtualbox.org.
+
+ This program is free software; you can redistribute it and/or
+ modify it under the terms of the GNU General Public License
+ as published by the Free Software Foundation, in version 3 of the
+ License.
+
+ This program is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, see <https://www.gnu.org/licenses>.
+
+ SPDX-License-Identifier: GPL-3.0-only
+-->
+
+<Include xmlns="http://schemas.microsoft.com/wix/2006/wi"
+ xmlns:difxapp="http://schemas.microsoft.com/wix/DifxAppExtension">
+
+<!-- Define our own public properties here in order to get those also recognized in case
+ case we're building the installer as MSM modules -->
+
+ <!-- Whether or not a desktop shortcut should be created. -->
+ <Property Id="VBOX_INSTALLDESKTOPSHORTCUT" Value="1" Secure="yes"/>
+ <SetProperty Id="VBOX_INSTALLDESKTOPSHORTCUT" After="AppSearch" Sequence="both"
+ Value="{}"><![CDATA[VBOX_INSTALLDESKTOPSHORTCUT="0"]]></SetProperty>
+
+ <!-- Whether or not start menu entries should be created. -->
+ <Property Id="VBOX_INSTALLSTARTMENUENTRIES" Value="1" Secure="yes"/>
+ <SetProperty Id="VBOX_INSTALLSTARTMENUENTRIES" After="AppSearch" Sequence="both"
+ Value="{}"><![CDATA[VBOX_INSTALLSTARTMENUENTRIES="0"]]></SetProperty>
+
+ <!-- Whether or not a desktop shortcut for the Quick Launch Bar should be created -->
+ <Property Id="VBOX_INSTALLQUICKLAUNCHSHORTCUT" Value="1" Secure="yes"/>
+ <SetProperty Id="VBOX_INSTALLQUICKLAUNCHSHORTCUT" After="AppSearch" Sequence="both"
+ Value="{}"><![CDATA[VBOX_INSTALLQUICKLAUNCHSHORTCUT="0"]]></SetProperty>
+
+ <!-- Whether or not VirtualBox should be started automatically right after successful installation -->
+ <Property Id="VBOX_START" Value="1" Secure="yes"/>
+ <SetProperty Id="VBOX_START" After="AppSearch" Sequence="both"
+ Value="{}"><![CDATA[VBOX_START="0"]]></SetProperty>
+</Include>
diff --git a/src/VBox/Installer/win/Resources/Makefile.kmk b/src/VBox/Installer/win/Resources/Makefile.kmk
new file mode 100644
index 00000000..f94aede6
--- /dev/null
+++ b/src/VBox/Installer/win/Resources/Makefile.kmk
@@ -0,0 +1,96 @@
+# $Id: Makefile.kmk $
+## @file
+# Sub-Makefile for VBoxRes.dll.
+#
+
+#
+# Copyright (C) 2010-2023 Oracle and/or its affiliates.
+#
+# This file is part of VirtualBox base platform packages, as
+# available from https://www.virtualbox.org.
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation, in version 3 of the
+# License.
+#
+# This program is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, see <https://www.gnu.org/licenses>.
+#
+# SPDX-License-Identifier: GPL-3.0-only
+#
+
+SUB_DEPTH = ../../../../..
+include $(KBUILD_PATH)/subheader.kmk
+
+DLLS += VBoxRes
+VBoxRes_TEMPLATE = VBoxR3StaticNoCrt
+VBoxRes_DEPS = $(VBOX_SVN_REV_KMK)
+VBoxRes_LDFLAGS = -NoEntry
+VBoxRes_SOURCES = \
+ dummy.cpp \
+ VBoxRes.rc
+VBoxRes_CLEAN = \
+ $(VBoxRes_0_OUTDIR)/VBoxRes-icons.rc
+
+# The icon location is configurable.
+VBoxRes.rc_INCS += $(VBoxRes_0_OUTDIR)
+VBoxRes.rc_DEPS += $(VBoxRes_0_OUTDIR)/VBoxRes-icons.rc
+
+# The resource path.
+VBOX_ARTWORK_PATH_WIN := $(subst /,\\,$(PATH_ROOT))/src/VBox/Artwork/win
+
+# Icon include file.
+# @todo Put this into Config.kmk?
+ifdef VBOX_OSE
+ # Hack: rc.exe on OSE build boxes don't support Vista icons; so
+ # use a special icon version (without the 256x256 size) instead.
+ VBOX_WINDOWS_ICON_EXT_VBOX := $(VBOX_ARTWORK_PATH_WIN)/OSE/virtualbox-vbox.ico
+ VBOX_WINDOWS_ICON_EXT_EXTPACK := $(VBOX_ARTWORK_PATH_WIN)/OSE/virtualbox-vbox-extpack.ico
+ VBOX_WINDOWS_ICON_EXT_OVA := $(VBOX_ARTWORK_PATH_WIN)/OSE/virtualbox-ova.ico
+ VBOX_WINDOWS_ICON_EXT_OVF := $(VBOX_ARTWORK_PATH_WIN)/OSE/virtualbox-ovf.ico
+ VBOX_WINDOWS_ICON_EXT_VDI := $(VBOX_ARTWORK_PATH_WIN)/virtualbox-vdi.ico
+ VBOX_WINDOWS_ICON_EXT_VMDK := $(VBOX_ARTWORK_PATH_WIN)/virtualbox-vmdk.ico
+ VBOX_WINDOWS_ICON_EXT_VHD := $(VBOX_ARTWORK_PATH_WIN)/virtualbox-vhd.ico
+ VBOX_WINDOWS_ICON_EXT_HDD := $(VBOX_ARTWORK_PATH_WIN)/virtualbox-hdd.ico
+else
+ VBOX_WINDOWS_ICON_EXT_VBOX := $(VBOX_ARTWORK_PATH_WIN)/NonOSE/virtualbox-vbox.ico
+ VBOX_WINDOWS_ICON_EXT_EXTPACK := $(VBOX_ARTWORK_PATH_WIN)/NonOSE/virtualbox-vbox-extpack.ico
+ VBOX_WINDOWS_ICON_EXT_OVA := $(VBOX_ARTWORK_PATH_WIN)/NonOSE/virtualbox-ova.ico
+ VBOX_WINDOWS_ICON_EXT_OVF := $(VBOX_ARTWORK_PATH_WIN)/NonOSE/virtualbox-ovf.ico
+ VBOX_WINDOWS_ICON_EXT_VDI := $(VBOX_ARTWORK_PATH_WIN)/virtualbox-vdi.ico
+ VBOX_WINDOWS_ICON_EXT_VMDK := $(VBOX_ARTWORK_PATH_WIN)/virtualbox-vmdk.ico
+ VBOX_WINDOWS_ICON_EXT_VHD := $(VBOX_ARTWORK_PATH_WIN)/virtualbox-vhd.ico
+ VBOX_WINDOWS_ICON_EXT_HDD := $(VBOX_ARTWORK_PATH_WIN)/virtualbox-hdd.ico
+endif
+
+VBOX_RESOURCES_WIN := \
+ $(VBOX_WINDOWS_ICON_FILE) \
+ $(VBOX_WINDOWS_ICON_EXT_VBOX) \
+ $(VBOX_WINDOWS_ICON_EXT_EXTPACK) \
+ $(VBOX_WINDOWS_ICON_EXT_OVA) \
+ $(VBOX_WINDOWS_ICON_EXT_OVF) \
+ $(VBOX_WINDOWS_ICON_EXT_VDI) \
+ $(VBOX_WINDOWS_ICON_EXT_VMDK) \
+ $(VBOX_WINDOWS_ICON_EXT_VHD) \
+ $(VBOX_WINDOWS_ICON_EXT_HDD)
+
+$$(VBoxRes_0_OUTDIR)/VBoxRes-icons.rc: \
+ $$(VBOX_RESOURCES_WIN) $(MAKEFILE_CURRENT) | $$(dir $$@)
+ $(RM) -f $@
+ $(APPEND) $@ 'IDI_VIRTUALBOX ICON DISCARDABLE "$(subst /,\\,$(VBOX_WINDOWS_ICON_FILE))"'
+ $(APPEND) $@ 'IDI_FILETYPE_VBOX ICON DISCARDABLE "$(subst /,\\,$(VBOX_WINDOWS_ICON_EXT_VBOX))"'
+ $(APPEND) $@ 'IDI_FILETYPE_VBOX_EXTPACK ICON DISCARDABLE "$(subst /,\\,$(VBOX_WINDOWS_ICON_EXT_EXTPACK))"'
+ $(APPEND) $@ 'IDI_FILETYPE_VBOX_OVA ICON DISCARDABLE "$(subst /,\\,$(VBOX_WINDOWS_ICON_EXT_OVA))"'
+ $(APPEND) $@ 'IDI_FILETYPE_VBOX_OVF ICON DISCARDABLE "$(subst /,\\,$(VBOX_WINDOWS_ICON_EXT_OVF))"'
+ $(APPEND) $@ 'IDI_FILETYPE_VBOX_VDI ICON DISCARDABLE "$(subst /,\\,$(VBOX_WINDOWS_ICON_EXT_VDI))"'
+ $(APPEND) $@ 'IDI_FILETYPE_VBOX_VMDK ICON DISCARDABLE "$(subst /,\\,$(VBOX_WINDOWS_ICON_EXT_VMDK))"'
+ $(APPEND) $@ 'IDI_FILETYPE_VBOX_VHD ICON DISCARDABLE "$(subst /,\\,$(VBOX_WINDOWS_ICON_EXT_VHD))"'
+ $(APPEND) $@ 'IDI_FILETYPE_VBOX_HDD ICON DISCARDABLE "$(subst /,\\,$(VBOX_WINDOWS_ICON_EXT_HDD))"'
+
+include $(FILE_KBUILD_SUB_FOOTER)
diff --git a/src/VBox/Installer/win/Resources/VBoxRes.rc b/src/VBox/Installer/win/Resources/VBoxRes.rc
new file mode 100644
index 00000000..d580389f
--- /dev/null
+++ b/src/VBox/Installer/win/Resources/VBoxRes.rc
@@ -0,0 +1,64 @@
+/* $Id: VBoxRes.rc $ */
+/** @file
+ * VBoxRes - Resource file for VirtualBox binaries.
+ */
+
+/*
+ * Copyright (C) 2010-2023 Oracle and/or its affiliates.
+ *
+ * This file is part of VirtualBox base platform packages, as
+ * available from https://www.virtualbox.org.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation, in version 3 of the
+ * License.
+ *
+ * This program is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, see <https://www.gnu.org/licenses>.
+ *
+ * SPDX-License-Identifier: GPL-3.0-only
+ */
+
+#include <windows.h>
+#include <VBox/version.h>
+#include "resource.h"
+
+LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
+
+VS_VERSION_INFO VERSIONINFO
+ FILEVERSION VBOX_RC_FILE_VERSION
+ PRODUCTVERSION VBOX_RC_FILE_VERSION
+ FILEFLAGSMASK VS_FFI_FILEFLAGSMASK
+ FILEFLAGS VBOX_RC_FILE_FLAGS
+ FILEOS VBOX_RC_FILE_OS
+ FILETYPE VBOX_RC_TYPE_DLL
+ FILESUBTYPE VFT2_UNKNOWN
+BEGIN
+ BLOCK "StringFileInfo"
+ BEGIN
+ BLOCK "040904b0"
+ BEGIN
+ VALUE "FileDescription", "VirtualBox Resources\0"
+ VALUE "InternalName", "VBoxRes\0"
+ VALUE "OriginalFilename", "VBoxRes.dll\0"
+ VALUE "CompanyName", VBOX_RC_COMPANY_NAME
+ VALUE "FileVersion", VBOX_RC_FILE_VERSION_STR
+ VALUE "LegalCopyright", VBOX_RC_LEGAL_COPYRIGHT
+ VALUE "ProductName", VBOX_RC_PRODUCT_NAME_STR
+ VALUE "ProductVersion", VBOX_RC_PRODUCT_VERSION_STR
+ VBOX_RC_MORE_STRINGS
+ END
+ END
+ BLOCK "VarFileInfo"
+ BEGIN
+ VALUE "Translation", 0x409, 1200
+ END
+END
+
+#include "VBoxRes-icons.rc"
diff --git a/src/VBox/Installer/win/Resources/dummy.cpp b/src/VBox/Installer/win/Resources/dummy.cpp
new file mode 100644
index 00000000..a3fe3320
--- /dev/null
+++ b/src/VBox/Installer/win/Resources/dummy.cpp
@@ -0,0 +1,36 @@
+/* $Id: dummy.cpp $ */
+/** @file
+ * dummy.cpp - file to make kBuild happy when building a resource only DLL.
+ */
+
+/*
+ * Copyright (C) 2011-2023 Oracle and/or its affiliates.
+ *
+ * This file is part of VirtualBox base platform packages, as
+ * available from https://www.virtualbox.org.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation, in version 3 of the
+ * License.
+ *
+ * This program is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, see <https://www.gnu.org/licenses>.
+ *
+ * SPDX-License-Identifier: GPL-3.0-only
+ */
+
+#include <iprt/cdefs.h>
+
+RT_C_DECLS_BEGIN
+
+DECLEXPORT(void) VBoxResDummy(void)
+{
+}
+
+RT_C_DECLS_END
diff --git a/src/VBox/Installer/win/Resources/resource.h b/src/VBox/Installer/win/Resources/resource.h
new file mode 100644
index 00000000..7c3d8d85
--- /dev/null
+++ b/src/VBox/Installer/win/Resources/resource.h
@@ -0,0 +1,46 @@
+/* $Id: resource.h $ */
+/** @file
+ * resource.h - resource header file.
+ */
+
+/*
+ * Copyright (C) 2010-2023 Oracle and/or its affiliates.
+ *
+ * This file is part of VirtualBox base platform packages, as
+ * available from https://www.virtualbox.org.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation, in version 3 of the
+ * License.
+ *
+ * This program is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, see <https://www.gnu.org/licenses>.
+ *
+ * SPDX-License-Identifier: GPL-3.0-only
+ */
+
+#ifndef VBOX_INCLUDED_SRC_Resources_resource_h
+#define VBOX_INCLUDED_SRC_Resources_resource_h
+#ifndef RT_WITHOUT_PRAGMA_ONCE
+# pragma once
+#endif
+
+#define IDI_VIRTUALBOX 101
+
+#define IDI_FILETYPE_VBOX 201
+#define IDI_FILETYPE_VBOX_EXTPACK 202
+
+#define IDI_FILETYPE_VBOX_OVF 301
+#define IDI_FILETYPE_VBOX_OVA 302
+#define IDI_FILETYPE_VBOX_VDI 303
+#define IDI_FILETYPE_VBOX_VMDK 304
+#define IDI_FILETYPE_VBOX_VHD 305
+#define IDI_FILETYPE_VBOX_HDD 306
+
+#endif /* !VBOX_INCLUDED_SRC_Resources_resource_h */
diff --git a/src/VBox/Installer/win/Scripts/Combined-1-Prepare.cmd b/src/VBox/Installer/win/Scripts/Combined-1-Prepare.cmd
new file mode 100644
index 00000000..9aac4967
--- /dev/null
+++ b/src/VBox/Installer/win/Scripts/Combined-1-Prepare.cmd
@@ -0,0 +1,314 @@
+@echo off
+rem $Id: Combined-1-Prepare.cmd $
+rem rem @file
+rem Windows NT batch script for preparing both amd64 and x86 for signing submission.
+rem
+
+rem
+rem Copyright (C) 2018-2023 Oracle and/or its affiliates.
+rem
+rem This file is part of VirtualBox base platform packages, as
+rem available from https://www.virtualbox.org.
+rem
+rem This program is free software; you can redistribute it and/or
+rem modify it under the terms of the GNU General Public License
+rem as published by the Free Software Foundation, in version 3 of the
+rem License.
+rem
+rem This program is distributed in the hope that it will be useful, but
+rem WITHOUT ANY WARRANTY; without even the implied warranty of
+rem MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+rem General Public License for more details.
+rem
+rem You should have received a copy of the GNU General Public License
+rem along with this program; if not, see <https://www.gnu.org/licenses>.
+rem
+rem SPDX-License-Identifier: GPL-3.0-only
+rem
+
+
+setlocal ENABLEEXTENSIONS
+setlocal
+
+rem
+rem Globals and checks for required enviornment variables.
+rem
+if ".%KBUILD_DEVTOOLS%" == "." (echo KBUILD_DEVTOOLS is not set & goto end_failed)
+if ".%KBUILD_BIN_PATH%" == "." (echo KBUILD_BIN_PATH is not set & goto end_failed)
+set _MY_SCRIPT_DIR=%~dp0
+set _MY_SAVED_CD=%CD%
+set _MY_VER_REV=@VBOX_VERSION_STRING@r@VBOX_SVN_REV@
+set _MY_PACK_EXTPACK=1
+set _MY_PACK_ADDITIONS=0
+
+rem
+rem Parse arguments.
+rem
+set _MY_OPT_UNTAR_DIR=%_MY_SCRIPT_DIR%\..\..\..
+for %%i in (%_MY_OPT_UNTAR_DIR%) do set _MY_OPT_UNTAR_DIR=%%~fi
+set _MY_OPT_EXTPACK=%_MY_OPT_UNTAR_DIR%\Oracle_VM_VirtualBox_Extension_Pack-%_MY_VER_REV%.vbox-extpack
+set _MY_OPT_EXTPACK_ENTERPRISE=%_MY_OPT_UNTAR_DIR%\Oracle_VM_VirtualBox_Extension_Pack-%_MY_VER_REV%-ENTERPRISE.vbox-extpack
+set _MY_OPT_BUILD_TYPE=@KBUILD_TYPE@
+set _MY_OPT_OUTDIR=%_MY_OPT_UNTAR_DIR%\output
+
+:argument_loop
+if ".%1" == "." goto no_more_arguments
+
+if ".%1" == ".-h" goto opt_h
+if ".%1" == ".-?" goto opt_h
+if ".%1" == "./h" goto opt_h
+if ".%1" == "./H" goto opt_h
+if ".%1" == "./?" goto opt_h
+if ".%1" == ".-help" goto opt_h
+if ".%1" == ".--help" goto opt_h
+
+if ".%1" == ".-g" goto opt_g
+if ".%1" == ".--additions" goto opt_g
+if ".%1" == ".-e" goto opt_e
+if ".%1" == ".--extpack" goto opt_e
+if ".%1" == ".--no-extpack" goto opt_ne
+if ".%1" == ".-o" goto opt_o
+if ".%1" == ".--outdir" goto opt_o
+if ".%1" == ".-s" goto opt_s
+if ".%1" == ".--extpack-enterprise" goto opt_s
+if ".%1" == ".-t" goto opt_t
+if ".%1" == ".--build-type" goto opt_t
+if ".%1" == ".-u" goto opt_u
+if ".%1" == ".--vboxall-untar-dir" goto opt_u
+echo syntax error: Unknown option: %1
+echo Try --help to list valid options.
+goto end_failed
+
+:argument_loop_next_with_value
+shift
+shift
+goto argument_loop
+
+:opt_g
+set _MY_PACK_ADDITIONS=1
+shift
+goto argument_loop
+
+:opt_e
+if ".%~2" == "." goto syntax_error_missing_value
+set _MY_OPT_EXTPACK=%~f2
+goto argument_loop_next_with_value
+
+:opt_ne
+set _MY_PACK_EXTPACK=0
+shift
+goto argument_loop
+
+:opt_h
+echo Toplevel combined package: Prepare both x86 and amd64 for submission.
+echo .
+echo Usage: Combined-1-Prepare.cmd [-o output-dir] [-e/--extpack puel.vbox-extpack]
+echo [-s/--extpack-enterprise puel-enterprise.vbox-extpack]
+echo [--no-extpack] [-g/--additions]
+echo [-u/--vboxall-dir unpacked-vboxall-dir] [-t build-type]
+echo .
+echo Default -e/--extpack value: %_MY_OPT_EXTPACK%
+echo Default -s/--extpack-enterprise value: %_MY_OPT_EXTPACK_ENTERPRISE%
+echo Default -u/--vboxall-untar-dir value: %_MY_OPT_UNTAR_DIR%
+echo Default -o/--outdir value: %_MY_OPT_OUTDIR%
+echo Default -t/--build-type value: %_MY_OPT_BUILD_TYPE%
+echo .
+goto end_failed
+
+:opt_o
+if ".%~2" == "." goto syntax_error_missing_value
+set _MY_OPT_OUTDIR=%~f2
+goto argument_loop_next_with_value
+
+:opt_s
+if ".%~2" == "." goto syntax_error_missing_value
+set _MY_OPT_EXTPACK_ENTERPRISE=%~f2
+goto argument_loop_next_with_value
+
+:opt_t
+if ".%~2" == "." goto syntax_error_missing_value
+set _MY_OPT_BUILD_TYPE=%~2
+goto argument_loop_next_with_value
+
+:opt_u
+if ".%~2" == "." goto syntax_error_missing_value
+set _MY_OPT_UNTAR_DIR=%~f2
+goto argument_loop_next_with_value
+
+
+:syntax_error_missing_value
+echo syntax error: missing or empty option value after %1
+goto end_failed
+
+
+:error_vboxall_untar_dir_not_found
+echo syntax error: The VBoxAll untar directory was not found: "%_MY_OPT_UNTAR_DIR%"
+goto end_failed
+
+:error_amd64_bindir_not_found
+echo syntax error: The AMD64 bin directory was not found: "%_MY_BINDIR_AMD64%"
+goto end_failed
+
+:error_x86_bindir_not_found
+echo syntax error: The X86 bin directory was not found: "%_MY_BINDIR_X86%"
+goto end_failed
+
+:error_amd64_repack_dir_not_found
+echo syntax error: The AMD64 repack directory was not found: "%_MY_REPACK_DIR_AMD64%"
+goto end_failed
+
+:error_x86_repack_dir_not_found
+echo syntax error: The X86 repack directory was not found: "%_MY_REPACK_DIR_X86%"
+goto end_failed
+
+:error_extpack_not_found
+echo syntax error: Specified extension pack not found: "%_MY_OPT_EXTPACK%"
+goto end_failed
+
+:error_enterprise_extpack_not_found
+echo syntax error: Specified enterprise extension pack not found: "%_MY_OPT_EXTPACK_ENTERPRISE%"
+goto end_failed
+
+:error_extpack_and_additions_together
+echo usage error: You can't prepare extPack and GuestAdditions in one call
+goto end_failed
+
+:no_more_arguments
+rem
+rem Validate and adjust specified options.
+rem
+
+if not exist "%_MY_OPT_UNTAR_DIR%" goto error_vboxall_untar_dir_not_found
+
+set _MY_BINDIR_AMD64=%_MY_OPT_UNTAR_DIR%\win.amd64\%_MY_OPT_BUILD_TYPE%\bin
+set _MY_BINDIR_X86=%_MY_OPT_UNTAR_DIR%\win.x86\%_MY_OPT_BUILD_TYPE%\bin
+if not exist "%_MY_BINDIR_AMD64%" goto error_amd64_bindir_not_found
+if not exist "%_MY_BINDIR_X86%" goto error_x86_bindir_not_found
+
+if ".%_MY_PACK_EXTPACK%" == ".%_MY_PACK_ADDITIONS%" goto error_extpack_and_additions_together
+
+set _MY_REPACK_DIR_AMD64=%_MY_OPT_UNTAR_DIR%\win.amd64\%_MY_OPT_BUILD_TYPE%\repack
+set _MY_REPACK_DIR_X86=%_MY_OPT_UNTAR_DIR%\win.x86\%_MY_OPT_BUILD_TYPE%\repack
+if ".%_MY_PACK_ADDITIONS%" == ".0" goto skip_additions_packing_options
+set _MY_REPACK_DIR_AMD64=%_MY_OPT_UNTAR_DIR%\win.amd64\%_MY_OPT_BUILD_TYPE%\repackadd
+set _MY_REPACK_DIR_X86=%_MY_OPT_UNTAR_DIR%\win.x86\%_MY_OPT_BUILD_TYPE%\repackadd
+:skip_additions_packing_options
+if not exist "%_MY_REPACK_DIR_AMD64%" goto error_amd64_repack_dir_not_found
+if not exist "%_MY_REPACK_DIR_X86%" goto error_x86_repack_dir_not_found
+
+rem Make sure the output dir exists.
+if not exist "%_MY_OPT_OUTDIR%" (mkdir "%_MY_OPT_OUTDIR%" || goto end_failed)
+
+rem
+rem ExtPack section
+rem
+if ".%_MY_PACK_EXTPACK%" == ".0" goto skip_extpack_packing
+
+if not exist "%_MY_OPT_EXTPACK%" goto error_extpack_not_found
+if not ".%_MY_OPT_EXTPACK_ENTERPRISE%" == "." if not exist "%_MY_OPT_EXTPACK_ENTERPRISE%" goto error_enterprise_extpack_not_found
+
+rem
+rem Install the extpack in the bin directories.
+rem Note! Not really necessary, but whatever.
+rem
+echo on
+copy /y "%_MY_OPT_EXTPACK%" "%_MY_BINDIR_AMD64%\Oracle_VM_VirtualBox_Extension_Pack.vbox-extpack" || goto end_failed
+copy /y "%_MY_OPT_EXTPACK%" "%_MY_BINDIR_X86%\Oracle_VM_VirtualBox_Extension_Pack.vbox-extpack" || goto end_failed
+@echo off
+
+rem
+rem Do the packing of ExtPack
+rem
+echo **************************************************************************
+echo Packing AMD64 drivers
+echo **************************************************************************
+cd /d "%_MY_REPACK_DIR_AMD64%" || goto end_failed
+call "%_MY_REPACK_DIR_AMD64%\PackDriversForSubmission.cmd" -b "%_MY_BINDIR_AMD64%" -a amd64 -e "%_MY_OPT_EXTPACK%" ^
+ -o "%_MY_OPT_OUTDIR%\VBoxDrivers-%_MY_VER_REV%-amd64.cab" || goto end_failed
+echo .
+echo **************************************************************************
+echo Packing X86 drivers
+echo **************************************************************************
+cd /d "%_MY_REPACK_DIR_X86%" || goto end_failed
+call "%_MY_REPACK_DIR_X86%\PackDriversForSubmission.cmd" -b "%_MY_BINDIR_X86%" -a x86 -e "%_MY_OPT_EXTPACK%" ^
+ -o "%_MY_OPT_OUTDIR%\VBoxDrivers-%_MY_VER_REV%-x86.cab" || goto end_failed
+echo .
+cd /d "%_MY_SAVED_CD%"
+:skip_extpack_packing
+
+rem
+rem GuestAdditions section
+rem
+if ".%_MY_PACK_ADDITIONS%" == ".0" goto skip_additions_packing
+
+rem
+rem Do the packing of GuestAdditions
+rem
+echo **************************************************************************
+echo Packing AMD64 additions
+echo **************************************************************************
+cd /d "%_MY_REPACK_DIR_AMD64%" || goto end_failed
+call "%_MY_REPACK_DIR_AMD64%\PackDriversForSubmission.cmd" -b "%_MY_BINDIR_AMD64%" -a amd64 -x -n --no-main --ga ^
+ -o "%_MY_OPT_OUTDIR%\VBoxDrivers-%_MY_VER_REV%-amd64.cab" || goto end_failed
+echo .
+echo **************************************************************************
+echo Packing X86 drivers
+echo **************************************************************************
+cd /d "%_MY_REPACK_DIR_X86%" || goto end_failed
+call "%_MY_REPACK_DIR_X86%\PackDriversForSubmission.cmd" -b "%_MY_BINDIR_X86%" -a x86 -x -n --no-main --ga ^
+ -o "%_MY_OPT_OUTDIR%\VBoxDrivers-%_MY_VER_REV%-x86.cab" || goto end_failed
+echo .
+cd /d "%_MY_SAVED_CD%"
+:skip_additions_packing
+
+rem
+rem Generate script for taking the next step.
+rem
+set _MY_NEXT_SCRIPT_SHORT_NAME=Combined-3-Repack.cmd
+set _MY_NEXT_SCRIPT=%_MY_OPT_OUTDIR%\%_MY_NEXT_SCRIPT_SHORT_NAME%
+if ".%_MY_PACK_ADDITIONS%" == ".0" goto generate_legacy_script
+set _MY_NEXT_SCRIPT_SHORT_NAME=Combined-3-RepackAdditions.cmd
+set _MY_NEXT_SCRIPT=%_MY_OPT_OUTDIR%\%_MY_NEXT_SCRIPT_SHORT_NAME%
+echo cd /d "%cd%" > "%_MY_NEXT_SCRIPT%"
+echo call "%_MY_SCRIPT_DIR%%_MY_NEXT_SCRIPT_SHORT_NAME%" ^
+ --vboxall-untar-dir "%_MY_OPT_UNTAR_DIR%" ^
+ --outdir "%_MY_OPT_OUTDIR%" ^
+ --build-type "%_MY_OPT_BUILD_TYPE%" %%* >> "%_MY_NEXT_SCRIPT%"
+goto show_next_steps
+:generate_legacy_script
+echo cd /d "%cd%" > "%_MY_NEXT_SCRIPT%"
+echo call "%_MY_SCRIPT_DIR%%_MY_NEXT_SCRIPT_SHORT_NAME%" --extpack "%_MY_OPT_EXTPACK%" ^
+ --extpack-enterprise "%_MY_OPT_EXTPACK_ENTERPRISE%" ^
+ --vboxall-untar-dir "%_MY_OPT_UNTAR_DIR%" ^
+ --outdir "%_MY_OPT_OUTDIR%" ^
+ %_MY_OPT_SCRIPT_SKIPEXTPACK_PARAM% %_MY_OPT_SCRIPT_ADDITIONS_PARAM% ^
+ --build-type "%_MY_OPT_BUILD_TYPE%" %%* >> "%_MY_NEXT_SCRIPT%"
+
+:show_next_steps
+rem
+rem Instructions on what to do next.
+rem
+echo **************************************************************************
+echo * First step is done.
+echo *
+echo * Created:
+echo * %_MY_OPT_OUTDIR%\VBoxDrivers-%_MY_VER_REV%-amd64.cab
+echo * %_MY_OPT_OUTDIR%\VBoxDrivers-%_MY_VER_REV%-x86.cab
+echo *
+echo * Next steps:
+echo * 1. Submit the files to Microsoft for attestation signing.
+echo * 2. Download the signed result.
+echo * 3. "%_MY_NEXT_SCRIPT%" --signed-x86 {zip} --signed-amd64 {zip} %_MY_OPT_SCRIPT_SKIPEXTPACK_PARAM% %_MY_OPT_SCRIPT_ADDITIONAL_PARAMS%
+goto end
+:end_failed
+@cd /d "%_MY_SAVED_CD%"
+@endlocal
+@endlocal
+@echo * Failed!
+@exit /b 1
+
+:end
+@cd /d "%_MY_SAVED_CD%"
+@endlocal
+@endlocal
+
diff --git a/src/VBox/Installer/win/Scripts/Combined-3-Repack.cmd b/src/VBox/Installer/win/Scripts/Combined-3-Repack.cmd
new file mode 100644
index 00000000..2886cdbf
--- /dev/null
+++ b/src/VBox/Installer/win/Scripts/Combined-3-Repack.cmd
@@ -0,0 +1,349 @@
+@echo off
+rem $Id: Combined-3-Repack.cmd $
+rem rem @file
+rem Windows NT batch script for repacking signed amd64 and x86 drivers.
+rem
+
+rem
+rem Copyright (C) 2018-2023 Oracle and/or its affiliates.
+rem
+rem This file is part of VirtualBox base platform packages, as
+rem available from https://www.virtualbox.org.
+rem
+rem This program is free software; you can redistribute it and/or
+rem modify it under the terms of the GNU General Public License
+rem as published by the Free Software Foundation, in version 3 of the
+rem License.
+rem
+rem This program is distributed in the hope that it will be useful, but
+rem WITHOUT ANY WARRANTY; without even the implied warranty of
+rem MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+rem General Public License for more details.
+rem
+rem You should have received a copy of the GNU General Public License
+rem along with this program; if not, see <https://www.gnu.org/licenses>.
+rem
+rem SPDX-License-Identifier: GPL-3.0-only
+rem
+
+
+setlocal ENABLEEXTENSIONS
+setlocal
+
+rem
+rem Globals and checks for required enviornment variables.
+rem
+if ".%KBUILD_DEVTOOLS%" == "." (echo KBUILD_DEVTOOLS is not set & goto end_failed)
+if ".%KBUILD_BIN_PATH%" == "." (echo KBUILD_BIN_PATH is not set & goto end_failed)
+set _MY_SCRIPT_DIR=%~dp0
+set _MY_SAVED_CD=%CD%
+set _MY_VER_REV=@VBOX_VERSION_STRING@r@VBOX_SVN_REV@
+
+rem
+rem Parse arguments.
+rem
+set _MY_OPT_UNTAR_DIR=%_MY_SCRIPT_DIR%\..\..\..\
+for %%i in (%_MY_OPT_UNTAR_DIR%) do set _MY_OPT_UNTAR_DIR=%%~fi
+set _MY_OPT_EXTPACK=%_MY_OPT_UNTAR_DIR%\Oracle_VM_VirtualBox_Extension_Pack-%_MY_VER_REV%.vbox-extpack
+set _MY_OPT_EXTPACK_ENTERPRISE=%_MY_OPT_UNTAR_DIR%\Oracle_VM_VirtualBox_Extension_Pack-%_MY_VER_REV%-ENTERPRISE.vbox-extpack
+set _MY_OPT_BUILD_TYPE=@KBUILD_TYPE@
+set _MY_OPT_OUTDIR=%_MY_OPT_UNTAR_DIR%\output
+set _MY_OPT_SIGNED_AMD64=
+set _MY_OPT_SIGNED_X86=
+set _MY_OPT_NOEXTPACK=
+
+:argument_loop
+if ".%1" == "." goto no_more_arguments
+
+if ".%1" == ".-h" goto opt_h
+if ".%1" == ".-?" goto opt_h
+if ".%1" == "./h" goto opt_h
+if ".%1" == "./H" goto opt_h
+if ".%1" == "./?" goto opt_h
+if ".%1" == ".-help" goto opt_h
+if ".%1" == ".--help" goto opt_h
+
+if ".%1" == ".-e" goto opt_e
+if ".%1" == ".--extpack" goto opt_e
+if ".%1" == ".-n" goto opt_n
+if ".%1" == ".--no-extpack" goto opt_n
+if ".%1" == ".-o" goto opt_o
+if ".%1" == ".--outdir" goto opt_o
+if ".%1" == ".-s" goto opt_s
+if ".%1" == ".--extpack-enterprise" goto opt_s
+if ".%1" == ".--signed-amd64" goto opt_signed_amd64
+if ".%1" == ".--signed-x86" goto opt_signed_x86
+if ".%1" == ".-t" goto opt_t
+if ".%1" == ".--build-type" goto opt_t
+if ".%1" == ".-u" goto opt_u
+if ".%1" == ".--vboxall-untar-dir" goto opt_u
+echo syntax error: Unknown option: %1
+echo Try --help to list valid options.
+goto end_failed
+
+:argument_loop_next_with_value
+shift
+shift
+goto argument_loop
+
+:opt_e
+if ".%~2" == "." goto syntax_error_missing_value
+set _MY_OPT_EXTPACK=%~f2
+goto argument_loop_next_with_value
+
+:opt_h
+echo Toplevel combined package: Repack the installer and extpacks.
+echo .
+echo Usage: Combined-3-Repack.cmd [-o output-dir] [-e/--extpack puel.vbox-extpack]
+echo [-s/--extpack-enterprise puel-enterprise.vbox-extpack]
+echo [-u/--vboxall-dir unpacked-vboxall-dir] [-t build-type]
+echo [--signed-amd64 signed-amd64.zip]
+echo [--signed-x86 signed-x86.zip]
+echo
+echo .
+echo Default -e/--extpack value: %_MY_OPT_EXTPACK%
+echo Default -s/--extpack-enterprise value: %_MY_OPT_EXTPACK_ENTERPRISE%
+echo Default -u/--vboxall-untar-dir value: %_MY_OPT_UNTAR_DIR%
+echo Default -o/--outdir value: %_MY_OPT_OUTDIR%
+echo Default -t/--build-type value: %_MY_OPT_BUILD_TYPE%
+echo .
+goto end_failed
+
+:opt_n
+set _MY_OPT_NOEXTPACK=1
+shift
+goto argument_loop
+
+:opt_o
+if ".%~2" == "." goto syntax_error_missing_value
+set _MY_OPT_OUTDIR=%~f2
+goto argument_loop_next_with_value
+
+:opt_s
+if ".%~2" == "." goto syntax_error_missing_value
+set _MY_OPT_EXTPACK_ENTERPRISE=%~f2
+goto argument_loop_next_with_value
+
+:opt_signed_amd64
+if ".%~2" == "." goto syntax_error_missing_value
+set _MY_OPT_SIGNED_AMD64=%~f2
+goto argument_loop_next_with_value
+
+:opt_signed_x86
+if ".%~2" == "." goto syntax_error_missing_value
+set _MY_OPT_SIGNED_X86=%~f2
+goto argument_loop_next_with_value
+
+:opt_t
+if ".%~2" == "." goto syntax_error_missing_value
+set _MY_OPT_BUILD_TYPE=%~2
+goto argument_loop_next_with_value
+
+:opt_u
+if ".%~2" == "." goto syntax_error_missing_value
+set _MY_OPT_UNTAR_DIR=%~f2
+goto argument_loop_next_with_value
+
+
+:syntax_error_missing_value
+echo syntax error: missing or empty option value after %1
+goto end_failed
+
+
+:error_vboxall_untar_dir_not_found
+echo syntax error: The VBoxAll untar directory was not found: "%_MY_OPT_UNTAR_DIR%"
+goto end_failed
+
+:error_amd64_bindir_not_found
+echo syntax error: The AMD64 bin directory was not found: "%_MY_BINDIR_AMD64%"
+goto end_failed
+
+:error_x86_bindir_not_found
+echo syntax error: The X86 bin directory was not found: "%_MY_BINDIR_X86%"
+goto end_failed
+
+:error_amd64_repack_dir_not_found
+echo syntax error: The AMD64 repack directory was not found: "%_MY_REPACK_DIR_AMD64%"
+goto end_failed
+
+:error_x86_repack_dir_not_found
+echo syntax error: The X86 repack directory was not found: "%_MY_REPACK_DIR_X86%"
+goto end_failed
+
+:error_extpack_not_found
+echo syntax error: Specified extension pack not found: "%_MY_OPT_EXTPACK%"
+goto end_failed
+
+:error_enterprise_extpack_not_found
+echo syntax error: Specified enterprise extension pack not found: "%_MY_OPT_EXTPACK_ENTERPRISE%"
+goto end_failed
+
+:error_signed_amd64_not_found
+echo syntax error: Zip with signed AMD64 drivers not found: "%_MY_OPT_SIGNED_AMD64%"
+goto end_failed
+
+:error_signed_x86_not_found
+echo syntax error: Zip with signed X86 drivers not found: "%_MY_OPT_SIGNED_X86%"
+goto end_failed
+
+
+:no_more_arguments
+rem
+rem Validate and adjust specified options.
+rem
+
+if not exist "%_MY_OPT_UNTAR_DIR%" goto error_vboxall_untar_dir_not_found
+
+set _MY_BINDIR_AMD64=%_MY_OPT_UNTAR_DIR%\win.amd64\%_MY_OPT_BUILD_TYPE%\bin
+set _MY_BINDIR_X86=%_MY_OPT_UNTAR_DIR%\win.x86\%_MY_OPT_BUILD_TYPE%\bin
+if not exist "%_MY_BINDIR_AMD64%" goto error_amd64_bindir_not_found
+if not exist "%_MY_BINDIR_X86%" goto error_x86_bindir_not_found
+
+set _MY_REPACK_DIR_AMD64=%_MY_OPT_UNTAR_DIR%\win.amd64\%_MY_OPT_BUILD_TYPE%\repack
+set _MY_REPACK_DIR_X86=%_MY_OPT_UNTAR_DIR%\win.x86\%_MY_OPT_BUILD_TYPE%\repack
+if not exist "%_MY_REPACK_DIR_AMD64%" goto error_amd64_repack_dir_not_found
+if not exist "%_MY_REPACK_DIR_X86%" goto error_x86_repack_dir_not_found
+
+if ".%_MY_OPT_NOEXTPACK%" == ".1" goto no_enterprise_check
+if not exist "%_MY_OPT_EXTPACK%" goto error_extpack_not_found
+if not ".%_MY_OPT_EXTPACK_ENTERPRISE%" == "." if not exist "%_MY_OPT_EXTPACK_ENTERPRISE%" goto error_enterprise_extpack_not_found
+:no_enterprise_check
+
+if not exist "%_MY_OPT_SIGNED_AMD64%" goto error_signed_amd64_not_found
+if not exist "%_MY_OPT_SIGNED_X86%" goto error_signed_x86_not_found
+
+rem Make sure the output dir exists.
+if not exist "%_MY_OPT_OUTDIR%" (mkdir "%_MY_OPT_OUTDIR%" || goto end_failed)
+
+rem
+rem Unpacking the two driver zips.
+rem
+echo **************************************************************************
+echo * AMD64: Unpacking signed drivers...
+echo **************************************************************************
+cd /d "%_MY_REPACK_DIR_AMD64%" || goto end_failed
+call "%_MY_REPACK_DIR_AMD64%\UnpackBlessedDrivers.cmd" -n -b "%_MY_BINDIR_AMD64%" -i "%_MY_OPT_SIGNED_AMD64%" || goto end_failed
+echo .
+
+echo **************************************************************************
+echo * X86: Unpacking signed drivers...
+echo **************************************************************************
+cd /d "%_MY_REPACK_DIR_X86%" || goto end_failed
+call "%_MY_REPACK_DIR_X86%\UnpackBlessedDrivers.cmd" -n -b "%_MY_BINDIR_X86%" -i "%_MY_OPT_SIGNED_X86%" || goto end_failed
+echo .
+
+
+rem
+rem Do the AMD64 work.
+rem
+echo **************************************************************************
+echo * AMD64: Repackaging installers
+echo **************************************************************************
+echo * AMD64: Compiling WIX...
+cd /d "%_MY_REPACK_DIR_AMD64%" || goto end_failed
+for %%i in (1-*.cmd) do (call %%i || goto end_failed)
+echo .
+
+echo * AMD64: Linking WIX...
+for %%i in (2-*.cmd) do (call %%i || goto end_failed)
+echo .
+
+echo * AMD64: Applying language patches to MSI...
+for %%i in (3-*.cmd) do (call %%i || goto end_failed)
+echo .
+
+
+rem
+rem Do the X86 work.
+rem
+echo **************************************************************************
+echo * X86: Repackaging installers
+echo **************************************************************************
+echo * X86: Compiling WIX...
+cd /d "%_MY_REPACK_DIR_X86%" || goto end_failed
+for %%i in (1-*.cmd) do (call %%i || goto end_failed)
+echo .
+
+echo * X86: Linking WIX...
+for %%i in (2-*.cmd) do (call %%i || goto end_failed)
+echo .
+
+echo * X86: Applying language patches to MSI...
+for %%i in (3-*.cmd) do (call %%i || goto end_failed)
+echo .
+
+echo * X86: Creating multi arch installer...
+for %%i in (4-*.cmd) do (call %%i || goto end_failed)
+echo .
+
+set _MY_OUT_FILES=
+cd /d "%_MY_REPACK_DIR_AMD64%" || goto end_failed
+for %%i in (VBoxMerge*msm) do (
+ copy /y "%%i" "%_MY_OPT_OUTDIR%" || goto end_failed
+ call set _MY_OUT_FILES=%%_MY_OUT_FILES%% %%~nxi
+)
+cd /d "%_MY_REPACK_DIR_X86%" || goto end_failed
+for %%i in (VBoxMerge*msm) do (
+ copy /y "%%i" "%_MY_OPT_OUTDIR%" || goto end_failed
+ call set _MY_OUT_FILES=%%_MY_OUT_FILES%% %%~nxi
+)
+for %%i in (VirtualBox-*MultiArch*exe) do (
+ copy /y "%%i" "%_MY_OPT_OUTDIR%" || goto end_failed
+ call set _MY_OUT_FILES=%%_MY_OUT_FILES%% %%~nxi
+)
+
+if ".%_MY_OPT_NOEXTPACK%" == ".1" goto no_enterprise_repacking
+
+rem
+rem Repack the extension packs.
+rem
+echo **************************************************************************
+echo * Repacking extension packs.
+echo **************************************************************************
+cd /d "%_MY_REPACK_DIR_X86%" || goto end_failed
+
+echo * Regular PUEL...
+set _MY_TMP_OUT=%_MY_OPT_EXTPACK%
+for %%i in (%_MY_TMP_OUT%) do (
+ set _MY_TMP_OUT=%_MY_OPT_OUTDIR%\%%~nxi
+ call set _MY_OUT_FILES=%%_MY_OUT_FILES%% %%~nxi
+)
+call "%_MY_REPACK_DIR_X86%\RepackExtPack.cmd" --bindir-amd64 "%_MY_BINDIR_AMD64%" --bindir-x86 "%_MY_BINDIR_X86%" ^
+ --input "%_MY_OPT_EXTPACK%" --output "%_MY_TMP_OUT%" || goto end_failed
+
+if ".%_MY_OPT_EXTPACK_ENTERPRISE%" == "." goto no_enterprise_repacking
+echo * Enterprise PUEL...
+set _MY_TMP_OUT=%_MY_OPT_EXTPACK_ENTERPRISE%
+for %%i in (%_MY_TMP_OUT%) do (
+ set _MY_TMP_OUT=%_MY_OPT_OUTDIR%\%%~nxi
+ call set _MY_OUT_FILES=%%_MY_OUT_FILES%% %%~nxi
+)
+call "%_MY_REPACK_DIR_X86%\RepackExtPack.cmd" --bindir-amd64 "%_MY_BINDIR_AMD64%" --bindir-x86 "%_MY_BINDIR_X86%" ^
+ --input "%_MY_OPT_EXTPACK_ENTERPRISE%" --output "%_MY_TMP_OUT%" || goto end_failed
+:no_enterprise_repacking
+@cd /d "%_MY_SAVED_CD%"
+
+rem
+rem That's that.
+rem
+echo **************************************************************************
+echo * The third and final step is done.
+echo *
+echo * Successfully created:
+for %%i in (%_MY_OUT_FILES%) do echo * "%_MY_OPT_OUTDIR%\%%i"
+goto end
+
+
+:end_failed
+@cd /d "%_MY_SAVED_CD%"
+@endlocal
+@endlocal
+@echo * Failed!
+@exit /b 1
+
+:end
+@cd /d "%_MY_SAVED_CD%"
+@endlocal
+@endlocal
+
+
diff --git a/src/VBox/Installer/win/Scripts/Combined-3-RepackAdditions.cmd b/src/VBox/Installer/win/Scripts/Combined-3-RepackAdditions.cmd
new file mode 100644
index 00000000..a4238563
--- /dev/null
+++ b/src/VBox/Installer/win/Scripts/Combined-3-RepackAdditions.cmd
@@ -0,0 +1,370 @@
+@echo off
+rem $Id: Combined-3-RepackAdditions.cmd $
+rem rem @file
+rem Windows NT batch script for repacking signed amd64 and x86 drivers.
+rem
+
+rem
+rem Copyright (C) 2018-2023 Oracle and/or its affiliates.
+rem
+rem This file is part of VirtualBox base platform packages, as
+rem available from https://www.virtualbox.org.
+rem
+rem This program is free software; you can redistribute it and/or
+rem modify it under the terms of the GNU General Public License
+rem as published by the Free Software Foundation, in version 3 of the
+rem License.
+rem
+rem This program is distributed in the hope that it will be useful, but
+rem WITHOUT ANY WARRANTY; without even the implied warranty of
+rem MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+rem General Public License for more details.
+rem
+rem You should have received a copy of the GNU General Public License
+rem along with this program; if not, see <https://www.gnu.org/licenses>.
+rem
+rem SPDX-License-Identifier: GPL-3.0-only
+rem
+
+
+setlocal ENABLEEXTENSIONS
+setlocal
+
+rem
+rem Globals and checks for required enviornment variables.
+rem
+if ".%KBUILD_DEVTOOLS%" == "." (echo KBUILD_DEVTOOLS is not set & goto end_failed)
+if ".%KBUILD_BIN_PATH%" == "." (echo KBUILD_BIN_PATH is not set & goto end_failed)
+set _MY_SCRIPT_DIR=%~dp0
+set _MY_SAVED_CD=%CD%
+set _MY_VER_REV=@VBOX_VERSION_STRING@r@VBOX_SVN_REV@
+
+rem
+rem Parse arguments.
+rem
+set _MY_OPT_UNTAR_DIR=%_MY_SCRIPT_DIR%\..\..\..\
+for %%i in (%_MY_OPT_UNTAR_DIR%) do set _MY_OPT_UNTAR_DIR=%%~fi
+set _MY_OPT_BUILD_TYPE=@KBUILD_TYPE@
+set _MY_OPT_OUTDIR=%_MY_OPT_UNTAR_DIR%\output
+set _MY_OPT_SRC_DIR=%_MY_SCRIPT_DIR%\resources\
+
+:argument_loop
+if ".%1" == "." goto no_more_arguments
+
+if ".%1" == ".-h" goto opt_h
+if ".%1" == ".-?" goto opt_h
+if ".%1" == "./h" goto opt_h
+if ".%1" == "./H" goto opt_h
+if ".%1" == "./?" goto opt_h
+if ".%1" == ".-help" goto opt_h
+if ".%1" == ".--help" goto opt_h
+
+if ".%1" == ".-o" goto opt_o
+if ".%1" == ".--outdir" goto opt_o
+if ".%1" == ".-s" goto opt_s
+if ".%1" == ".--source" goto opt_s
+if ".%1" == ".--signed-amd64" goto opt_signed_amd64
+if ".%1" == ".--signed-x86" goto opt_signed_x86
+if ".%1" == ".-t" goto opt_t
+if ".%1" == ".--build-type" goto opt_t
+if ".%1" == ".-u" goto opt_u
+if ".%1" == ".--vboxall-untar-dir" goto opt_u
+echo syntax error: Unknown option: %1
+echo Try --help to list valid options.
+goto end_failed
+
+:argument_loop_next_with_value
+shift
+shift
+goto argument_loop
+
+:opt_h
+echo Toplevel combined package: Repack the guest additions.
+echo .
+echo Usage: Combined-3-RepackAdditions.cmd [-o output-dir]
+echo [-u/--vboxall-dir unpacked-vboxall-dir] [-t build-type]
+echo [--signed-amd64 signed-amd64.zip]
+echo [--signed-x86 signed-x86.zip]
+echo
+echo .
+echo Default -u/--vboxall-untar-dir value: %_MY_OPT_UNTAR_DIR%
+echo Default -o/--outdir value: %_MY_OPT_OUTDIR%
+echo Default -t/--build-type value: %_MY_OPT_BUILD_TYPE%
+echo .
+goto end_failed
+
+:opt_o
+if ".%~2" == "." goto syntax_error_missing_value
+set _MY_OPT_OUTDIR=%~f2
+goto argument_loop_next_with_value
+
+:opt_s
+if ".%~2" == "." goto syntax_error_missing_value
+set _MY_OPT_SRC_DIR=%~f2
+goto argument_loop_next_with_value
+
+:opt_signed_amd64
+if ".%~2" == "." goto syntax_error_missing_value
+set _MY_OPT_SIGNED_AMD64=%~f2
+goto argument_loop_next_with_value
+
+:opt_signed_x86
+if ".%~2" == "." goto syntax_error_missing_value
+set _MY_OPT_SIGNED_X86=%~f2
+goto argument_loop_next_with_value
+
+:opt_t
+if ".%~2" == "." goto syntax_error_missing_value
+set _MY_OPT_BUILD_TYPE=%~2
+goto argument_loop_next_with_value
+
+:opt_u
+if ".%~2" == "." goto syntax_error_missing_value
+set _MY_OPT_UNTAR_DIR=%~f2
+goto argument_loop_next_with_value
+
+:syntax_error_missing_value
+echo syntax error: missing or empty option value after %1
+goto end_failed
+
+:error_vboxall_untar_dir_not_found
+echo syntax error: The VBoxAll untar directory was not found: "%_MY_OPT_UNTAR_DIR%"
+goto end_failed
+
+:error_amd64_bindir_not_found
+echo syntax error: The AMD64 bin directory was not found: "%_MY_BINDIR_AMD64%"
+goto end_failed
+
+:error_x86_bindir_not_found
+echo syntax error: The X86 bin directory was not found: "%_MY_BINDIR_X86%"
+goto end_failed
+
+:error_amd64_repack_dir_not_found
+echo syntax error: The AMD64 repack directory was not found: "%_MY_REPACK_DIR_AMD64%"
+goto end_failed
+
+:error_x86_repack_dir_not_found
+echo syntax error: The X86 repack directory was not found: "%_MY_REPACK_DIR_X86%"
+goto end_failed
+
+:error_extpack_not_found
+echo syntax error: Specified extension pack not found: "%_MY_OPT_EXTPACK%"
+goto end_failed
+
+:error_enterprise_extpack_not_found
+echo syntax error: Specified enterprise extension pack not found: "%_MY_OPT_EXTPACK_ENTERPRISE%"
+goto end_failed
+
+:error_signed_amd64_not_found
+echo syntax error: Zip with signed AMD64 drivers not found: "%_MY_OPT_SIGNED_AMD64%"
+goto end_failed
+
+:error_signed_x86_not_found
+echo syntax error: Zip with signed X86 drivers not found: "%_MY_OPT_SIGNED_X86%"
+goto end_failed
+
+:error_src_dir_not_found
+echo syntax error: src directory not found: "%_MY_OPT_SRC_DIR%"
+goto end_failed
+
+
+:no_more_arguments
+rem
+rem Validate and adjust specified options.
+rem
+
+if not exist "%_MY_OPT_UNTAR_DIR%" goto error_vboxall_untar_dir_not_found
+
+set _MY_BINDIR_AMD64=%_MY_OPT_UNTAR_DIR%\win.amd64\%_MY_OPT_BUILD_TYPE%\bin\additions
+set _MY_BINDIR_X86=%_MY_OPT_UNTAR_DIR%\win.x86\%_MY_OPT_BUILD_TYPE%\bin\additions
+if not exist "%_MY_BINDIR_AMD64%" goto error_amd64_bindir_not_found
+if not exist "%_MY_BINDIR_X86%" goto error_x86_bindir_not_found
+
+set _MY_REPACK_DIR_AMD64=%_MY_OPT_UNTAR_DIR%\win.amd64\%_MY_OPT_BUILD_TYPE%\repackadd
+set _MY_REPACK_DIR_X86=%_MY_OPT_UNTAR_DIR%\win.x86\%_MY_OPT_BUILD_TYPE%\repackadd
+if not exist "%_MY_REPACK_DIR_AMD64%" goto error_amd64_repack_dir_not_found
+if not exist "%_MY_REPACK_DIR_X86%" goto error_x86_repack_dir_not_found
+
+if not ".%_MY_OPT_SIGNED_AMD64%" == "." goto skip_set_default_amd64_signed
+set _MY_OPT_SIGNED_AMD64="%_MY_OPT_OUTDIR%/VBoxDrivers-@VBOX_VERSION_STRING@r@VBOX_SVN_REV@-amd64.cab.Signed.zip"
+:skip_set_default_amd64_signed
+
+if not ".%_MY_OPT_SIGNED_X86%" == "." goto skip_set_default_x86_signed
+set _MY_OPT_SIGNED_X86="%_MY_OPT_OUTDIR%/VBoxDrivers-@VBOX_VERSION_STRING@r@VBOX_SVN_REV@-x86.cab.Signed.zip"
+:skip_set_default_x86_signed
+
+if not exist "%_MY_OPT_SIGNED_AMD64%" goto error_signed_amd64_not_found
+if not exist "%_MY_OPT_SIGNED_X86%" goto error_signed_x86_not_found
+
+rem Make sure the output dir exists.
+if not exist "%_MY_OPT_OUTDIR%" (mkdir "%_MY_OPT_OUTDIR%" || goto end_failed)
+
+if not exist "%_MY_OPT_SRC_DIR%" goto error_src_dir_not_found
+
+rem
+rem Unpacking the two driver zips.
+rem
+echo **************************************************************************
+echo * AMD64: Unpacking signed drivers...
+echo **************************************************************************
+cd /d "%_MY_REPACK_DIR_AMD64%" || goto end_failed
+call "%_MY_REPACK_DIR_AMD64%\UnpackBlessedDrivers.cmd" -n -b "%_MY_BINDIR_AMD64%" -i "%_MY_OPT_SIGNED_AMD64%" --guest-additions || goto end_failed
+echo .
+
+echo **************************************************************************
+echo * X86: Unpacking signed drivers...
+echo **************************************************************************
+cd /d "%_MY_REPACK_DIR_X86%" || goto end_failed
+call "%_MY_REPACK_DIR_X86%\UnpackBlessedDrivers.cmd" -n -b "%_MY_BINDIR_X86%" -i "%_MY_OPT_SIGNED_X86%" --guest-additions || goto end_failed
+echo .
+
+
+rem
+rem Building amd64 installer
+rem
+echo **************************************************************************
+echo * Building amd64 installer
+echo **************************************************************************
+
+del %_MY_OPT_UNTAR_DIR%\win.amd64\release\bin\additions\VBoxWindowsAdditions-amd64.exe
+cp %_MY_REPACK_DIR_AMD64%\..\obj\uninst.exe %_MY_REPACK_DIR_AMD64%
+
+rem TBD: that has to be converted to invoke auto-generated .cmd
+
+%KBUILD_BIN_PATH%\kmk_redirect.exe -C %_MY_OPT_SRC_DIR% ^
+ -E "PATH_OUT=%_MY_REPACK_DIR_AMD64%\.." ^
+ -E "PATH_TARGET=%_MY_REPACK_DIR_AMD64%" ^
+ -E "PATH_TARGET_X86=%_MY_REPACK_DIR_X86%\resources" ^
+ -E "VBOX_PATH_ADDITIONS_WIN_X86=%_MY_REPACK_DIR_AMD64%\..\bin\additions" ^
+ -E "VBOX_PATH_DIFX=%KBUILD_DEVTOOLS%\win.amd64\DIFx\v2.1-r3" ^
+ -E "VBOX_VENDOR=Oracle Corporation" -E "VBOX_VENDOR_SHORT=Oracle" -E "VBOX_PRODUCT=Oracle VM VirtualBox" ^
+ -E "VBOX_C_YEAR=@VBOX_C_YEAR@" -E "VBOX_VERSION_STRING=@VBOX_VERSION_STRING@" -E "VBOX_VERSION_STRING_RAW=@VBOX_VERSION_STRING_RAW@" ^
+ -E "VBOX_VERSION_MAJOR=@VBOX_VERSION_MAJOR@" -E "VBOX_VERSION_MINOR=@VBOX_VERSION_MINOR@" -E "VBOX_VERSION_BUILD=@VBOX_VERSION_BUILD@" -E "VBOX_SVN_REV=@VBOX_SVN_REV@" ^
+ -E "VBOX_WINDOWS_ADDITIONS_ICON_FILE=%_MY_OPT_SRC_DIR%\VirtualBoxGA-vista.ico" ^
+ -E "VBOX_NSIS_ICON_FILE=%_MY_OPT_SRC_DIR%\VirtualBoxGA-nsis.ico" ^
+ -E "VBOX_WITH_GUEST_INSTALL_HELPER=1" -E "VBOX_WITH_GUEST_INSTALLER_UNICODE=1" -E "VBOX_WITH_LICENSE_INSTALL_RTF=1" ^
+ -E "VBOX_WITH_WDDM=1" -E "VBOX_WITH_MESA3D=1" -E "VBOX_BRAND_WIN_ADD_INST_DLGBMP=%_MY_OPT_SRC_DIR%\welcome.bmp" ^
+ -E "VBOX_BRAND_LICENSE_RTF=%_MY_OPT_SRC_DIR%\License-gpl-3.0.rtf" -E "KBUILD_TYPE=%_MY_OPT_BUILD_TYPE%" -E "KBUILD_TARGET_ARCH=amd64" ^
+ -- %KBUILD_DEVTOOLS%/win.x86/nsis/v3.04-log/makensis.exe /NOCD /V2 ^
+ "/DVBOX_SIGN_ADDITIONS=1" ^
+ "/DEXTERNAL_UNINSTALLER=1" ^
+ "%_MY_OPT_SRC_DIR%\VBoxGuestAdditions.nsi"
+
+rem
+rem Building amd64 installer
+rem
+echo **************************************************************************
+echo * Building x86 installer
+echo **************************************************************************
+
+del %_MY_OPT_UNTAR_DIR%\win.x86\release\bin\additions\VBoxWindowsAdditions-x86.exe
+cp %_MY_REPACK_DIR_X86%\..\obj\uninst.exe %_MY_REPACK_DIR_X86%\
+
+rem TBD: that has to be converted to invoke auto-generated .cmd
+
+%KBUILD_BIN_PATH%\kmk_redirect.exe -C %_MY_OPT_SRC_DIR% ^
+ -E "PATH_OUT=%_MY_REPACK_DIR_X86%\.." ^
+ -E "PATH_TARGET=%_MY_REPACK_DIR_X86%" ^
+ -E "PATH_TARGET_X86=%_MY_REPACK_DIR_X86%\resources" ^
+ -E "VBOX_PATH_ADDITIONS_WIN_X86=%_MY_REPACK_DIR_X86%\..\bin\additions" ^
+ -E "VBOX_PATH_DIFX=%KBUILD_DEVTOOLS%\win.x86\DIFx\v2.1-r3" ^
+ -E "VBOX_VENDOR=Oracle Corporation" -E "VBOX_VENDOR_SHORT=Oracle" -E "VBOX_PRODUCT=Oracle VM VirtualBox" ^
+ -E "VBOX_C_YEAR=@VBOX_C_YEAR@" -E "VBOX_VERSION_STRING=@VBOX_VERSION_STRING@" -E "VBOX_VERSION_STRING_RAW=@VBOX_VERSION_STRING_RAW@" ^
+ -E "VBOX_VERSION_MAJOR=@VBOX_VERSION_MAJOR@" -E "VBOX_VERSION_MINOR=@VBOX_VERSION_MINOR@" -E "VBOX_VERSION_BUILD=@VBOX_VERSION_BUILD@" -E "VBOX_SVN_REV=@VBOX_SVN_REV@" ^
+ -E "VBOX_WINDOWS_ADDITIONS_ICON_FILE=%_MY_OPT_SRC_DIR%\VirtualBoxGA-vista.ico" ^
+ -E "VBOX_NSIS_ICON_FILE=%_MY_OPT_SRC_DIR%\VirtualBoxGA-nsis.ico" ^
+ -E "VBOX_WITH_GUEST_INSTALL_HELPER=1" -E "VBOX_WITH_GUEST_INSTALLER_UNICODE=1" -E "VBOX_WITH_LICENSE_INSTALL_RTF=1" ^
+ -E "VBOX_WITH_WDDM=1" -E "VBOX_WITH_MESA3D=1" -E "VBOX_BRAND_WIN_ADD_INST_DLGBMP=%_MY_OPT_SRC_DIR%\welcome.bmp" ^
+ -E "VBOX_BRAND_LICENSE_RTF=%_MY_OPT_SRC_DIR%\License-gpl-3.0.rtf" -E "KBUILD_TYPE=%_MY_OPT_BUILD_TYPE%" -E "KBUILD_TARGET_ARCH=x86" ^
+ -- %KBUILD_DEVTOOLS%/win.x86/nsis/v3.04-log/makensis.exe /NOCD /V2 ^
+ "/DVBOX_SIGN_ADDITIONS=1" ^
+ "/DEXTERNAL_UNINSTALLER=1" ^
+ "%_MY_OPT_SRC_DIR%\VBoxGuestAdditions.nsi"
+
+rem
+rem Making .iso
+rem
+echo **************************************************************************
+echo * Making VBoxGuestAdditions.iso
+echo **************************************************************************
+
+del %_MY_OPT_OUTDIR%/VBoxGuestAdditions.iso
+
+rem TBD: that has to be converted to invoke auto-generated .cmd
+
+%_MY_SCRIPT_DIR%/../bin/bldRTIsoMaker.exe ^
+ --output %_MY_OPT_OUTDIR%/VBoxGuestAdditions.iso ^
+ --iso-level 3 ^
+ --rock-ridge ^
+ --joliet ^
+ --rational-attribs ^
+ --random-order-verification 2048 ^
+ /cert/vbox-sha1.cer=%_MY_SCRIPT_DIR%/../bin/additions/vbox-sha1.cer ^
+ /cert/vbox-sha256.cer=%_MY_SCRIPT_DIR%/../bin/additions/vbox-sha256.cer ^
+ /windows11-bypass.reg=%_MY_SCRIPT_DIR%/../bin/additions/windows11-bypass.reg ^
+ /VBoxWindowsAdditions-x86.exe=%_MY_OPT_UNTAR_DIR%/win.x86/release/bin/additions/VBoxWindowsAdditions-x86.exe ^
+ /VBoxWindowsAdditions.exe=%_MY_OPT_UNTAR_DIR%/win.x86/release/bin/additions/VBoxWindowsAdditions.exe ^
+ /AUTORUN.INF=%_MY_OPT_SRC_DIR%/AUTORUN.INF ^
+ /cert/VBoxCertUtil.exe=%_MY_SCRIPT_DIR%/../bin/additions/VBoxCertUtil.exe ^
+ /NT3x/Readme.txt=%_MY_OPT_SRC_DIR%/NT3xReadme.txt ^
+ /NT3x/VBoxGuest.sys=%_MY_OPT_UNTAR_DIR%/win.x86/release/bin/additions/VBoxGuest.sys ^
+ /NT3x/VBoxGuest.cat=%_MY_OPT_UNTAR_DIR%/win.x86/release/bin/additions/VBoxGuest.cat ^
+ /NT3x/VBoxGuest.inf=%_MY_OPT_UNTAR_DIR%/win.x86/release/bin/additions/VBoxGuest.inf ^
+ /NT3x/VBoxMouseNT.sys=%_MY_OPT_UNTAR_DIR%/win.x86/release/bin/additions/VBoxMouseNT.sys ^
+ /NT3x/VBoxMouse.inf=%_MY_OPT_UNTAR_DIR%/win.x86/release/bin/additions/VBoxMouse.inf ^
+ /NT3x/VBoxMouse.cat=%_MY_OPT_UNTAR_DIR%/win.x86/release/bin/additions/VBoxMouse.cat ^
+ /NT3x/VBoxMouse.sys=%_MY_OPT_UNTAR_DIR%/win.x86/release/bin/additions/VBoxMouse.sys ^
+ /NT3x/VBoxControl.exe=%_MY_OPT_UNTAR_DIR%/win.x86/release/bin/additions/VBoxControl.exe ^
+ /NT3x/VBoxService.exe=%_MY_OPT_UNTAR_DIR%/win.x86/release/bin/additions/VBoxService.exe ^
+ /VBoxWindowsAdditions-amd64.exe=%_MY_OPT_UNTAR_DIR%/win.amd64/release/bin/additions/VBoxWindowsAdditions-amd64.exe ^
+ /VBoxSolarisAdditions.pkg=%_MY_OPT_UNTAR_DIR%/solaris.x86/release/bin/additions/VBoxSolarisAdditions.pkg ^
+ /OS2/VBoxGuest.sys=%_MY_OPT_UNTAR_DIR%/os2.x86/release/bin/additions/VBoxGuest.sys ^
+ /OS2/VBoxSF.ifs=%_MY_OPT_UNTAR_DIR%/os2.x86/release/bin/additions/VBoxSF.ifs ^
+ /OS2/VBoxService.exe=%_MY_OPT_UNTAR_DIR%/os2.x86/release/bin/additions/VBoxService.exe ^
+ /OS2/VBoxControl.exe=%_MY_OPT_UNTAR_DIR%/os2.x86/release/bin/additions/VBoxControl.exe ^
+ /OS2/VBoxReplaceDll.exe=%_MY_OPT_UNTAR_DIR%/os2.x86/release/bin/additions/VBoxReplaceDll.exe ^
+ /OS2/libc06.dll=%_MY_OPT_UNTAR_DIR%/os2.x86/release/bin/additions/libc06.dll ^
+ /OS2/libc061.dll=%_MY_OPT_UNTAR_DIR%/os2.x86/release/bin/additions/libc061.dll ^
+ /OS2/libc062.dll=%_MY_OPT_UNTAR_DIR%/os2.x86/release/bin/additions/libc062.dll ^
+ /OS2/libc063.dll=%_MY_OPT_UNTAR_DIR%/os2.x86/release/bin/additions/libc063.dll ^
+ /OS2/libc064.dll=%_MY_OPT_UNTAR_DIR%/os2.x86/release/bin/additions/libc064.dll ^
+ /OS2/libc065.dll=%_MY_OPT_UNTAR_DIR%/os2.x86/release/bin/additions/libc065.dll ^
+ /OS2/libc066.dll=%_MY_OPT_UNTAR_DIR%/os2.x86/release/bin/additions/libc066.dll ^
+ /OS2/readme.txt=%_MY_OPT_UNTAR_DIR%/os2.x86/release/bin/additions/readme.txt ^
+ /OS2/gengradd.dll=%_MY_OPT_UNTAR_DIR%/os2.x86/release/bin/additions/gengradd.dll ^
+ /OS2/vboxmouse.sys=%_MY_OPT_UNTAR_DIR%/os2.x86/release/bin/additions/vboxmouse.sys ^
+ /VBoxLinuxAdditions.run=%_MY_OPT_UNTAR_DIR%/linux.x86/release/bin/additions/VBoxLinuxAdditions.run ^
+ /runasroot.sh=%_MY_OPT_UNTAR_DIR%/linux.x86/release/bin/additions/runasroot.sh ^
+ /autorun.sh=%_MY_OPT_UNTAR_DIR%/linux.x86/release/bin/additions/autorun.sh ^
+ /VBoxDarwinAdditions.pkg=%_MY_OPT_UNTAR_DIR%/darwin.amd64/release/dist/additions/VBoxGuestAdditions.pkg ^
+ /VBoxDarwinAdditionsUninstall.tool=%_MY_OPT_UNTAR_DIR%/darwin.amd64/release/dist/additions/VBoxDarwinAdditionsUninstall.tool ^
+ --chmod a+x:/VBoxLinuxAdditions.run --chmod a+x:/runasroot.sh --chmod a+x:/autorun.sh --chmod a+x:/VBoxDarwinAdditionsUninstall.tool ^
+ --volume-id="VBOXADDITIONS_@VBOX_VERSION_STRING@_@VBOX_SVN_REV@" ^
+ --name-setup=joliet ^
+ --volume-id="VBox_GAs_@VBOX_VERSION_STRING@"
+
+if not exist %_MY_OPT_OUTDIR%/VBoxGuestAdditions.iso goto end_failed
+call set _MY_OUT_FILES=%%VBoxGuestAdditions.iso
+
+rem
+rem That's that.
+rem
+echo **************************************************************************
+echo * The third and final step is done.
+echo *
+echo * Successfully created:
+for %%i in (%_MY_OUT_FILES%) do echo * "%_MY_OPT_OUTDIR%\%%i"
+goto end
+
+
+:end_failed
+@cd /d "%_MY_SAVED_CD%"
+@endlocal
+@endlocal
+@echo * Failed!
+@exit /b 1
+
+:end
+@cd /d "%_MY_SAVED_CD%"
+@endlocal
+@endlocal
diff --git a/src/VBox/Installer/win/Scripts/Makefile.kup b/src/VBox/Installer/win/Scripts/Makefile.kup
new file mode 100644
index 00000000..e69de29b
--- /dev/null
+++ b/src/VBox/Installer/win/Scripts/Makefile.kup
diff --git a/src/VBox/Installer/win/Scripts/PackDriversForSubmission.cmd b/src/VBox/Installer/win/Scripts/PackDriversForSubmission.cmd
new file mode 100644
index 00000000..7a349dc1
--- /dev/null
+++ b/src/VBox/Installer/win/Scripts/PackDriversForSubmission.cmd
@@ -0,0 +1,347 @@
+@echo off
+rem $Id: PackDriversForSubmission.cmd $
+rem rem @file
+rem Windows NT batch script for preparing for signing submission.
+rem
+
+rem
+rem Copyright (C) 2018-2023 Oracle and/or its affiliates.
+rem
+rem This file is part of VirtualBox base platform packages, as
+rem available from https://www.virtualbox.org.
+rem
+rem This program is free software; you can redistribute it and/or
+rem modify it under the terms of the GNU General Public License
+rem as published by the Free Software Foundation, in version 3 of the
+rem License.
+rem
+rem This program is distributed in the hope that it will be useful, but
+rem WITHOUT ANY WARRANTY; without even the implied warranty of
+rem MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+rem General Public License for more details.
+rem
+rem You should have received a copy of the GNU General Public License
+rem along with this program; if not, see <https://www.gnu.org/licenses>.
+rem
+rem SPDX-License-Identifier: GPL-3.0-only
+rem
+
+
+setlocal ENABLEEXTENSIONS
+setlocal
+
+rem
+rem Parse arguments.
+rem
+set _MY_OPT_BINDIR=..\bin
+set _MY_OPT_PDBDIR=
+set _MY_OPT_GADIR=
+set _MY_OPT_WITH_MAIN=1
+set _MY_OPT_WITH_PDB=1
+set _MY_OPT_EXTPACK=
+set _MY_OPT_NO_EXTRACT=0
+set _MY_OPT_WITH_EXTPACK=1
+set _MY_OPT_WITH_GA=0
+set _MY_OPT_OUTPUT=
+set _MY_OPT_DDF_FILE=
+set _MY_OPT_ARCH=amd64
+
+:argument_loop
+if ".%1" == "." goto no_more_arguments
+
+if ".%1" == ".-h" goto opt_h
+if ".%1" == ".-?" goto opt_h
+if ".%1" == "./h" goto opt_h
+if ".%1" == "./H" goto opt_h
+if ".%1" == "./?" goto opt_h
+if ".%1" == ".-help" goto opt_h
+if ".%1" == ".--help" goto opt_h
+
+if ".%1" == ".-a" goto opt_a
+if ".%1" == ".--arch" goto opt_a
+if ".%1" == ".-b" goto opt_b
+if ".%1" == ".--bindir" goto opt_b
+if ".%1" == ".-d" goto opt_d
+if ".%1" == ".--ddf" goto opt_d
+if ".%1" == ".-e" goto opt_e
+if ".%1" == ".--extpack" goto opt_e
+if ".%1" == ".--no-main" goto opt_m
+if ".%1" == ".-n" goto opt_n
+if ".%1" == ".--no-pdb" goto opt_n
+if ".%1" == ".-o" goto opt_o
+if ".%1" == ".--output" goto opt_o
+if ".%1" == ".-p" goto opt_p
+if ".%1" == ".--pdb" goto opt_p
+if ".%1" == ".-t" goto opt_p
+if ".%1" == ".--no-extract" goto opt_t
+if ".%1" == ".-x" goto opt_x
+if ".%1" == ".--no-extpack" goto opt_x
+if ".%1" == ".-g" goto opt_g
+if ".%1" == ".--ga" goto opt_g
+if ".%1" == ".--additions" goto opt_g
+echo syntax error: Unknown option: %1
+echo Try --help to list valid options.
+goto end_failed
+
+:argument_loop_next_with_value
+shift
+shift
+goto argument_loop
+
+:opt_a
+if ".%~2" == "." goto syntax_error_missing_value
+if not "%2" == "x86" if not "%2" == "amd64" goto syntax_error_unknown_arch
+set _MY_OPT_ARCH=%~2
+goto argument_loop_next_with_value
+
+:opt_b
+if ".%~2" == "." goto syntax_error_missing_value
+set _MY_OPT_BINDIR=%~2
+goto argument_loop_next_with_value
+
+:opt_d
+if ".%~2" == "." goto syntax_error_missing_value
+set _MY_OPT_DDF_FILE=%~2
+goto argument_loop_next_with_value
+
+:opt_e
+if ".%~2" == "." goto syntax_error_missing_value
+set _MY_OPT_EXTPACK=%~2
+goto argument_loop_next_with_value
+
+:opt_h
+echo This script creates a .cab file containing all drivers needing blessing from
+echo Microsoft to run on recent Windows 10 installations.
+echo .
+echo Usage: PackDriversForSubmission.cmd [-b bindir] [-p pdbdir] [--no-main] [-n/--no-pdb] [-e expack]
+echo [-x/--no-extpack] [-g/--ga/--additions] [-o output.cab] [-p output.ddf] [-a x86/amd64]
+echo .
+echo Warning! This script should normally be invoked from the repack directory w/o any parameters.
+goto end_failed
+
+:opt_m
+set _MY_OPT_WITH_MAIN=0
+shift
+goto argument_loop
+
+:opt_n
+set _MY_OPT_WITH_PDB=0
+shift
+goto argument_loop
+
+:opt_p
+if ".%~2" == "." goto syntax_error_missing_value
+set _MY_OPT_PDBDIR=%~2
+goto argument_loop_next_with_value
+
+:opt_o
+if ".%~2" == "." goto syntax_error_missing_value
+set _MY_OPT_OUTPUT=%~2
+goto argument_loop_next_with_value
+
+:opt_t
+set _MY_OPT_NO_EXTRACT=1
+shift
+goto argument_loop
+
+:opt_x
+set _MY_OPT_WITH_EXTPACK=0
+shift
+goto argument_loop
+
+:opt_g
+set _MY_OPT_WITH_GA=1
+shift
+goto argument_loop
+
+:syntax_error_missing_value
+echo syntax error: missing or empty option value after %1
+goto end_failed
+
+:syntax_error_unknown_arch
+echo syntax error: Unknown architecture: %2
+goto end_failed
+
+:error_bindir_does_not_exist
+echo syntax error: Specified BIN directory does not exist: "%_MY_OPT_BINDIR%"
+goto end_failed
+
+:error_pdbdir_does_not_exist
+echo syntax error: Specified PDB directory does not exist: "%_MY_OPT_PDBDIR%"
+goto end_failed
+
+:error_extpack_does_not_exist
+echo syntax error: Specified extension pack does not exist: "%_MY_OPT_EXTPACK%"
+goto end_failed
+
+:error_additions_does_not_exist
+echo syntax error: Specified guest additions does not exist: "%_MY_OPT_GADIR%"
+goto end_failed
+
+
+:error_output_exists
+echo error: The output file already exist: "%_MY_OPT_OUTPUT%"
+goto end_failed
+
+:error_ddf_exists
+echo error: The DDF file already exist: "%_MY_OPT_DDF_FILE%"
+goto end_failed
+
+:no_more_arguments
+rem validate specified options
+if not exist "%_MY_OPT_BINDIR%" goto error_bindir_does_not_exist
+
+if "%_MY_OPT_WITH_PDB%" == "0" goto no_pdbdir_validation
+if ".%_MY_OPT_PDBDIR%" == "." set _MY_OPT_PDBDIR=%_MY_OPT_BINDIR%\..\stage\debug\bin
+if not exist "%_MY_OPT_PDBDIR%" goto error_pdbdir_does_not_exist
+:no_pdbdir_validation
+
+if "%_MY_OPT_WITH_EXTPACK%" == "0" goto no_extpack_validation
+if "%_MY_OPT_NO_EXTRACT%" == "1" goto no_extpack_validation
+if ".%_MY_OPT_EXTPACK%" == "." set _MY_OPT_EXTPACK=%_MY_OPT_BINDIR%\Oracle_VM_VirtualBox_Extension_Pack.vbox-extpack
+if not exist "%_MY_OPT_EXTPACK%" goto error_extpack_does_not_exist
+:no_extpack_validation
+
+if "%_MY_OPT_WITH_GA%" == "0" goto no_additions_validation
+if ".%_MY_OPT_GADIR%" == "." set _MY_OPT_GADIR=%_MY_OPT_BINDIR%\additions
+if not exist "%_MY_OPT_GADIR%" goto error_additions_does_not_exist
+:no_additions_validation
+
+if ".%_MY_OPT_OUTPUT%" == "." set _MY_OPT_OUTPUT=VBoxDrivers-@VBOX_VERSION_STRING@r@VBOX_SVN_REV@-%_MY_OPT_ARCH%.cab
+if exist "%_MY_OPT_OUTPUT%" goto error_output_exists
+
+if ".%_MY_OPT_DDF_FILE%" == "." set _MY_OPT_DDF_FILE=%_MY_OPT_OUTPUT%.ddf
+if exist "%_MY_OPT_DDF_FILE%" goto error_ddf_exists
+
+
+rem
+rem Unpack the extension pack.
+rem We unpack it into the bin directory in the usual location.
+rem
+rem Note! Modify the path a little to ensure windows utilities are used before
+rem cygwin ones, and that we can use stuff from bin\tools if we like.
+rem
+set PATH=%SystemRoot%\System32;%PATH%;%_MY_OPT_BINDIR%
+if "%_MY_OPT_WITH_EXTPACK%" == "0" goto no_extpack_unpack
+set _MY_EXTPACK_DIR=%_MY_OPT_BINDIR%\ExtensionPacks\Oracle_VM_VirtualBox_Extension_Pack
+if not exist "%_MY_OPT_BINDIR%\ExtensionPacks" ( mkdir "%_MY_OPT_BINDIR%\ExtensionPacks" || goto end_failed )
+if not exist "%_MY_EXTPACK_DIR%" ( mkdir "%_MY_EXTPACK_DIR%" || goto end_failed )
+if "%_MY_OPT_NO_EXTRACT%" == "1" goto no_extpack_unpack
+"%_MY_OPT_BINDIR%\tools\RTTar.exe" -xzf "%_MY_OPT_EXTPACK%" -C "%_MY_EXTPACK_DIR%" || goto end_failed
+:no_extpack_unpack
+
+rem
+rem Create the DDF file for makecab.
+rem
+echo .OPTION EXPLICIT> "%_MY_OPT_DDF_FILE%" || goto end_failed
+echo .Set CabinetFileCountThreshold=0 >> "%_MY_OPT_DDF_FILE%"
+echo .Set FolderFileCountThreshold=0 >> "%_MY_OPT_DDF_FILE%"
+echo .Set FolderSizeThreshold=0 >> "%_MY_OPT_DDF_FILE%"
+echo .Set MaxCabinetSize=0 >> "%_MY_OPT_DDF_FILE%"
+echo .Set MaxDiskFileCount=0 >> "%_MY_OPT_DDF_FILE%"
+echo .Set MaxDiskSize=0 >> "%_MY_OPT_DDF_FILE%"
+echo .Set Cabinet=on>> "%_MY_OPT_DDF_FILE%"
+echo .Set CompressionType=MSZIP>> "%_MY_OPT_DDF_FILE%"
+echo .Set Compress=on>> "%_MY_OPT_DDF_FILE%"
+echo .Set DiskDirectoryTemplate= >> "%_MY_OPT_DDF_FILE%"
+echo .Set CabinetNameTemplate=%_MY_OPT_OUTPUT%>> "%_MY_OPT_DDF_FILE%"
+echo .Set InfFileName=%_MY_OPT_OUTPUT%.inf>> "%_MY_OPT_DDF_FILE%"
+echo .Set RptFileName=%_MY_OPT_OUTPUT%.rpt>> "%_MY_OPT_DDF_FILE%"
+
+if %_MY_OPT_WITH_MAIN% == 0 goto skip_main_package
+echo .Set DestinationDir=VBoxSup>> "%_MY_OPT_DDF_FILE%"
+echo %_MY_OPT_BINDIR%\VBoxSup.inf VBoxSup.inf>> "%_MY_OPT_DDF_FILE%"
+echo %_MY_OPT_BINDIR%\VBoxSup.sys VBoxSup.sys>> "%_MY_OPT_DDF_FILE%"
+if "%_MY_OPT_WITH_PDB%" == "1" echo %_MY_OPT_PDBDIR%\VBoxSup.pdb VBoxSup.pdb>> "%_MY_OPT_DDF_FILE%"
+
+echo .Set DestinationDir=VBoxNetAdp6>> "%_MY_OPT_DDF_FILE%"
+echo %_MY_OPT_BINDIR%\VBoxNetAdp6.inf VBoxNetAdp6.inf>> "%_MY_OPT_DDF_FILE%"
+echo %_MY_OPT_BINDIR%\VBoxNetAdp6.sys VBoxNetAdp6.sys>> "%_MY_OPT_DDF_FILE%"
+if "%_MY_OPT_WITH_PDB%" == "1" echo %_MY_OPT_PDBDIR%\VBoxNetAdp6.pdb VBoxNetAdp6.pdb>> "%_MY_OPT_DDF_FILE%"
+
+echo .Set DestinationDir=VBoxNetLwf>> "%_MY_OPT_DDF_FILE%"
+echo %_MY_OPT_BINDIR%\VBoxNetLwf.inf VBoxNetLwf.inf>> "%_MY_OPT_DDF_FILE%"
+echo %_MY_OPT_BINDIR%\VBoxNetLwf.sys VBoxNetLwf.sys>> "%_MY_OPT_DDF_FILE%"
+if "%_MY_OPT_WITH_PDB%" == "1" echo %_MY_OPT_PDBDIR%\VBoxNetLwf.pdb VBoxNetLwf.pdb>> "%_MY_OPT_DDF_FILE%"
+
+echo .Set DestinationDir=VBoxUSB>> "%_MY_OPT_DDF_FILE%"
+echo %_MY_OPT_BINDIR%\VBoxUSB.inf VBoxUSB.inf>> "%_MY_OPT_DDF_FILE%"
+echo %_MY_OPT_BINDIR%\VBoxUSB.sys VBoxUSB.sys>> "%_MY_OPT_DDF_FILE%"
+if "%_MY_OPT_WITH_PDB%" == "1" echo %_MY_OPT_PDBDIR%\VBoxUSB.pdb VBoxUSB.pdb>> "%_MY_OPT_DDF_FILE%"
+
+echo .Set DestinationDir=VBoxUSBMon>> "%_MY_OPT_DDF_FILE%"
+echo %_MY_OPT_BINDIR%\VBoxUSBMon.inf VBoxUSBMon.inf>> "%_MY_OPT_DDF_FILE%"
+echo %_MY_OPT_BINDIR%\VBoxUSBMon.sys VBoxUSBMon.sys>> "%_MY_OPT_DDF_FILE%"
+if "%_MY_OPT_WITH_PDB%" == "1" echo %_MY_OPT_PDBDIR%\VBoxUSBMon.pdb VBoxUSBMon.pdb>> "%_MY_OPT_DDF_FILE%"
+
+echo .Set DestinationDir=VMMR0>> "%_MY_OPT_DDF_FILE%"
+echo .\VMMR0.inf VMMR0.inf>> "%_MY_OPT_DDF_FILE%"
+echo %_MY_OPT_BINDIR%\VMMR0.r0 VMMR0.r0>> "%_MY_OPT_DDF_FILE%"
+if "%_MY_OPT_WITH_PDB%" == "1" echo %_MY_OPT_PDBDIR%\VMMR0.pdb VMMR0.pdb>> "%_MY_OPT_DDF_FILE%"
+echo %_MY_OPT_BINDIR%\VBoxDDR0.r0 VBoxDDR0.r0>> "%_MY_OPT_DDF_FILE%"
+:skip_main_package
+
+if "%_MY_OPT_WITH_PDB%" == "1" echo %_MY_OPT_PDBDIR%\VBoxDDR0.pdb VBoxDDR0.pdb>> "%_MY_OPT_DDF_FILE%"
+
+if "%_MY_OPT_WITH_EXTPACK%" == "0" goto no_extpack_ddf
+echo .Set DestinationDir=VBoxExtPackPuel>> "%_MY_OPT_DDF_FILE%"
+echo .\VBoxExtPackPuel.inf VBoxExtPackPuel.inf>> "%_MY_OPT_DDF_FILE%"
+rem echo %_MY_EXTPACK_DIR%\win.%_MY_OPT_ARCH%\VBoxEhciR0.r0 VBoxEhciR0.r0>> "%_MY_OPT_DDF_FILE%"
+echo %_MY_EXTPACK_DIR%\win.%_MY_OPT_ARCH%\VBoxNvmeR0.r0 VBoxNvmeR0.r0>> "%_MY_OPT_DDF_FILE%"
+rem echo %_MY_EXTPACK_DIR%\win.%_MY_OPT_ARCH%\VBoxPciRawR0.r0 VBoxPciRawR0.r0>> "%_MY_OPT_DDF_FILE%"
+:no_extpack_ddf
+
+if "%_MY_OPT_WITH_GA%" == "0" goto no_additions_ddf
+echo .Set DestinationDir=VBoxGuestAdditions>> "%_MY_OPT_DDF_FILE%"
+echo %_MY_OPT_GADIR%\VBoxGuest.inf>> "%_MY_OPT_DDF_FILE%"
+echo %_MY_OPT_GADIR%\VBoxGuest.sys>> "%_MY_OPT_DDF_FILE%"
+echo %_MY_OPT_GADIR%\VBoxTray.exe>> "%_MY_OPT_DDF_FILE%"
+echo %_MY_OPT_GADIR%\VBoxControl.exe>> "%_MY_OPT_DDF_FILE%"
+echo %_MY_OPT_GADIR%\VBoxMouse.inf>> "%_MY_OPT_DDF_FILE%"
+echo %_MY_OPT_GADIR%\VBoxMouse.sys>> "%_MY_OPT_DDF_FILE%"
+rem VBoxVideo files are excluded from attestation signing.
+rem echo %_MY_OPT_GADIR%\VBoxVideo.inf>> "%_MY_OPT_DDF_FILE%"
+rem echo %_MY_OPT_GADIR%\VBoxVideo.sys>> "%_MY_OPT_DDF_FILE%"
+echo %_MY_OPT_GADIR%\VBoxWddm.inf>> "%_MY_OPT_DDF_FILE%"
+echo %_MY_OPT_GADIR%\VBoxWddm.sys>> "%_MY_OPT_DDF_FILE%"
+echo %_MY_OPT_GADIR%\VBoxDX.dll>> "%_MY_OPT_DDF_FILE%"
+echo %_MY_OPT_GADIR%\VBoxDisp.dll>> "%_MY_OPT_DDF_FILE%"
+echo %_MY_OPT_GADIR%\VBoxDispD3D.dll>> "%_MY_OPT_DDF_FILE%"
+echo %_MY_OPT_GADIR%\VBoxNine.dll>> "%_MY_OPT_DDF_FILE%"
+echo %_MY_OPT_GADIR%\VBoxSVGA.dll>> "%_MY_OPT_DDF_FILE%"
+echo %_MY_OPT_GADIR%\VBoxGL.dll>> "%_MY_OPT_DDF_FILE%"
+echo %_MY_OPT_GADIR%\VBoxMRXNP.dll>> "%_MY_OPT_DDF_FILE%"
+echo %_MY_OPT_GADIR%\VBoxSF.sys>> "%_MY_OPT_DDF_FILE%"
+if ".%_MY_OPT_ARCH%" == ".x86" goto skip_amd64_files
+echo %_MY_OPT_GADIR%\VBoxDX-x86.dll>> "%_MY_OPT_DDF_FILE%"
+echo %_MY_OPT_GADIR%\VBoxDispD3D-x86.dll>> "%_MY_OPT_DDF_FILE%"
+echo %_MY_OPT_GADIR%\VBoxNine-x86.dll>> "%_MY_OPT_DDF_FILE%"
+echo %_MY_OPT_GADIR%\VBoxSVGA-x86.dll>> "%_MY_OPT_DDF_FILE%"
+echo %_MY_OPT_GADIR%\VBoxGL-x86.dll>> "%_MY_OPT_DDF_FILE%"
+:skip_amd64_files
+
+:no_additions_ddf
+
+rem
+rem Create the cabient file.
+rem Note! MakeCab is shipped on W10, so we ASSUME it's in the PATH.
+rem
+MakeCab.exe /v2 /F "%_MY_OPT_DDF_FILE%" || goto end_failed
+
+rem
+rem EV sign the cabient file.
+rem
+if not exist "sign-ev.cmd" goto end
+echo info: Now signing the created CAB file. Can take a few minutes...
+call sign-ev.cmd "%_MY_OPT_OUTPUT%" || goto end_failed
+
+goto end
+
+:end_failed
+@endlocal
+@endlocal
+@exit /b 1
+
+:end
+@endlocal
+@endlocal
diff --git a/src/VBox/Installer/win/Scripts/RepackExtPack.cmd b/src/VBox/Installer/win/Scripts/RepackExtPack.cmd
new file mode 100644
index 00000000..e75348a7
--- /dev/null
+++ b/src/VBox/Installer/win/Scripts/RepackExtPack.cmd
@@ -0,0 +1,240 @@
+@echo off
+rem $Id: RepackExtPack.cmd $
+rem rem @file
+rem Windows NT batch script for repacking an extension pack with blessed .r0 files.
+rem
+
+rem
+rem Copyright (C) 2018-2023 Oracle and/or its affiliates.
+rem
+rem This file is part of VirtualBox base platform packages, as
+rem available from https://www.virtualbox.org.
+rem
+rem This program is free software; you can redistribute it and/or
+rem modify it under the terms of the GNU General Public License
+rem as published by the Free Software Foundation, in version 3 of the
+rem License.
+rem
+rem This program is distributed in the hope that it will be useful, but
+rem WITHOUT ANY WARRANTY; without even the implied warranty of
+rem MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+rem General Public License for more details.
+rem
+rem You should have received a copy of the GNU General Public License
+rem along with this program; if not, see <https://www.gnu.org/licenses>.
+rem
+rem SPDX-License-Identifier: GPL-3.0-only
+rem
+
+
+setlocal ENABLEEXTENSIONS
+setlocal
+
+rem
+rem Check for environment variables we need.
+rem
+if ".%KBUILD_DEVTOOLS%" == "." (echo KBUILD_DEVTOOLS is not set & goto end_failed)
+rem if ".%KBUILD_BIN_PATH%" == "." (echo KBUILD_BIN_PATH is not set & goto end_failed)
+
+rem
+rem Parse arguments.
+rem
+set _MY_OPT_BINDIR_X86=..\..\..\win.x86\@KBUILD_TYPE@\bin
+set _MY_OPT_BINDIR_AMD64=..\..\..\win.amd64\@KBUILD_TYPE@\bin
+set _MY_OPT_INPUT=
+set _MY_OPT_OUTPUT=
+set _MY_OPT_STAGE_DIR=.\repack-extpack-%RANDOM%
+for %%i in (%_MY_OPT_STAGE_DIR%) do set _MY_OPT_STAGE_DIR=%%~fi
+set _MY_OPT_SIGN_CAT=1
+
+:argument_loop
+if ".%1" == "." goto no_more_arguments
+
+if ".%1" == ".-h" goto opt_h
+if ".%1" == ".-?" goto opt_h
+if ".%1" == "./h" goto opt_h
+if ".%1" == "./H" goto opt_h
+if ".%1" == "./?" goto opt_h
+if ".%1" == ".-help" goto opt_h
+if ".%1" == ".--help" goto opt_h
+
+if ".%1" == ".-a" goto opt_a
+if ".%1" == ".--bindir-amd64" goto opt_a
+if ".%1" == ".-b" goto opt_b
+if ".%1" == ".--bindir-x86" goto opt_b
+if ".%1" == ".-i" goto opt_i
+if ".%1" == ".--input" goto opt_i
+if ".%1" == ".-o" goto opt_o
+if ".%1" == ".--output" goto opt_o
+if ".%1" == ".-s" goto opt_s
+if ".%1" == ".--stage-dir" goto opt_s
+echo syntax error: Unknown option: %1
+echo Try --help to list valid options.
+goto end_failed
+
+:argument_loop_next_with_value
+shift
+shift
+goto argument_loop
+
+:opt_a
+if ".%~2" == "." goto syntax_error_missing_value
+set _MY_OPT_BINDIR_AMD64=%~f2
+goto argument_loop_next_with_value
+
+:opt_b
+if ".%~2" == "." goto syntax_error_missing_value
+set _MY_OPT_BINDIR_X86=%~f2
+goto argument_loop_next_with_value
+
+:opt_h
+echo This script repacks an extension pack replacing windows .r0 files with
+echo blessed copies from the bin directory. The ASSUMPTION here is that prior
+echo to invoking this script, the UnpackBlessedDrivers.cmd script was executed
+echo both for win.amd64 and win.x86.
+echo .
+echo Usage: RepackExtPack.cmd [-b bindir-x86] [-a bindir-amd64] [-s staging-dir]
+echo -i input.vbox-extpack -o output.vbox-extpack
+echo .
+echo Warning! This script should normally be invoked from the win.x86 repack directory.
+goto end_failed
+
+:opt_i
+if ".%~2" == "." goto syntax_error_missing_value
+set _MY_OPT_INPUT=%~f2
+goto argument_loop_next_with_value
+
+:opt_o
+if ".%~2" == "." goto syntax_error_missing_value
+set _MY_OPT_OUTPUT=%~f2
+goto argument_loop_next_with_value
+
+:opt_s
+if ".%~2" == "." goto syntax_error_missing_value
+set _MY_OPT_STAGE_DIR=%~f2
+goto argument_loop_next_with_value
+
+:syntax_error_missing_value
+echo syntax error: missing or empty option value after %1
+goto end_failed
+
+:error_bindir_amd64_does_not_exist
+echo syntax error: Specified AMD64 BIN directory does not exist: "%_MY_OPT_BINDIR_AMD64%"
+goto end_failed
+
+:error_bindir_x86_does_not_exist
+echo syntax error: Specified x86 BIN directory does not exist: "%_MY_OPT_BINDIR_X86%"
+goto end_failed
+
+:error_input_not_found
+echo error: Input file does not exist: "%_MY_OPT_INPUT%"
+goto end_failed
+
+:error_stage_dir_exists
+echo error: Temporary staging directory exists: "%_MY_OPT_STAGE_DIR%"
+goto end_failed
+
+:no_more_arguments
+rem
+rem Validate and adjust specified options.
+rem
+if not exist "%_MY_OPT_BINDIR_X86%" goto error_bindir_x86_does_not_exist
+if not exist "%_MY_OPT_BINDIR_AMD64%" goto error_bindir_amd64_does_not_exist
+
+if ".%_MY_OPT_INPUT%" == "." set _MY_OPT_INPUT=%_MY_OPT_BINDIR_X86%\Oracle_VM_VirtualBox_Extension_Pack.vbox-extpack
+if not exist "%_MY_OPT_INPUT%" goto error_input_not_found
+
+if ".%_MY_OPT_OUTPUT%" == "." for %%i in ("%_MY_OPT_INPUT%") do set _MY_OPT_OUTPUT=.\%%~nxi
+
+rem Make _MY_OPT_STAGE_DIR absolute.
+if exist "%_MY_OPT_STAGE_DIR%" goto error_stage_dir_exists
+
+rem
+rem Modify PATH to facilitate using our zip, gzip and manifest tools
+rem
+rem TODO: Use RTTar for creation too.
+rem TODO: Not sure how well the bsdtar output actually work with 5.1...
+rem TODO: Check whether we need stupid cygwin to get the right execute bits (x) on unix.
+rem
+set PATH=%PATH%;%_MY_OPT_BINDIR_AMD64%
+set _MY_TOOL_TAR_EXPAND="%_MY_OPT_BINDIR_AMD64%\tools\RTTar.exe" -x
+set _MY_TOOL_TAR_CREATE="%KBUILD_DEVTOOLS%\win.x86\gnuwin32\r1\bin\bsdtar.exe" -c --format ustar
+set _MY_TOOL_GZIP=%_MY_OPT_BINDIR_AMD64%\tools\RTGzip.exe
+set _MY_TOOL_MANIFEST=%_MY_OPT_BINDIR_AMD64%\tools\RTManifest.exe
+
+rem
+rem Unpack the extension pack.
+rem
+echo * Unpacking "%_MY_OPT_INPUT" to "%_MY_OPT_STAGE_DIR%"...
+mkdir "%_MY_OPT_STAGE_DIR%" || goto end_failed
+%_MY_TOOL_TAR_EXPAND% -vzf "%_MY_OPT_INPUT%" -C "%_MY_OPT_STAGE_DIR%" || goto end_failed_cleanup
+
+rem
+rem Copy over the blessed .r0 files.
+rem
+echo * Copying over blessed .r0 binaries...
+if not exist "%_MY_OPT_STAGE_DIR%\win.x86" goto no_win_x86
+for %%i in ("%_MY_OPT_STAGE_DIR%\win.x86\*.r0") do (
+ echo -=- %%i
+ copy /y "%_MY_OPT_BINDIR_X86%\%%~nxi" "%_MY_OPT_STAGE_DIR%\win.x86" || goto end_failed_cleanup
+)
+:no_win_x86
+
+for %%i in ("%_MY_OPT_STAGE_DIR%\win.amd64\*.r0") do (
+ echo -=- %%i
+ copy /y "%_MY_OPT_BINDIR_AMD64%\%%~nxi" "%_MY_OPT_STAGE_DIR%\win.amd64" || goto end_failed_cleanup
+)
+
+rem
+rem Recreate the manifest.
+rem
+echo * Collecting files for manifest...
+set _MY_MANIFEST_FILES=
+for /D %%d in ("%_MY_OPT_STAGE_DIR%\*") do (
+ for %%f in ("%%d\*") do call set _MY_MANIFEST_FILES=%%_MY_MANIFEST_FILES%% %%~nxd/%%~nxf
+)
+for %%f in ("%_MY_OPT_STAGE_DIR%\*") do (
+ if not "%%~nxf" == "ExtPack.manifest" if not "%%~nxf" == "ExtPack.signature" call set _MY_MANIFEST_FILES=%%_MY_MANIFEST_FILES%% %%~nxf
+)
+rem echo _MY_MANIFEST_FILES=%_MY_MANIFEST_FILES%
+
+echo * Creating manifest...
+echo on
+"%_MY_TOOL_MANIFEST%" --manifest "%_MY_OPT_STAGE_DIR%\ExtPack.manifest" --chdir "%_MY_OPT_STAGE_DIR%" %_MY_MANIFEST_FILES% || goto end_failed_cleanup
+@echo off
+
+rem
+rem Repackage the damn thing.
+rem
+@echo * Packing extension pack...
+
+echo on
+%_MY_TOOL_TAR_CREATE% -vf "%_MY_OPT_OUTPUT%.tmp" -C "%_MY_OPT_STAGE_DIR%" . || goto end_failed_cleanup
+"%_MY_TOOL_GZIP%" -9 -n "%_MY_OPT_OUTPUT%.tmp" || goto end_failed_cleanup
+move /Y "%_MY_OPT_OUTPUT%.tmp.gz" "%_MY_OPT_OUTPUT%" || goto end_failed_cleanup
+echo off
+
+rem
+rem Cleanup and we're good.
+rem
+echo * Cleaning up...
+rmdir /s /q "%_MY_OPT_STAGE_DIR%"
+
+echo * Successfully created: "%_MY_OPT_OUTPUT%
+goto end
+
+:end_failed_cleanup
+@rmdir /s /q "%_MY_OPT_STAGE_DIR%"
+@if exist "%_MY_OPT_OUTPUT%.tmp" del "%_MY_OPT_OUTPUT%.tmp"
+@if exist "%_MY_OPT_OUTPUT%.tmp.gz" del "%_MY_OPT_OUTPUT%.tmp.gz"
+
+:end_failed
+@endlocal
+@endlocal
+@echo * Failed!
+@exit /b 1
+
+:end
+@endlocal
+@endlocal
+
diff --git a/src/VBox/Installer/win/Scripts/Single-1-Prepare.cmd b/src/VBox/Installer/win/Scripts/Single-1-Prepare.cmd
new file mode 100644
index 00000000..bd5b6567
--- /dev/null
+++ b/src/VBox/Installer/win/Scripts/Single-1-Prepare.cmd
@@ -0,0 +1,248 @@
+@echo off
+rem $Id: Single-1-Prepare.cmd $
+rem rem @file
+rem Windows NT batch script for preparing single build (either amd64 and x86) for signing submission.
+rem
+
+rem
+rem Copyright (C) 2018-2023 Oracle and/or its affiliates.
+rem
+rem This file is part of VirtualBox base platform packages, as
+rem available from https://www.virtualbox.org.
+rem
+rem This program is free software; you can redistribute it and/or
+rem modify it under the terms of the GNU General Public License
+rem as published by the Free Software Foundation, in version 3 of the
+rem License.
+rem
+rem This program is distributed in the hope that it will be useful, but
+rem WITHOUT ANY WARRANTY; without even the implied warranty of
+rem MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+rem General Public License for more details.
+rem
+rem You should have received a copy of the GNU General Public License
+rem along with this program; if not, see <https://www.gnu.org/licenses>.
+rem
+rem SPDX-License-Identifier: GPL-3.0-only
+rem
+
+
+setlocal ENABLEEXTENSIONS
+setlocal
+
+rem
+rem Globals and checks for required enviornment variables.
+rem
+if ".%KBUILD_DEVTOOLS%" == "." (echo KBUILD_DEVTOOLS is not set & goto end_failed)
+if ".%KBUILD_BIN_PATH%" == "." (echo KBUILD_BIN_PATH is not set & goto end_failed)
+set _MY_SCRIPT_DIR=%~dp0
+set _MY_SAVED_CD=%CD%
+set _MY_VER_REV=@VBOX_VERSION_STRING@r@VBOX_SVN_REV@
+
+rem
+rem Parse arguments.
+rem
+set _MY_OPT_UNTAR_DIR=%_MY_SCRIPT_DIR%\..\
+for %%i in (%_MY_OPT_UNTAR_DIR%) do set _MY_OPT_UNTAR_DIR=%%~fi
+set _MY_OPT_EXTPACK=%_MY_OPT_UNTAR_DIR%\Oracle_VM_VirtualBox_Extension_Pack-%_MY_VER_REV%.vbox-extpack
+set _MY_OPT_EXTPACK_ENTERPRISE=%_MY_OPT_UNTAR_DIR%\Oracle_VM_VirtualBox_Extension_Pack-%_MY_VER_REV%-ENTERPRISE.vbox-extpack
+set _MY_OPT_BUILD_TYPE=@KBUILD_TYPE@
+set _MY_OPT_OUTDIR=%_MY_OPT_UNTAR_DIR%\output
+set _MY_OPT_ARCH=@KBUILD_TARGET_ARCH@
+
+:argument_loop
+if ".%1" == "." goto no_more_arguments
+
+if ".%1" == ".-h" goto opt_h
+if ".%1" == ".-?" goto opt_h
+if ".%1" == "./h" goto opt_h
+if ".%1" == "./H" goto opt_h
+if ".%1" == "./?" goto opt_h
+if ".%1" == ".-help" goto opt_h
+if ".%1" == ".--help" goto opt_h
+
+if ".%1" == ".-a" goto opt_a
+if ".%1" == ".--arch" goto opt_a
+if ".%1" == ".-e" goto opt_e
+if ".%1" == ".--extpack" goto opt_e
+if ".%1" == ".-o" goto opt_o
+if ".%1" == ".--outdir" goto opt_o
+if ".%1" == ".-s" goto opt_s
+if ".%1" == ".--extpack-enterprise" goto opt_s
+if ".%1" == ".-t" goto opt_t
+if ".%1" == ".--build-type" goto opt_t
+if ".%1" == ".-u" goto opt_u
+if ".%1" == ".--vboxall-untar-dir" goto opt_u
+echo syntax error: Unknown option: %1
+echo Try --help to list valid options.
+goto end_failed
+
+:argument_loop_next_with_value
+shift
+shift
+goto argument_loop
+
+:opt_a
+if ".%~2" == "." goto syntax_error_missing_value
+if not "%2" == "x86" if not "%2" == "amd64" goto syntax_error_unknown_arch
+set _MY_OPT_ARCH=%~2
+goto argument_loop_next_with_value
+
+:opt_e
+if ".%~2" == "." goto syntax_error_missing_value
+set _MY_OPT_EXTPACK=%~f2
+goto argument_loop_next_with_value
+
+:opt_h
+echo Toplevel single package: Prepare either x86 and amd64 for submission.
+echo .
+echo Usage: Single-1-Prepare.cmd [-o output-dir] [-e/--extpack puel.vbox-extpack]
+echo [-s/--extpack-enterprise puel-enterprise.vbox-extpack]
+echo [-u/--vboxall-dir unpacked-vboxall-dir] [-t build-type]
+echo [-a x86/amd64]
+echo .
+echo Default -a/--arch value: %_MY_OPT_ARCH%
+echo Default -e/--extpack value: %_MY_OPT_EXTPACK%
+echo Default -s/--extpack-enterprise value: %_MY_OPT_EXTPACK_ENTERPRISE%
+echo Default -u/--vboxall-untar-dir value: %_MY_OPT_UNTAR_DIR%
+echo Default -o/--outdir value: %_MY_OPT_OUTDIR%
+echo Default -t/--build-type value: %_MY_OPT_BUILD_TYPE%
+echo .
+goto end_failed
+
+:opt_o
+if ".%~2" == "." goto syntax_error_missing_value
+set _MY_OPT_OUTDIR=%~f2
+goto argument_loop_next_with_value
+
+:opt_s
+if ".%~2" == "." goto syntax_error_missing_value
+set _MY_OPT_EXTPACK_ENTERPRISE=%~f2
+goto argument_loop_next_with_value
+
+:opt_t
+if ".%~2" == "." goto syntax_error_missing_value
+set _MY_OPT_BUILD_TYPE=%~2
+goto argument_loop_next_with_value
+
+:opt_u
+if ".%~2" == "." goto syntax_error_missing_value
+set _MY_OPT_UNTAR_DIR=%~f2
+goto argument_loop_next_with_value
+
+
+:syntax_error_missing_value
+echo syntax error: missing or empty option value after %1
+goto end_failed
+
+:syntax_error_unknown_arch
+echo syntax error: Unknown architecture: %2
+goto end_failed
+
+
+:error_vboxall_untar_dir_not_found
+echo syntax error: The VBoxAll untar directory was not found: "%_MY_OPT_UNTAR_DIR%"
+goto end_failed
+
+:error_bindir_not_found
+echo syntax error: The bin directory was not found: "%_MY_BINDIR%"
+goto end_failed
+
+:error_repack_dir_not_found
+echo syntax error: The repack directory was not found: "%_MY_REPACK_DIR%"
+goto end_failed
+
+:error_extpack_not_found
+echo syntax error: Specified extension pack not found: "%_MY_OPT_EXTPACK%"
+goto end_failed
+
+:error_enterprise_extpack_not_found
+echo syntax error: Specified enterprise extension pack not found: "%_MY_OPT_EXTPACK_ENTERPRISE%"
+goto end_failed
+
+
+
+:no_more_arguments
+rem
+rem Validate and adjust specified options.
+rem
+
+if not exist "%_MY_OPT_UNTAR_DIR%" goto error_vboxall_untar_dir_not_found
+
+set _MY_BINDIR=%_MY_OPT_UNTAR_DIR%\bin
+if not exist "%_MY_BINDIR%" goto error_bindir_not_found
+
+set _MY_REPACK_DIR=%_MY_OPT_UNTAR_DIR%\repack
+if not exist "%_MY_REPACK_DIR%" goto error_repack_dir_not_found
+
+if not exist "%_MY_OPT_EXTPACK%" goto error_extpack_not_found
+if not ".%_MY_OPT_EXTPACK_ENTERPRISE%" == "." if not exist "%_MY_OPT_EXTPACK_ENTERPRISE%" goto error_enterprise_extpack_not_found
+
+
+rem Make sure the output dir exists.
+if not exist "%_MY_OPT_OUTDIR%" (mkdir "%_MY_OPT_OUTDIR%" || goto end_failed)
+
+rem
+rem Install the extpack in the bin directories.
+rem Note! Not really necessary, but whatever.
+rem
+echo on
+copy /y "%_MY_OPT_EXTPACK%" "%_MY_BINDIR%\Oracle_VM_VirtualBox_Extension_Pack.vbox-extpack" || goto end_failed
+@echo off
+
+rem
+rem Do the packing.
+rem
+echo **************************************************************************
+echo Packing drivers
+echo **************************************************************************
+cd /d "%_MY_REPACK_DIR%" || goto end_failed
+call "%_MY_REPACK_DIR%\PackDriversForSubmission.cmd" -b "%_MY_BINDIR%" -a %_MY_OPT_ARCH% -e "%_MY_OPT_EXTPACK%" ^
+ -o "%_MY_OPT_OUTDIR%\VBoxDrivers-%_MY_VER_REV%-%_MY_OPT_ARCH%.cab" || goto end_failed
+echo .
+cd /d "%_MY_SAVED_CD%"
+
+rem
+rem Generate script for taking the next step.
+rem
+set _MY_NEXT_SCRIPT=%_MY_OPT_OUTDIR%\Single-3-Repack.cmd
+rem If out dir is the same as repack dir this would erase original repack script
+if not exist "%_MY_NEXT_SCRIPT%" goto generate_next_script
+set _MY_NEXT_SCRIPT=%_MY_OPT_OUTDIR%\Single-3-Repack-Gen.cmd
+:generate_next_script
+echo cd /d "%cd%" > "%_MY_NEXT_SCRIPT%"
+echo call "%_MY_SCRIPT_DIR%\Single-3-Repack.cmd" --extpack "%_MY_OPT_EXTPACK%" ^
+ --extpack-enterprise "%_MY_OPT_EXTPACK_ENTERPRISE%" ^
+ --vboxall-untar-dir "%_MY_OPT_UNTAR_DIR%" ^
+ --outdir "%_MY_OPT_OUTDIR%" ^
+ --build-type "%_MY_OPT_BUILD_TYPE%" %%* >> "%_MY_NEXT_SCRIPT%"
+
+rem
+rem Instructions on what to do next.
+rem
+echo **************************************************************************
+echo * First step is done.
+echo *
+echo * Created:
+echo * %_MY_OPT_OUTDIR%\VBoxDrivers-%_MY_VER_REV%-%_MY_OPT_ARCH%.cab
+echo *
+echo * Next steps:
+echo * 1. Submit the files to Microsoft for attestation signing.
+echo * 2. Download the signed result.
+echo * 3. "%_MY_NEXT_SCRIPT%" --signed {zip}
+
+goto end
+
+
+:end_failed
+@cd /d "%_MY_SAVED_CD%"
+@endlocal
+@endlocal
+@echo * Failed!
+@exit /b 1
+
+:end
+@cd /d "%_MY_SAVED_CD%"
+@endlocal
+@endlocal
+
diff --git a/src/VBox/Installer/win/Scripts/Single-3-Repack.cmd b/src/VBox/Installer/win/Scripts/Single-3-Repack.cmd
new file mode 100644
index 00000000..166b40b3
--- /dev/null
+++ b/src/VBox/Installer/win/Scripts/Single-3-Repack.cmd
@@ -0,0 +1,291 @@
+@echo off
+rem $Id: Single-3-Repack.cmd $
+rem rem @file
+rem Windows NT batch script for repacking signed amd64 or x86 drivers.
+rem
+
+rem
+rem Copyright (C) 2018-2023 Oracle and/or its affiliates.
+rem
+rem This file is part of VirtualBox base platform packages, as
+rem available from https://www.virtualbox.org.
+rem
+rem This program is free software; you can redistribute it and/or
+rem modify it under the terms of the GNU General Public License
+rem as published by the Free Software Foundation, in version 3 of the
+rem License.
+rem
+rem This program is distributed in the hope that it will be useful, but
+rem WITHOUT ANY WARRANTY; without even the implied warranty of
+rem MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+rem General Public License for more details.
+rem
+rem You should have received a copy of the GNU General Public License
+rem along with this program; if not, see <https://www.gnu.org/licenses>.
+rem
+rem SPDX-License-Identifier: GPL-3.0-only
+rem
+
+
+setlocal ENABLEEXTENSIONS
+setlocal
+
+rem
+rem Globals and checks for required enviornment variables.
+rem
+if ".%KBUILD_DEVTOOLS%" == "." (echo KBUILD_DEVTOOLS is not set & goto end_failed)
+if ".%KBUILD_BIN_PATH%" == "." (echo KBUILD_BIN_PATH is not set & goto end_failed)
+set _MY_SCRIPT_DIR=%~dp0
+set _MY_SAVED_CD=%CD%
+set _MY_VER_REV=@VBOX_VERSION_STRING@r@VBOX_SVN_REV@
+
+rem
+rem Parse arguments.
+rem
+set _MY_OPT_UNTAR_DIR=%_MY_SCRIPT_DIR%\..\
+for %%i in (%_MY_OPT_UNTAR_DIR%) do set _MY_OPT_UNTAR_DIR=%%~fi
+set _MY_OPT_EXTPACK=%_MY_OPT_UNTAR_DIR%\Oracle_VM_VirtualBox_Extension_Pack-%_MY_VER_REV%.vbox-extpack
+set _MY_OPT_EXTPACK_ENTERPRISE=%_MY_OPT_UNTAR_DIR%\Oracle_VM_VirtualBox_Extension_Pack-%_MY_VER_REV%-ENTERPRISE.vbox-extpack
+set _MY_OPT_BUILD_TYPE=@KBUILD_TYPE@
+set _MY_OPT_OUTDIR=%_MY_OPT_UNTAR_DIR%\output
+set _MY_OPT_SIGNED=
+set _MY_OPT_NOEXTPACK=
+
+:argument_loop
+if ".%1" == "." goto no_more_arguments
+
+if ".%1" == ".-h" goto opt_h
+if ".%1" == ".-?" goto opt_h
+if ".%1" == "./h" goto opt_h
+if ".%1" == "./H" goto opt_h
+if ".%1" == "./?" goto opt_h
+if ".%1" == ".-help" goto opt_h
+if ".%1" == ".--help" goto opt_h
+
+if ".%1" == ".-e" goto opt_e
+if ".%1" == ".--extpack" goto opt_e
+if ".%1" == ".-n" goto opt_n
+if ".%1" == ".--no-extpack" goto opt_n
+if ".%1" == ".-o" goto opt_o
+if ".%1" == ".--outdir" goto opt_o
+if ".%1" == ".-s" goto opt_s
+if ".%1" == ".--extpack-enterprise" goto opt_s
+if ".%1" == ".--signed" goto opt_signed
+if ".%1" == ".-t" goto opt_t
+if ".%1" == ".--build-type" goto opt_t
+if ".%1" == ".-u" goto opt_u
+if ".%1" == ".--vboxall-untar-dir" goto opt_u
+echo syntax error: Unknown option: %1
+echo Try --help to list valid options.
+goto end_failed
+
+:argument_loop_next_with_value
+shift
+shift
+goto argument_loop
+
+:opt_e
+if ".%~2" == "." goto syntax_error_missing_value
+set _MY_OPT_EXTPACK=%~f2
+goto argument_loop_next_with_value
+
+:opt_h
+echo Toplevel combined package: Repack the installer and extpacks.
+echo .
+echo Usage: Combined-3-Repack.cmd [-o output-dir] [-e/--extpack puel.vbox-extpack]
+echo [-s/--extpack-enterprise puel-enterprise.vbox-extpack]
+echo [-u/--vboxall-dir unpacked-vboxall-dir] [-t build-type]
+echo [--signed signed.zip]
+echo
+echo .
+echo Default -e/--extpack value: %_MY_OPT_EXTPACK%
+echo Default -s/--extpack-enterprise value: %_MY_OPT_EXTPACK_ENTERPRISE%
+echo Default -u/--vboxall-untar-dir value: %_MY_OPT_UNTAR_DIR%
+echo Default -o/--outdir value: %_MY_OPT_OUTDIR%
+echo Default -t/--build-type value: %_MY_OPT_BUILD_TYPE%
+echo .
+goto end_failed
+
+:opt_n
+set _MY_OPT_NOEXTPACK=1
+shift
+goto argument_loop
+
+:opt_o
+if ".%~2" == "." goto syntax_error_missing_value
+set _MY_OPT_OUTDIR=%~f2
+goto argument_loop_next_with_value
+
+:opt_s
+if ".%~2" == "." goto syntax_error_missing_value
+set _MY_OPT_EXTPACK_ENTERPRISE=%~f2
+goto argument_loop_next_with_value
+
+:opt_signed
+if ".%~2" == "." goto syntax_error_missing_value
+set _MY_OPT_SIGNED=%~f2
+goto argument_loop_next_with_value
+
+:opt_t
+if ".%~2" == "." goto syntax_error_missing_value
+set _MY_OPT_BUILD_TYPE=%~2
+goto argument_loop_next_with_value
+
+:opt_u
+if ".%~2" == "." goto syntax_error_missing_value
+set _MY_OPT_UNTAR_DIR=%~f2
+goto argument_loop_next_with_value
+
+
+:syntax_error_missing_value
+echo syntax error: missing or empty option value after %1
+goto end_failed
+
+
+:error_vboxall_untar_dir_not_found
+echo syntax error: The VBoxAll untar directory was not found: "%_MY_OPT_UNTAR_DIR%"
+goto end_failed
+
+:error_bindir_not_found
+echo syntax error: The bin directory was not found: "%_MY_BINDIR%"
+goto end_failed
+
+:error_repack_dir_not_found
+echo syntax error: The repack directory was not found: "%_MY_REPACK_DIR%"
+goto end_failed
+
+:error_extpack_not_found
+echo syntax error: Specified extension pack not found: "%_MY_OPT_EXTPACK%"
+goto end_failed
+
+:error_enterprise_extpack_not_found
+echo syntax error: Specified enterprise extension pack not found: "%_MY_OPT_EXTPACK_ENTERPRISE%"
+goto end_failed
+
+:error_signed_not_found
+echo syntax error: Zip with signed drivers not found: "%_MY_OPT_SIGNED%"
+goto end_failed
+
+
+:no_more_arguments
+rem
+rem Validate and adjust specified options.
+rem
+
+if not exist "%_MY_OPT_UNTAR_DIR%" goto error_vboxall_untar_dir_not_found
+
+set _MY_BINDIR=%_MY_OPT_UNTAR_DIR%\bin
+if not exist "%_MY_BINDIR%" goto error_bindir_not_found
+
+set _MY_REPACK_DIR=%_MY_OPT_UNTAR_DIR%\repack
+if not exist "%_MY_REPACK_DIR%" goto error_repack_dir_not_found
+
+if ".%_MY_OPT_NOEXTPACK%" == ".1" goto no_enterprise_check
+if not exist "%_MY_OPT_EXTPACK%" goto error_extpack_not_found
+if not ".%_MY_OPT_EXTPACK_ENTERPRISE%" == "." if not exist "%_MY_OPT_EXTPACK_ENTERPRISE%" goto error_enterprise_extpack_not_found
+:no_enterprise_check
+
+if not exist "%_MY_OPT_SIGNED%" goto error_signed_not_found
+
+rem Make sure the output dir exists.
+if not exist "%_MY_OPT_OUTDIR%" (mkdir "%_MY_OPT_OUTDIR%" || goto end_failed)
+
+rem
+rem Unpacking the driver zip.
+rem
+echo **************************************************************************
+echo * Unpacking signed drivers...
+echo **************************************************************************
+cd /d "%_MY_REPACK_DIR%" || goto end_failed
+call "%_MY_REPACK_DIR%\UnpackBlessedDrivers.cmd" -n -b "%_MY_BINDIR%" -i "%_MY_OPT_SIGNED%" || goto end_failed
+echo .
+
+
+rem
+rem Do the work.
+rem
+echo **************************************************************************
+echo * Repackaging installers
+echo **************************************************************************
+echo * Compiling WIX...
+cd /d "%_MY_REPACK_DIR%" || goto end_failed
+for %%i in (1-*.cmd) do (call %%i || goto end_failed)
+echo .
+
+echo * Linking WIX...
+for %%i in (2-*.cmd) do (call %%i || goto end_failed)
+echo .
+
+echo * Applying language patches to MSI...
+for %%i in (3-*.cmd) do (call %%i || goto end_failed)
+echo .
+
+echo * Creating multi arch installer...
+for %%i in (4-*.cmd) do (call %%i || goto end_failed)
+echo .
+
+
+set _MY_OUT_FILES=
+cd /d "%_MY_REPACK_DIR%" || goto end_failed
+for %%i in (VBoxMerge*msm) do (
+ copy /y "%%i" "%_MY_OPT_OUTDIR%" || goto end_failed
+ call set _MY_OUT_FILES=%%_MY_OUT_FILES%% %%~nxi
+)
+for %%i in (VirtualBox-*MultiArch*exe) do (
+ copy /y "%%i" "%_MY_OPT_OUTDIR%" || goto end_failed
+ call set _MY_OUT_FILES=%%_MY_OUT_FILES%% %%~nxi
+)
+
+
+if ".%_MY_OPT_NOEXTPACK%" == ".1" goto no_enterprise_repacking
+rem
+rem Repack the extension packs.
+rem
+echo **************************************************************************
+echo * Repacking extension packs.
+echo **************************************************************************
+cd /d "%_MY_REPACK_DIR%" || goto end_failed
+
+echo * Regular PUEL...
+set _MY_TMP_OUT=%_MY_OPT_EXTPACK%
+for %%i in (%_MY_TMP_OUT%) do (
+ set _MY_TMP_OUT=%_MY_OPT_OUTDIR%\%%~nxi
+ call set _MY_OUT_FILES=%%_MY_OUT_FILES%% %%~nxi
+)
+call "%_MY_REPACK_DIR%\RepackExtPack.cmd" --bindir-amd64 "%_MY_BINDIR%" --bindir-x86 "%_MY_BINDIR%" ^
+ --input "%_MY_OPT_EXTPACK%" --output "%_MY_TMP_OUT%" || goto end_failed
+
+if ".%_MY_OPT_EXTPACK_ENTERPRISE%" == "." goto no_enterprise_repacking
+echo * Enterprise PUEL...
+set _MY_TMP_OUT=%_MY_OPT_EXTPACK_ENTERPRISE%
+for %%i in (%_MY_TMP_OUT%) do (
+ set _MY_TMP_OUT=%_MY_OPT_OUTDIR%\%%~nxi
+ call set _MY_OUT_FILES=%%_MY_OUT_FILES%% %%~nxi
+)
+call "%_MY_REPACK_DIR%\RepackExtPack.cmd" --bindir-amd64 "%_MY_BINDIR%" --bindir-x86 "%_MY_BINDIR%" ^
+ --input "%_MY_OPT_EXTPACK_ENTERPRISE%" --output "%_MY_TMP_OUT%" || goto end_failed
+:no_enterprise_repacking
+@cd /d "%_MY_SAVED_CD%"
+
+rem
+rem That's that.
+rem
+echo **************************************************************************
+echo * The third and final step is done.
+echo *
+echo * Successfully created:
+for %%i in (%_MY_OUT_FILES%) do echo * "%_MY_OPT_OUTDIR%\%%i"
+goto end
+
+
+:end_failed
+@cd /d "%_MY_SAVED_CD%"
+@endlocal
+@endlocal
+@echo * Failed!
+@exit /b 1
+
+:end
+@cd /d "%_MY_SAVED_CD%"
+@endlocal
+@endlocal
diff --git a/src/VBox/Installer/win/Scripts/UnpackBlessedDrivers.cmd b/src/VBox/Installer/win/Scripts/UnpackBlessedDrivers.cmd
new file mode 100644
index 00000000..c41a5d50
--- /dev/null
+++ b/src/VBox/Installer/win/Scripts/UnpackBlessedDrivers.cmd
@@ -0,0 +1,185 @@
+@echo off
+rem $Id: UnpackBlessedDrivers.cmd $
+rem rem @file
+rem Windows NT batch script for unpacking drivers after being signed.
+rem
+
+rem
+rem Copyright (C) 2018-2023 Oracle and/or its affiliates.
+rem
+rem This file is part of VirtualBox base platform packages, as
+rem available from https://www.virtualbox.org.
+rem
+rem This program is free software; you can redistribute it and/or
+rem modify it under the terms of the GNU General Public License
+rem as published by the Free Software Foundation, in version 3 of the
+rem License.
+rem
+rem This program is distributed in the hope that it will be useful, but
+rem WITHOUT ANY WARRANTY; without even the implied warranty of
+rem MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+rem General Public License for more details.
+rem
+rem You should have received a copy of the GNU General Public License
+rem along with this program; if not, see <https://www.gnu.org/licenses>.
+rem
+rem SPDX-License-Identifier: GPL-3.0-only
+rem
+
+
+setlocal ENABLEEXTENSIONS
+setlocal
+
+rem
+rem Globals and Check for environment variables we need.
+rem
+if ".%KBUILD_DEVTOOLS%" == "." (echo KBUILD_DEVTOOLS is not set & goto end_failed)
+set _MY_DRIVER_BASE_NAMES=VBoxSup VBoxNetAdp6 VBoxNetLwf VBoxUSB VBoxUSBMon
+set _MY_GUEST_ADDITIONS_DRIVER_BASE_NAMES=VBoxVideo VBoxWddm VBoxGuest VBoxMouse
+set _MY_UNZIP=%KBUILD_DEVTOOLS%\win.x86\bin\unzip.exe
+if not exist "%_MY_UNZIP%" (echo "%_MY_UNZIP%" does not exist & goto end_failed)
+
+rem
+rem Parse arguments.
+rem
+set _MY_OPT_BINDIR=..\bin
+set _MY_OPT_INPUT=
+set _MY_OPT_SIGN_CAT=1
+set _MY_OPT_SIGN_VERIFY=1
+
+:argument_loop
+if ".%1" == "." goto no_more_arguments
+
+if ".%1" == ".-h" goto opt_h
+if ".%1" == ".-?" goto opt_h
+if ".%1" == "./h" goto opt_h
+if ".%1" == "./H" goto opt_h
+if ".%1" == "./?" goto opt_h
+if ".%1" == ".-help" goto opt_h
+if ".%1" == ".--help" goto opt_h
+
+if ".%1" == ".-b" goto opt_b
+if ".%1" == ".--bindir" goto opt_b
+if ".%1" == ".-i" goto opt_i
+if ".%1" == ".--input" goto opt_i
+if ".%1" == ".-n" goto opt_n
+if ".%1" == ".--no-sign-cat" goto opt_n
+if ".%1" == ".-v" goto opt_v
+if ".%1" == ".--no-sign-verify" goto opt_v
+if ".%1" == ".--guest-additions" goto opt_ga
+
+echo syntax error: Unknown option: %1
+echo Try --help to list valid options.
+goto end_failed
+
+:argument_loop_next_with_value
+shift
+shift
+goto argument_loop
+
+:opt_b
+if ".%~2" == "." goto syntax_error_missing_value
+set _MY_OPT_BINDIR=%~2
+goto argument_loop_next_with_value
+
+:opt_h
+echo This script unpacks the zip-file containing the blessed driver files from
+echo Microsoft, replacing original files in the bin directory. The catalog files
+echo will be signed again and the Microsoft signature merged with ours.
+echo .
+echo Usage: UnpackBlessedDrivers.cmd [-b bindir] [-n/--no-sign-cat] [-v/--no-sign-verify] -i input.zip
+echo .
+echo Warning! This script should normally be invoked from the repack directory
+goto end_failed
+
+:opt_i
+if ".%~2" == "." goto syntax_error_missing_value
+set _MY_OPT_INPUT=%~2
+goto argument_loop_next_with_value
+
+:opt_n
+set _MY_OPT_SIGN_CAT=0
+shift
+goto argument_loop
+
+:opt_v
+set _MY_OPT_SIGN_VERIFY=0
+shift
+goto argument_loop
+
+:opt_ga
+set _MY_DRIVER_BASE_NAMES=%_MY_GUEST_ADDITIONS_DRIVER_BASE_NAMES%
+shift
+goto argument_loop
+
+:syntax_error_missing_value
+echo syntax error: missing or empty option value after %1
+goto end_failed
+
+:error_bindir_does_not_exist
+echo syntax error: Specified BIN directory does not exist: "%_MY_OPT_BINDIR%"
+goto end_failed
+
+:error_input_not_found
+echo error: Input file does not exist: "%_MY_OPT_INPUT%"
+goto end_failed
+
+:no_more_arguments
+rem validate specified options
+if not exist "%_MY_OPT_BINDIR%" goto error_bindir_does_not_exist
+
+rem figure defaults here: if ".%_MY_OPT_INPUT%" == "." if exist "%_MY_OPT_BINDIR%\x86" set _MY_OPT_INPUT=VBoxDrivers-amd64.cab
+rem figure defaults here: if ".%_MY_OPT_INPUT%" == "." set _MY_OPT_INPUT=VBoxDrivers-x86.cab
+if not exist "%_MY_OPT_INPUT%" goto error_input_not_found
+
+rem
+rem Unpack the stuff.
+rem We ignore error level 1 here as that is what unzip returns on warning (slashes).
+rem
+"%_MY_UNZIP%" -o -j "%_MY_OPT_INPUT%" -d "%_MY_OPT_BINDIR%" && goto unzip_okay
+if NOT ERRORLEVEL 1 goto end_failed
+:unzip_okay
+
+if ".%_MY_OPT_SIGN_VERIFY%" == ".0" goto no_sign_verify
+rem
+rem Verify it against the PreW10 catalog files we saved.
+rem
+set _MY_SIGNTOOL=%KBUILD_DEVTOOLS%\win.x86\sdk\v8.1\bin\x86\signtool.exe
+if not exist "%_MY_SIGNTOOL%" set _MY_SIGNTOOL=%KBUILD_DEVTOOLS%\win.x86\selfsign\r3\signtool.exe
+
+for %%d in (%_MY_DRIVER_BASE_NAMES%) do (
+ @echo * Verifying %%d against %%d.cat...
+ "%_MY_SIGNTOOL%" verify /kp /c "%_MY_OPT_BINDIR%\%%d.cat" "%_MY_OPT_BINDIR%\%%d.inf" || goto end_failed
+ "%_MY_SIGNTOOL%" verify /kp /c "%_MY_OPT_BINDIR%\%%d.cat" "%_MY_OPT_BINDIR%\%%d.sys" || goto end_failed
+ rem The following is disabled because signtool.exe does not accept these
+ rem signatures because it fails to look at the timestamp. Eventually should
+ rem replace this by doing out own signature verification in RTSignTool.
+ rem @echo * Verifying %%d against %%d-PreW10.cat...
+ rem "%_MY_SIGNTOOL%" verify /kp /c "%_MY_OPT_BINDIR%\%%d-PreW10.cat" "%_MY_OPT_BINDIR%\%%d.inf" || goto end_failed
+ rem "%_MY_SIGNTOOL%" verify /kp /c "%_MY_OPT_BINDIR%\%%d-PreW10.cat" "%_MY_OPT_BINDIR%\%%d.sys" || goto end_failed
+)
+:no_sign_verify
+
+rem
+rem Modify the catalog signatures.
+rem
+if "%_MY_OPT_SIGN_CAT%" == "0" goto no_sign_cat
+set PATH=%PATH%;%_MY_OPT_BINDIR%
+for %%d in (%_MY_DRIVER_BASE_NAMES%) do (
+ copy /y "%_MY_OPT_BINDIR%\%%d.cat" "%_MY_OPT_BINDIR%\%%d.cat.ms" || goto end_failed
+ call sign-dual.cmd "%_MY_OPT_BINDIR%\%%d.cat" || goto end_failed
+ "%_MY_OPT_BINDIR%\tools\RTSignTool.exe" add-nested-cat-signature -v "%_MY_OPT_BINDIR%\%%d.cat" "%_MY_OPT_BINDIR%\%%d.cat.ms" || goto end_failed
+)
+:no_sign_cat
+goto end
+
+:end_failed
+@echo failed (%ERRORLEVEL%)
+@endlocal
+@endlocal
+@exit /b 1
+
+:end
+@endlocal
+@endlocal
+
diff --git a/src/VBox/Installer/win/Scripts/VBoxExtPackPuel.inf b/src/VBox/Installer/win/Scripts/VBoxExtPackPuel.inf
new file mode 100644
index 00000000..8ee3e50c
--- /dev/null
+++ b/src/VBox/Installer/win/Scripts/VBoxExtPackPuel.inf
@@ -0,0 +1,69 @@
+; $Id: VBoxExtPackPuel.inf $
+;; @file
+; VBoxExtPackPuel - VirtualBox PUEL ExtPack drivers.
+;
+
+;
+; Copyright (C) 2018-2023 Oracle and/or its affiliates.
+;
+; This file is part of VirtualBox base platform packages, as
+; available from https://www.virtualbox.org.
+;
+; This program is free software; you can redistribute it and/or
+; modify it under the terms of the GNU General Public License
+; as published by the Free Software Foundation, in version 3 of the
+; License.
+;
+; This program is distributed in the hope that it will be useful, but
+; WITHOUT ANY WARRANTY; without even the implied warranty of
+; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+; General Public License for more details.
+;
+; You should have received a copy of the GNU General Public License
+; along with this program; if not, see <https://www.gnu.org/licenses>.
+;
+; SPDX-License-Identifier: GPL-3.0-only
+;
+
+[Version]
+Signature = "$Windows NT$"
+Class = System
+ClassGuid = {4d36e97d-e325-11ce-bfc1-08002be10318}
+CatalogFile = VBoxExtPackPuel.cat
+Provider = %ORACLE%
+;edit-DriverVer = 08/26/2008,2.00.0000
+
+[SourceDisksNames]
+1=%VBoxExtPackPuel.DskDesc%,"",,
+
+[SourceDisksFiles]
+;VBoxEhciR0.r0=1
+VBoxNvmeR0.r0=1
+;VBoxPciRawR0.r0=1
+
+[DestinationDirs]
+DefaultDestDir = 12
+VBoxExtPackPuel_Install.Files = 12
+
+[Manufacturer]
+%ORACLE%=VBoxExtPackPuel@COMMA-NT-ARCH@
+
+[VBoxExtPackPuel@DOT-NT-ARCH@]
+%VBoxExtPackPuel.DrvDesc% = VBoxExtPackPuel_Install, root\VBoxExtPackPuel
+
+[VBoxExtPackPuel_Install]
+CopyFiles = VBoxExtPackPuel_CopyFiles
+
+[VBoxExtPackPuel_Install.Services]
+AddService=,2 ; Dummy service using the NULL driver.
+
+[VBoxExtPackPuel_CopyFiles]
+;VBoxEhciR0.r0,,,2
+VBoxNvmeR0.r0,,,2
+;VBoxPciRawR0.r0,,,2
+
+[Strings]
+ORACLE = "Oracle Corporation"
+VBoxExtPackPuel.DrvDesc = "VirtualBox PUEL ExtPack drivers"
+VBoxExtPackPuel.DskDesc = "VirtualBox PUEL ExtPack drivers"
+
diff --git a/src/VBox/Installer/win/Scripts/VMMR0.inf b/src/VBox/Installer/win/Scripts/VMMR0.inf
new file mode 100644
index 00000000..14c552a7
--- /dev/null
+++ b/src/VBox/Installer/win/Scripts/VMMR0.inf
@@ -0,0 +1,67 @@
+; $Id: VMMR0.inf $
+;; @file
+; VMMR0.inf - VirtualBox VMM drivers.
+;
+
+;
+; Copyright (C) 2018-2023 Oracle and/or its affiliates.
+;
+; This file is part of VirtualBox base platform packages, as
+; available from https://www.virtualbox.org.
+;
+; This program is free software; you can redistribute it and/or
+; modify it under the terms of the GNU General Public License
+; as published by the Free Software Foundation, in version 3 of the
+; License.
+;
+; This program is distributed in the hope that it will be useful, but
+; WITHOUT ANY WARRANTY; without even the implied warranty of
+; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+; General Public License for more details.
+;
+; You should have received a copy of the GNU General Public License
+; along with this program; if not, see <https://www.gnu.org/licenses>.
+;
+; SPDX-License-Identifier: GPL-3.0-only
+;
+
+[Version]
+Signature = "$Windows NT$"
+Class = System
+ClassGuid = {4d36e97d-e325-11ce-bfc1-08002be10318}
+CatalogFile = VMMR0.cat
+Provider = %ORACLE%
+;edit-DriverVer = 08/26/2008,2.00.0000
+
+[SourceDisksNames]
+1=%VBoxVMM.DskDesc%,"",,
+
+[SourceDisksFiles]
+VMMR0.r0=1
+VBoxDDR0.r0=1
+
+[DestinationDirs]
+DefaultDestDir = 12
+VBoxVMM_Install.Files = 12
+
+[Manufacturer]
+%ORACLE%=VBoxVMM@COMMA-NT-ARCH@
+
+[VBoxVMM@DOT-NT-ARCH@]
+%VBoxVMM.DrvDesc% = VBoxVMM_Install, root\VBoxVMM
+
+[VBoxVMM_Install]
+CopyFiles = VBoxVMM_CopyFiles
+
+[VBoxVMM_Install.Services]
+AddService=,2 ; Dummy service using the NULL driver.
+
+[VBoxVMM_CopyFiles]
+VMMR0.r0,,,2
+VBoxDDR0.r0,,,2
+
+[Strings]
+ORACLE = "Oracle Corporation"
+VBoxVMM.DrvDesc = "VirtualBox VMM drivers"
+VBoxVMM.DskDesc = "VirtualBox VMM drivers"
+
diff --git a/src/VBox/Installer/win/Stub/Makefile.kmk b/src/VBox/Installer/win/Stub/Makefile.kmk
new file mode 100644
index 00000000..1bf99706
--- /dev/null
+++ b/src/VBox/Installer/win/Stub/Makefile.kmk
@@ -0,0 +1,174 @@
+# $Id: Makefile.kmk $
+## @file
+# Sub-Makefile for the stub installer.
+#
+
+#
+# Copyright (C) 2009-2023 Oracle and/or its affiliates.
+#
+# This file is part of VirtualBox base platform packages, as
+# available from https://www.virtualbox.org.
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation, in version 3 of the
+# License.
+#
+# This program is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, see <https://www.gnu.org/licenses>.
+#
+# SPDX-License-Identifier: GPL-3.0-only
+#
+
+SUB_DEPTH = ../../../../..
+include $(KBUILD_PATH)/subheader.kmk
+
+
+#
+# Special template variation.
+#
+TEMPLATE_VBoxStubTemplate := Drop the signing, we will sign it later.
+TEMPLATE_VBoxStubTemplate_EXTENDS := VBoxR3Static
+TEMPLATE_VBoxStubTemplate_POST_CMDS = $(NO_SUCH_VARIABLE)
+
+
+#
+# Installer stub program
+#
+PROGRAMS += VBoxStub
+VBoxStub_TEMPLATE := VBoxStubTemplate
+VBoxStub_BLD_TRG_ARCH := x86
+VBoxStub_DEFS := _WIN32_WINNT=0x0501 IN_RT_R3
+
+VBoxStub_SOURCES = \
+ VBoxStub.cpp \
+ VBoxStub.rc
+
+VBoxStub_SDKS = \
+ VBoxNtDll
+VBoxStub_LIBS += \
+ $(PATH_TOOL_$(VBOX_VCC_TOOL_STEM)X86_LIB)/delayimp.lib
+
+VBoxStub_LDFLAGS = -SubSystem:Windows -DelayLoad:comctl32.dll
+VBoxStub_POST_CMDS = $(VBOX_CHECK_IMPORTS) --image $(out) ntdll.dll kernel32.dll
+ifeq ($(KBUILD_TYPE),asan)
+ VBoxStub_POST_CMDS += advapi32.dll
+endif
+VBoxStub_LNK_DEPS = $(VBOX_CHECK_IMPORTS)
+
+VBoxStub.cpp_DEFS += VBOX_SVN_REV=$(VBOX_SVN_REV)
+VBoxStub.cpp_DEPS = $(VBOX_SVN_REV_KMK)
+
+# If signing mode is enabled, then add the possibility to install the code
+# signing certificates (public key only) automatically in /silent mode.
+ifdef VBOX_SIGNING_MODE
+
+ VBoxStub_SOURCES += VBoxStubCertUtil.cpp
+ VBoxStub_CLEAN += $(VBoxStub_0_OUTDIR)/VBoxStubPublicCert.h
+ VBoxStub.cpp_DEPS += $(VBoxStub_0_OUTDIR)/VBoxStubPublicCert.h
+ VBoxStub.cpp_INCS += $(VBoxStub_0_OUTDIR)
+ VBoxStub.cpp_DEFS += VBOX_WITH_CODE_SIGNING
+ ifdef VBOX_WITH_VBOX_LEGACY_TS_CA
+ VBoxStub.cpp_DEFS += VBOX_WITH_VBOX_LEGACY_TS_CA
+ endif
+
+ $$(VBoxStub_0_OUTDIR)/VBoxStubPublicCert.h: | $$(dir $$@) $(VBOX_RTSIGNTOOL) $(VBOX_BIN2C) $(PATH_STAGE_SYS)/VBoxSup.sys
+ $(RM) -f -- "$@" "$@.cer0" "$@.cer1" "$@.cer2" "$@.array"
+
+ $(VBOX_RTSIGNTOOL) extract-exe-signer-cert --signature-index 0 --exe "$(PATH_STAGE_SYS)/VBoxSup.sys" --output "$@.cer0" --der
+ $(VBOX_BIN2C) -ascii --append VBoxStubTrustedCert0 "$@.cer0" $@
+ $(APPEND) "$@.array" " { g_abVBoxStubTrustedCert0, sizeof(g_abVBoxStubTrustedCert0) }, "
+ if defined(VBOX_CERTIFICATE_SUBJECT_NAME) && defined(VBOX_CERTIFICATE_SHA2_SUBJECT_NAME)
+ $(VBOX_RTSIGNTOOL) extract-exe-signer-cert --signature-index 1 --exe "$(PATH_STAGE_SYS)/VBoxSup.sys" --output "$@.cer1" --der
+ $(VBOX_BIN2C) -ascii --append VBoxStubTrustedCert1 "$@.cer1" $@
+ $(APPEND) "$@.array" " { g_abVBoxStubTrustedCert1, sizeof(g_abVBoxStubTrustedCert1) }, "
+ endif
+ if $(intersects win_planb,$(VBOX_WITH_CORP_CODE_SIGNING))
+ $(VBOX_RTSIGNTOOL) extract-exe-signer-cert --signature-index 1 --exe "$(VBOX_RTSIGNTOOL)" --output "$@.cer2" --der
+ $(VBOX_BIN2C) -ascii --append VBoxStubTrustedCert2 "$@.cer2" $@
+ $(APPEND) "$@.array" " { g_abVBoxStubTrustedCert2, sizeof(g_abVBoxStubTrustedCert2) }, "
+ endif
+ $(APPEND) -n "$@" \
+ "" \
+ "struct { uint8_t const *pab; uint32_t cb; }" "g_aVBoxStubTrustedCerts[] = " \
+ "{"
+ $(SED) --append "$@" -e "" "$@.array"
+ $(APPEND) -n "$@" \
+ "};"
+ $(RM) -f -- "$@.cer0" "$@.cer1" "$@.cer2" "$@.array"
+ ifdef VBOX_WITH_VBOX_LEGACY_TS_CA
+ $(RM) -f -- "$@.cer_tsca"
+ $(VBOX_RTSIGNTOOL) extract-timestamp-root --self-signed-roots-from-system --signature-index 0 --input "$(PATH_STAGE_SYS)/VBoxSup.sys" --output "$@.cer_tsca"
+ $(VBOX_BIN2C) -ascii --append VBoxLegacyWinCA "$@.cer_tsca" $@
+ $(RM) -f -- "$@.cer_tsca"
+ endif
+
+ VBoxStubPublicCert.h:: $$(VBoxStub_0_OUTDIR)/VBoxStubPublicCert.h
+
+endif
+
+# The icon location is configurable.
+VBoxStub.rc_INCS += $(VBoxStub_0_OUTDIR)
+VBoxStub.rc_DEPS += \
+ $(VBoxStub_0_OUTDIR)/VBoxStub-icon.rc \
+ $(VBoxStub_0_OUTDIR)/VBoxStub-manifest.rc
+VBoxStub_CLEAN += \
+ $(VBoxStub_0_OUTDIR)/VBoxStub-icon.rc \
+ $(VBoxStub_0_OUTDIR)/VBoxStub-manifest.rc
+
+# Icon include file.
+$$(VBoxStub_0_OUTDIR)/VBoxStub-icon.rc: $(VBOX_WINDOWS_ICON_FILE) $(MAKEFILE_CURRENT) | $$(dir $$@)
+ $(APPEND) -t $@ 'IDI_VIRTUALBOX ICON DISCARDABLE "$(subst /,\\,$(VBOX_WINDOWS_ICON_FILE))"'
+
+# Manifest.
+VBOX_STUB_MANIFEST_FILE := $(PATH_SUB_CURRENT)/VBoxStub.manifest
+$$(VBoxStub_0_OUTDIR)/VBoxStub-manifest.rc: $(VBOX_STUB_MANIFEST_FILE) $(MAKEFILE_CURRENT) | $$(dir $$@)
+ $(APPEND) -t $@ 'APP_MANIFEST RT_MANIFEST "$(subst /,\\,$(VBOX_STUB_MANIFEST_FILE))"'
+
+# Dynamic import no. 1: MSI.DLL
+VBoxStub_SOURCES += $(VBoxStub_0_OUTDIR)/MsiLazyLoad.asm
+VBoxStub_CLEAN += $(VBoxStub_0_OUTDIR)/MsiLazyLoad.asm
+$$(VBoxStub_0_OUTDIR)/MsiLazyLoad.asm: $(PATH_SUB_CURRENT)/msi.def $(VBOX_DEF_2_LAZY_LOAD) | $$(dir $$@)
+ $(call MSG_TOOL,VBoxDef2LazyLoad,VBoxStub,$(filter %.def, $^),$@)
+ $(QUIET)$(RM) -f -- "$@"
+ $(VBOX_DEF_2_LAZY_LOAD) --system --library MSI.DLL --output "$@" $(filter %.def, $^)
+
+# Dynamic import no. 2: CRYPTO32.DLL
+VBoxStub_SOURCES += $(VBoxStub_0_OUTDIR)/Crypt32LazyLoad.asm
+VBoxStub_CLEAN += $(VBoxStub_0_OUTDIR)/Crypt32LazyLoad.asm
+$$(VBoxStub_0_OUTDIR)/Crypt32LazyLoad.asm: $(PATH_SUB_CURRENT)/crypt32.def $(VBOX_DEF_2_LAZY_LOAD) | $$(dir $$@)
+ $(call MSG_TOOL,VBoxDef2LazyLoad,VBoxStub,$(filter %.def, $^),$@)
+ $(QUIET)$(RM) -f -- "$@"
+ $(VBOX_DEF_2_LAZY_LOAD) --system --library CRYPT32.DLL --output "$@" $(filter %.def, $^)
+
+# Dynamic import no. 3: WS2_32.DLL
+VBoxStub_SOURCES += $(VBoxStub_0_OUTDIR)/Ws232LazyLoad.asm
+VBoxStub_CLEAN += $(VBoxStub_0_OUTDIR)/Ws232LazyLoad.asm
+$$(VBoxStub_0_OUTDIR)/Ws232LazyLoad.asm: $(PATH_SUB_CURRENT)/ws2_32.def $(VBOX_DEF_2_LAZY_LOAD) | $$(dir $$@)
+ $(call MSG_TOOL,VBoxDef2LazyLoad,VBoxStub,$(filter %.def, $^),$@)
+ $(QUIET)$(RM) -f -- "$@"
+ $(VBOX_DEF_2_LAZY_LOAD) --system --library WS2_32.DLL --output "$@" $(filter %.def, $^)
+
+# Dynamic import no. 4: USER32.DLL
+VBoxStub_SOURCES += $(VBoxStub_0_OUTDIR)/User32LazyLoad.asm
+VBoxStub_CLEAN += $(VBoxStub_0_OUTDIR)/User32LazyLoad.asm
+$$(VBoxStub_0_OUTDIR)/User32LazyLoad.asm: $(PATH_SUB_CURRENT)/user32.def $(VBOX_DEF_2_LAZY_LOAD) | $$(dir $$@)
+ $(call MSG_TOOL,VBoxDef2LazyLoad,VBoxStub,$(filter %.def, $^),$@)
+ $(QUIET)$(RM) -f -- "$@"
+ $(VBOX_DEF_2_LAZY_LOAD) --system --library USER32.DLL --output "$@" $(filter %.def, $^)
+
+# Dynamic import no. 5: SHELL32.DLL
+VBoxStub_SOURCES += $(VBoxStub_0_OUTDIR)/Shell32LazyLoad.asm
+VBoxStub_CLEAN += $(VBoxStub_0_OUTDIR)/Shell32LazyLoad.asm
+$$(VBoxStub_0_OUTDIR)/Shell32LazyLoad.asm: $(PATH_SUB_CURRENT)/shell32.def $(VBOX_DEF_2_LAZY_LOAD) | $$(dir $$@)
+ $(call MSG_TOOL,VBoxDef2LazyLoad,VBoxStub,$(filter %.def, $^),$@)
+ $(QUIET)$(RM) -f -- "$@"
+ $(VBOX_DEF_2_LAZY_LOAD) --system --library SHELL32.DLL --output "$@" $(filter %.def, $^)
+
+include $(FILE_KBUILD_SUB_FOOTER)
+
diff --git a/src/VBox/Installer/win/Stub/VBoxStub.cpp b/src/VBox/Installer/win/Stub/VBoxStub.cpp
new file mode 100644
index 00000000..eea8a47d
--- /dev/null
+++ b/src/VBox/Installer/win/Stub/VBoxStub.cpp
@@ -0,0 +1,1522 @@
+/* $Id: VBoxStub.cpp $ */
+/** @file
+ * VBoxStub - VirtualBox's Windows installer stub.
+ */
+
+/*
+ * Copyright (C) 2010-2023 Oracle and/or its affiliates.
+ *
+ * This file is part of VirtualBox base platform packages, as
+ * available from https://www.virtualbox.org.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation, in version 3 of the
+ * License.
+ *
+ * This program is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, see <https://www.gnu.org/licenses>.
+ *
+ * SPDX-License-Identifier: GPL-3.0-only
+ */
+
+
+/*********************************************************************************************************************************
+* Header Files *
+*********************************************************************************************************************************/
+#include <iprt/win/windows.h>
+#include <iprt/win/commctrl.h>
+#include <lmerr.h>
+#include <msiquery.h>
+#include <iprt/win/objbase.h>
+#include <iprt/win/shlobj.h>
+
+#include <VBox/version.h>
+
+#include <iprt/assert.h>
+#include <iprt/dir.h>
+#include <iprt/err.h>
+#include <iprt/file.h>
+#include <iprt/getopt.h>
+#include <iprt/initterm.h>
+#include <iprt/list.h>
+#include <iprt/mem.h>
+#include <iprt/message.h>
+#include <iprt/param.h>
+#include <iprt/path.h>
+#include <iprt/stream.h>
+#include <iprt/string.h>
+#include <iprt/system.h>
+#include <iprt/thread.h>
+#include <iprt/utf16.h>
+
+#ifndef IPRT_NO_CRT
+# include <stdio.h>
+# include <stdlib.h>
+#endif
+
+#include "VBoxStub.h"
+#include "../StubBld/VBoxStubBld.h"
+#include "resource.h"
+
+#ifdef VBOX_WITH_CODE_SIGNING
+# include "VBoxStubCertUtil.h"
+# include "VBoxStubPublicCert.h"
+#endif
+
+
+/*********************************************************************************************************************************
+* Defined Constants And Macros *
+*********************************************************************************************************************************/
+#define MY_UNICODE_SUB(str) L ##str
+#define MY_UNICODE(str) MY_UNICODE_SUB(str)
+
+/* Use an own console window if run in verbose mode. */
+#define VBOX_STUB_WITH_OWN_CONSOLE
+
+
+/*********************************************************************************************************************************
+* Structures and Typedefs *
+*********************************************************************************************************************************/
+/**
+ * Cleanup record.
+ */
+typedef struct STUBCLEANUPREC
+{
+ /** List entry. */
+ RTLISTNODE ListEntry;
+ /** Stub package index (zero-based) this record belongs to. */
+ unsigned idxPkg;
+ /** True if file, false if directory. */
+ bool fFile;
+ /** Set if we should not delete the file/directory.
+ * This is used for user supplied extraction directories. */
+ bool fDontDelete;
+ union
+ {
+ /** File handle (if \a fFile is \c true). */
+ RTFILE hFile;
+ /** Directory handle (if \a fFile is \c false). */
+ RTDIR hDir;
+ };
+ /** The path to the file or directory to clean up. */
+ char szPath[1];
+} STUBCLEANUPREC;
+/** Pointer to a cleanup record. */
+typedef STUBCLEANUPREC *PSTUBCLEANUPREC;
+
+
+/*********************************************************************************************************************************
+* Prototypes *
+*********************************************************************************************************************************/
+static PSTUBCLEANUPREC AddCleanupRec(const char *pszPath, bool fIsFile);
+
+
+/*********************************************************************************************************************************
+* Global Variables *
+*********************************************************************************************************************************/
+/** Whether it's a silent or interactive GUI driven install. */
+static bool g_fSilent = false;
+/** List of temporary files. */
+static RTLISTANCHOR g_TmpFiles;
+/** Verbosity flag. */
+static int g_iVerbosity = 0;
+
+
+
+/**
+ * Shows an error message box with a printf() style formatted string.
+ *
+ * @returns RTEXITCODE_FAILURE
+ * @param pszFmt Printf-style format string to show in the message box body.
+ *
+ */
+static RTEXITCODE ShowError(const char *pszFmt, ...)
+{
+ char *pszMsg;
+ va_list va;
+
+ va_start(va, pszFmt);
+ if (RTStrAPrintfV(&pszMsg, pszFmt, va))
+ {
+ if (g_fSilent)
+ RTMsgError("%s", pszMsg);
+ else
+ {
+ PRTUTF16 pwszMsg;
+ int rc = RTStrToUtf16(pszMsg, &pwszMsg);
+ if (RT_SUCCESS(rc))
+ {
+ MessageBoxW(GetDesktopWindow(), pwszMsg, MY_UNICODE(VBOX_STUB_TITLE), MB_ICONERROR);
+ RTUtf16Free(pwszMsg);
+ }
+ else
+ MessageBoxA(GetDesktopWindow(), pszMsg, VBOX_STUB_TITLE, MB_ICONERROR);
+ }
+ RTStrFree(pszMsg);
+ }
+ else /* Should never happen! */
+ AssertMsgFailed(("Failed to format error text of format string: %s!\n", pszFmt));
+ va_end(va);
+ return RTEXITCODE_FAILURE;
+}
+
+
+/**
+ * Same as ShowError, only it returns RTEXITCODE_SYNTAX.
+ */
+static RTEXITCODE ShowSyntaxError(const char *pszFmt, ...)
+{
+ va_list va;
+ va_start(va, pszFmt);
+ ShowError("%N", pszFmt, &va);
+ va_end(va);
+ return RTEXITCODE_SYNTAX;
+}
+
+
+/**
+ * Shows a message box with a printf() style formatted string.
+ *
+ * @param uType Type of the message box (see MSDN).
+ * @param pszFmt Printf-style format string to show in the message box body.
+ *
+ */
+static void ShowInfo(const char *pszFmt, ...)
+{
+ char *pszMsg;
+ va_list va;
+ va_start(va, pszFmt);
+ int rc = RTStrAPrintfV(&pszMsg, pszFmt, va);
+ va_end(va);
+ if (rc >= 0)
+ {
+ if (g_fSilent)
+ RTPrintf("%s\n", pszMsg);
+ else
+ {
+ PRTUTF16 pwszMsg;
+ rc = RTStrToUtf16(pszMsg, &pwszMsg);
+ if (RT_SUCCESS(rc))
+ {
+ MessageBoxW(GetDesktopWindow(), pwszMsg, MY_UNICODE(VBOX_STUB_TITLE), MB_ICONINFORMATION);
+ RTUtf16Free(pwszMsg);
+ }
+ else
+ MessageBoxA(GetDesktopWindow(), pszMsg, VBOX_STUB_TITLE, MB_ICONINFORMATION);
+ }
+ }
+ else /* Should never happen! */
+ AssertMsgFailed(("Failed to format error text of format string: %s!\n", pszFmt));
+ RTStrFree(pszMsg);
+}
+
+
+/** Logs error details to stderr. */
+static void LogError(const char *pszFmt, ...)
+{
+ va_list va;
+ va_start(va, pszFmt);
+ RTStrmPrintf(g_pStdErr, "error: %N\n", pszFmt, &va);
+ va_end(va);
+}
+
+
+/** Logs error details to stderr, returning @a rc. */
+static int LogErrorRc(int rc, const char *pszFmt, ...)
+{
+ va_list va;
+ va_start(va, pszFmt);
+ RTStrmPrintf(g_pStdErr, "error: %N\n", pszFmt, &va);
+ va_end(va);
+ return rc;
+}
+
+
+/** Logs error details to stderr, RTEXITCODE_FAILURE. */
+static RTEXITCODE LogErrorExitFailure(const char *pszFmt, ...)
+{
+ va_list va;
+ va_start(va, pszFmt);
+ RTStrmPrintf(g_pStdErr, "error: %N\n", pszFmt, &va);
+ va_end(va);
+ return RTEXITCODE_FAILURE;
+}
+
+
+/**
+ * Finds the specified in the resource section of the executable.
+ *
+ * @returns IPRT status code.
+ *
+ * @param pszDataName Name of resource to read.
+ * @param ppbResource Where to return the pointer to the data.
+ * @param pcbResource Where to return the size of the data (if found).
+ * Optional.
+ */
+static int FindData(const char *pszDataName, uint8_t const **ppbResource, DWORD *pcbResource)
+{
+ AssertReturn(pszDataName, VERR_INVALID_PARAMETER);
+ HINSTANCE hInst = NULL; /* indicates the executable image */
+
+ /* Find our resource. */
+ PRTUTF16 pwszDataName;
+ int rc = RTStrToUtf16(pszDataName, &pwszDataName);
+ AssertRCReturn(rc, rc);
+ HRSRC hRsrc = FindResourceExW(hInst,
+ (LPWSTR)RT_RCDATA,
+ pwszDataName,
+ MAKELANGID(LANG_NEUTRAL, SUBLANG_NEUTRAL));
+ RTUtf16Free(pwszDataName);
+ AssertReturn(hRsrc, VERR_IO_GEN_FAILURE);
+
+ /* Get resource size. */
+ DWORD cb = SizeofResource(hInst, hRsrc);
+ AssertReturn(cb > 0, VERR_NO_DATA);
+ if (pcbResource)
+ *pcbResource = cb;
+
+ /* Get pointer to resource. */
+ HGLOBAL hData = LoadResource(hInst, hRsrc);
+ AssertReturn(hData, VERR_IO_GEN_FAILURE);
+
+ /* Lock resource. */
+ *ppbResource = (uint8_t const *)LockResource(hData);
+ AssertReturn(*ppbResource, VERR_IO_GEN_FAILURE);
+ return VINF_SUCCESS;
+}
+
+
+/**
+ * Finds the header for the given package.
+ *
+ * @returns Pointer to the package header on success. On failure NULL is
+ * returned after ShowError has been invoked.
+ * @param iPackage The package number.
+ */
+static const VBOXSTUBPKG *FindPackageHeader(unsigned iPackage)
+{
+ char szHeaderName[32];
+ RTStrPrintf(szHeaderName, sizeof(szHeaderName), "HDR_%02d", iPackage);
+
+ VBOXSTUBPKG const *pPackage;
+ int rc = FindData(szHeaderName, (uint8_t const **)&pPackage, NULL);
+ if (RT_FAILURE(rc))
+ {
+ ShowError("Internal error: Could not find package header #%u: %Rrc", iPackage, rc);
+ return NULL;
+ }
+
+ /** @todo validate it. */
+ return pPackage;
+}
+
+
+
+/**
+ * Constructs a full temporary file path from the given parameters.
+ *
+ * @returns iprt status code.
+ *
+ * @param pszTempPath The pure path to use for construction.
+ * @param pszTargetFileName The pure file name to use for construction.
+ * @param ppszTempFile Pointer to the constructed string. Must be freed
+ * using RTStrFree().
+ */
+static int GetTempFileAlloc(const char *pszTempPath,
+ const char *pszTargetFileName,
+ char **ppszTempFile)
+{
+ if (RTStrAPrintf(ppszTempFile, "%s\\%s", pszTempPath, pszTargetFileName) >= 0)
+ return VINF_SUCCESS;
+ return VERR_NO_STR_MEMORY;
+}
+
+
+/**
+ * Extracts a built-in resource to disk.
+ *
+ * @returns iprt status code.
+ *
+ * @param pszResourceName The resource name to extract.
+ * @param pszTempFile The full file path + name to extract the resource to.
+ * @param hFile Handle to pszTempFile if RTFileCreateUnique was
+ * used to generate the name, otherwise NIL_RTFILE.
+ * @param idxPackage The package index for annotating the cleanup
+ * record with (HACK ALERT).
+ */
+static int ExtractFile(const char *pszResourceName, const char *pszTempFile, RTFILE hFile, unsigned idxPackage)
+{
+ AssertPtrReturn(pszResourceName, VERR_INVALID_POINTER);
+ AssertPtrReturn(pszTempFile, VERR_INVALID_POINTER);
+
+ /* Create new (and replace any old) file. */
+ if (hFile == NIL_RTFILE)
+ {
+ int rc = RTFileOpen(&hFile, pszTempFile,
+ RTFILE_O_CREATE_REPLACE | RTFILE_O_WRITE | RTFILE_O_DENY_WRITE
+ | (0700 << RTFILE_O_CREATE_MODE_SHIFT));
+ AssertRCReturn(rc, LogErrorRc(rc, "#%u: Failed to create/replace '%s' for writing: %Rrc", idxPackage, pszTempFile, rc));
+ }
+
+ /* Add a cleanup record, so that we can properly clean up (partially run) stuff. */
+ int rc = VERR_NO_MEMORY;
+ PSTUBCLEANUPREC pCleanupRec = AddCleanupRec(pszTempFile, true /*fIsFile*/);
+ AssertReturn(pCleanupRec, VERR_NO_MEMORY);
+
+ pCleanupRec->idxPkg = idxPackage;
+ pCleanupRec->hFile = hFile;
+
+ /* Find the data of the built-in resource. */
+ uint8_t const *pbData = NULL;
+ DWORD cbData = 0;
+ rc = FindData(pszResourceName, &pbData, &cbData);
+ AssertRCReturn(rc, LogErrorRc(rc, "#%u: Failed to locate resource '%s': %Rrc", idxPackage, pszResourceName, rc));
+
+ /* Write the contents to the file. */
+ rc = RTFileWrite(hFile, pbData, cbData, NULL);
+ AssertRCReturn(rc, LogErrorRc(rc, "#%u: RTFileWrite('%s',, %#x,) failed: %Rrc", idxPackage, pszTempFile, cbData, rc));
+
+ /*
+ * We now wish to keep the file open, however since we've got it open in write
+ * mode with deny-write sharing (effectively exclusive write mode) this will
+ * prevent the MSI API from opening it in deny-write mode for reading purposes.
+ *
+ * So we have to do the best we can to transition this to a read-only handle
+ * that denies write (and deletion/renaming). First we open it again in
+ * read-only mode only denying deletion, not writing. Then close the original
+ * handle. Finally open a read-only handle that denies both reading and
+ * deletion/renaming, and verify that the file content is still the same.
+ *
+ * Note! DuplicateHandle to read-only and closing the original does not work,
+ * as the kernel doesn't update the sharing access info for the handles.
+ */
+ RTFSOBJINFO ObjInfo1;
+ rc = RTFileQueryInfo(hFile, &ObjInfo1, RTFSOBJATTRADD_UNIX);
+ AssertRCReturn(rc, LogErrorRc(rc, "#%u: RTFileQueryInfo failed on '%s': %Rrc", idxPackage, pszTempFile, rc));
+
+ RTFILE hFile2 = NIL_RTFILE;
+ rc = RTFileOpen(&hFile2, pszTempFile,
+ RTFILE_O_OPEN | RTFILE_O_READ | RTFILE_O_DENY_NONE | (0700 << RTFILE_O_CREATE_MODE_SHIFT));
+ AssertRCReturn(rc, LogErrorRc(rc, "#%u: First re-opening of '%s' failed: %Rrc", idxPackage, pszTempFile, rc));
+
+ rc = RTFileClose(hFile);
+ AssertRCReturnStmt(rc, RTFileClose(hFile2),
+ LogErrorRc(rc, "#%u: RTFileClose('%s') failed: %Rrc", idxPackage, pszTempFile, rc));
+ pCleanupRec->hFile = hFile2;
+
+ rc = RTFileOpen(&hFile, pszTempFile, RTFILE_O_OPEN | RTFILE_O_READ | RTFILE_O_DENY_WRITE);
+ AssertRCReturn(rc, LogErrorRc(rc, "#%u: Second re-opening of '%s' failed: %Rrc", idxPackage, pszTempFile, rc));
+ pCleanupRec->hFile = hFile;
+
+ rc = RTFileClose(hFile2);
+ AssertRCStmt(rc, LogError("#%u: Failed to close 2nd handle to '%s': %Rrc", idxPackage, pszTempFile, rc));
+
+ /* check the size and inode number. */
+ RTFSOBJINFO ObjInfo2;
+ rc = RTFileQueryInfo(hFile, &ObjInfo2, RTFSOBJATTRADD_UNIX);
+ AssertRCReturn(rc, LogErrorRc(rc, "#%u: RTFileQueryInfo failed on '%s': %Rrc", idxPackage, pszTempFile, rc));
+
+ AssertReturn(ObjInfo2.cbObject == cbData,
+ LogErrorRc(VERR_STATE_CHANGED, "#%u: File size of '%s' changed: %'RU64, expected %'RU32",
+ idxPackage, pszTempFile, ObjInfo2.cbObject, pbData));
+
+ AssertReturn(ObjInfo2.Attr.u.Unix.INodeId == ObjInfo1.Attr.u.Unix.INodeId,
+ LogErrorRc(VERR_STATE_CHANGED, "#%u: File ID of '%s' changed: %#RX64, expected %#RX64",
+ idxPackage, pszTempFile, ObjInfo2.Attr.u.Unix.INodeId, ObjInfo1.Attr.u.Unix.INodeId));
+
+
+ /* Check the content. */
+ uint32_t off = 0;
+ while (off < cbData)
+ {
+ uint8_t abBuf[_64K];
+ size_t cbToRead = RT_MIN(cbData - off, sizeof(abBuf));
+ rc = RTFileRead(hFile, abBuf, cbToRead, NULL);
+ AssertRCReturn(rc, LogErrorRc(rc, "#%u: RTFileRead failed on '%s' at offset %#RX32: %Rrc",
+ idxPackage, pszTempFile, off, rc));
+ AssertReturn(memcmp(abBuf, &pbData[off], cbToRead) == 0,
+ LogErrorRc(VERR_STATE_CHANGED, "#%u: File '%s' has change (mismatch in %#zx byte block at %#RX32)",
+ idxPackage, pszTempFile, cbToRead, off));
+ off += cbToRead;
+ }
+
+ return VINF_SUCCESS;
+}
+
+
+/**
+ * Extracts a built-in resource to disk.
+ *
+ * @returns iprt status code.
+ *
+ * @param pPackage Pointer to a VBOXSTUBPKG struct that contains the resource.
+ * @param pszTempFile The full file path + name to extract the resource to.
+ * @param hFile Handle to pszTempFile if RTFileCreateUnique was
+ * used to generate the name, otherwise NIL_RTFILE.
+ * @param idxPackage The package index for annotating the cleanup
+ * record with (HACK ALERT).
+ */
+static int Extract(VBOXSTUBPKG const *pPackage, const char *pszTempFile, RTFILE hFile, unsigned idxPackage)
+{
+ return ExtractFile(pPackage->szResourceName, pszTempFile, hFile, idxPackage);
+}
+
+
+/**
+ * Detects whether we're running on a 32- or 64-bit platform and returns the result.
+ *
+ * @returns TRUE if we're running on a 64-bit OS, FALSE if not.
+ */
+static BOOL IsWow64(void)
+{
+ BOOL fIsWow64 = TRUE;
+ fnIsWow64Process = (LPFN_ISWOW64PROCESS)GetProcAddress(GetModuleHandle(TEXT("kernel32")), "IsWow64Process");
+ if (NULL != fnIsWow64Process)
+ {
+ if (!fnIsWow64Process(GetCurrentProcess(), &fIsWow64))
+ {
+ /* Error in retrieving process type - assume that we're running on 32bit. */
+ return FALSE;
+ }
+ }
+ return fIsWow64;
+}
+
+
+/**
+ * Decides whether we need a specified package to handle or not.
+ *
+ * @returns @c true if we need to handle the specified package, @c false if not.
+ *
+ * @param pPackage Pointer to a VBOXSTUBPKG struct that contains the resource.
+ */
+static bool PackageIsNeeded(VBOXSTUBPKG const *pPackage)
+{
+ if (pPackage->enmArch == VBOXSTUBPKGARCH_ALL)
+ return true;
+ VBOXSTUBPKGARCH enmArch = IsWow64() ? VBOXSTUBPKGARCH_AMD64 : VBOXSTUBPKGARCH_X86;
+ return pPackage->enmArch == enmArch;
+}
+
+
+/**
+ * Adds a cleanup record.
+ *
+ * The caller must set the hFile or hDir if so desired.
+ *
+ * @returns Pointer to the cleanup record on success, fully complained NULL on
+ * failure.
+ * @param pszPath The path to the file or directory to clean up.
+ * @param fIsFile @c true if file, @c false if directory.
+ */
+static PSTUBCLEANUPREC AddCleanupRec(const char *pszPath, bool fIsFile)
+{
+ size_t cchPath = strlen(pszPath); Assert(cchPath > 0);
+ PSTUBCLEANUPREC pRec = (PSTUBCLEANUPREC)RTMemAllocZ(RT_UOFFSETOF_DYN(STUBCLEANUPREC, szPath[cchPath + 1]));
+ if (pRec)
+ {
+ pRec->idxPkg = ~0U;
+ pRec->fFile = fIsFile;
+ if (fIsFile)
+ pRec->hFile = NIL_RTFILE;
+ else
+ pRec->hDir = NIL_RTDIR;
+ memcpy(pRec->szPath, pszPath, cchPath + 1);
+
+ RTListPrepend(&g_TmpFiles, &pRec->ListEntry);
+ }
+ else
+ ShowError("Out of memory!");
+ return pRec;
+}
+
+
+/**
+ * Cleans up all the extracted files and optionally removes the package
+ * directory.
+ *
+ * @param pszPkgDir The package directory, NULL if it shouldn't be
+ * removed.
+ */
+static void CleanUp(const char *pszPkgDir)
+{
+ for (int i = 0; i < 5; i++)
+ {
+ bool const fFinalTry = i == 4;
+
+ PSTUBCLEANUPREC pCur, pNext;
+ RTListForEachSafe(&g_TmpFiles, pCur, pNext, STUBCLEANUPREC, ListEntry)
+ {
+ int rc = VINF_SUCCESS;
+ if (pCur->fFile)
+ {
+ if (pCur->hFile != NIL_RTFILE)
+ {
+ if (RTFileIsValid(pCur->hFile))
+ {
+ int rcCloseFile = RTFileClose(pCur->hFile);
+ AssertRCStmt(rcCloseFile, LogError("Cleanup file '%s' for #%u: RTFileClose(%p) failed: %Rrc",
+ pCur->szPath, pCur->idxPkg, pCur->hFile, rcCloseFile));
+ }
+ pCur->hFile = NIL_RTFILE;
+ }
+ if (!pCur->fDontDelete)
+ rc = RTFileDelete(pCur->szPath);
+ }
+ else /* Directory */
+ {
+ if (pCur->hDir != NIL_RTDIR)
+ {
+ if (RTDirIsValid(pCur->hDir))
+ {
+ int rcCloseDir = RTDirClose(pCur->hDir);
+ AssertRCStmt(rcCloseDir, LogError("Cleanup dir '%s' for #%u: RTDirClose(%p) failed: %Rrc",
+ pCur->szPath, pCur->idxPkg, pCur->hDir, rcCloseDir));
+ }
+ pCur->hDir = NIL_RTDIR;
+ }
+
+ /* Note: Not removing the directory recursively, as we should have separate cleanup records for that. */
+ if (!pCur->fDontDelete)
+ {
+ rc = RTDirRemove(pCur->szPath);
+ if (rc == VERR_DIR_NOT_EMPTY && fFinalTry)
+ rc = VINF_SUCCESS;
+ }
+ }
+ if (rc == VERR_FILE_NOT_FOUND || rc == VERR_PATH_NOT_FOUND)
+ rc = VINF_SUCCESS;
+ if (RT_SUCCESS(rc))
+ {
+ RTListNodeRemove(&pCur->ListEntry);
+ RTMemFree(pCur);
+ }
+ else if (fFinalTry)
+ {
+ if (pCur->fFile)
+ ShowError("Failed to delete temporary file '%s': %Rrc", pCur->szPath, rc);
+ else
+ ShowError("Failed to delete temporary directory '%s': %Rrc", pCur->szPath, rc);
+ }
+ }
+
+ if (RTListIsEmpty(&g_TmpFiles) || fFinalTry)
+ {
+ if (!pszPkgDir)
+ return;
+ int rc = RTDirRemove(pszPkgDir);
+ if (RT_SUCCESS(rc) || rc == VERR_FILE_NOT_FOUND || rc == VERR_PATH_NOT_FOUND || fFinalTry)
+ return;
+ }
+
+ /* Delay a little and try again. */
+ RTThreadSleep(i == 0 ? 100 : 3000);
+ }
+}
+
+
+/**
+ * Processes an MSI package.
+ *
+ * @returns Fully complained exit code.
+ * @param pszMsi The path to the MSI to process.
+ * @param pszMsiArgs Any additional installer (MSI) argument
+ * @param pszMsiLogFile Where to let MSI log its output to. NULL if logging is disabled.
+ */
+static RTEXITCODE ProcessMsiPackage(const char *pszMsi, const char *pszMsiArgs, const char *pszMsiLogFile)
+{
+ int rc;
+
+ /*
+ * Set UI level.
+ */
+ INSTALLUILEVEL enmDesiredUiLevel = g_fSilent ? INSTALLUILEVEL_NONE : INSTALLUILEVEL_FULL;
+ INSTALLUILEVEL enmRet = MsiSetInternalUI(enmDesiredUiLevel, NULL);
+ if (enmRet == INSTALLUILEVEL_NOCHANGE /* means error */)
+ return ShowError("Internal error: MsiSetInternalUI failed.");
+
+ /*
+ * Enable logging?
+ */
+ if (pszMsiLogFile)
+ {
+ PRTUTF16 pwszLogFile;
+ rc = RTStrToUtf16(pszMsiLogFile, &pwszLogFile);
+ if (RT_FAILURE(rc))
+ return ShowError("RTStrToUtf16 failed on '%s': %Rrc", pszMsiLogFile, rc);
+
+ UINT uLogLevel = MsiEnableLogW(INSTALLLOGMODE_VERBOSE,
+ pwszLogFile,
+ INSTALLLOGATTRIBUTES_FLUSHEACHLINE);
+ RTUtf16Free(pwszLogFile);
+ if (uLogLevel != ERROR_SUCCESS)
+ return ShowError("MsiEnableLogW failed");
+ }
+
+ /*
+ * Initialize the common controls (extended version). This is necessary to
+ * run the actual .MSI installers with the new fancy visual control
+ * styles (XP+). Also, an integrated manifest is required.
+ */
+ INITCOMMONCONTROLSEX ccEx;
+ ccEx.dwSize = sizeof(INITCOMMONCONTROLSEX);
+ ccEx.dwICC = ICC_LINK_CLASS | ICC_LISTVIEW_CLASSES | ICC_PAGESCROLLER_CLASS |
+ ICC_PROGRESS_CLASS | ICC_STANDARD_CLASSES | ICC_TAB_CLASSES | ICC_TREEVIEW_CLASSES |
+ ICC_UPDOWN_CLASS | ICC_USEREX_CLASSES | ICC_WIN95_CLASSES;
+ InitCommonControlsEx(&ccEx); /* Ignore failure. */
+
+ /*
+ * Convert both strings to UTF-16 and start the installation.
+ */
+ PRTUTF16 pwszMsi;
+ rc = RTStrToUtf16(pszMsi, &pwszMsi);
+ if (RT_FAILURE(rc))
+ return ShowError("RTStrToUtf16 failed on '%s': %Rrc", pszMsi, rc);
+ PRTUTF16 pwszMsiArgs;
+ rc = RTStrToUtf16(pszMsiArgs, &pwszMsiArgs);
+ if (RT_FAILURE(rc))
+ {
+ RTUtf16Free(pwszMsi);
+ return ShowError("RTStrToUtf16 failed on '%s': %Rrc", pszMsiArgs, rc);
+ }
+
+ UINT uStatus = MsiInstallProductW(pwszMsi, pwszMsiArgs);
+ RTUtf16Free(pwszMsi);
+ RTUtf16Free(pwszMsiArgs);
+
+ if (uStatus == ERROR_SUCCESS)
+ return RTEXITCODE_SUCCESS;
+ if (uStatus == ERROR_SUCCESS_REBOOT_REQUIRED)
+ {
+ if (g_fSilent)
+ RTMsgInfo("Reboot required (by %s)\n", pszMsi);
+ return (RTEXITCODE)uStatus;
+ }
+
+ /*
+ * Installation failed. Figure out what to say.
+ */
+ switch (uStatus)
+ {
+ case ERROR_INSTALL_USEREXIT:
+ /* Don't say anything? */
+ break;
+
+ case ERROR_INSTALL_PACKAGE_VERSION:
+ ShowError("This installation package cannot be installed by the Windows Installer service.\n"
+ "You must install a Windows service pack that contains a newer version of the Windows Installer service.");
+ break;
+
+ case ERROR_INSTALL_PLATFORM_UNSUPPORTED:
+ ShowError("This installation package is not supported on this platform.");
+ break;
+
+ default:
+ {
+ /*
+ * Try get windows to format the message.
+ */
+ DWORD dwFormatFlags = FORMAT_MESSAGE_ALLOCATE_BUFFER
+ | FORMAT_MESSAGE_IGNORE_INSERTS
+ | FORMAT_MESSAGE_FROM_SYSTEM;
+ HMODULE hModule = NULL;
+ if (uStatus >= NERR_BASE && uStatus <= MAX_NERR)
+ {
+ hModule = LoadLibraryExW(L"netmsg.dll",
+ NULL,
+ LOAD_LIBRARY_AS_DATAFILE);
+ if (hModule != NULL)
+ dwFormatFlags |= FORMAT_MESSAGE_FROM_HMODULE;
+ }
+
+ PWSTR pwszMsg;
+ if (FormatMessageW(dwFormatFlags,
+ hModule, /* If NULL, load system stuff. */
+ uStatus,
+ MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT),
+ (PWSTR)&pwszMsg,
+ 0,
+ NULL) > 0)
+ {
+ ShowError("Installation failed! Error: %ls", pwszMsg);
+ LocalFree(pwszMsg);
+ }
+ else /* If text lookup failed, show at least the error number. */
+ ShowError("Installation failed! Error: %u", uStatus);
+
+ if (hModule)
+ FreeLibrary(hModule);
+ break;
+ }
+ }
+
+ return RTEXITCODE_FAILURE;
+}
+
+
+/**
+ * Processes a package.
+ *
+ * @returns Fully complained exit code.
+ * @param iPackage The package number.
+ * @param pszMsiArgs Any additional installer (MSI) argument
+ * @param pszMsiLogFile Where to let MSI log its output to. NULL if logging is disabled.
+ */
+static RTEXITCODE ProcessPackage(unsigned iPackage, const char *pszMsiArgs, const char *pszMsiLogFile)
+{
+ /*
+ * Get the package header and check if it's needed.
+ */
+ VBOXSTUBPKG const * const pPackage = FindPackageHeader(iPackage);
+ if (pPackage == NULL)
+ return RTEXITCODE_FAILURE;
+
+ if (!PackageIsNeeded(pPackage))
+ return RTEXITCODE_SUCCESS;
+
+ /*
+ * Get the cleanup record for the package so we can get the extracted
+ * filename (pPackage is read-only and thus cannot assist here).
+ */
+ PSTUBCLEANUPREC pRec = NULL;
+ PSTUBCLEANUPREC pCur;
+ RTListForEach(&g_TmpFiles, pCur, STUBCLEANUPREC, ListEntry)
+ {
+ if (pCur->idxPkg == iPackage)
+ {
+ pRec = pCur;
+ break;
+ }
+ }
+ AssertReturn(pRec != NULL, LogErrorExitFailure("Package #%u not found in cleanup records", iPackage));
+
+ /*
+ * Deal with the file based on it's extension.
+ */
+ RTPathChangeToDosSlashes(pRec->szPath, true /* Force conversion. */); /* paranoia */
+
+ RTEXITCODE rcExit;
+ const char *pszSuff = RTPathSuffix(pRec->szPath);
+ if (RTStrICmpAscii(pszSuff, ".msi") == 0)
+ rcExit = ProcessMsiPackage(pRec->szPath, pszMsiArgs, pszMsiLogFile);
+ else if (RTStrICmpAscii(pszSuff, ".cab") == 0)
+ rcExit = RTEXITCODE_SUCCESS; /* Ignore .cab files, they're generally referenced by other files. */
+ else
+ rcExit = ShowError("Internal error: Do not know how to handle file '%s' (%s).", pPackage->szFilename, pRec->szPath);
+ return rcExit;
+}
+
+#ifdef VBOX_WITH_CODE_SIGNING
+
+# ifdef VBOX_WITH_VBOX_LEGACY_TS_CA
+/**
+ * Install the timestamp CA currently needed to support legacy Windows versions.
+ *
+ * See @bugref{8691} for details.
+ *
+ * @returns Fully complained exit code.
+ */
+static RTEXITCODE InstallTimestampCA(bool fForce)
+{
+ /*
+ * Windows 10 desktop should be fine with attestation signed drivers, however
+ * the driver guard (DG) may alter that. Not sure yet how to detect, but
+ * OTOH 1809 and later won't accept the SHA-1 stuff regardless, so out of
+ * options there.
+ *
+ * The Windows 2016 server and later is not fine with attestation signed
+ * drivers, so we need to do the legacy trick there.
+ */
+ if ( !fForce
+ && RTSystemGetNtVersion() >= RTSYSTEM_MAKE_NT_VERSION(10, 0, 0)
+ && RTSystemGetNtProductType() == VER_NT_WORKSTATION)
+ return RTEXITCODE_SUCCESS;
+
+ if (!addCertToStore(CERT_SYSTEM_STORE_LOCAL_MACHINE, "Root", g_abVBoxLegacyWinCA, sizeof(g_abVBoxLegacyWinCA)))
+ return ShowError("Failed add the legacy Windows timestamp CA to the root certificate store.");
+ return RTEXITCODE_SUCCESS;
+}
+# endif /* VBOX_WITH_VBOX_LEGACY_TS_CA*/
+
+/**
+ * Install the public certificate into TrustedPublishers so the installer won't
+ * prompt the user during silent installs.
+ *
+ * @returns Fully complained exit code.
+ */
+static RTEXITCODE InstallCertificates(void)
+{
+ for (uint32_t i = 0; i < RT_ELEMENTS(g_aVBoxStubTrustedCerts); i++)
+ {
+ if (!addCertToStore(CERT_SYSTEM_STORE_LOCAL_MACHINE,
+ "TrustedPublisher",
+ g_aVBoxStubTrustedCerts[i].pab,
+ g_aVBoxStubTrustedCerts[i].cb))
+ return ShowError("Failed to add our certificate(s) to trusted publisher store.");
+ }
+ return RTEXITCODE_SUCCESS;
+}
+
+#endif /* VBOX_WITH_CODE_SIGNING */
+
+/**
+ * Copies the "<exepath>.custom" directory to the extraction path if it exists.
+ *
+ * This is used by the MSI packages from the resource section.
+ *
+ * @returns Fully complained exit code.
+ * @param pszDstDir The destination directory.
+ */
+static RTEXITCODE CopyCustomDir(const char *pszDstDir)
+{
+ char szSrcDir[RTPATH_MAX];
+ int rc = RTPathExecDir(szSrcDir, sizeof(szSrcDir));
+ if (RT_SUCCESS(rc))
+ rc = RTPathAppend(szSrcDir, sizeof(szSrcDir), ".custom");
+ if (RT_FAILURE(rc))
+ return ShowError("Failed to construct '.custom' dir path: %Rrc", rc);
+
+ if (RTDirExists(szSrcDir))
+ {
+ /*
+ * Use SHFileOperation w/ FO_COPY to do the job. This API requires an
+ * extra zero at the end of both source and destination paths.
+ */
+ size_t cwc;
+ RTUTF16 wszSrcDir[RTPATH_MAX + 1];
+ PRTUTF16 pwszSrcDir = wszSrcDir;
+ rc = RTStrToUtf16Ex(szSrcDir, RTSTR_MAX, &pwszSrcDir, RTPATH_MAX, &cwc);
+ if (RT_FAILURE(rc))
+ return ShowError("RTStrToUtf16Ex failed on '%s': %Rrc", szSrcDir, rc);
+ wszSrcDir[cwc] = '\0';
+
+ RTUTF16 wszDstDir[RTPATH_MAX + 1];
+ PRTUTF16 pwszDstDir = wszSrcDir;
+ rc = RTStrToUtf16Ex(pszDstDir, RTSTR_MAX, &pwszDstDir, RTPATH_MAX, &cwc);
+ if (RT_FAILURE(rc))
+ return ShowError("RTStrToUtf16Ex failed on '%s': %Rrc", pszDstDir, rc);
+ wszDstDir[cwc] = '\0';
+
+ SHFILEOPSTRUCTW FileOp;
+ RT_ZERO(FileOp); /* paranoia */
+ FileOp.hwnd = NULL;
+ FileOp.wFunc = FO_COPY;
+ FileOp.pFrom = wszSrcDir;
+ FileOp.pTo = wszDstDir;
+ FileOp.fFlags = FOF_SILENT
+ | FOF_NOCONFIRMATION
+ | FOF_NOCONFIRMMKDIR
+ | FOF_NOERRORUI;
+ FileOp.fAnyOperationsAborted = FALSE;
+ FileOp.hNameMappings = NULL;
+ FileOp.lpszProgressTitle = NULL;
+
+ rc = SHFileOperationW(&FileOp);
+ if (rc != 0) /* Not a Win32 status code! */
+ return ShowError("Copying the '.custom' dir failed: %#x", rc);
+
+ /*
+ * Add a cleanup record for recursively deleting the destination
+ * .custom directory. We should actually add this prior to calling
+ * SHFileOperationW since it may partially succeed...
+ */
+ char *pszDstSubDir = RTPathJoinA(pszDstDir, ".custom");
+ if (!pszDstSubDir)
+ return ShowError("Out of memory!");
+
+ PSTUBCLEANUPREC pCleanupRec = AddCleanupRec(pszDstSubDir, false /*fIsFile*/);
+ AssertReturn(pCleanupRec, RTEXITCODE_FAILURE);
+
+ /*
+ * Open the directory to make it difficult to replace or delete (see @bugref{10201}).
+ */
+ /** @todo this is still race prone, given that SHFileOperationW is the one
+ * creating it and we're really a bit late opening it here. Anyway,
+ * it's harmless as this code isn't used at present. */
+ RTDIR hDstSubDir;
+ rc = RTDirOpen(&hDstSubDir, pszDstSubDir);
+ if (RT_FAILURE(rc))
+ return ShowError("Unable to open the destination .custom directory: %Rrc", rc);
+ pCleanupRec->hDir = hDstSubDir;
+
+ RTStrFree(pszDstSubDir);
+ }
+
+ return RTEXITCODE_SUCCESS;
+}
+
+
+/**
+ * Extracts the files for all needed packages to @a pszDstDir.
+ *
+ * @returns
+ * @param cPackages Number of packages to consinder.
+ * @param pszDstDir Where to extract the files.
+ * @param fExtractOnly Set if only extracting and not doing any installing.
+ * @param ppExtractDirRec Where we keep the cleanup record for @a pszDstDir.
+ * This may have been created by the caller already.
+ */
+static RTEXITCODE ExtractFiles(unsigned cPackages, const char *pszDstDir, bool fExtractOnly, PSTUBCLEANUPREC *ppExtractDirRec)
+{
+ int rc;
+
+ /*
+ * Make sure the directory exists (normally WinMain created it for us).
+ */
+ PSTUBCLEANUPREC pCleanupRec = *ppExtractDirRec;
+ if (!RTDirExists(pszDstDir))
+ {
+ AssertReturn(!pCleanupRec, ShowError("RTDirExists failed on '%s' which we just created!", pszDstDir));
+
+ rc = RTDirCreate(pszDstDir, 0700, 0);
+ if (RT_FAILURE(rc))
+ return ShowError("Failed to create extraction path '%s': %Rrc", pszDstDir, rc);
+
+ *ppExtractDirRec = pCleanupRec = AddCleanupRec(pszDstDir, false /*fFile*/);
+ AssertReturn(pCleanupRec, LogErrorExitFailure("Failed to add cleanup record for dir '%s'", pszDstDir));
+ }
+ /*
+ * If we need to create the cleanup record, the caller did not create the
+ * directory so we should not delete it when done.
+ */
+ else if (!pCleanupRec)
+ {
+ *ppExtractDirRec = pCleanupRec = AddCleanupRec(pszDstDir, false /*fFile*/);
+ AssertReturn(pCleanupRec, LogErrorExitFailure("Failed to add cleanup record for existing dir '%s'", pszDstDir));
+ pCleanupRec->fDontDelete = true;
+ }
+
+ /*
+ * Open up the directory to make it difficult to delete / replace.
+ */
+ rc = RTDirOpen(&pCleanupRec->hDir, pszDstDir);
+ if (RT_FAILURE(rc))
+ return ShowError("Failed to open extraction path '%s': %Rrc", pszDstDir, rc);
+
+ /*
+ * Change current directory to the extraction directory for the same reason
+ * as we open it above.
+ */
+ RTPathSetCurrent(pszDstDir);
+
+ /*
+ * Extract files.
+ */
+ for (unsigned k = 0; k < cPackages; k++)
+ {
+ VBOXSTUBPKG const * const pPackage = FindPackageHeader(k);
+ if (!pPackage)
+ return RTEXITCODE_FAILURE; /* Done complaining already. */
+
+ if (fExtractOnly || PackageIsNeeded(pPackage))
+ {
+ /* If we only extract or if it's a common file, use the original file name,
+ otherwise generate a random name with the same file extension (@bugref{10201}). */
+ RTFILE hFile = NIL_RTFILE;
+ char szDstFile[RTPATH_MAX];
+ if (fExtractOnly || pPackage->enmArch == VBOXSTUBPKGARCH_ALL)
+ rc = RTPathJoin(szDstFile, sizeof(szDstFile), pszDstDir, pPackage->szFilename);
+ else
+ {
+ rc = RTPathJoin(szDstFile, sizeof(szDstFile), pszDstDir, "XXXXXXXXXXXXXXXXXXXXXXXX");
+ if (RT_SUCCESS(rc))
+ {
+ const char *pszSuffix = RTPathSuffix(pPackage->szFilename);
+ if (pszSuffix)
+ rc = RTStrCat(szDstFile, sizeof(szDstFile), pszSuffix);
+ if (RT_SUCCESS(rc))
+ {
+ rc = RTFileCreateUnique(&hFile, szDstFile,
+ RTFILE_O_CREATE | RTFILE_O_WRITE | RTFILE_O_DENY_WRITE
+ | (0700 << RTFILE_O_CREATE_MODE_SHIFT));
+ if (RT_FAILURE(rc))
+ return ShowError("Failed to create unique filename for '%s' in '%s': %Rrc",
+ pPackage->szFilename, pszDstDir, rc);
+ }
+ }
+ }
+ if (RT_FAILURE(rc))
+ return ShowError("Internal error: Build extraction file name failed: %Rrc", rc);
+
+ rc = Extract(pPackage, szDstFile, hFile, k);
+ if (RT_FAILURE(rc))
+ return ShowError("Error extracting package #%u (%s): %Rrc", k, pPackage->szFilename, rc);
+ }
+ }
+
+ return RTEXITCODE_SUCCESS;
+}
+
+int main(int argc, char **argv)
+{
+ /*
+ * Init IPRT. This is _always_ the very first thing we do.
+ */
+ int vrc = RTR3InitExe(argc, &argv, RTR3INIT_FLAGS_STANDALONE_APP);
+ if (RT_FAILURE(vrc))
+ return RTMsgInitFailure(vrc);
+
+ /*
+ * Parse arguments.
+ */
+
+ /* Parameter variables. */
+ bool fExtractOnly = false;
+ bool fEnableLogging = false;
+#ifdef VBOX_WITH_CODE_SIGNING
+ bool fEnableSilentCert = true;
+ bool fInstallTimestampCA = true;
+ bool fForceTimestampCaInstall = false;
+#endif
+ bool fIgnoreReboot = false;
+ char szExtractPath[RTPATH_MAX] = {0};
+ char szMSIArgs[_4K] = {0};
+ char szMSILogFile[RTPATH_MAX] = {0};
+
+ /* Argument enumeration IDs. */
+ enum KVBOXSTUBOPT
+ {
+ KVBOXSTUBOPT_MSI_LOG_FILE = 1000
+ };
+
+ /* Parameter definitions. */
+ static const RTGETOPTDEF s_aOptions[] =
+ {
+ /** @todo Replace short parameters with enums since they're not
+ * used (and not documented to the public). */
+ { "--extract", 'x', RTGETOPT_REQ_NOTHING },
+ { "-extract", 'x', RTGETOPT_REQ_NOTHING },
+ { "/extract", 'x', RTGETOPT_REQ_NOTHING },
+ { "--silent", 's', RTGETOPT_REQ_NOTHING },
+ { "-silent", 's', RTGETOPT_REQ_NOTHING },
+ { "/silent", 's', RTGETOPT_REQ_NOTHING },
+#ifdef VBOX_WITH_CODE_SIGNING
+ { "--no-silent-cert", 'c', RTGETOPT_REQ_NOTHING },
+ { "-no-silent-cert", 'c', RTGETOPT_REQ_NOTHING },
+ { "/no-silent-cert", 'c', RTGETOPT_REQ_NOTHING },
+ { "--no-install-timestamp-ca", 't', RTGETOPT_REQ_NOTHING },
+ { "--force-install-timestamp-ca", 'T', RTGETOPT_REQ_NOTHING },
+#endif
+ { "--logging", 'l', RTGETOPT_REQ_NOTHING },
+ { "-logging", 'l', RTGETOPT_REQ_NOTHING },
+ { "--msi-log-file", KVBOXSTUBOPT_MSI_LOG_FILE, RTGETOPT_REQ_STRING },
+ { "-msilogfile", KVBOXSTUBOPT_MSI_LOG_FILE, RTGETOPT_REQ_STRING },
+ { "/logging", 'l', RTGETOPT_REQ_NOTHING },
+ { "--path", 'p', RTGETOPT_REQ_STRING },
+ { "-path", 'p', RTGETOPT_REQ_STRING },
+ { "/path", 'p', RTGETOPT_REQ_STRING },
+ { "--msiparams", 'm', RTGETOPT_REQ_STRING },
+ { "-msiparams", 'm', RTGETOPT_REQ_STRING },
+ { "--msi-prop", 'P', RTGETOPT_REQ_STRING },
+ { "--reinstall", 'f', RTGETOPT_REQ_NOTHING },
+ { "-reinstall", 'f', RTGETOPT_REQ_NOTHING },
+ { "/reinstall", 'f', RTGETOPT_REQ_NOTHING },
+ { "--ignore-reboot", 'r', RTGETOPT_REQ_NOTHING },
+ { "--verbose", 'v', RTGETOPT_REQ_NOTHING },
+ { "-verbose", 'v', RTGETOPT_REQ_NOTHING },
+ { "/verbose", 'v', RTGETOPT_REQ_NOTHING },
+ { "--version", 'V', RTGETOPT_REQ_NOTHING },
+ { "-version", 'V', RTGETOPT_REQ_NOTHING },
+ { "/version", 'V', RTGETOPT_REQ_NOTHING },
+ { "--help", 'h', RTGETOPT_REQ_NOTHING },
+ { "-help", 'h', RTGETOPT_REQ_NOTHING },
+ { "/help", 'h', RTGETOPT_REQ_NOTHING },
+ { "/?", 'h', RTGETOPT_REQ_NOTHING },
+ };
+
+ RTGETOPTSTATE GetState;
+ vrc = RTGetOptInit(&GetState, argc, argv, s_aOptions, RT_ELEMENTS(s_aOptions), 1, 0);
+ AssertRCReturn(vrc, ShowError("RTGetOptInit failed: %Rrc", vrc));
+
+ /* Loop over the arguments. */
+ int ch;
+ RTGETOPTUNION ValueUnion;
+ while ((ch = RTGetOpt(&GetState, &ValueUnion)) != 0)
+ {
+ switch (ch)
+ {
+ case 'f': /* Force re-installation. */
+ if (szMSIArgs[0])
+ vrc = RTStrCat(szMSIArgs, sizeof(szMSIArgs), " ");
+ if (RT_SUCCESS(vrc))
+ vrc = RTStrCat(szMSIArgs, sizeof(szMSIArgs), "REINSTALLMODE=vomus REINSTALL=ALL");
+ if (RT_FAILURE(vrc))
+ return ShowSyntaxError("Out of space for MSI parameters and properties");
+ break;
+
+ case 'x':
+ fExtractOnly = true;
+ break;
+
+ case 's':
+ g_fSilent = true;
+ break;
+
+#ifdef VBOX_WITH_CODE_SIGNING
+ case 'c':
+ fEnableSilentCert = false;
+ break;
+ case 't':
+ fInstallTimestampCA = false;
+ break;
+ case 'T':
+ fForceTimestampCaInstall = fInstallTimestampCA = true;
+ break;
+#endif
+ case 'l':
+ fEnableLogging = true;
+ break;
+
+ case KVBOXSTUBOPT_MSI_LOG_FILE:
+ if (*ValueUnion.psz == '\0')
+ szMSILogFile[0] = '\0';
+ else
+ {
+ vrc = RTPathAbs(ValueUnion.psz, szMSILogFile, sizeof(szMSILogFile));
+ if (RT_FAILURE(vrc))
+ return ShowSyntaxError("MSI log file path is too long (%Rrc)", vrc);
+ }
+ break;
+
+ case 'p':
+ if (*ValueUnion.psz == '\0')
+ szExtractPath[0] = '\0';
+ else
+ {
+ vrc = RTPathAbs(ValueUnion.psz, szExtractPath, sizeof(szExtractPath));
+ if (RT_FAILURE(vrc))
+ return ShowSyntaxError("Extraction path is too long (%Rrc)", vrc);
+ }
+ break;
+
+ case 'm':
+ if (szMSIArgs[0])
+ vrc = RTStrCat(szMSIArgs, sizeof(szMSIArgs), " ");
+ if (RT_SUCCESS(vrc))
+ vrc = RTStrCat(szMSIArgs, sizeof(szMSIArgs), ValueUnion.psz);
+ if (RT_FAILURE(vrc))
+ return ShowSyntaxError("Out of space for MSI parameters and properties");
+ break;
+
+ case 'P':
+ {
+ const char *pszProp = ValueUnion.psz;
+ if (strpbrk(pszProp, " \t\n\r") == NULL)
+ {
+ vrc = RTGetOptFetchValue(&GetState, &ValueUnion, RTGETOPT_REQ_STRING);
+ if (RT_SUCCESS(vrc))
+ {
+ size_t cchMsiArgs = strlen(szMSIArgs);
+ if (RTStrPrintf2(&szMSIArgs[cchMsiArgs], sizeof(szMSIArgs) - cchMsiArgs,
+ strpbrk(ValueUnion.psz, " \t\n\r") == NULL ? "%s%s=%s" : "%s%s=\"%s\"",
+ cchMsiArgs ? " " : "", pszProp, ValueUnion.psz) <= 1)
+ return ShowSyntaxError("Out of space for MSI parameters and properties");
+ }
+ else if (vrc == VERR_GETOPT_REQUIRED_ARGUMENT_MISSING)
+ return ShowSyntaxError("--msi-prop takes two arguments, the 2nd is missing");
+ else
+ return ShowSyntaxError("Failed to get 2nd --msi-prop argument: %Rrc", vrc);
+ }
+ else
+ return ShowSyntaxError("The first argument to --msi-prop must not contain spaces: %s", pszProp);
+ break;
+ }
+
+ case 'r':
+ fIgnoreReboot = true;
+ break;
+
+ case 'V':
+ ShowInfo("Version: %u.%u.%ur%u", VBOX_VERSION_MAJOR, VBOX_VERSION_MINOR, VBOX_VERSION_BUILD, VBOX_SVN_REV);
+ return RTEXITCODE_SUCCESS;
+
+ case 'v':
+ g_iVerbosity++;
+ break;
+
+ case 'h':
+ ShowInfo("-- %s v%u.%u.%ur%u --\n"
+ "\n"
+ "Command Line Parameters:\n\n"
+ "--extract\n"
+ " Extract file contents to temporary directory\n"
+ "--logging\n"
+ " Enables MSI installer logging (to extract path)\n"
+ "--msi-log-file <path/to/file>\n"
+ " Sets MSI logging to <file>\n"
+ "--msiparams <parameters>\n"
+ " Specifies extra parameters for the MSI installers\n"
+ " double quoted arguments must be doubled and put\n"
+ " in quotes: --msiparams \"PROP=\"\"a b c\"\"\"\n"
+ "--msi-prop <prop> <value>\n"
+ " Adds <prop>=<value> to the MSI parameters,\n"
+ " quoting the property value if necessary\n"
+#ifdef VBOX_WITH_CODE_SIGNING
+ "--no-silent-cert\n"
+ " Do not install VirtualBox Certificate automatically\n"
+ " when --silent option is specified\n"
+#endif
+#ifdef VBOX_WITH_VBOX_LEGACY_TS_CA
+ "--force-install-timestamp-ca\n"
+ " Install the timestamp CA needed for supporting\n"
+ " legacy Windows versions regardless of the version or\n"
+ " type of Windows VirtualBox is being installed on.\n"
+ " Default: All except Windows 10 & 11 desktop\n"
+ "--no-install-timestamp-ca\n"
+ " Do not install the above mentioned timestamp CA.\n"
+#endif
+ "--path\n"
+ " Sets the path of the extraction directory\n"
+ "--reinstall\n"
+ " Forces VirtualBox to get re-installed\n"
+ "--ignore-reboot\n"
+ " Do not set exit code to 3010 if a reboot is required\n"
+ "--silent\n"
+ " Enables silent mode installation\n"
+ "--version\n"
+ " Displays version number and exit\n"
+ "-?, -h, --help\n"
+ " Displays this help text and exit\n"
+ "\n"
+ "Examples:\n"
+ " %s --msiparams \"INSTALLDIR=\"\"C:\\Program Files\\VirtualBox\"\"\"\n"
+ " %s --extract -path C:\\VBox",
+ VBOX_STUB_TITLE, VBOX_VERSION_MAJOR, VBOX_VERSION_MINOR, VBOX_VERSION_BUILD, VBOX_SVN_REV,
+ argv[0], argv[0]);
+ return RTEXITCODE_SUCCESS;
+
+ case VINF_GETOPT_NOT_OPTION:
+ /* Are (optional) MSI parameters specified and this is the last
+ * parameter? Append everything to the MSI parameter list then. */
+ /** @todo r=bird: this makes zero sense */
+ if (szMSIArgs[0])
+ {
+ vrc = RTStrCat(szMSIArgs, sizeof(szMSIArgs), " ");
+ if (RT_SUCCESS(vrc))
+ vrc = RTStrCat(szMSIArgs, sizeof(szMSIArgs), ValueUnion.psz);
+ if (RT_FAILURE(vrc))
+ return ShowSyntaxError("Out of space for MSI parameters and properties");
+ continue;
+ }
+ /* Fall through is intentional. */
+
+ default:
+ if (g_fSilent)
+ return RTGetOptPrintError(ch, &ValueUnion);
+ if (ch == VERR_GETOPT_UNKNOWN_OPTION)
+ return ShowSyntaxError("Unknown option \"%s\"\n"
+ "Please refer to the command line help by specifying \"-?\"\n"
+ "to get more information.", ValueUnion.psz);
+ return ShowSyntaxError("Parameter parsing error: %Rrc\n"
+ "Please refer to the command line help by specifying \"-?\"\n"
+ "to get more information.", ch);
+ }
+ }
+
+ /*
+ * Check if we're already running and jump out if so (this is mainly to
+ * protect the TEMP directory usage, right?).
+ */
+ SetLastError(0);
+ HANDLE hMutexAppRunning = CreateMutexW(NULL, FALSE, L"VBoxStubInstaller");
+ if ( hMutexAppRunning != NULL
+ && GetLastError() == ERROR_ALREADY_EXISTS)
+ {
+ CloseHandle(hMutexAppRunning); /* close it so we don't keep it open while showing the error message. */
+ return ShowError("Another installer is already running");
+ }
+
+/** @todo
+ *
+ * Split the remainder up in functions and simplify the code flow!!
+ *
+ * */
+ RTEXITCODE rcExit = RTEXITCODE_SUCCESS;
+ RTListInit(&g_TmpFiles);
+
+ /*
+ * Create a random extraction directory in the temporary directory if none
+ * was given by the user (see @bugref{10201}).
+ */
+ PSTUBCLEANUPREC pExtractDirRec = NULL; /* This also indicates that */
+ if (szExtractPath[0] == '\0')
+ {
+ vrc = RTPathTemp(szExtractPath, sizeof(szExtractPath));
+ if (RT_FAILURE(vrc))
+ {
+ CloseHandle(hMutexAppRunning); /* close it so we don't keep it open while showing the error message. */
+ return ShowError("Failed to find temporary directory: %Rrc", vrc);
+ }
+ if (!fExtractOnly) /* Only use a random sub-dir if we extract + run (and not just extract). */
+ {
+ vrc = RTPathAppend(szExtractPath, sizeof(szExtractPath), "XXXXXXXXXXXXXXXXXXXXXXXX");
+ if (RT_SUCCESS(vrc))
+ /** @todo Need something that return a handle as well as a path. */
+ vrc = RTDirCreateTemp(szExtractPath, 0700);
+ if (RT_FAILURE(vrc))
+ {
+ CloseHandle(hMutexAppRunning); /* close it so we don't keep it open while showing the error message. */
+ return ShowError("Failed to create extraction path: %Rrc", vrc);
+ }
+ pExtractDirRec = AddCleanupRec(szExtractPath, false /*fIsFile*/);
+ }
+ }
+ RTPathChangeToDosSlashes(szExtractPath, true /* Force conversion. */); /* MSI requirement. */
+
+ /*
+ * Create a console for output if we're in verbose mode.
+ */
+#ifdef VBOX_STUB_WITH_OWN_CONSOLE
+ if (g_iVerbosity)
+ {
+ if (!AllocConsole())
+ return ShowError("Unable to allocate console: LastError=%u\n", GetLastError());
+
+# ifdef IPRT_NO_CRT
+ PRTSTREAM pNewStdOutErr = NULL;
+ vrc = RTStrmOpen("CONOUT$", "a", &pNewStdOutErr);
+ if (RT_SUCCESS(vrc))
+ {
+ RTStrmSetBufferingMode(pNewStdOutErr, RTSTRMBUFMODE_UNBUFFERED);
+ g_pStdErr = pNewStdOutErr;
+ g_pStdOut = pNewStdOutErr;
+ }
+# else
+ freopen("CONOUT$", "w", stdout);
+ setvbuf(stdout, NULL, _IONBF, 0);
+ freopen("CONOUT$", "w", stderr);
+# endif
+ }
+#endif /* VBOX_STUB_WITH_OWN_CONSOLE */
+
+ /* Convenience: Enable logging if a log file (via --log-file) is specified. */
+ if ( !fEnableLogging
+ && szMSILogFile[0] != '\0')
+ fEnableLogging = true;
+
+ if ( fEnableLogging
+ && szMSILogFile[0] == '\0') /* No log file explicitly specified? Use the extract path by default. */
+ {
+ vrc = RTStrCopy(szMSILogFile, sizeof(szMSILogFile), szExtractPath);
+ if (RT_SUCCESS(vrc))
+ vrc = RTPathAppend(szMSILogFile, sizeof(szMSILogFile), "VBoxInstallLog.txt");
+ if (RT_FAILURE(vrc))
+ return ShowError("Error creating MSI log file name, rc=%Rrc", vrc);
+ }
+
+ if (g_iVerbosity)
+ {
+ RTPrintf("Extraction path : %s\n", szExtractPath);
+ RTPrintf("Silent installation : %RTbool\n", g_fSilent);
+#ifdef VBOX_WITH_CODE_SIGNING
+ RTPrintf("Certificate installation : %RTbool\n", fEnableSilentCert);
+#endif
+ RTPrintf("Additional MSI parameters: %s\n", szMSIArgs[0] ? szMSIArgs : "<None>");
+ RTPrintf("Logging to file : %s\n", szMSILogFile[0] ? szMSILogFile : "<None>");
+ }
+
+ /*
+ * 32-bit is not officially supported any more.
+ */
+ if ( !fExtractOnly
+ && !g_fSilent
+ && !IsWow64())
+ rcExit = ShowError("32-bit Windows hosts are not supported by this VirtualBox release.");
+ else
+ {
+ /*
+ * Read our manifest.
+ */
+ VBOXSTUBPKGHEADER const *pHeader = NULL;
+ vrc = FindData("MANIFEST", (uint8_t const **)&pHeader, NULL);
+ if (RT_SUCCESS(vrc))
+ {
+ /** @todo If we could, we should validate the header. Only the magic isn't
+ * commonly defined, nor the version number... */
+
+ /*
+ * Up to this point, we haven't done anything that requires any cleanup.
+ * From here on, we do everything in functions so we can counter clean up.
+ */
+ rcExit = ExtractFiles(pHeader->cPackages, szExtractPath, fExtractOnly, &pExtractDirRec);
+ if (rcExit == RTEXITCODE_SUCCESS)
+ {
+ if (fExtractOnly)
+ ShowInfo("Files were extracted to: %s", szExtractPath);
+ else
+ {
+ rcExit = CopyCustomDir(szExtractPath);
+#ifdef VBOX_WITH_CODE_SIGNING
+# ifdef VBOX_WITH_VBOX_LEGACY_TS_CA
+ if (rcExit == RTEXITCODE_SUCCESS && fInstallTimestampCA)
+ rcExit = InstallTimestampCA(fForceTimestampCaInstall);
+# endif
+ if (rcExit == RTEXITCODE_SUCCESS && fEnableSilentCert && g_fSilent)
+ rcExit = InstallCertificates();
+#endif
+ unsigned iPackage = 0;
+ while ( iPackage < pHeader->cPackages
+ && (rcExit == RTEXITCODE_SUCCESS || rcExit == (RTEXITCODE)ERROR_SUCCESS_REBOOT_REQUIRED))
+ {
+ RTEXITCODE rcExit2 = ProcessPackage(iPackage, szMSIArgs, szMSILogFile[0] ? szMSILogFile : NULL);
+ if (rcExit2 != RTEXITCODE_SUCCESS)
+ rcExit = rcExit2;
+ iPackage++;
+ }
+ }
+ }
+
+ /*
+ * Do cleanups unless we're only extracting (ignoring failures for now).
+ */
+ if (!fExtractOnly)
+ {
+ RTPathSetCurrent("..");
+ CleanUp(!fEnableLogging && pExtractDirRec && !pExtractDirRec->fDontDelete ? szExtractPath : NULL);
+ }
+
+ /* Free any left behind cleanup records (not strictly needed). */
+ PSTUBCLEANUPREC pCur, pNext;
+ RTListForEachSafe(&g_TmpFiles, pCur, pNext, STUBCLEANUPREC, ListEntry)
+ {
+ RTListNodeRemove(&pCur->ListEntry);
+ RTMemFree(pCur);
+ }
+ }
+ else
+ rcExit = ShowError("Internal package error: Manifest not found (%Rrc)", vrc);
+ }
+
+#if defined(_WIN32_WINNT) && _WIN32_WINNT >= 0x0501
+# ifdef VBOX_STUB_WITH_OWN_CONSOLE
+ if (g_iVerbosity)
+ FreeConsole();
+# endif /* VBOX_STUB_WITH_OWN_CONSOLE */
+#endif
+
+ /*
+ * Release instance mutex just to be on the safe side.
+ */
+ if (hMutexAppRunning != NULL)
+ CloseHandle(hMutexAppRunning);
+
+ return rcExit != (RTEXITCODE)ERROR_SUCCESS_REBOOT_REQUIRED || !fIgnoreReboot ? rcExit : RTEXITCODE_SUCCESS;
+}
+
+#ifndef IPRT_NO_CRT
+int WINAPI WinMain(HINSTANCE hInstance,
+ HINSTANCE hPrevInstance,
+ char *lpCmdLine,
+ int nCmdShow)
+{
+ RT_NOREF(hInstance, hPrevInstance, lpCmdLine, nCmdShow);
+ return main(__argc, __argv);
+}
+#endif
+
diff --git a/src/VBox/Installer/win/Stub/VBoxStub.h b/src/VBox/Installer/win/Stub/VBoxStub.h
new file mode 100644
index 00000000..d234fe52
--- /dev/null
+++ b/src/VBox/Installer/win/Stub/VBoxStub.h
@@ -0,0 +1,40 @@
+/* $Id: VBoxStub.h $ */
+/** @file
+ * VBoxStub - VirtualBox's Windows installer stub.
+ */
+
+/*
+ * Copyright (C) 2009-2023 Oracle and/or its affiliates.
+ *
+ * This file is part of VirtualBox base platform packages, as
+ * available from https://www.virtualbox.org.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation, in version 3 of the
+ * License.
+ *
+ * This program is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, see <https://www.gnu.org/licenses>.
+ *
+ * SPDX-License-Identifier: GPL-3.0-only
+ */
+
+#ifndef VBOX_INCLUDED_SRC_Stub_VBoxStub_h
+#define VBOX_INCLUDED_SRC_Stub_VBoxStub_h
+#ifndef RT_WITHOUT_PRAGMA_ONCE
+# pragma once
+#endif
+
+#define VBOX_STUB_TITLE "VirtualBox Installer"
+
+typedef BOOL (WINAPI *LPFN_ISWOW64PROCESS) (HANDLE, PBOOL);
+LPFN_ISWOW64PROCESS fnIsWow64Process;
+
+#endif /* !VBOX_INCLUDED_SRC_Stub_VBoxStub_h */
+
diff --git a/src/VBox/Installer/win/Stub/VBoxStub.manifest b/src/VBox/Installer/win/Stub/VBoxStub.manifest
new file mode 100644
index 00000000..37eaf957
--- /dev/null
+++ b/src/VBox/Installer/win/Stub/VBoxStub.manifest
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<assembly xmlns="urn:schemas-microsoft-com:asm.v1" xmlns:asmv3="urn:schemas-microsoft-com:asm.v3" manifestVersion="1.0">
+<assemblyIdentity
+ version="1.0.0.0"
+ processorArchitecture="*"
+ name="VBoxStub.exe"
+ type="win32"
+/>
+<description>VirtualBox Windows Installer</description>
+<dependency>
+ <dependentAssembly>
+ <assemblyIdentity
+ type="win32"
+ name="Microsoft.Windows.Common-Controls"
+ version="6.0.0.0"
+ processorArchitecture="*"
+ publicKeyToken="6595b64144ccf1df"
+ language="*"
+ />
+ </dependentAssembly>
+</dependency>
+<asmv3:application>
+ <asmv3:windowsSettings>
+ <dpiAware xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">true</dpiAware>
+ <dpiAwareness xmlns="http://schemas.microsoft.com/SMI/2016/WindowsSettings">PerMonitorV2</dpiAwareness>
+ </asmv3:windowsSettings>
+</asmv3:application>
+</assembly>
diff --git a/src/VBox/Installer/win/Stub/VBoxStub.rc b/src/VBox/Installer/win/Stub/VBoxStub.rc
new file mode 100644
index 00000000..6f47425a
--- /dev/null
+++ b/src/VBox/Installer/win/Stub/VBoxStub.rc
@@ -0,0 +1,66 @@
+/* $Id: VBoxStub.rc $*/
+/** @file
+ * Resource file for the Windows install stub program.
+ */
+
+/*
+ * Copyright (C) 2009-2023 Oracle and/or its affiliates.
+ *
+ * This file is part of VirtualBox base platform packages, as
+ * available from https://www.virtualbox.org.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation, in version 3 of the
+ * License.
+ *
+ * This program is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, see <https://www.gnu.org/licenses>.
+ *
+ * SPDX-License-Identifier: GPL-3.0-only
+ */
+
+#include <windows.h>
+#include <VBox/version.h>
+#include "resource.h"
+
+LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
+
+VS_VERSION_INFO VERSIONINFO
+ FILEVERSION VBOX_RC_FILE_VERSION
+ PRODUCTVERSION VBOX_RC_FILE_VERSION
+ FILEFLAGSMASK VS_FFI_FILEFLAGSMASK
+ FILEFLAGS VBOX_RC_FILE_FLAGS
+ FILEOS VBOX_RC_FILE_OS
+ FILETYPE VBOX_RC_TYPE_DLL
+ FILESUBTYPE VFT2_UNKNOWN
+BEGIN
+ BLOCK "StringFileInfo"
+ BEGIN
+ BLOCK "040904b0"
+ BEGIN
+ VALUE "FileDescription", "VirtualBox Installer\0"
+ VALUE "InternalName", "VirtualBox-" RT_XSTR(VBOX_VERSION_MAJOR) "." RT_XSTR(VBOX_VERSION_MINOR) "." RT_XSTR(VBOX_VERSION_BUILD) "-r" RT_XSTR(VBOX_SVN_REV) "-Win\0"
+ VALUE "OriginalFilename", "VirtualBox-" RT_XSTR(VBOX_VERSION_MAJOR) "." RT_XSTR(VBOX_VERSION_MINOR) "." RT_XSTR(VBOX_VERSION_BUILD) "-r" RT_XSTR(VBOX_SVN_REV) "-Win.exe\0"
+ VALUE "CompanyName", VBOX_RC_COMPANY_NAME
+ VALUE "FileVersion", VBOX_RC_FILE_VERSION_STR
+ VALUE "LegalCopyright", VBOX_RC_LEGAL_COPYRIGHT
+ VALUE "ProductName", VBOX_RC_PRODUCT_NAME_STR
+ VALUE "ProductVersion", VBOX_RC_PRODUCT_VERSION_STR
+ VBOX_RC_MORE_STRINGS
+ END
+ END
+ BLOCK "VarFileInfo"
+ BEGIN
+ VALUE "Translation", 0x409, 1200
+ END
+END
+
+#include "VBoxStub-icon.rc"
+#include "VBoxStub-manifest.rc"
+
diff --git a/src/VBox/Installer/win/Stub/VBoxStubCertUtil.cpp b/src/VBox/Installer/win/Stub/VBoxStubCertUtil.cpp
new file mode 100644
index 00000000..a4f826c3
--- /dev/null
+++ b/src/VBox/Installer/win/Stub/VBoxStubCertUtil.cpp
@@ -0,0 +1,152 @@
+/* $Id: VBoxStubCertUtil.cpp $ */
+/** @file
+ * VBoxStub - VirtualBox's Windows installer stub (certificate manipulations).
+ *
+ * NOTE: The content of this file is partly
+ * grabbed from src/VBox/Additions/WINNT/tools/VBoxCertUtil.cpp
+ */
+
+/*
+ * Copyright (C) 2012-2023 Oracle and/or its affiliates.
+ *
+ * This file is part of VirtualBox base platform packages, as
+ * available from https://www.virtualbox.org.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation, in version 3 of the
+ * License.
+ *
+ * This program is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, see <https://www.gnu.org/licenses>.
+ *
+ * SPDX-License-Identifier: GPL-3.0-only
+ */
+
+
+/*********************************************************************************************************************************
+* Header Files *
+*********************************************************************************************************************************/
+#include <iprt/win/windows.h>
+#include <Wincrypt.h>
+
+#include <iprt/errcore.h>
+#include <iprt/message.h>
+#include <iprt/string.h>
+#include <iprt/utf16.h>
+
+
+/**
+ * Reads a certificate from a (const char []) buffer, returning a context
+ * or a the handle to a temporary memory store.
+ *
+ * @returns true on success, false on failure (error message written).
+ * @param kpCertBuf The pointer to the buffer containing the
+ * certificates.
+ * @param cbCertBuf Size of @param kpCertBuf in bytes.
+ * @param ppOutCtx Where to return the handle to the temporary
+ * memory store.
+ */
+static bool readCertBuf(const unsigned char kpCertBuf[], DWORD cbCertBuf, PCCERT_CONTEXT *ppOutCtx)
+{
+ *ppOutCtx = CertCreateCertificateContext(X509_ASN_ENCODING | PKCS_7_ASN_ENCODING,
+ (PBYTE)kpCertBuf, cbCertBuf);
+ if (*ppOutCtx)
+ return true;
+
+ return false;
+}
+
+/**
+ * Opens a certificate store.
+ *
+ * @returns true on success, false on failure (error message written).
+ * @param dwDst The destination, like
+ * CERT_SYSTEM_STORE_LOCAL_MACHINE or
+ * CERT_SYSTEM_STORE_CURRENT_USER.
+ * @param pszStoreNm The store name.
+ */
+static HCERTSTORE openCertStore(DWORD dwDst, const char *pszStoreNm)
+{
+ HCERTSTORE hStore = NULL;
+ PRTUTF16 pwszStoreNm;
+ int rc = RTStrToUtf16(pszStoreNm, &pwszStoreNm);
+ if (RT_SUCCESS(rc))
+ {
+ /*
+ * Make sure CERT_STORE_OPEN_EXISTING_FLAG is not set. This causes Windows XP
+ * to return ACCESS_DENIED when installing TrustedPublisher certificates via
+ * CertAddCertificateContextToStore() if the TrustedPublisher store never has
+ * been used (through certmgr.exe and friends) yet.
+ *
+ * According to MSDN, if neither CERT_STORE_OPEN_EXISTING_FLAG nor
+ * CERT_STORE_CREATE_NEW_FLAG is set, the store will be either opened or
+ * created accordingly.
+ */
+ dwDst &= ~CERT_STORE_OPEN_EXISTING_FLAG;
+
+ hStore = CertOpenStore(CERT_STORE_PROV_SYSTEM_W,
+ PKCS_7_ASN_ENCODING | X509_ASN_ENCODING,
+ NULL /* hCryptProv = default */,
+ dwDst,
+ pwszStoreNm);
+
+ RTUtf16Free(pwszStoreNm);
+ }
+ return hStore;
+}
+
+/**
+ * Adds a certificate to a store.
+ *
+ * @returns true on success, false on failure (error message written).
+ * @param dwDst The destination, like
+ * CERT_SYSTEM_STORE_LOCAL_MACHINE or
+ * CERT_SYSTEM_STORE_CURRENT_USER.
+ * @param pszStoreNm The store name.
+ * @param kpCertBuf Buffer that contains a certificate
+ * @param cbCertBuf Size of @param kpCertBuf in bytes
+ */
+bool addCertToStore(DWORD dwDst, const char *pszStoreNm, const unsigned char kpCertBuf[], DWORD cbCertBuf)
+{
+ /*
+ * Get certificate from buffer.
+ */
+ PCCERT_CONTEXT pSrcCtx = NULL;
+ bool fRc = false;
+
+ if (!readCertBuf(kpCertBuf, cbCertBuf, &pSrcCtx))
+ {
+ RTMsgError("Unable to get certificate context: %d", GetLastError());
+ return fRc;
+ }
+
+ /*
+ * Open the certificates store.
+ */
+ HCERTSTORE hDstStore = openCertStore(dwDst, pszStoreNm);
+ if (hDstStore)
+ {
+ /*
+ * Finally, add certificate to store
+ */
+ if (CertAddCertificateContextToStore(hDstStore, pSrcCtx, CERT_STORE_ADD_REPLACE_EXISTING, NULL))
+ fRc = true;
+ else
+ RTMsgError("Unable to install certificate: %d", GetLastError());
+
+ CertCloseStore(hDstStore, CERT_CLOSE_STORE_CHECK_FLAG);
+ }
+ else
+ RTMsgError("Unable to open certificates store: %d", GetLastError());
+
+ /* Release resources */
+ CertFreeCertificateContext(pSrcCtx);
+
+ return fRc;
+}
diff --git a/src/VBox/Installer/win/Stub/VBoxStubCertUtil.h b/src/VBox/Installer/win/Stub/VBoxStubCertUtil.h
new file mode 100644
index 00000000..b336f0ad
--- /dev/null
+++ b/src/VBox/Installer/win/Stub/VBoxStubCertUtil.h
@@ -0,0 +1,37 @@
+/* $Id: VBoxStubCertUtil.h $ */
+/** @file
+ * VBoxStub - VirtualBox's Windows installer stub (certificate manipulations).
+ */
+
+/*
+ * Copyright (C) 2012-2023 Oracle and/or its affiliates.
+ *
+ * This file is part of VirtualBox base platform packages, as
+ * available from https://www.virtualbox.org.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation, in version 3 of the
+ * License.
+ *
+ * This program is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, see <https://www.gnu.org/licenses>.
+ *
+ * SPDX-License-Identifier: GPL-3.0-only
+ */
+
+#ifndef VBOX_INCLUDED_SRC_Stub_VBoxStubCertUtil_h
+#define VBOX_INCLUDED_SRC_Stub_VBoxStubCertUtil_h
+#ifndef RT_WITHOUT_PRAGMA_ONCE
+# pragma once
+#endif
+
+extern bool addCertToStore(DWORD dwDst, const char *pszStoreNm, const unsigned char kpCertBuf[], DWORD cbCertBuf);
+
+#endif /* !VBOX_INCLUDED_SRC_Stub_VBoxStubCertUtil_h */
+
diff --git a/src/VBox/Installer/win/Stub/crypt32.def b/src/VBox/Installer/win/Stub/crypt32.def
new file mode 100644
index 00000000..4a89ff5b
--- /dev/null
+++ b/src/VBox/Installer/win/Stub/crypt32.def
@@ -0,0 +1,35 @@
+; $Id: crypt32.def $
+;; @file
+; Definitions for CRYPT32.DLL lazy import library.
+;
+
+;
+; Copyright (C) 2009-2023 Oracle and/or its affiliates.
+;
+; This file is part of VirtualBox base platform packages, as
+; available from https://www.virtualbox.org.
+;
+; This program is free software; you can redistribute it and/or
+; modify it under the terms of the GNU General Public License
+; as published by the Free Software Foundation, in version 3 of the
+; License.
+;
+; This program is distributed in the hope that it will be useful, but
+; WITHOUT ANY WARRANTY; without even the implied warranty of
+; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+; General Public License for more details.
+;
+; You should have received a copy of the GNU General Public License
+; along with this program; if not, see <https://www.gnu.org/licenses>.
+;
+; SPDX-License-Identifier: GPL-3.0-only
+;
+
+LIBRARY CRYPT32.DLL
+EXPORTS
+ _CertCreateCertificateContext@12
+ _CertOpenStore@20
+ _CertFreeCertificateContext@4
+ _CertAddCertificateContextToStore@16
+ _CertCloseStore@8
+
diff --git a/src/VBox/Installer/win/Stub/msi.def b/src/VBox/Installer/win/Stub/msi.def
new file mode 100644
index 00000000..e957bc48
--- /dev/null
+++ b/src/VBox/Installer/win/Stub/msi.def
@@ -0,0 +1,33 @@
+; $Id: msi.def $
+;; @file
+; Definitions for MSI.DLL lazy import library.
+;
+
+;
+; Copyright (C) 2009-2023 Oracle and/or its affiliates.
+;
+; This file is part of VirtualBox base platform packages, as
+; available from https://www.virtualbox.org.
+;
+; This program is free software; you can redistribute it and/or
+; modify it under the terms of the GNU General Public License
+; as published by the Free Software Foundation, in version 3 of the
+; License.
+;
+; This program is distributed in the hope that it will be useful, but
+; WITHOUT ANY WARRANTY; without even the implied warranty of
+; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+; General Public License for more details.
+;
+; You should have received a copy of the GNU General Public License
+; along with this program; if not, see <https://www.gnu.org/licenses>.
+;
+; SPDX-License-Identifier: GPL-3.0-only
+;
+
+LIBRARY MSI.DLL
+EXPORTS
+ _MsiInstallProductW@8
+ _MsiEnableLogW@12
+ _MsiSetInternalUI@8
+
diff --git a/src/VBox/Installer/win/Stub/resource.h b/src/VBox/Installer/win/Stub/resource.h
new file mode 100644
index 00000000..b55d113e
--- /dev/null
+++ b/src/VBox/Installer/win/Stub/resource.h
@@ -0,0 +1,42 @@
+/* $Id: resource.h $ */
+/** @file
+ * VBoxStub - resource header file.
+ */
+
+/*
+ * Copyright (C) 2009-2023 Oracle and/or its affiliates.
+ *
+ * This file is part of VirtualBox base platform packages, as
+ * available from https://www.virtualbox.org.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation, in version 3 of the
+ * License.
+ *
+ * This program is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, see <https://www.gnu.org/licenses>.
+ *
+ * SPDX-License-Identifier: GPL-3.0-only
+ */
+
+#ifndef VBOX_INCLUDED_SRC_Stub_resource_h
+#define VBOX_INCLUDED_SRC_Stub_resource_h
+#ifndef RT_WITHOUT_PRAGMA_ONCE
+# pragma once
+#endif
+
+#define IDI_VIRTUALBOX 101
+
+#ifndef RT_MANIFEST
+# define RT_MANIFEST 24
+#endif
+#define APP_MANIFEST 1
+
+#endif /* !VBOX_INCLUDED_SRC_Stub_resource_h */
+
diff --git a/src/VBox/Installer/win/Stub/shell32.def b/src/VBox/Installer/win/Stub/shell32.def
new file mode 100644
index 00000000..00f62c1a
--- /dev/null
+++ b/src/VBox/Installer/win/Stub/shell32.def
@@ -0,0 +1,32 @@
+; $Id: shell32.def $
+;; @file
+; Definitions for SHELL32.DLL lazy import library.
+;
+
+;
+; Copyright (C) 2009-2023 Oracle and/or its affiliates.
+;
+; This file is part of VirtualBox base platform packages, as
+; available from https://www.virtualbox.org.
+;
+; This program is free software; you can redistribute it and/or
+; modify it under the terms of the GNU General Public License
+; as published by the Free Software Foundation, in version 3 of the
+; License.
+;
+; This program is distributed in the hope that it will be useful, but
+; WITHOUT ANY WARRANTY; without even the implied warranty of
+; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+; General Public License for more details.
+;
+; You should have received a copy of the GNU General Public License
+; along with this program; if not, see <https://www.gnu.org/licenses>.
+;
+; SPDX-License-Identifier: GPL-3.0-only
+;
+
+LIBRARY SHELL32.DLL
+EXPORTS
+ _CommandLineToArgvW@8
+ _SHFileOperationW@4
+
diff --git a/src/VBox/Installer/win/Stub/user32.def b/src/VBox/Installer/win/Stub/user32.def
new file mode 100644
index 00000000..247f1a6d
--- /dev/null
+++ b/src/VBox/Installer/win/Stub/user32.def
@@ -0,0 +1,33 @@
+; $Id: user32.def $
+;; @file
+; Definitions for USER32.DLL lazy import library.
+;
+
+;
+; Copyright (C) 2009-2023 Oracle and/or its affiliates.
+;
+; This file is part of VirtualBox base platform packages, as
+; available from https://www.virtualbox.org.
+;
+; This program is free software; you can redistribute it and/or
+; modify it under the terms of the GNU General Public License
+; as published by the Free Software Foundation, in version 3 of the
+; License.
+;
+; This program is distributed in the hope that it will be useful, but
+; WITHOUT ANY WARRANTY; without even the implied warranty of
+; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+; General Public License for more details.
+;
+; You should have received a copy of the GNU General Public License
+; along with this program; if not, see <https://www.gnu.org/licenses>.
+;
+; SPDX-License-Identifier: GPL-3.0-only
+;
+
+LIBRARY USER32.DLL
+EXPORTS
+ _MessageBoxW@16
+ _MessageBoxA@16
+ _GetDesktopWindow@0
+
diff --git a/src/VBox/Installer/win/Stub/ws2_32.def b/src/VBox/Installer/win/Stub/ws2_32.def
new file mode 100644
index 00000000..979c48ac
--- /dev/null
+++ b/src/VBox/Installer/win/Stub/ws2_32.def
@@ -0,0 +1,32 @@
+; $Id: ws2_32.def $
+;; @file
+; Definitions for WS2_32.DLL lazy import library.
+;
+
+;
+; Copyright (C) 2009-2023 Oracle and/or its affiliates.
+;
+; This file is part of VirtualBox base platform packages, as
+; available from https://www.virtualbox.org.
+;
+; This program is free software; you can redistribute it and/or
+; modify it under the terms of the GNU General Public License
+; as published by the Free Software Foundation, in version 3 of the
+; License.
+;
+; This program is distributed in the hope that it will be useful, but
+; WITHOUT ANY WARRANTY; without even the implied warranty of
+; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+; General Public License for more details.
+;
+; You should have received a copy of the GNU General Public License
+; along with this program; if not, see <https://www.gnu.org/licenses>.
+;
+; SPDX-License-Identifier: GPL-3.0-only
+;
+
+LIBRARY WS2_32.DLL
+EXPORTS
+ _WSASetLastError@4
+ _WSAGetLastError@0
+
diff --git a/src/VBox/Installer/win/StubBld/Makefile.kmk b/src/VBox/Installer/win/StubBld/Makefile.kmk
new file mode 100644
index 00000000..9abe040e
--- /dev/null
+++ b/src/VBox/Installer/win/StubBld/Makefile.kmk
@@ -0,0 +1,38 @@
+# $Id: Makefile.kmk $
+## @file
+# Sub-Makefile for the stub builder.
+#
+
+#
+# Copyright (C) 2009-2023 Oracle and/or its affiliates.
+#
+# This file is part of VirtualBox base platform packages, as
+# available from https://www.virtualbox.org.
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation, in version 3 of the
+# License.
+#
+# This program is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, see <https://www.gnu.org/licenses>.
+#
+# SPDX-License-Identifier: GPL-3.0-only
+#
+
+SUB_DEPTH = ../../../../..
+include $(KBUILD_PATH)/subheader.kmk
+
+# Not a build program as it is needed for repacking after we Get the MS driver blessing.
+PROGRAMS += VBoxStubBld
+VBoxStubBld_TEMPLATE = VBoxBldProg
+VBoxStubBld_DEFS = _WIN32_WINNT=0x0400 VBOX_SVN_REV=$(VBOX_SVN_REV) $(VBOX_SVN_REV_KMK)
+VBoxStubBld_SOURCES = VBoxStubBld.cpp
+
+include $(FILE_KBUILD_SUB_FOOTER)
+
diff --git a/src/VBox/Installer/win/StubBld/VBoxStubBld.cpp b/src/VBox/Installer/win/StubBld/VBoxStubBld.cpp
new file mode 100644
index 00000000..3e1320cc
--- /dev/null
+++ b/src/VBox/Installer/win/StubBld/VBoxStubBld.cpp
@@ -0,0 +1,331 @@
+/* $Id: VBoxStubBld.cpp $ */
+/** @file
+ * VBoxStubBld - VirtualBox's Windows installer stub builder.
+ */
+
+/*
+ * Copyright (C) 2009-2023 Oracle and/or its affiliates.
+ *
+ * This file is part of VirtualBox base platform packages, as
+ * available from https://www.virtualbox.org.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation, in version 3 of the
+ * License.
+ *
+ * This program is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, see <https://www.gnu.org/licenses>.
+ *
+ * SPDX-License-Identifier: GPL-3.0-only
+ */
+
+
+/*********************************************************************************************************************************
+* Header Files *
+*********************************************************************************************************************************/
+#include <iprt/win/windows.h>
+#include <shellapi.h>
+#include <strsafe.h>
+
+#include <VBox/version.h>
+#include <iprt/types.h>
+
+#include "VBoxStubBld.h"
+
+
+static HRESULT GetFile(const char *pszFilePath, HANDLE *phFile, DWORD *pcbFile)
+{
+ HANDLE hFile = CreateFileA(pszFilePath, GENERIC_READ, FILE_SHARE_READ, NULL,
+ OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, NULL);
+ if (hFile != INVALID_HANDLE_VALUE)
+ {
+ SetLastError(NO_ERROR);
+ LARGE_INTEGER cbFile;
+ if (GetFileSizeEx(hFile, &cbFile))
+ {
+ if (cbFile.HighPart == 0)
+ {
+ *pcbFile = cbFile.LowPart;
+ *phFile = hFile;
+ return S_OK;
+ }
+ fprintf(stderr, "error: File '%s' is too large: %llu bytes\n", pszFilePath, cbFile.QuadPart);
+ }
+ else
+ fprintf(stderr, "error: GetFileSizeEx failed on '%s': %lu\n", pszFilePath, GetLastError());
+ CloseHandle(hFile);
+ }
+ else
+ fprintf(stderr, "error: CreateFileA failed on '%s': %lu\n", pszFilePath, GetLastError());
+ *phFile = INVALID_HANDLE_VALUE;
+ return E_FAIL;
+}
+
+static HRESULT MyUpdateResource(HANDLE hFile, DWORD cbFile, HANDLE hResourceUpdate,
+ const char *pszResourceType, const char *pszResourceId)
+{
+ HRESULT hr = E_FAIL;
+ HANDLE hMap = CreateFileMappingW(hFile, NULL, PAGE_READONLY, 0, 0, NULL);
+ if (hMap != NULL)
+ {
+ PVOID pvFile = MapViewOfFile(hMap, FILE_MAP_READ, 0, 0, cbFile);
+ if (pvFile)
+ {
+ if (UpdateResourceA(hResourceUpdate, pszResourceType, pszResourceId,
+ MAKELANGID(LANG_ENGLISH, SUBLANG_ENGLISH_US), pvFile, cbFile))
+ hr = S_OK;
+ else
+ fprintf(stderr, "error: UpdateResourceA failed: %lu\n", GetLastError());
+
+ UnmapViewOfFile(pvFile);
+ }
+ else
+ fprintf(stderr, "error: MapViewOfFile failed: %lu\n", GetLastError());
+ CloseHandle(hMap);
+ }
+ else
+ fprintf(stderr, "error: CreateFileMappingW failed: %lu\n", GetLastError());
+ return hr;
+}
+
+static HRESULT IntegrateFile(HANDLE hResourceUpdate, const char *pszResourceType,
+ const char *pszResourceId, const char *pszFilePath)
+{
+ HANDLE hFile = INVALID_HANDLE_VALUE;
+ DWORD cbFile = 0;
+ HRESULT hr = GetFile(pszFilePath, &hFile, &cbFile);
+ if (SUCCEEDED(hr))
+ {
+ hr = MyUpdateResource(hFile, cbFile, hResourceUpdate, pszResourceType, pszResourceId);
+ if (FAILED(hr))
+ printf("ERROR: Error updating resource for file %s!", pszFilePath);
+ CloseHandle(hFile);
+ }
+ else
+ hr = HRESULT_FROM_WIN32(GetLastError());
+ return hr;
+}
+
+static char *MyPathFilename(const char *pszPath)
+{
+ const char *pszName = pszPath;
+ for (const char *psz = pszPath;; psz++)
+ {
+ switch (*psz)
+ {
+ /* handle separators. */
+ case ':':
+ pszName = psz + 1;
+ break;
+
+ case '\\':
+ case '/':
+ pszName = psz + 1;
+ break;
+
+ /* the end */
+ case '\0':
+ if (*pszName)
+ return (char *)(void *)pszName;
+ return NULL;
+ }
+ }
+
+ /* will never get here */
+}
+
+
+int main(int argc, char* argv[])
+{
+ /*
+ * Parse arguments.
+ */
+ const char *pszSetupStub = "VBoxStub.exe";
+ const char *pszOutput = "VirtualBox-MultiArch.exe";
+
+ printf(VBOX_PRODUCT " Stub Builder v%d.%d.%d.%d\n",
+ VBOX_VERSION_MAJOR, VBOX_VERSION_MINOR, VBOX_VERSION_BUILD, VBOX_SVN_REV);
+
+ struct VBOXSTUBBUILDPKG
+ {
+ const char *pszSrcPath;
+ VBOXSTUBPKGARCH enmArch;
+ } aBuildPkgs[VBOXSTUB_MAX_PACKAGES] = { { NULL } };
+ VBOXSTUBPKGHEADER StubHdr =
+ {
+ /*.szMagic = */ VBOXSTUBPKGHEADER_MAGIC_SZ,
+ /*.cPackages = */ 0
+ };
+
+ for (int i = 1; i < argc; i++)
+ {
+ const char *pszArg = argv[i];
+ if ( strcmp(pszArg, "--help") == 0
+ || strcmp(pszArg, "-help") == 0
+ || strcmp(pszArg, "-h") == 0
+ || strcmp(pszArg, "-?") == 0)
+ {
+ printf("usage: %s -out <installer.exe> -stub <stub.exe> [-target-all <file>] [-target-<arch> <file>]\n", argv[0]);
+ return RTEXITCODE_SUCCESS;
+ }
+
+ /* The remaining options all take a while. */
+ if ( strcmp(pszArg, "-out")
+ && strcmp(pszArg, "-stub")
+ && strcmp(pszArg, "-target-all")
+ && strcmp(pszArg, "-target-x86")
+ && strcmp(pszArg, "-target-amd64"))
+ {
+ fprintf(stderr, "syntax error: Invalid parameter: %s\n", argv[i]);
+ return RTEXITCODE_SYNTAX;
+ }
+
+ i++;
+ if (i >= argc)
+ {
+ fprintf(stderr, "syntax error: Option '%s' takes a value argument!\n", pszArg);
+ return RTEXITCODE_SYNTAX;
+ }
+ const char *pszValue = argv[i];
+
+ /* Process the individual options. */
+ if (strcmp(pszArg, "-out") == 0)
+ pszOutput = pszValue;
+ else if (strcmp(pszArg, "-stub") == 0)
+ pszSetupStub = pszValue;
+ else
+ {
+ if (StubHdr.cPackages >= RT_ELEMENTS(aBuildPkgs))
+ {
+ fprintf(stderr, "error: Too many packages specified!\n");
+ return RTEXITCODE_FAILURE;
+ }
+ aBuildPkgs[StubHdr.cPackages].pszSrcPath = pszValue;
+ if (strcmp(pszArg, "-target-all") == 0)
+ aBuildPkgs[StubHdr.cPackages].enmArch = VBOXSTUBPKGARCH_ALL;
+ else if (strcmp(pszArg, "-target-amd64") == 0)
+ aBuildPkgs[StubHdr.cPackages].enmArch = VBOXSTUBPKGARCH_AMD64;
+ else if (strcmp(pszArg, "-target-x86") == 0)
+ aBuildPkgs[StubHdr.cPackages].enmArch = VBOXSTUBPKGARCH_X86;
+ else
+ {
+ fprintf(stderr, "internal error: %u\n", __LINE__);
+ return RTEXITCODE_FAILURE;
+ }
+ StubHdr.cPackages++;
+ }
+ }
+
+ if (StubHdr.cPackages == 0)
+ {
+ fprintf(stderr, "syntax error: No packages specified! Exiting.\n");
+ return RTEXITCODE_SYNTAX;
+ }
+
+ printf("Stub: %s\n", pszSetupStub);
+ printf("Output: %s\n", pszOutput);
+ printf("# Packages: %u\n", StubHdr.cPackages);
+
+ /*
+ * Copy the stub over the output file.
+ */
+ if (!CopyFile(pszSetupStub, pszOutput, FALSE))
+ {
+ fprintf(stderr, "ERROR: Could not copy the stub loader: %lu\n", GetLastError());
+ return RTEXITCODE_SYNTAX;
+ }
+
+ /*
+ * Start updating the resources of the output file.
+ */
+ HANDLE hUpdate = BeginUpdateResourceA(pszOutput, FALSE);
+ if (hUpdate)
+ {
+ /*
+ * Add the file one by one to the output file.
+ */
+ HRESULT hrc = S_OK;
+ for (BYTE i = 0; i < StubHdr.cPackages; i++)
+ {
+ printf("Integrating (Platform %d): %s\n", aBuildPkgs[i].enmArch, aBuildPkgs[i].pszSrcPath);
+
+ /*
+ * Create the package header.
+ */
+ VBOXSTUBPKG Package = {0};
+ Package.enmArch = aBuildPkgs[i].enmArch;
+
+ /* The resource name */
+ hrc = StringCchPrintf(Package.szResourceName, sizeof(Package.szResourceName), "BIN_%02d", i);
+ if (FAILED(hrc))
+ {
+ fprintf(stderr, "Internal error: %u\n", __LINE__);
+ break;
+ }
+
+ /* Construct final name used when extracting. */
+ hrc = StringCchCopy(Package.szFilename, sizeof(Package.szFilename), MyPathFilename(aBuildPkgs[i].pszSrcPath));
+ if (FAILED(hrc))
+ {
+ fprintf(stderr, "ERROR: Filename is too long: %s\n", aBuildPkgs[i].pszSrcPath);
+ break;
+ }
+
+ /*
+ * Add the package header to the binary.
+ */
+ char szHeaderName[32];
+ hrc = StringCchPrintf(szHeaderName, sizeof(szHeaderName), "HDR_%02d", i);
+ if (FAILED(hrc))
+ {
+ fprintf(stderr, "Internal error: %u\n", __LINE__);
+ break;
+ }
+
+ if (!UpdateResourceA(hUpdate, RT_RCDATA, szHeaderName, MAKELANGID(LANG_ENGLISH, SUBLANG_ENGLISH_US),
+ &Package, sizeof(Package)))
+ {
+ fprintf(stderr, "ERROR: UpdateResourceA failed for the package header: %lu\n", GetLastError());
+ hrc = E_FAIL;
+ break;
+ }
+
+ /*
+ * Add the file content under the BIN_xx resource name.
+ */
+ hrc = IntegrateFile(hUpdate, RT_RCDATA, Package.szResourceName, aBuildPkgs[i].pszSrcPath);
+ if (FAILED(hrc))
+ break;
+ }
+ if (SUCCEEDED(hrc))
+ {
+ /*
+ * Now add the header/manifest and complete the operation.
+ */
+ if (UpdateResourceA(hUpdate, RT_RCDATA, "MANIFEST", MAKELANGID(LANG_ENGLISH, SUBLANG_ENGLISH_US),
+ &StubHdr, sizeof(StubHdr)))
+ {
+ if (EndUpdateResourceA(hUpdate, FALSE /*fDiscard*/))
+ {
+ printf("Successfully created the installer\n");
+ return RTEXITCODE_SUCCESS;
+ }
+ fprintf(stderr, "ERROR: EndUpdateResourceA failed: %lu\n", GetLastError());
+ }
+ else
+ fprintf(stderr, "ERROR: UpdateResourceA failed for the installer header/manifest: %lu\n", GetLastError());
+ }
+
+ EndUpdateResourceA(hUpdate, TRUE /*fDiscard*/);
+ hUpdate = NULL;
+ }
+ else
+ fprintf(stderr, "error: BeginUpdateResource failed: %lu\n", GetLastError());
+ return RTEXITCODE_FAILURE;
+}
diff --git a/src/VBox/Installer/win/StubBld/VBoxStubBld.h b/src/VBox/Installer/win/StubBld/VBoxStubBld.h
new file mode 100644
index 00000000..b0a4c382
--- /dev/null
+++ b/src/VBox/Installer/win/StubBld/VBoxStubBld.h
@@ -0,0 +1,88 @@
+/* $Id: VBoxStubBld.h $ */
+/** @file
+ * VBoxStubBld - VirtualBox's Windows installer stub builder.
+ */
+
+/*
+ * Copyright (C) 2009-2023 Oracle and/or its affiliates.
+ *
+ * This file is part of VirtualBox base platform packages, as
+ * available from https://www.virtualbox.org.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation, in version 3 of the
+ * License.
+ *
+ * This program is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, see <https://www.gnu.org/licenses>.
+ *
+ * SPDX-License-Identifier: GPL-3.0-only
+ */
+
+#ifndef VBOX_INCLUDED_SRC_StubBld_VBoxStubBld_h
+#define VBOX_INCLUDED_SRC_StubBld_VBoxStubBld_h
+#ifndef RT_WITHOUT_PRAGMA_ONCE
+# pragma once
+#endif
+
+#include <iprt/types.h>
+#include <iprt/assertcompile.h>
+
+/**/
+#define VBOXSTUB_MAX_PACKAGES 128
+
+/** */
+#define VBOXSTUBPKGHEADER_MAGIC_SZ "VBoxInstV1\0\0\0\0"
+
+/**
+ * VBox installer stub header, aka "MANIFEST".
+ *
+ * This just holds the number of packages present in the image.
+ */
+typedef struct VBOXSTUBPKGHEADER
+{
+ /** Magic value/string (VBOXSTUBPKGHEADER_MAGIC_SZ) */
+ char szMagic[11 + 4];
+ /** Number of packages following the header. */
+ uint8_t cPackages;
+} VBOXSTUBPKGHEADER;
+AssertCompileSize(VBOXSTUBPKGHEADER, 16);
+typedef VBOXSTUBPKGHEADER *PVBOXSTUBPKGHEADER;
+
+typedef enum VBOXSTUBPKGARCH
+{
+ /** Always extract. */
+ VBOXSTUBPKGARCH_ALL = 1,
+ /** Extract on x86 hosts. */
+ VBOXSTUBPKGARCH_X86,
+ /** Extract on AMD64 hosts. */
+ VBOXSTUBPKGARCH_AMD64
+} VBOXSTUBPKGARCH;
+
+/**
+ * Package header/descriptor.
+ *
+ * This is found as "HDR_xx" where xx is replaced by the decimal package number,
+ * zero padded to two digits.
+ */
+typedef struct VBOXSTUBPKG
+{
+ /** The architecture for the file. */
+ VBOXSTUBPKGARCH enmArch;
+ /** The name of the resource holding the file bytes.
+ * This is a pointless field, because the resource name is "BIN_xx"
+ * corresponding to the name of the resource containing this struct. */
+ char szResourceName[28];
+ /** The filename. */
+ char szFilename[224];
+} VBOXSTUBPKG;
+AssertCompileSize(VBOXSTUBPKG, 256);
+typedef VBOXSTUBPKG *PVBOXSTUBPKG;
+
+#endif /* !VBOX_INCLUDED_SRC_StubBld_VBoxStubBld_h */
diff --git a/src/VBox/Installer/win/UserInterface.wxi b/src/VBox/Installer/win/UserInterface.wxi
new file mode 100644
index 00000000..f371cd55
--- /dev/null
+++ b/src/VBox/Installer/win/UserInterface.wxi
@@ -0,0 +1,1247 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ User interface include for VirtualBox WiX script.
+-->
+<!--
+ Copyright (C) 2006-2023 Oracle and/or its affiliates.
+
+ This file is part of VirtualBox base platform packages, as
+ available from https://www.virtualbox.org.
+
+ This program is free software; you can redistribute it and/or
+ modify it under the terms of the GNU General Public License
+ as published by the Free Software Foundation, in version 3 of the
+ License.
+
+ This program is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, see <https://www.gnu.org/licenses>.
+
+ SPDX-License-Identifier: GPL-3.0-only
+-->
+
+<Include xmlns="http://schemas.microsoft.com/wix/2006/wi">
+ <UI>
+ <!-- This dialog will be shown when the user cancels the installation -->
+ <Dialog Id="VBoxCancelDlg" Width="260" Height="85" Title="[ProductName] !(loc.Setup)" NoMinimize="yes">
+ <Control Id="No" Type="PushButton" X="132" Y="57" Width="56" Height="17" Default="yes" Cancel="yes" Text="!(loc.ButtonText_No)">
+ <Publish Event="EndDialog" Value="Return">1</Publish>
+ </Control>
+ <Control Id="Yes" Type="PushButton" X="72" Y="57" Width="56" Height="17" Text="!(loc.ButtonText_Yes)">
+ <Publish Event="EndDialog" Value="Exit">1</Publish>
+ </Control>
+ <Control Id="Text" Type="Text" X="48" Y="15" Width="194" Height="30">
+ <Text>!(loc.CancelDlg_Question)</Text>
+ </Control>
+ <Control Id="Icon" Type="Icon" X="15" Y="15" Width="24" Height="24" ToolTip="Information icon" FixedSize="yes" IconSize="32" Text="[InfoIcon]" />
+ </Dialog>
+
+ <!-- This is the very first page the user will see -->
+ <Dialog Id="VBoxWelcomeDlg" Width="370" Height="270" Title="[ProductName] !(loc.Setup)" NoMinimize="yes">
+ <!-- The wizard has a bitmap as background. The source is defined as a property below. -->
+ <Control Id="Bitmap" Type="Bitmap" X="0" Y="0" Width="370" Height="234" TabSkip="no" Text="[DialogBitmap]" />
+
+ <!-- Title text drawn on the background -->
+ <Control Id="Title" Type="Text" X="135" Y="20" Width="220" Height="60" Transparent="yes" NoPrefix="yes">
+ <Text>{\DlgVerdanaBold13}!(loc.WelcomeDlg_Header)</Text>
+ </Control>
+
+ <!-- Text saying what we gonna do -->
+ <Control Id="Description" Type="Text" X="135" Y="70" Width="220" Height="130" Transparent="yes" NoPrefix="yes">
+ <Text>!(loc.WelcomeDlg_Body)</Text>
+ </Control>
+
+ <!-- And a line for looking nice... -->
+ <Control Id="BottomLine" Type="Line" X="0" Y="234" Width="370" Height="0" />
+
+ <!-- Build number text drawn left bottom -->
+ <Control Id="Build" Type="Text" X="20" Y="247" Width="220" Height="10" Transparent="yes" NoPrefix="yes">
+ <Text>[Version_text] $(var.Property_Version)</Text>
+ </Control>
+
+ <Control Id="Next" Type="PushButton" X="236" Y="243" Width="56" Height="17" Default="yes" Text="!(loc.ButtonText_Next)" />
+
+ <!-- Canceling will bring up a confirmation dialog ('SpawnDialog' attribute) -->
+ <Control Id="Cancel" Type="PushButton" X="304" Y="243" Width="56" Height="17" Cancel="yes" Text="!(loc.ButtonText_Cancel)">
+ <Publish Event="SpawnDialog" Value="VBoxCancelDlg">1</Publish>
+ </Control>
+ </Dialog>
+
+ <!-- The radio button group used for the license agreement page -->
+ <RadioButtonGroup Property="IAgree">
+ <RadioButton Text="{\DlgFont8}!(loc.LicenseAgreementDlg_Accept)" Value="Yes" X="5" Y="0" Width="250" Height="15" />
+ <RadioButton Text="{\DlgFont8}!(loc.LicenseAgreementDlg_Decline)" Value="No" X="5" Y="20" Width="250" Height="15" />
+ </RadioButtonGroup>
+
+ <!-- The dialog page showing the license. The user has to set the appropriate check box to proceed -->
+ <Dialog Id="VBoxLicenseAgreementDlg" Width="370" Height="270" Title="[ProductName] License Agreement" NoMinimize="yes">
+ <!-- The bitmap at the top of the dialog. This dialog doesn't have a background -->
+ <Control Id="BannerBitmap" Type="Bitmap" X="0" Y="0" Width="370" Height="44" TabSkip="no" Text="[BannerBitmap]" />
+
+ <!-- The font used here is defined below -->
+ <Control Id="Title" Type="Text" X="15" Y="6" Width="200" Height="15" Transparent="yes" NoPrefix="yes">
+ <Text>[DlgTitleFont]!(loc.LicenseAgreementDlg_Header)</Text>
+ </Control>
+
+ <Control Id="Description" Type="Text" X="25" Y="23" Width="280" Height="15" Transparent="yes" NoPrefix="yes">
+ <Text>!(loc.LicenseAgreementDlg_Body)</Text>
+ </Control>
+
+ <!-- The line directly below of the banner bmp -->
+ <Control Id="BannerLine" Type="Line" X="0" Y="44" Width="370" Height="0" />
+
+ <!-- The license text should be a RTF text so we have formatting -->
+ <Control Id="AgreementText" Type="ScrollableText" X="20" Y="60" Width="330" Height="120" Sunken="yes" TabSkip="no" Text="!(loc.LicenseText)"/>
+
+ <!-- This radio button group is defined below -->
+ <Control Id="Buttons" Type="RadioButtonGroup" X="20" Y="187" Width="330" Height="40" Property="IAgree" />
+
+ <!-- And a line for looking nice... -->
+ <Control Id="BottomLine" Type="Line" X="0" Y="234" Width="370" Height="0" />
+
+ <!-- Build number text drawn left bottom -->
+ <Control Id="Build" Type="Text" X="20" Y="247" Width="220" Height="10" Transparent="yes" NoPrefix="yes">
+ <Text>[Version_text] $(var.Property_Version)</Text>
+ </Control>
+
+ <Control Id="Back" Type="PushButton" X="180" Y="243" Width="56" Height="17" Text="!(loc.ButtonText_Back)" />
+ <Control Id="Next" Type="PushButton" X="236" Y="243" Width="56" Height="17" Default="yes" Text="!(loc.ButtonText_Next)">
+ <!-- 'Next' button is only enabled when 'I agree' radio button is selected -->
+ <Condition Action="disable"><![CDATA[IAgree <> "Yes"]]></Condition>
+ <Condition Action="enable"><![CDATA[IAgree = "Yes"]]></Condition>
+ </Control>
+
+ <!-- Canceling will bring up a confirmation dialog ('SpawnDialog' attribute) -->
+ <Control Id="Cancel" Type="PushButton" X="304" Y="243" Width="56" Height="17" Cancel="yes" Text="!(loc.ButtonText_Cancel)">
+ <Publish Event="SpawnDialog" Value="VBoxCancelDlg">1</Publish>
+ </Control>
+ </Dialog>
+
+ <Dialog Id="VBoxCheckSerialDlg" Width="370" Height="270" Title="[ProductName] !(loc.Setup)" NoMinimize="yes">
+ <!-- The wizard has a bitmap as background. The source is defined as a property below. -->
+ <Control Id="Bitmap" Type="Bitmap" X="0" Y="0" Width="370" Height="234" TabSkip="no" Text="[DialogBitmap]" />
+
+ <Control Id="Title" Type="Text" X="135" Y="20" Width="220" Height="60" Transparent="yes" NoPrefix="yes">
+ <Text>{\DlgVerdanaBold13}!(loc.CheckSerialDlg_Header)</Text>
+ </Control>
+
+ <!-- Text saying what we gonna do -->
+ <Control Id="Description" Type="Text" X="135" Y="50" Width="220" Height="130" Transparent="yes" NoPrefix="yes">
+ <Text>!(loc.CheckSerialDlg_Body)</Text>
+ </Control>
+
+ <Control Id="Serial1Edit" Type="Edit" X="135" Y="90" Width="30" Height="18" Property="Serial1" Text="{5}">
+ <!--<Publish Event="DoAction" Value="CheckSerial">1</Publish>-->
+ </Control>
+ <Control Id="Serial2Edit" Type="Edit" X="170" Y="90" Width="30" Height="18" Property="Serial2" Text="{5}">
+ <!--<Publish Event="DoAction" Value="CheckSerial">1</Publish>-->
+ </Control>
+ <Control Id="Serial3Edit" Type="Edit" X="205" Y="90" Width="30" Height="18" Property="Serial3" Text="{5}">
+ <!--<Publish Event="DoAction" Value="CheckSerial">1</Publish>-->
+ </Control>
+ <Control Id="Serial4Edit" Type="Edit" X="240" Y="90" Width="30" Height="18" Property="Serial4" Text="{5}">
+ <!--<Publish Event="DoAction" Value="CheckSerial">1</Publish>-->
+ </Control>
+ <Control Id="Serial5Edit" Type="Edit" X="275" Y="90" Width="30" Height="18" Property="Serial5" Text="{5}">
+ <!--<Publish Event="DoAction" Value="CheckSerial">1</Publish>-->
+ </Control>
+
+ <Control Id="Description3" Type="Text" X="135" Y="120" Width="220" Height="130" Transparent="yes" NoPrefix="yes">
+ <Text>!(loc.CheckSerialDlg_Footer)</Text>
+ </Control>
+
+ <Control Id="Back" Type="PushButton" X="180" Y="243" Width="56" Height="17" Text="!(loc.ButtonText_Back)" />
+ <Control Id="Next" Type="PushButton" X="236" Y="243" Width="56" Height="17" Default="yes" Text="!(loc.ButtonText_Check)" />
+ <Control Id="Cancel" Type="PushButton" X="304" Y="243" Width="56" Height="17" Cancel="yes" Text="!(loc.ButtonText_Cancel)">
+ <Publish Event="SpawnDialog" Value="VBoxCancelDlg">1</Publish>
+ </Control>
+
+ <!-- And a line for looking nice... -->
+ <Control Id="BottomLine" Type="Line" X="0" Y="234" Width="370" Height="0" />
+
+ <!-- Build number text drawn left bottom -->
+ <Control Id="Build" Type="Text" X="20" Y="247" Width="220" Height="10" Transparent="yes" NoPrefix="yes">
+ <Text>[Version_text] $(var.Property_Version)</Text>
+ </Control>
+
+ </Dialog>
+
+ <Dialog Id="VBoxWrongSerialDlg" Width="370" Height="270" Title="[ProductName] !(loc.Setup)" NoMinimize="yes">
+
+ <!-- The wizard has a bitmap as background. The source is defined as a property below. -->
+ <Control Id="Bitmap" Type="Bitmap" X="0" Y="0" Width="370" Height="234" TabSkip="no" Text="[DialogBitmap]" />
+
+ <!-- Title text drawn on the background -->
+ <Control Id="Title" Type="Text" X="135" Y="20" Width="220" Height="60" Transparent="yes" NoPrefix="yes">
+ <Text>{\DlgInvalidSerial}!(loc.WrongSerialDlg_Header)</Text>
+ </Control>
+
+ <!-- Text saying what we gonna do -->
+ <Control Id="Description" Type="Text" X="135" Y="70" Width="220" Height="130" Transparent="yes" NoPrefix="yes">
+ <Text>!(loc.WrongSerialDlg_Desc1)</Text>
+ </Control>
+
+ <Control Id="Description2" Type="Text" X="135" Y="95" Width="220" Height="130" Transparent="yes" NoPrefix="yes">
+ <Text>!(loc.WrongSerialDlg_Desc2)</Text>
+ </Control>
+
+ <!-- And a line for looking nice... -->
+ <Control Id="BottomLine" Type="Line" X="0" Y="234" Width="370" Height="0" />
+
+ <!-- Build number text drawn left bottom -->
+ <Control Id="Build" Type="Text" X="20" Y="247" Width="220" Height="10" Transparent="yes" NoPrefix="yes">
+ <Text>[Version_text] $(var.Property_Version)</Text>
+ </Control>
+
+ <Control Id="Back" Type="PushButton" X="236" Y="243" Width="56" Height="17" Default="yes" Text="!(loc.ButtonText_Back)" />
+
+ <!-- Canceling will bring up a confirmation dialog ('SpawnDialog' attribute) -->
+ <Control Id="Cancel" Type="PushButton" X="304" Y="243" Width="56" Height="17" Cancel="yes" Text="!(loc.ButtonText_Cancel)">
+ <Publish Event="SpawnDialog" Value="VBoxCancelDlg">1</Publish>
+ </Control>
+
+ </Dialog>
+
+ <!-- Dialog used to set another installation path. This is taken from the tutorial template on the web and can also be
+ used for package selection etc. if necessary after some tweaking. -->
+ <Dialog Id="VBoxCustomizeDlg" Width="370" Height="270" Title="[ProductName] !(loc.Setup)" NoMinimize="yes" TrackDiskSpace="yes">
+ <Control Id="BannerBitmap" Type="Bitmap" X="0" Y="0" Width="370" Height="44" TabSkip="no" Text="[BannerBitmap]" />
+ <Control Id="BannerLine" Type="Line" X="0" Y="44" Width="370" Height="0" />
+ <Control Id="Title" Type="Text" X="15" Y="6" Width="200" Height="15" Transparent="yes" NoPrefix="yes">
+ <Text>[DlgTitleFont]!(loc.CustomizeDlg_CustomSetup)</Text>
+ </Control>
+ <Control Id="Description" Type="Text" X="25" Y="23" Width="280" Height="15" Transparent="yes" NoPrefix="yes">
+ <Text>!(loc.CustomizeDlg_SelFeatures)</Text>
+ </Control>
+ <Control Id="Text" Type="Text" X="25" Y="55" Width="320" Height="20">
+ <Text>!(loc.CustomizeDlg_IconTree)</Text>
+ </Control>
+ <Control Id="Tree" Type="SelectionTree" X="25" Y="85" Width="175" Height="95" Property="_BrowseProperty"
+ Sunken="yes" TabSkip="no" Text="Tree of selections" />
+ <Control Id="Browse" Type="PushButton" X="304" Y="200" Width="56" Height="17" Text="!(loc.ButtonText_Browse)">
+ <Publish Event="SelectionBrowse" Value="VBoxBrowseDlg">1</Publish>
+ <Condition Action="hide">Installed</Condition>
+ </Control>
+ <Control Id="DiskCost" Type="PushButton" X="111" Y="243" Width="56" Height="17">
+ <Text>!(loc.CustomizeDlg_DiskUsage)</Text>
+ <Publish Event="SpawnDialog" Value="VBoxDiskCostDlg">1</Publish>
+ <Subscribe Event="SelectionNoItems" Attribute="Enabled" />
+ </Control>
+ <Control Id="Box" Type="GroupBox" X="210" Y="81" Width="140" Height="98" />
+ <Control Id="ItemDescription" Type="Text" X="215" Y="90" Width="131" Height="30">
+ <Text>!(loc.CustomizeDlg_SelItemDesc)</Text>
+ <Subscribe Event="SelectionDescription" Attribute="Text" />
+ </Control>
+ <Control Id="ItemSize" Type="Text" X="215" Y="130" Width="131" Height="45">
+ <Text>!(loc.CustomizeDlg_SelItemSize)</Text>
+ <Subscribe Event="SelectionSize" Attribute="Text" />
+ </Control>
+ <Control Id="Location" Type="Text" X="75" Y="200" Width="215" Height="20">
+ <Text>!(loc.CustomizeDlg_SelItemPath)</Text>
+ <Subscribe Event="SelectionPath" Attribute="Text" />
+ <Subscribe Event="SelectionPathOn" Attribute="Visible" />
+ <Condition Action="hide">Installed</Condition>
+ </Control>
+ <Control Id="LocationLabel" Type="Text" X="25" Y="200" Width="50" Height="10" Text="!(loc.CustomizeDlg_Location)">
+ <Subscribe Event="SelectionPathOn" Attribute="Visible" />
+ <Condition Action="hide">Installed</Condition>
+ </Control>
+
+ <Control Id="Back" Type="PushButton" X="180" Y="243" Width="56" Height="17" Text="!(loc.ButtonText_Back)" />
+ <Control Id="Next" Type="PushButton" X="236" Y="243" Width="56" Height="17" Default="yes" Text="!(loc.ButtonText_Next)">
+ <Subscribe Event="SelectionNoItems" Attribute="Enabled" />
+ </Control>
+ <Control Id="Cancel" Type="PushButton" X="304" Y="243" Width="56" Height="17" Cancel="yes" Text="!(loc.ButtonText_Cancel)">
+ <Publish Event="SpawnDialog" Value="VBoxCancelDlg">1</Publish>
+ </Control>
+
+ <!-- Build number text drawn left bottom -->
+ <Control Id="BottomLine" Type="Line" X="0" Y="234" Width="370" Height="0" />
+ <Control Id="Build" Type="Text" X="20" Y="247" Width="220" Height="10" Transparent="yes" NoPrefix="yes">
+ <Text>[Version_text] $(var.Property_Version)</Text>
+ </Control>
+ </Dialog>
+
+ <!-- Dialog for selection network adapters type (NDIS5 or NDIS6) -->
+ <RadioButtonGroup Property="NETWORKTYPE">
+ <RadioButton Text="!(loc.SelectionNetworkTypeDlg_RadioButtonNDIS5)" Value="NDIS5" X="5" Y="0" Width="120" Height="20" />
+ <RadioButton Text="!(loc.SelectionNetworkTypeDlg_RadioButtonNDIS6)" Value="NDIS6" X="5" Y="20" Width="120" Height="20" />
+ </RadioButtonGroup>
+
+ <Dialog Id="VBoxSelectionNetworkTypeDlg" Width="370" Height="270" Title="[ProductName] !(loc.Setup)" NoMinimize="yes">
+ <Control Id="BannerBitmap" Type="Bitmap" X="0" Y="0" Width="370" Height="44" TabSkip="no" Text="[BannerBitmap]" />
+ <Control Id="BannerLine" Type="Line" X="0" Y="44" Width="370" Height="0" />
+ <Control Id="Title" Type="Text" X="15" Y="6" Width="220" Height="40" Transparent="yes" NoPrefix="yes">
+ <Text>[DlgTitleFont]!(loc.CustomizeDlg_CustomSetup)</Text>
+ </Control>
+ <Control Id="Description" Type="Text" X="25" Y="23" Width="220" Height="20" Transparent="yes" NoPrefix="yes">
+ <Text>!(loc.CustomizeDlg_SelFeatures)</Text>
+ </Control>
+
+ <Control Id="CommonDescription" Type="Text" X="25" Y="55" Width="325" Height="20" Transparent="yes" NoPrefix="yes">
+ <Text>!(loc.SelectionNetworkTypeDlg_CommonDescription)</Text>
+ </Control>
+
+ <!-- The radio button group used for choosing NDIS5 or NDIS6 network drivers -->
+ <Control Id="Buttons" Type="RadioButtonGroup" X="25" Y="100" Width="130" Height="60" Property="NETWORKTYPE" />
+
+ <!-- Description text -->
+ <Control Id="DescriptionNDIS5" Type="Text" X="200" Y="105" Width="150" Height="60" Transparent="yes" NoPrefix="yes">
+ <Text>!(loc.SelectionNetworkTypeDlg_DescriptionNDIS5)</Text>
+ <Condition Action="hide"> NETWORKTYPE = "NDIS6"</Condition>
+ <Condition Action="show"> NETWORKTYPE = "NDIS5"</Condition>
+ </Control>
+ <Control Id="DescriptionNDIS6" Type="Text" X="200" Y="105" Width="150" Height="60" Transparent="yes" NoPrefix="yes">
+ <Text>!(loc.SelectionNetworkTypeDlg_DescriptionNDIS6)</Text>
+ <Condition Action="hide"> NETWORKTYPE = "NDIS5"</Condition>
+ <Condition Action="show"> NETWORKTYPE = "NDIS6"</Condition>
+ </Control>
+
+ <Control Id="Next" Type="PushButton" X="236" Y="243" Width="56" Height="17" Default="yes" Cancel="yes" Text="!(loc.ButtonText_Next)"/>
+ <Control Id="Back" Type="PushButton" X="180" Y="243" Width="56" Height="17" Text="!(loc.ButtonText_Back)"/>
+ <Control Id="Cancel" Type="PushButton" X="304" Y="243" Width="56" Height="17"
+ Text="!(loc.ButtonText_Cancel)">
+ <Publish Event="SpawnDialog" Value="VBoxCancelDlg">1</Publish>
+ </Control>
+
+ <!-- Build number text drawn left bottom -->
+ <Control Id="BottomLine" Type="Line" X="0" Y="234" Width="370" Height="0" />
+ <Control Id="Build" Type="Text" X="20" Y="247" Width="220" Height="10" Transparent="yes" NoPrefix="yes">
+ <Text>[Version_text] $(var.Property_Version)</Text>
+ </Control>
+ </Dialog>
+
+ <Dialog Id="VBoxCustomize2Dlg" Width="370" Height="270" Title="[ProductName] !(loc.Setup)" NoMinimize="yes">
+ <Control Id="BannerBitmap" Type="Bitmap" X="0" Y="0" Width="370" Height="44" TabSkip="no" Text="[BannerBitmap]" />
+ <Control Id="BannerLine" Type="Line" X="0" Y="44" Width="370" Height="0" />
+ <Control Id="Title" Type="Text" X="15" Y="6" Width="220" Height="40" Transparent="yes" NoPrefix="yes">
+ <Text>[DlgTitleFont]!(loc.CustomizeDlg_CustomSetup)</Text>
+ </Control>
+ <Control Id="Description" Type="Text" X="25" Y="23" Width="220" Height="20" Transparent="yes" NoPrefix="yes">
+ <Text>!(loc.CustomizeDlg_SelFeatures)</Text>
+ </Control>
+ <Control Id="Text" Type="Text" X="25" Y="70" Width="320" Height="20">
+ <Text>!(loc.Customize2Dlg_Desc)</Text>
+ </Control>
+<?if $(env.VBOX_WITH_QTGUI) = "yes" ?>
+ <!-- Note the gray background behind the checkboxes. Unfortunately there's no easy way to
+ fix this, without fixing it in the WiX source code. Because the control's background
+ uses the default dialog background color, changing the background image for the dialog to
+ match won't really solve anything. It would still look out of place on different versions
+ of Windows that use other default background colors, and on the machines of users that
+ change their Windows color scheme.
+ Also see: http://osdir.com/ml/windows.devel.wix.user/2005-02/msg00300.html -->
+ <Control Id="StartMenuEntriesCheckBox" Type="CheckBox" X="25" Y="95" Width="200" Height="17"
+ Property="VBOX_INSTALLSTARTMENUENTRIES" CheckBoxValue="1" Default="no">
+ <Text>!(loc.Customize2Dlg_CreateStartMenuEntries)</Text>
+ </Control>
+ <Control Id="DesktopShortcutCheckBox" Type="CheckBox" X="25" Y="115" Width="200" Height="17"
+ Property="VBOX_INSTALLDESKTOPSHORTCUT" CheckBoxValue="1" Default="no">
+ <Text>!(loc.Customize2Dlg_CreateDesktopShortcut)</Text>
+ </Control>
+ <Control Id="QuicklaunchShortcutCheckBox" Type="CheckBox" X="25" Y="135" Width="200" Height="17"
+ Property="VBOX_INSTALLQUICKLAUNCHSHORTCUT" CheckBoxValue="1" Default="no">
+ <Text>!(loc.Customize2Dlg_CreateQuickLaunch)</Text>
+ </Control>
+ <Control Id="RegisterFileExtensionsCheckBox" Type="CheckBox" X="25" Y="155" Width="200" Height="17"
+ Property="VBOX_REGISTERFILEEXTENSIONS" CheckBoxValue="1" Default="no">
+ <Text>!(loc.Customize2Dlg_RegisterFileExtensions)</Text>
+ </Control>
+<?endif?> <!-- VBOX_WITH_QTGUI -->
+ <Control Id="Next" Type="PushButton" X="236" Y="243" Width="56" Height="17" Default="yes" Text="!(loc.ButtonText_Next)" />
+ <Control Id="Back" Type="PushButton" X="180" Y="243" Width="56" Height="17" Text="!(loc.ButtonText_Back)" />
+
+ <!-- Build number text drawn left bottom -->
+ <Control Id="BottomLine" Type="Line" X="0" Y="234" Width="370" Height="0" />
+ <Control Id="Build" Type="Text" X="20" Y="247" Width="220" Height="10" Transparent="yes" NoPrefix="yes">
+ <Text>[Version_text] $(var.Property_Version)</Text>
+ </Control>
+ </Dialog>
+
+ <Dialog Id="VBoxWarnDisconNetIfacesDlg" Width="370" Height="270" Title="[ProductName] [Setup]" NoMinimize="yes">
+
+ <!-- The wizard has a bitmap as background. The source is defined as a property below. -->
+ <Control Id="Bitmap" Type="Bitmap" X="0" Y="0" Width="370" Height="234" TabSkip="no" Text="[DialogBitmap]" />
+
+ <!-- Title text drawn on the background -->
+ <Control Id="Title" Type="Text" X="135" Y="20" Width="220" Height="60" Transparent="yes" NoPrefix="yes">
+ <Text>{\DlgWarnDisconNetIfaces}!(loc.WarnDisconNetIfacesDlg_Title)</Text>
+ </Control>
+
+ <Control Id="Title2" Type="Text" X="135" Y="40" Width="220" Height="60" Transparent="yes" NoPrefix="yes">
+ <Text>{\DlgWarnDisconNetIfaces}!(loc.WarnDisconNetIfacesDlg_Title2)</Text>
+ </Control>
+
+ <!-- Text saying what we gonna do -->
+ <Control Id="Description" Type="Text" X="135" Y="70" Width="220" Height="130" Transparent="yes" NoPrefix="yes">
+ <Text>!(loc.WarnDisconNetIfacesDlg_Desc)</Text>
+ </Control>
+
+ <Control Id="Description2" Type="Text" X="135" Y="115" Width="220" Height="130" Transparent="yes" NoPrefix="yes">
+ <Text>!(loc.WarnDisconNetIfacesDlg_Question)</Text>
+ </Control>
+
+ <!-- And a line for looking nice... -->
+ <Control Id="BottomLine" Type="Line" X="0" Y="234" Width="370" Height="0" />
+
+ <!-- Build number text drawn left bottom -->
+ <Control Id="Build" Type="Text" X="20" Y="247" Width="220" Height="10" Transparent="yes" NoPrefix="yes">
+ <Text>[Version_text] $(var.Property_Version)</Text>
+ </Control>
+
+ <Control Id="Next" Type="PushButton" X="236" Y="243" Width="56" Height="17" Default="yes" Text="!(loc.ButtonText_Yes)" />
+ <Control Id="Cancel" Type="PushButton" X="304" Y="243" Width="56" Height="17" Cancel="yes" Text="!(loc.ButtonText_No)">
+ <Publish Event="SpawnDialog" Value="VBoxCancelDlg">1</Publish>
+ </Control>
+
+ </Dialog>
+
+ <Dialog Id="VBoxWarnPythonDlg" Width="370" Height="270" Title="[ProductName] [Setup]" NoMinimize="yes">
+
+ <!-- The wizard has a bitmap as background. The source is defined as a property below. -->
+ <Control Id="Bitmap" Type="Bitmap" X="0" Y="0" Width="370" Height="234" TabSkip="no" Text="[DialogBitmap]" />
+
+ <!-- Title text drawn on the background -->
+ <Control Id="Title" Type="Text" X="135" Y="20" Width="220" Height="60" Transparent="yes" NoPrefix="yes">
+ <Text>{\DlgWarnPython}!(loc.WarnPythonDlg_Title)</Text>
+ </Control>
+
+ <Control Id="Title2" Type="Text" X="135" Y="40" Width="220" Height="60" Transparent="yes" NoPrefix="yes">
+ <Text>{\DlgWarnPython}!(loc.WarnPythonDlg_Title2)</Text>
+ </Control>
+
+ <!-- Text saying what we gonna do -->
+ <Control Id="Description" Type="Text" X="135" Y="70" Width="220" Height="130" Transparent="yes" NoPrefix="yes">
+ <Text>!(loc.WarnPythonDlg_Desc)</Text>
+ </Control>
+
+ <Control Id="Description2" Type="Text" X="135" Y="115" Width="220" Height="130" Transparent="yes" NoPrefix="yes">
+ <Text>!(loc.WarnPythonDlg_Desc2)</Text>
+ </Control>
+
+ <Control Id="Description3" Type="Text" X="135" Y="160" Width="220" Height="130" Transparent="yes" NoPrefix="yes">
+ <Text>!(loc.WarnPythonDlg_Question)</Text>
+ </Control>
+
+ <!-- And a line for looking nice... -->
+ <Control Id="BottomLine" Type="Line" X="0" Y="234" Width="370" Height="0" />
+
+ <!-- Build number text drawn left bottom -->
+ <Control Id="Build" Type="Text" X="20" Y="247" Width="220" Height="10" Transparent="yes" NoPrefix="yes">
+ <Text>[Version_text] $(var.Property_Version)</Text>
+ </Control>
+
+ <Control Id="Next" Type="PushButton" X="236" Y="243" Width="56" Height="17" Default="yes" Text="!(loc.ButtonText_Yes)" />
+ <Control Id="Cancel" Type="PushButton" X="304" Y="243" Width="56" Height="17" Cancel="yes" Text="!(loc.ButtonText_No)">
+ <Publish Event="SpawnDialog" Value="VBoxCancelDlg">1</Publish>
+ </Control>
+
+ </Dialog>
+
+ <Dialog Id="VBoxDiskCostDlg" Width="370" Height="270" Title="[ProductName] !(loc.Setup)" NoMinimize="yes">
+ <Control Id="OK" Type="PushButton" X="304" Y="243" Width="56" Height="17" Default="yes" Cancel="yes" Text="!(loc.ButtonText_OK)">
+ <Publish Event="EndDialog" Value="Return">1</Publish>
+ </Control>
+ <Control Id="BannerBitmap" Type="Bitmap" X="0" Y="0" Width="370" Height="44" TabSkip="no" Text="[BannerBitmap]" />
+ <Control Id="Description" Type="Text" X="20" Y="20" Width="280" Height="20" Transparent="yes" NoPrefix="yes">
+ <Text>!(loc.DiskCostDlg_SpaceRequired)</Text>
+ </Control>
+ <Control Id="Text" Type="Text" X="20" Y="53" Width="330" Height="40">
+ <Text>!(loc.DiskCostDlg_NotEnoughSpace)</Text>
+ </Control>
+ <Control Id="BottomLine" Type="Line" X="0" Y="234" Width="370" Height="0" />
+ <Control Id="Title" Type="Text" X="15" Y="6" Width="200" Height="15" Transparent="yes" NoPrefix="yes">
+ <Text>[DlgTitleFont]!(loc.DiskCostDlg_SpaceRequirements)</Text>
+ </Control>
+ <Control Id="BannerLine" Type="Line" X="0" Y="44" Width="370" Height="0" />
+ <Control Id="VolumeList" Type="VolumeCostList" X="20" Y="100" Width="330" Height="120" Sunken="yes" Fixed="yes" Remote="yes">
+ <Text>!(loc.DiskCostDlg_VolumeList)</Text>
+ </Control>
+ </Dialog>
+
+ <!-- Dialog used to change the installation directory -->
+ <Dialog Id="VBoxBrowseDlg" Width="370" Height="270" Title="[ProductName] !(loc.Setup)" NoMinimize="yes">
+ <Control Id="PathEdit" Type="PathEdit" X="84" Y="202" Width="261" Height="18" Property="_BrowseProperty" Indirect="yes" />
+ <Control Id="OK" Type="PushButton" X="304" Y="243" Width="56" Height="17" Default="yes" Text="!(loc.ButtonText_OK)">
+ <Publish Event="SetTargetPath" Value="[_BrowseProperty]">1</Publish>
+ <Publish Event="EndDialog" Value="Return">1</Publish>
+ </Control>
+ <Control Id="Cancel" Type="PushButton" X="240" Y="243" Width="56" Height="17" Cancel="yes" Text="!(loc.ButtonText_Cancel)">
+ <Publish Event="Reset" Value="0">1</Publish>
+ <Publish Event="EndDialog" Value="Return">1</Publish>
+ </Control>
+ <Control Id="ComboLabel" Type="Text" X="25" Y="58" Width="44" Height="10" TabSkip="no" Text="!(loc.BrowseDlg_LookIn)" />
+ <Control Id="DirectoryCombo" Type="DirectoryCombo" X="70" Y="55" Width="220" Height="80"
+ Property="_BrowseProperty" Indirect="yes" Fixed="yes" Remote="yes">
+ <Subscribe Event="IgnoreChange" Attribute="IgnoreChange" />
+ </Control>
+ <Control Id="Up" Type="PushButton" X="298" Y="55" Width="19" Height="19" ToolTip="!(loc.BrowseDlg_UpOneLevelTooltip)" Icon="yes" FixedSize="yes" IconSize="16" Text="[FolderUp]">
+ <Publish Event="DirectoryListUp" Value="0">1</Publish>
+ </Control>
+ <Control Id="NewFolder" Type="PushButton" X="325" Y="55" Width="19" Height="19"
+ ToolTip="!(loc.BrowseDlg_CreateNewFolderTooltip)" Icon="yes" FixedSize="yes" IconSize="16" Text="[FolderNew]">
+ <Publish Event="DirectoryListNew" Value="0">1</Publish>
+ </Control>
+ <Control Id="DirectoryList" Type="DirectoryList" X="25" Y="83" Width="320" Height="110"
+ Property="_BrowseProperty" Sunken="yes" Indirect="yes" TabSkip="no" />
+ <Control Id="PathLabel" Type="Text" X="25" Y="205" Width="59" Height="10" TabSkip="no" Text="!(loc.BrowseDlg_FolderName)" />
+ <Control Id="BannerBitmap" Type="Bitmap" X="0" Y="0" Width="370" Height="44" TabSkip="no" Text="[BannerBitmap]" />
+ <Control Id="Description" Type="Text" X="25" Y="23" Width="280" Height="15" Transparent="yes" NoPrefix="yes">
+ <Text>!(loc.BrowseDlg_BrowseDestFolder)</Text>
+ </Control>
+ <Control Id="BottomLine" Type="Line" X="0" Y="234" Width="370" Height="0" />
+ <Control Id="Title" Type="Text" X="15" Y="6" Width="200" Height="15" Transparent="yes" NoPrefix="yes">
+ <Text>[DlgTitleFont]!(loc.BrowseDlg_ChangeCurFolder)</Text>
+ </Control>
+ <Control Id="BannerLine" Type="Line" X="0" Y="44" Width="370" Height="0" />
+ </Dialog>
+
+ <Dialog Id="VBoxPrepareDlg" Width="370" Height="270" Title="[ProductName] !(loc.Setup)" Modeless="yes">
+ <Control Id="Cancel" Type="PushButton" X="304" Y="243" Width="56" Height="17" Default="yes" Cancel="yes" Text="!(loc.ButtonText_Cancel)">
+ <Publish Event="SpawnDialog" Value="VBoxCancelDlg">1</Publish>
+ </Control>
+ <Control Id="Bitmap" Type="Bitmap" X="0" Y="0" Width="370" Height="234" TabSkip="no" Text="[DialogBitmap]" />
+ </Dialog>
+
+ <Dialog Id="VBoxVerifyReadyDlg" Width="370" Height="270" Title="[ProductName] !(loc.Setup)" NoMinimize="yes" TrackDiskSpace="yes">
+ <Control Id="BannerBitmap" Type="Bitmap" X="0" Y="0" Width="370" Height="44" TabSkip="no" Text="[BannerBitmap]" />
+ <Control Id="BannerLine" Type="Line" X="0" Y="44" Width="370" Height="0" />
+ <Control Id="Title" Type="Text" X="15" Y="6" Width="200" Height="15" Transparent="yes" NoPrefix="yes">
+ <Text>[DlgTitleFont]!(loc.VerifyReadyDlg_ReadyToInstall)</Text>
+ </Control>
+ <Control Id="Description" Type="Text" X="25" Y="23" Width="280" Height="15" Transparent="yes" NoPrefix="yes">
+ <Text>!(loc.VerifyReadyDlg_ReadyToBegin)</Text>
+ </Control>
+ <Control Id="Text" Type="Text" X="25" Y="70" Width="320" Height="80">
+ <Text>!(loc.VerifyReadyDlg_ClickInstall)</Text>
+ </Control>
+ <Control Id="BottomLine" Type="Line" X="0" Y="234" Width="370" Height="0" />
+ <Control Id="Install" Type="PushButton" X="236" Y="243" Width="56" Height="17" Default="yes" Text="!(loc.ButtonText_Install)">
+ <Publish Event="EndDialog" Value="Return"><![CDATA[OutOfDiskSpace <> 1]]></Publish>
+ <Publish Event="SpawnDialog" Value="VBoxOutOfRbDiskDlg"><![CDATA[OutOfDiskSpace = 1 AND OutOfNoRbDiskSpace = 0 AND (PROMPTROLLBACKCOST="P" OR NOT PROMPTROLLBACKCOST)]]></Publish>
+ <Publish Event="EndDialog" Value="Return"><![CDATA[OutOfDiskSpace = 1 AND OutOfNoRbDiskSpace = 0 AND PROMPTROLLBACKCOST="D"]]></Publish>
+ <Publish Event="EnableRollback" Value="False"><![CDATA[OutOfDiskSpace = 1 AND OutOfNoRbDiskSpace = 0 AND PROMPTROLLBACKCOST="D"]]></Publish>
+ <Publish Event="SpawnDialog" Value="VBoxOutOfDiskDlg"><![CDATA[(OutOfDiskSpace = 1 AND OutOfNoRbDiskSpace = 1) OR (OutOfDiskSpace = 1 AND PROMPTROLLBACKCOST="F")]]></Publish>
+ </Control>
+ <Control Id="Back" Type="PushButton" X="180" Y="243" Width="56" Height="17" Text="!(loc.ButtonText_Back)" />
+ <Control Id="Cancel" Type="PushButton" X="304" Y="243" Width="56" Height="17" Cancel="yes" Text="!(loc.ButtonText_Cancel)">
+ <Publish Event="SpawnDialog" Value="VBoxCancelDlg">1</Publish>
+ </Control>
+
+ <!-- Build number text drawn left bottom -->
+ <Control Id="Build" Type="Text" X="20" Y="247" Width="220" Height="10" Transparent="yes" NoPrefix="yes">
+ <Text>[Version_text] $(var.Property_Version)</Text>
+ </Control>
+ </Dialog>
+
+ <!-- This dialog is called after successful installation -->
+ <Dialog Id="VBoxExitDlg" Width="370" Height="270" Title="[ProductName] !(loc.Setup)" NoMinimize="yes">
+ <Control Id="Finish" Type="PushButton" X="236" Y="243" Width="56" Height="17" Default="yes" Cancel="yes" Text="!(loc.ButtonText_Finish)">
+<?if $(env.VBOX_WITH_QTGUI) = "yes" ?> <!-- Only expose action to start VirtualBox if we also ship FE/Qt with it. -->
+ <Publish Event="DoAction" Value="ca_StartVBox"><![CDATA[VBOX_START]]></Publish>
+<?endif ?>
+ <Publish Event="EndDialog" Value="Return">1</Publish>
+ </Control>
+
+ <!-- Build number text drawn left bottom -->
+ <Control Id="Build" Type="Text" X="20" Y="247" Width="220" Height="10" Transparent="yes" NoPrefix="yes">
+ <Text>[Version_text] $(var.Property_Version)</Text>
+ </Control>
+
+ <Control Id="Cancel" Type="PushButton" X="304" Y="243" Width="56" Height="17" Disabled="yes" Text="!(loc.ButtonText_Cancel)" />
+ <Control Id="Bitmap" Type="Bitmap" X="0" Y="0" Width="370" Height="234" TabSkip="no" Text="[DialogBitmap]" />
+ <Control Id="Back" Type="PushButton" X="180" Y="243" Width="56" Height="17" Disabled="yes" Text="!(loc.ButtonText_Back)" />
+ <Control Id="Description" Type="Text" X="135" Y="70" Width="220" Height="20" Transparent="yes" NoPrefix="yes">
+ <Text>!(loc.ExitDlg_ClickFinish)</Text>
+ </Control>
+
+ <!-- Only show the checkbox to start VirtualBox if we also ship FE/Qt with it. -->
+<?if $(env.VBOX_WITH_QTGUI) = "yes" ?>
+ <!-- Note the gray background behind the checkboxes. Unfortunately there's no easy way to
+ fix this, without fixing it in the WiX source code. Because the control's background
+ uses the default dialog background color, changing the background image for the dialog to
+ match won't really solve anything. It would still look out of place on different versions
+ of Windows that use other default background colors, and on the machines of users that
+ change their Windows color scheme.
+ Also see: http://osdir.com/ml/windows.devel.wix.user/2005-02/msg00300.html -->
+ <Control Id="StartVBoxCheckBox" Type="CheckBox" X="135" Y="115" Width="200" Height="17"
+ Property="VBOX_START" CheckBoxValue="1" Default="no">
+ <Text>!(loc.ExitDlg_StartVBox)</Text>
+ <Condition Action="hide">
+ <![CDATA[(InstallMode="Repair") OR (InstallMode="Remove") OR
+ (InstallMode="Change")]]>
+ </Condition>
+ </Control>
+<?endif ?>
+ <Control Id="BottomLine" Type="Line" X="0" Y="234" Width="370" Height="0" />
+ <Control Id="Title" Type="Text" X="135" Y="20" Width="220" Height="60" Transparent="yes" NoPrefix="yes">
+ <Text>{\DlgVerdanaBold13}!(loc.ExitDlg_InstComplete)</Text>
+ </Control>
+ </Dialog>
+
+ <!-- This dialog is called via the ErrorDialog property on an installation error. -->
+ <Dialog Id="VBoxErrorDlg" ErrorDialog="yes" Width="270" Height="150" Title="[ProductName] !(loc.Setup)" NoMinimize="yes">
+ <!-- Do *not* change the control IDs in the dialog! -->
+ <Control Id="ErrorText" Type="Text" X="75" Y="20" Width="155" Height="80" TabSkip="no" NoPrefix="yes" Text="Error information text" />
+ <Control Id="Y" Type="PushButton" X="20" Y="110" Width="80" Height="18" TabSkip="yes" Text="!(loc.ButtonText_Yes)">
+ <Publish Event="EndDialog" Value="ErrorYes">1</Publish>
+ </Control>
+ <Control Id="A" Type="PushButton" X="20" Y="110" Width="80" Height="18" TabSkip="yes" Text="!(loc.ButtonText_Cancel)">
+ <Publish Event="EndDialog" Value="ErrorAbort">1</Publish>
+ </Control>
+ <Control Id="C" Type="PushButton" X="20" Y="110" Width="80" Height="18" TabSkip="yes" Text="!(loc.ButtonText_Cancel)">
+ <Publish Event="EndDialog" Value="ErrorCancel">1</Publish>
+ </Control>
+ <Control Id="ErrorIcon" Type="Icon" X="15" Y="15" Width="24" Height="24" ToolTip="Information icon" FixedSize="yes" IconSize="32" Text="[InfoIcon]" />
+ <Control Id="I" Type="PushButton" X="20" Y="110" Width="80" Height="18" TabSkip="yes" Text="!(loc.ButtonText_Ignore)">
+ <Publish Event="EndDialog" Value="ErrorIgnore">1</Publish>
+ </Control>
+ <Control Id="N" Type="PushButton" X="20" Y="110" Width="80" Height="18" TabSkip="yes" Text="!(loc.ButtonText_No)">
+ <Publish Event="EndDialog" Value="ErrorNo">1</Publish>
+ </Control>
+ <Control Id="O" Type="PushButton" X="20" Y="110" Width="80" Height="18" TabSkip="yes" Text="!(loc.ButtonText_OK)">
+ <Publish Event="EndDialog" Value="ErrorOk">1</Publish>
+ </Control>
+ <Control Id="R" Type="PushButton" X="20" Y="110" Width="80" Height="18" TabSkip="yes" Text="!(loc.ButtonText_Retry)">
+ <Publish Event="EndDialog" Value="ErrorRetry">1</Publish>
+ </Control>
+ </Dialog>
+
+ <!-- Used to signal a fatal error in the 'OnExit="error"' fashion. -->
+ <Dialog Id="VBoxFatalErrorDlg" Width="370" Height="270" Title="[ProductName] !(loc.Setup)" NoMinimize="yes">
+ <Control Id="Finish" Type="PushButton" X="236" Y="243" Width="56" Height="17" Default="yes" Cancel="yes" Text="!(loc.ButtonText_Finish)">
+ <Publish Event="EndDialog" Value="Exit">1</Publish>
+ </Control>
+ <Control Id="Cancel" Type="PushButton" X="304" Y="243" Width="56" Height="17" Disabled="yes" Text="!(loc.ButtonText_Cancel)" />
+ <Control Id="Bitmap" Type="Bitmap" X="0" Y="0" Width="370" Height="234" TabSkip="no" Text="[DialogBitmap]" />
+ <Control Id="Back" Type="PushButton" X="180" Y="243" Width="56" Height="17" Disabled="yes" Text="!(loc.ButtonText_Back)" />
+ <Control Id="BottomLine" Type="Line" X="0" Y="234" Width="370" Height="0" />
+ <Control Id="Title" Type="Text" X="135" Y="20" Width="220" Height="60" Transparent="yes" NoPrefix="yes" Text="!(loc.FatalErrorTitle)" />
+ <Control Id="Description" Type="Text" X="135" Y="70" Width="220" Height="80" Transparent="yes" NoPrefix="yes" Text="!(loc.FatalErrorDescription1) !(loc.FatalErrorDescription2)" />
+ <Control Id="Build" Type="Text" X="20" Y="247" Width="220" Height="10" Transparent="yes" NoPrefix="yes">
+ <Text>[Version_text] $(var.Property_Version)</Text>
+ </Control>
+ </Dialog>
+
+ <Dialog Id="FilesInUse" Width="370" Height="270" Title="[ProductName] !(loc.Setup)" KeepModeless="yes">
+ <Control Id="Retry" Type="PushButton" X="304" Y="243" Width="56" Height="17" Default="yes" Cancel="yes" Text="!(loc.ButtonText_Retry)">
+ <Publish Event="EndDialog" Value="Retry">1</Publish>
+ </Control>
+ <!-- Currently we don't want to let the users ignore a running VirtualBox installation, as this
+ will result in an unstable mix of the old and new installation until a reboot is performed. See #9139.
+ <Control Id="Ignore" Type="PushButton" X="235" Y="243" Width="56" Height="17" Text="!(loc.ButtonText_Ignore)">
+ <Publish Event="EndDialog" Value="Ignore">1</Publish>
+ </Control>
+ -->
+ <Control Id="Exit" Type="PushButton" X="235" Y="243" Width="56" Height="17" Text="!(loc.ButtonText_Exit)">
+ <Publish Event="EndDialog" Value="Exit">1</Publish>
+ </Control>
+ <Control Id="BannerBitmap" Type="Bitmap" X="0" Y="0" Width="370" Height="44" TabSkip="no" Text="[BannerBitmap]" />
+ <Control Id="Text" Type="Text" X="20" Y="55" Width="330" Height="50" Text="!(loc.FilesInUse_Text)" />
+ <Control Id="BannerLine" Type="Line" X="0" Y="44" Width="370" Height="0" />
+ <Control Id="BottomLine" Type="Line" X="0" Y="234" Width="370" Height="0" />
+ <Control Id="Description" Type="Text" X="20" Y="23" Width="280" Height="20" Transparent="yes" NoPrefix="yes" Text="!(loc.FilesInUse_Description)" />
+ <Control Id="Title" Type="Text" X="15" Y="6" Width="200" Height="15" Transparent="yes" NoPrefix="yes" Text="[DlgTitleFont]!(loc.FilesInUse_Title)" />
+ <Control Id="List" Type="ListBox" X="20" Y="107" Width="330" Height="130" Property="FileInUseProcess" Sunken="yes" TabSkip="yes" />
+ </Dialog>
+
+ <!-- This dialog is shown if the user interrupts the installation process -->
+ <Dialog Id="VBoxUserExitDlg" Width="370" Height="270" Title="[ProductName] !(loc.Setup)" NoMinimize="yes">
+ <Control Id="Finish" Type="PushButton" X="236" Y="243" Width="56" Height="17" Default="yes" Cancel="yes" Text="!(loc.ButtonText_Finish)">
+ <Publish Event="EndDialog" Value="Exit">1</Publish>
+ </Control>
+ <!-- Build number text drawn left bottom -->
+ <Control Id="Build" Type="Text" X="20" Y="247" Width="220" Height="10" Transparent="yes" NoPrefix="yes">
+ <Text>[Version_text] $(var.Property_Version)</Text>
+ </Control>
+
+ <Control Id="Cancel" Type="PushButton" X="304" Y="243" Width="56" Height="17" Disabled="yes" Text="!(loc.ButtonText_Cancel)" />
+ <Control Id="Bitmap" Type="Bitmap" X="0" Y="0" Width="370" Height="234" TabSkip="no" Text="[DialogBitmap]" />
+ <Control Id="Back" Type="PushButton" X="180" Y="243" Width="56" Height="17" Disabled="yes" Text="!(loc.ButtonText_Back)" />
+ <Control Id="BottomLine" Type="Line" X="0" Y="234" Width="370" Height="0" />
+ <Control Id="Title" Type="Text" X="135" Y="20" Width="220" Height="60" Transparent="yes" NoPrefix="yes">
+ <Text>{\DlgVerdanaBold13}!(loc.UserExitDlg_Header)</Text>
+ </Control>
+ <Control Id="Description1" Type="Text" X="135" Y="70" Width="220" Height="40" Transparent="yes" NoPrefix="yes">
+ <Text>!(loc.UserExitDlg_Desc)</Text>
+ </Control>
+ <Control Id="Description2" Type="Text" X="135" Y="115" Width="220" Height="20" Transparent="yes" NoPrefix="yes">
+ <Text>!(loc.UserExitDlg_Footer)</Text>
+ </Control>
+ </Dialog>
+
+ <!-- Progress dialog shown during file copying and other lengthy operations -->
+ <Dialog Id="VBoxProgressDlg" Width="370" Height="270" Title="[ProductName] !(loc.Setup)" Modeless="yes">
+ <Control Id="Cancel" Type="PushButton" X="304" Y="243" Width="56" Height="17" Default="yes" Cancel="yes" Text="!(loc.ButtonText_Cancel)">
+ <Publish Event="SpawnDialog" Value="VBoxCancelDlg">1</Publish>
+ </Control>
+
+ <!-- Build number text drawn left bottom -->
+ <Control Id="Build" Type="Text" X="20" Y="247" Width="220" Height="10" Transparent="yes" NoPrefix="yes">
+ <Text>[Version_text] $(var.Property_Version)</Text>
+ </Control>
+
+ <Control Id="BannerBitmap" Type="Bitmap" X="0" Y="0" Width="370" Height="44" TabSkip="no" Text="[BannerBitmap]" />
+ <Control Id="Back" Type="PushButton" X="180" Y="243" Width="56" Height="17" Disabled="yes" Text="!(loc.ButtonText_Back)" />
+ <Control Id="Next" Type="PushButton" X="236" Y="243" Width="56" Height="17" Disabled="yes" Text="!(loc.ButtonText_Next)" />
+ <Control Id="ActionText" Type="Text" X="70" Y="100" Width="265" Height="10">
+ <Subscribe Event="ActionText" Attribute="Text" />
+ </Control>
+ <Control Id="Text" Type="Text" X="35" Y="65" Width="300" Height="20">
+ <Text>!(loc.ProgressDlg_PleaseWait)</Text>
+ </Control>
+ <Control Id="BottomLine" Type="Line" X="0" Y="234" Width="370" Height="0" />
+ <Control Id="Title" Type="Text" X="20" Y="15" Width="200" Height="15" Transparent="yes" NoPrefix="yes">
+ <Text>[DlgTitleFont][Progress1] [ProductName]</Text>
+ </Control>
+ <Control Id="BannerLine" Type="Line" X="0" Y="44" Width="370" Height="0" />
+ <Control Id="ProgressBar" Type="ProgressBar" X="35" Y="115" Width="300" Height="10" ProgressBlocks="yes" Text="Progress done">
+ <Subscribe Event="SetProgress" Attribute="Progress" />
+ </Control>
+ <Control Id="StatusLabel" Type="Text" X="35" Y="100" Width="35" Height="10" Text="Status:" />
+ </Dialog>
+
+ <Dialog Id="VBoxResumeDlg" Width="370" Height="270" Title="[ProductName] !(loc.Setup)" NoMinimize="yes">
+ <Control Id="Install" Type="PushButton" X="236" Y="243" Width="56" Height="17" Default="yes" Text="!(loc.ButtonText_Install)">
+ <Publish Event="SpawnWaitDialog" Value="VBoxWaitForCostingDlg">CostingComplete = 1</Publish>
+ <Publish Event="EndDialog" Value="Return"><![CDATA[OutOfDiskSpace <> 1]]></Publish>
+ <Publish Event="SpawnDialog" Value="VBoxOutOfRbDiskDlg">
+ <![CDATA[OutOfDiskSpace = 1 AND OutOfNoRbDiskSpace = 0 AND (PROMPTROLLBACKCOST="P" OR NOT PROMPTROLLBACKCOST)]]>
+ </Publish>
+ <Publish Event="EndDialog" Value="Return"><![CDATA[OutOfDiskSpace = 1 AND OutOfNoRbDiskSpace = 0 AND PROMPTROLLBACKCOST="D"]]></Publish>
+ <Publish Event="EnableRollback" Value="False"><![CDATA[OutOfDiskSpace = 1 AND OutOfNoRbDiskSpace = 0 AND PROMPTROLLBACKCOST="D"]]></Publish>
+ <Publish Event="SpawnDialog" Value="VBoxOutOfDiskDlg">
+ <![CDATA[(OutOfDiskSpace = 1 AND OutOfNoRbDiskSpace = 1) OR (OutOfDiskSpace = 1 AND PROMPTROLLBACKCOST="F")]]>
+ </Publish>
+ </Control>
+
+ <!-- Build number text drawn left bottom -->
+ <Control Id="Cancel" Type="PushButton" X="304" Y="243" Width="56" Height="17" Cancel="yes" Text="!(loc.ButtonText_Cancel)">
+ <Publish Event="SpawnDialog" Value="VBoxCancelDlg">1</Publish>
+ </Control>
+ <Control Id="Bitmap" Type="Bitmap" X="0" Y="0" Width="370" Height="234" TabSkip="no" Text="[DialogBitmap]" />
+ <Control Id="Back" Type="PushButton" X="180" Y="243" Width="56" Height="17" Disabled="yes" Text="!(loc.ButtonText_Back)" />
+ <Control Id="Title" Type="Text" X="135" Y="20" Width="220" Height="60" Transparent="yes" NoPrefix="yes">
+ <Text>{\DlgVerdanaBold13}!(loc.ResumeDlg_Header)</Text>
+ </Control>
+ <Control Id="Description" Type="Text" X="135" Y="70" Width="220" Height="30" Transparent="yes" NoPrefix="yes">
+ <Text>!(loc.ResumeDlg_Desc)</Text>
+ </Control>
+ <Control Id="BottomLine" Type="Line" X="0" Y="234" Width="370" Height="0" />
+ <Control Id="Build" Type="Text" X="20" Y="247" Width="220" Height="10" Transparent="yes" NoPrefix="yes">
+ <Text>[Version_text] $(var.Property_Version)</Text>
+ </Control>
+ </Dialog>
+
+ <!-- This dialog is shown after the welcome page if the user restarts the MSI package on a system where the product is already installed. The user
+ may choose to repair the installation or remove it. -->
+ <Dialog Id="VBoxMaintenanceTypeDlg" Width="370" Height="270" Title="[ProductName] !(loc.Setup)" NoMinimize="yes">
+ <Control Id="RepairLabel" Type="Text" X="105" Y="90" Width="100" Height="10" TabSkip="no">
+ <Text>[DlgTitleFont]!(loc.MaintenanceTypeDlg_Repair)</Text>
+ </Control>
+ <Control Id="RepairButton" Type="PushButton" X="50" Y="90" Width="38" Height="38" ToolTip="!(loc.MaintenanceTypeDlg_RepairTooltip)"
+ Icon="yes" FixedSize="yes" IconSize="32" Text="[RepairIcon]">
+ <Publish Property="InstallMode" Value="Repair">1</Publish>
+ <Publish Property="Progress1" Value="!(loc.MaintenanceTypeDlg_RepairProgress1)">1</Publish>
+ <Publish Property="Progress2" Value="!(loc.MaintenanceTypeDlg_RepairProgress2)">1</Publish>
+ <Publish Event="NewDialog" Value="VBoxVerifyRepairDlg">1</Publish>
+ </Control>
+ <Control Id="RemoveLabel" Type="Text" X="105" Y="163" Width="100" Height="10" TabSkip="no">
+ <Text>[DlgTitleFont]!(loc.MaintenanceTypeDlg_Remove)</Text>
+ </Control>
+ <Control Id="RemoveButton" Type="PushButton" X="50" Y="163" Width="38" Height="38" ToolTip="!(loc.MaintenanceTypeDlg_RemoveTooltip)"
+ Icon="yes" FixedSize="yes" IconSize="32" Text="[RemoveIcon]">
+ <Publish Property="InstallMode" Value="Remove">1</Publish>
+ <Publish Property="Progress1" Value="!(loc.MaintenanceTypeDlg_RemoveProgress1)">1</Publish>
+ <Publish Property="Progress2" Value="!(loc.MaintenanceTypeDlg_RemoveProgress2)">1</Publish>
+ <Publish Event="NewDialog" Value="VBoxVerifyRemoveDlg">1</Publish>
+ </Control>
+
+ <!-- Build number text drawn left bottom -->
+ <Control Id="Build" Type="Text" X="20" Y="247" Width="220" Height="10" Transparent="yes" NoPrefix="yes">
+ <Text>[Version_text] $(var.Property_Version)</Text>
+ </Control>
+
+ <Control Id="Back" Type="PushButton" X="180" Y="243" Width="56" Height="17" Text="!(loc.ButtonText_Back)">
+ <Publish Event="NewDialog" Value="VBoxMaintenanceWelcomeDlg">1</Publish>
+ </Control>
+ <Control Id="Next" Type="PushButton" X="236" Y="243" Width="56" Height="17" Disabled="yes" Text="!(loc.ButtonText_Next)" />
+ <Control Id="Cancel" Type="PushButton" X="304" Y="243" Width="56" Height="17" Cancel="yes" Text="!(loc.ButtonText_Cancel)">
+ <Publish Event="SpawnDialog" Value="VBoxCancelDlg">1</Publish>
+ </Control>
+ <Control Id="BannerBitmap" Type="Bitmap" X="0" Y="0" Width="370" Height="44" TabSkip="no" Text="[BannerBitmap]" />
+ <Control Id="Description" Type="Text" X="25" Y="23" Width="280" Height="20" Transparent="yes" NoPrefix="yes">
+ <Text>!(loc.MaintenanceTypeDlg_SelOption)</Text>
+ </Control>
+ <Control Id="BottomLine" Type="Line" X="0" Y="234" Width="370" Height="0" />
+ <Control Id="Title" Type="Text" X="15" Y="6" Width="240" Height="15" Transparent="yes" NoPrefix="yes">
+ <Text>[DlgTitleFont]!(loc.MaintenanceTypeDlg_Header)</Text>
+ </Control>
+ <Control Id="BannerLine" Type="Line" X="0" Y="44" Width="370" Height="0" />
+ <Control Id="RemoveText" Type="Text" X="105" Y="176" Width="230" Height="20">
+ <Text>!(loc.MaintenanceTypeDlg_RemoveText)</Text>
+ </Control>
+ <Control Id="RepairText" Type="Text" X="105" Y="102" Width="230" Height="30">
+ <Text>!(loc.MaintenanceTypeDlg_RepairText)</Text>
+ </Control>
+ </Dialog>
+
+ <!-- This dialog is shown if the app is installed and the installation package is started again. It's the welcome
+ screen for maintenance -->
+ <Dialog Id="VBoxMaintenanceWelcomeDlg" Width="370" Height="270" Title="[ProductName] !(loc.Setup)" NoMinimize="yes">
+ <Control Id="Title" Type="Text" X="135" Y="20" Width="220" Height="60" Transparent="yes" NoPrefix="yes">
+ <Text>{\DlgVerdanaBold13}!(loc.MaintenanceWelcomeDlg_Header)</Text>
+ </Control>
+
+ <!-- Build number text drawn left bottom -->
+ <Control Id="Build" Type="Text" X="20" Y="247" Width="220" Height="10" Transparent="yes" NoPrefix="yes">
+ <Text>[Version_text] $(var.Property_Version)</Text>
+ </Control>
+
+ <Control Id="Next" Type="PushButton" X="236" Y="243" Width="56" Height="17" Default="yes" Text="!(loc.ButtonText_Next)">
+ <Publish Event="SpawnWaitDialog" Value="VBoxWaitForCostingDlg">CostingComplete = 1</Publish>
+ <Publish Event="NewDialog" Value="VBoxMaintenanceTypeDlg">1</Publish>
+ </Control>
+ <Control Id="Cancel" Type="PushButton" X="304" Y="243" Width="56" Height="17" Cancel="yes" Text="!(loc.ButtonText_Cancel)">
+ <Publish Event="SpawnDialog" Value="VBoxCancelDlg">1</Publish>
+ </Control>
+ <Control Id="Bitmap" Type="Bitmap" X="0" Y="0" Width="370" Height="234" TabSkip="no" Text="[DialogBitmap]" />
+ <Control Id="Back" Type="PushButton" X="180" Y="243" Width="56" Height="17" Disabled="yes" Text="!(loc.ButtonText_Back)" />
+ <Control Id="Description" Type="Text" X="135" Y="70" Width="220" Height="60" Transparent="yes" NoPrefix="yes">
+ <Text>!(loc.MaintenanceWelcomeDlg_Desc)</Text>
+ </Control>
+ <Control Id="BottomLine" Type="Line" X="0" Y="234" Width="370" Height="0" />
+ </Dialog>
+
+ <!-- Out of disk error dialog -->
+ <Dialog Id="VBoxOutOfDiskDlg" Width="370" Height="270" Title="[ProductName] !(loc.Setup)" NoMinimize="yes">
+
+ <!-- Build number text drawn left bottom -->
+ <Control Id="Build" Type="Text" X="20" Y="247" Width="220" Height="10" Transparent="yes" NoPrefix="yes">
+ <Text>[Version_text] $(var.Property_Version)</Text>
+ </Control>
+
+ <Control Id="OK" Type="PushButton" X="304" Y="243" Width="56" Height="17" Default="yes" Cancel="yes" Text="!(loc.ButtonText_OK)">
+ <Publish Event="EndDialog" Value="Return">1</Publish>
+ </Control>
+ <Control Id="BannerBitmap" Type="Bitmap" X="0" Y="0" Width="370" Height="44" TabSkip="no" Text="[BannerBitmap]" />
+ <Control Id="Description" Type="Text" X="20" Y="20" Width="280" Height="20" Transparent="yes" NoPrefix="yes">
+ <Text>!(loc.OutOfDiskDlg_InstallationExceeds)</Text>
+ </Control>
+ <Control Id="Text" Type="Text" X="20" Y="53" Width="330" Height="40">
+ <Text>!(loc.OutOfDiskDlg_NotEnoughDiskSpace)</Text>
+ </Control>
+ <Control Id="BottomLine" Type="Line" X="0" Y="234" Width="370" Height="0" />
+ <Control Id="Title" Type="Text" X="15" Y="6" Width="200" Height="15" Transparent="yes" NoPrefix="yes">
+ <Text>[DlgTitleFont]!(loc.OutOfDiskDlg_OutOfDiskSpace)</Text>
+ </Control>
+ <Control Id="BannerLine" Type="Line" X="0" Y="44" Width="370" Height="0" />
+ <Control Id="VolumeList" Type="VolumeCostList" X="20" Y="100" Width="330" Height="120" Sunken="yes" Fixed="yes" Remote="yes">
+ <Text>{120}{70}{70}{70}{70}</Text>
+ </Control>
+ </Dialog>
+
+ <Dialog Id="VBoxOutOfRbDiskDlg" Width="370" Height="270" Title="[ProductName] !(loc.Setup)" NoMinimize="yes">
+ <Control Id="No" Type="PushButton" X="304" Y="243" Width="56" Height="17" Default="yes" Cancel="yes" Text="!(loc.ButtonText_No)">
+ <Publish Event="EndDialog" Value="Return">1</Publish>
+ </Control>
+ <Control Id="Yes" Type="PushButton" X="240" Y="243" Width="56" Height="17" Text="!(loc.ButtonText_Yes)">
+ <Publish Event="EnableRollback" Value="False">1</Publish>
+ <Publish Event="EndDialog" Value="Return">1</Publish>
+ </Control>
+ <Control Id="BannerBitmap" Type="Bitmap" X="0" Y="0" Width="370" Height="44" TabSkip="no" Text="[BannerBitmap]" />
+ <Control Id="Description" Type="Text" X="20" Y="20" Width="280" Height="20" Transparent="yes" NoPrefix="yes">
+ <Text>!(loc.OutOfRbDiskDlg_InstallationExceeds)</Text>
+ </Control>
+ <Control Id="Text" Type="Text" X="20" Y="53" Width="330" Height="40">
+ <Text>!(loc.OutOfRbDiskDlg_NotEnoughDiskSpace)</Text>
+ </Control>
+ <Control Id="BottomLine" Type="Line" X="0" Y="234" Width="370" Height="0" />
+ <Control Id="Title" Type="Text" X="15" Y="6" Width="200" Height="15" Transparent="yes" NoPrefix="yes">
+ <Text>[DlgTitleFont]!(loc.OutOfRbDiskDlg_OutOfDiskSpace)</Text>
+ </Control>
+ <Control Id="BannerLine" Type="Line" X="0" Y="44" Width="370" Height="0" />
+ <Control Id="VolumeList" Type="VolumeCostList" X="20" Y="140" Width="330" Height="80" Sunken="yes" Fixed="yes" Remote="yes" ShowRollbackCost="yes">
+ <Text>{120}{70}{70}{70}{70}</Text>
+ </Control>
+ <Control Id="Text2" Type="Text" X="20" Y="94" Width="330" Height="40">
+ <Text>!(loc.OutOfRbDiskDlg_Desc)</Text>
+ </Control>
+ </Dialog>
+
+ <Dialog Id="VBoxVerifyRemoveDlg" Width="370" Height="270" Title="[ProductName] !(loc.Setup)" NoMinimize="yes" TrackDiskSpace="yes">
+
+ <!-- Build number text drawn left bottom -->
+ <Control Id="Build" Type="Text" X="20" Y="247" Width="220" Height="10" Transparent="yes" NoPrefix="yes">
+ <Text>[Version_text] $(var.Property_Version)</Text>
+ </Control>
+
+ <Control Id="Back" Type="PushButton" X="180" Y="243" Width="56" Height="17" Default="yes" Text="!(loc.ButtonText_Back)">
+ <Publish Event="NewDialog" Value="VBoxMaintenanceTypeDlg">1</Publish>
+ </Control>
+ <Control Id="Remove" Type="PushButton" X="236" Y="243" Width="56" Height="17" Text="!(loc.ButtonText_Remove)">
+ <Publish Event="Remove" Value="All"><![CDATA[OutOfDiskSpace <> 1]]></Publish>
+ <Publish Event="EndDialog" Value="Return"><![CDATA[OutOfDiskSpace <> 1]]></Publish>
+ <Publish Event="SpawnDialog" Value="VBoxOutOfRbDiskDlg"><![CDATA[OutOfDiskSpace = 1 AND OutOfNoRbDiskSpace = 0 AND (PROMPTROLLBACKCOST="P" OR NOT PROMPTROLLBACKCOST)]]></Publish>
+ <Publish Event="EndDialog" Value="Return"><![CDATA[OutOfDiskSpace = 1 AND OutOfNoRbDiskSpace = 0 AND PROMPTROLLBACKCOST="D"]]></Publish>
+ <Publish Event="EnableRollback" Value="False"><![CDATA[OutOfDiskSpace = 1 AND OutOfNoRbDiskSpace = 0 AND PROMPTROLLBACKCOST="D"]]></Publish>
+ <Publish Event="SpawnDialog" Value="VBoxOutOfDiskDlg"><![CDATA[(OutOfDiskSpace = 1 AND OutOfNoRbDiskSpace = 1) OR (OutOfDiskSpace = 1 AND PROMPTROLLBACKCOST="F")]]></Publish>
+ </Control>
+ <Control Id="Cancel" Type="PushButton" X="304" Y="243" Width="56" Height="17" Cancel="yes" Text="!(loc.ButtonText_Cancel)">
+ <Publish Event="SpawnDialog" Value="VBoxCancelDlg">1</Publish>
+ </Control>
+ <Control Id="BannerBitmap" Type="Bitmap" X="0" Y="0" Width="370" Height="44" TabSkip="no" Text="[BannerBitmap]" />
+ <Control Id="Description" Type="Text" X="25" Y="23" Width="280" Height="15" Transparent="yes" NoPrefix="yes">
+ <Text>!(loc.VerifyRemoveDlg_Desc)</Text>
+ </Control>
+ <Control Id="Text" Type="Text" X="25" Y="70" Width="320" Height="30">
+ <Text>!(loc.VerifyRemoveDlg_ClickRemove)</Text>
+ </Control>
+ <Control Id="BottomLine" Type="Line" X="0" Y="234" Width="370" Height="0" />
+ <Control Id="Title" Type="Text" X="15" Y="6" Width="200" Height="15" Transparent="yes" NoPrefix="yes">
+ <Text>[DlgTitleFont]!(loc.VerifyRemoveDlg_Header)</Text>
+ </Control>
+ <Control Id="BannerLine" Type="Line" X="0" Y="44" Width="370" Height="0" />
+ </Dialog>
+
+ <Dialog Id="VBoxVerifyRepairDlg" Width="370" Height="270" Title="[ProductName] !(loc.Setup)" NoMinimize="yes" TrackDiskSpace="yes">
+ <Control Id="Repair" Type="PushButton" X="236" Y="243" Width="56" Height="17" Default="yes" Text="!(loc.ButtonText_Repair)">
+ <Publish Event="ReinstallMode" Value="ecmus"><![CDATA[OutOfDiskSpace <> 1]]></Publish>
+ <Publish Event="Reinstall" Value="All"><![CDATA[OutOfDiskSpace <> 1]]></Publish>
+ <Publish Event="EndDialog" Value="Return"><![CDATA[OutOfDiskSpace <> 1]]></Publish>
+ <Publish Event="SpawnDialog" Value="VBoxOutOfRbDiskDlg"><![CDATA[OutOfDiskSpace = 1 AND OutOfNoRbDiskSpace = 0 AND (PROMPTROLLBACKCOST="P" OR NOT PROMPTROLLBACKCOST)]]></Publish>
+ <Publish Event="EndDialog" Value="Return"><![CDATA[OutOfDiskSpace = 1 AND OutOfNoRbDiskSpace = 0 AND PROMPTROLLBACKCOST="D"]]></Publish>
+ <Publish Event="EnableRollback" Value="False"><![CDATA[OutOfDiskSpace = 1 AND OutOfNoRbDiskSpace = 0 AND PROMPTROLLBACKCOST="D"]]></Publish>
+ <Publish Event="SpawnDialog" Value="VBoxOutOfDiskDlg"><![CDATA[(OutOfDiskSpace = 1 AND OutOfNoRbDiskSpace = 1) OR (OutOfDiskSpace = 1 AND PROMPTROLLBACKCOST="F")]]></Publish>
+ </Control>
+
+ <!-- Build number text drawn left bottom -->
+ <Control Id="Build" Type="Text" X="20" Y="247" Width="220" Height="10" Transparent="yes" NoPrefix="yes">
+ <Text>[Version_text] $(var.Property_Version)</Text>
+ </Control>
+
+ <Control Id="Cancel" Type="PushButton" X="304" Y="243" Width="56" Height="17" Cancel="yes" Text="!(loc.ButtonText_Cancel)">
+ <Publish Event="SpawnDialog" Value="VBoxCancelDlg">1</Publish>
+ </Control>
+ <Control Id="BannerBitmap" Type="Bitmap" X="0" Y="0" Width="370" Height="44" TabSkip="no" Text="[BannerBitmap]" />
+ <Control Id="Back" Type="PushButton" X="180" Y="243" Width="56" Height="17" Text="!(loc.ButtonText_Back)">
+ <Publish Event="NewDialog" Value="VBoxMaintenanceTypeDlg">1</Publish>
+ </Control>
+ <Control Id="Description" Type="Text" X="25" Y="23" Width="280" Height="15" Transparent="yes" NoPrefix="yes">
+ <Text>!(loc.VerifyRepairDlg_ReadyToBegin)</Text>
+ </Control>
+ <Control Id="Text" Type="Text" X="25" Y="70" Width="320" Height="30">
+ <Text>!(loc.VerifyRepairDlg_ClickRepair)</Text>
+ </Control>
+ <Control Id="BottomLine" Type="Line" X="0" Y="234" Width="370" Height="0" />
+ <Control Id="Title" Type="Text" X="15" Y="6" Width="200" Height="15" Transparent="yes" NoPrefix="yes">
+ <Text>[DlgTitleFont]!(loc.VerifyRepairDlg_Header)</Text>
+ </Control>
+ <Control Id="BannerLine" Type="Line" X="0" Y="44" Width="370" Height="0" />
+ </Dialog>
+
+ <Dialog Id="VBoxWaitForCostingDlg" Width="260" Height="85" Title="[ProductName] !(loc.Setup)" NoMinimize="yes">
+ <Control Id="Return" Type="PushButton" X="102" Y="57" Width="56" Height="17" Default="yes" Cancel="yes" Text="[ButtonText_Return]">
+ <Publish Event="EndDialog" Value="Exit">1</Publish>
+ </Control>
+ <Control Id="Text" Type="Text" X="48" Y="15" Width="194" Height="30">
+ <Text>!(loc.WaitForCostingDlg_PleaseWait)</Text>
+ </Control>
+ <Control Id="Icon" Type="Icon" X="15" Y="15" Width="24" Height="24" ToolTip="Exclamation icon" FixedSize="yes" IconSize="32" Text="[ExclamationIcon]" />
+ </Dialog>
+
+ <!-- Dialog property table. -->
+ <Property Id="ErrorDialog" Value="VBoxErrorDlg"/>
+
+ <!-- Define some textstyles used for formatting dialog items. -->
+ <Property Id="DefaultUIFont">DlgFont8</Property>
+ <TextStyle Id="DlgFont8" FaceName="Tahoma" Size="8" />
+ <TextStyle Id="DlgFontBold8" FaceName="Tahoma" Size="8" Bold="yes" />
+ <TextStyle Id="DlgVerdanaBold13" FaceName="Verdana" Size="13" Bold="yes" />
+ <TextStyle Id="DlgInvalidSerial" FaceName="Verdana" Size="13" Bold="yes" Red="255" />
+ <TextStyle Id="DlgWarnDisconNetIfaces" FaceName="Verdana" Size="13" Bold="yes" Red="255" />
+ <TextStyle Id="DlgWarnPython" FaceName="Verdana" Size="13" Bold="yes" />
+
+ <!-- The UIText table contains the localized versions of some of the strings used in the user interface.
+ These strings are not part of any other table. The UIText table is for strings that have no logical place in any other table. -->
+ <ProgressText Action="CostFinalize">!(loc.ProgressTextCostFinalize)</ProgressText>
+ <ProgressText Action="CostInitialize">!(loc.ProgressTextCostInitialize)</ProgressText>
+ <ProgressText Action="FileCost">!(loc.ProgressTextFileCost)</ProgressText>
+ <ProgressText Action="InstallValidate">!(loc.ProgressTextInstallValidate)</ProgressText>
+ <ProgressText Action="InstallFiles" Template="File: [1], Directory: [9], Size: [6]">!(loc.ProgressTextInstallFiles)</ProgressText>
+ <ProgressText Action="InstallAdminPackage" Template="File: [1], Directory: [9], Size: [6]">!(loc.ProgressTextInstallAdminPackage)</ProgressText>
+ <ProgressText Action="CreateShortcuts" Template="Shortcut: [1]">!(loc.ProgressTextCreateShortcuts)</ProgressText>
+ <ProgressText Action="PublishComponents" Template="Component ID: [1], Qualifier: [2]">!(loc.ProgressTextPublishComponents)</ProgressText>
+ <ProgressText Action="PublishFeatures" Template="Feature: [1]">!(loc.ProgressTextPublishFeatures)</ProgressText>
+ <ProgressText Action="PublishProduct">!(loc.ProgressTextPublishProduct)</ProgressText>
+ <ProgressText Action="RegisterClassInfo" Template="Class Id: [1]">!(loc.ProgressTextRegisterClassInfo)</ProgressText>
+ <ProgressText Action="RegisterExtensionInfo" Template="Extension: [1]">!(loc.ProgressTextRegisterExtensionInfo)</ProgressText>
+ <ProgressText Action="RegisterMIMEInfo" Template="MIME Content Type: [1], Extension: [2]">!(loc.ProgressTextRegisterMIMEInfo)</ProgressText>
+ <ProgressText Action="RegisterProgIdInfo" Template="ProgId: [1]">!(loc.ProgressTextRegisterProgIdInfo)</ProgressText>
+ <ProgressText Action="AllocateRegistrySpace" Template="Free space: [1]">!(loc.ProgressTextAllocateRegistrySpace)</ProgressText>
+ <ProgressText Action="AppSearch" Template="Property: [1], Signature: [2]">!(loc.ProgressTextAppSearch)</ProgressText>
+ <ProgressText Action="BindImage" Template="File: [1]">!(loc.ProgressTextBindImage)</ProgressText>
+ <ProgressText Action="CCPSearch">!(loc.ProgressTextCCPSearch)</ProgressText>
+ <ProgressText Action="CreateFolders" Template="Folder: [1]">!(loc.ProgressTextCreateFolders)</ProgressText>
+ <ProgressText Action="DeleteServices" Template="Service: [1]">!(loc.ProgressTextDeleteServices)</ProgressText>
+ <ProgressText Action="DuplicateFiles" Template="File: [1], Directory: [9], Size: [6]">!(loc.ProgressTextDuplicateFiles)</ProgressText>
+ <ProgressText Action="FindRelatedProducts" Template="Found application: [1]">!(loc.ProgressTextFindRelatedProducts)</ProgressText>
+ <ProgressText Action="InstallODBC">!(loc.ProgressTextInstallODBC)</ProgressText>
+ <ProgressText Action="InstallServices" Template="Service: [2]">!(loc.ProgressTextInstallServices)</ProgressText>
+ <ProgressText Action="LaunchConditions">!(loc.ProgressTextLaunchConditions)</ProgressText>
+ <ProgressText Action="MigrateFeatureStates" Template="Application: [1]">!(loc.ProgressTextMigrateFeatureStates)</ProgressText>
+ <ProgressText Action="MoveFiles" Template="File: [1], Directory: [9], Size: [6]">!(loc.ProgressTextMoveFiles)</ProgressText>
+ <ProgressText Action="PatchFiles" Template="File: [1], Directory: [2], Size: [3]">!(loc.ProgressTextPatchFiles)</ProgressText>
+ <ProgressText Action="ProcessComponents">!(loc.ProgressTextProcessComponents)</ProgressText>
+ <ProgressText Action="RegisterComPlus" Template="AppId: [1]{{, AppType: [2], Users: [3], RSN: [4]}}">!(loc.ProgressTextRegisterComPlus)</ProgressText>
+ <ProgressText Action="RegisterFonts" Template="Font: [1]">!(loc.ProgressTextRegisterFonts)</ProgressText>
+ <ProgressText Action="RegisterProduct" Template="[1]">!(loc.ProgressTextRegisterProduct)</ProgressText>
+ <ProgressText Action="RegisterTypeLibraries" Template="LibID: [1]">!(loc.ProgressTextRegisterTypeLibraries)</ProgressText>
+ <ProgressText Action="RegisterUser" Template="[1]">!(loc.ProgressTextRegisterUser)</ProgressText>
+ <ProgressText Action="RemoveDuplicateFiles" Template="File: [1], Directory: [9]">!(loc.ProgressTextRemoveDuplicateFiles)</ProgressText>
+ <ProgressText Action="RemoveEnvironmentStrings" Template="Name: [1], Value: [2], Action [3]">!(loc.ProgressTextRemoveEnvironmentStrings)</ProgressText>
+ <ProgressText Action="RemoveExistingProducts" Template="Application: [1], Command line: [2]">!(loc.ProgressTextRemoveExistingProducts)</ProgressText>
+ <ProgressText Action="RemoveFiles" Template="File: [1], Directory: [9]">!(loc.ProgressTextRemoveFiles)</ProgressText>
+ <ProgressText Action="RemoveFolders" Template="Folder: [1]">!(loc.ProgressTextRemoveFolders)</ProgressText>
+ <ProgressText Action="RemoveIniValues" Template="File: [1], Section: [2], Key: [3], Value: [4]">!(loc.ProgressTextRemoveIniValues)</ProgressText>
+ <ProgressText Action="RemoveODBC">!(loc.ProgressTextRemoveODBC)</ProgressText>
+ <ProgressText Action="RemoveRegistryValues" Template="Key: [1], Name: [2]">!(loc.ProgressTextRemoveRegistryValues)</ProgressText>
+ <ProgressText Action="RemoveShortcuts" Template="Shortcut: [1]">!(loc.ProgressTextRemoveShortcuts)</ProgressText>
+ <ProgressText Action="RMCCPSearch">!(loc.ProgressTextRMCCPSearch)</ProgressText>
+ <ProgressText Action="SelfRegModules" Template="File: [1], Folder: [2]">!(loc.ProgressTextSelfRegModules)</ProgressText>
+ <ProgressText Action="SelfUnregModules" Template="File: [1], Folder: [2]">!(loc.ProgressTextSelfUnregModules)</ProgressText>
+ <ProgressText Action="SetODBCFolders">!(loc.ProgressTextSetODBCFolders)</ProgressText>
+ <ProgressText Action="StartServices" Template="Service: [1]">!(loc.ProgressTextStartServices)</ProgressText>
+ <ProgressText Action="StopServices" Template="Service: [1]">!(loc.ProgressTextStopServices)</ProgressText>
+ <ProgressText Action="UnpublishComponents" Template="Component ID: [1], Qualifier: [2]">!(loc.ProgressTextUnpublishComponents)</ProgressText>
+ <ProgressText Action="UnpublishFeatures" Template="Feature: [1]">!(loc.ProgressTextUnpublishFeatures)</ProgressText>
+ <ProgressText Action="UnregisterClassInfo" Template="Class Id: [1]">!(loc.ProgressTextUnregisterClassInfo)</ProgressText>
+ <ProgressText Action="UnregisterComPlus" Template="AppId: [1]{{, AppType: [2]}}">!(loc.ProgressTextUnregisterComPlus)</ProgressText>
+ <ProgressText Action="UnregisterExtensionInfo" Template="Extension: [1]">!(loc.ProgressTextUnregisterExtensionInfo)</ProgressText>
+ <ProgressText Action="UnregisterFonts" Template="Font: [1]">!(loc.ProgressTextUnregisterFonts)</ProgressText>
+ <ProgressText Action="UnregisterMIMEInfo" Template="MIME Content Type: [1], Extension: [2]">!(loc.ProgressTextUnregisterMIMEInfo)</ProgressText>
+ <ProgressText Action="UnregisterProgIdInfo" Template="ProgId: [1]">!(loc.ProgressTextUnregisterProgIdInfo)</ProgressText>
+ <ProgressText Action="UnregisterTypeLibraries" Template="LibID: [1]">!(loc.ProgressTextUnregisterTypeLibraries)</ProgressText>
+ <ProgressText Action="WriteEnvironmentStrings" Template="Name: [1], Value: [2], Action [3]">!(loc.ProgressTextWriteEnvironmentStrings)</ProgressText>
+ <ProgressText Action="WriteIniValues" Template="File: [1], Section: [2], Key: [3], Value: [4]">!(loc.ProgressTextWriteIniValues)</ProgressText>
+ <ProgressText Action="WriteRegistryValues" Template="Key: [1], Name: [2], Value: [3]">!(loc.ProgressTextWriteRegistryValues)</ProgressText>
+ <ProgressText Action="Advertise">!(loc.ProgressTextAdvertise)</ProgressText>
+ <ProgressText Action="GenerateScript" Template="[1]">!(loc.ProgressTextGenerateScript)</ProgressText>
+ <ProgressText Action="InstallSFPCatalogFile" Template="File: [1], Dependencies: [2]">!(loc.ProgressTextInstallSFPCatalogFile)</ProgressText>
+ <ProgressText Action="MsiPublishAssemblies" Template="Application Context:[1], Assembly Name:[2]">!(loc.ProgressTextMsiPublishAssemblies)</ProgressText>
+ <ProgressText Action="MsiUnpublishAssemblies" Template="Application Context:[1], Assembly Name:[2]">!(loc.ProgressTextMsiUnpublishAssemblies)</ProgressText>
+ <ProgressText Action="Rollback" Template="[1]">!(loc.ProgressTextRollback)</ProgressText>
+ <ProgressText Action="RollbackCleanup" Template="File: [1]">!(loc.ProgressTextRollbackCleanup)</ProgressText>
+ <ProgressText Action="UnmoveFiles" Template="File: [1], Directory: [9]">!(loc.ProgressTextUnmoveFiles)</ProgressText>
+ <ProgressText Action="UnpublishProduct">!(loc.ProgressTextUnpublishProduct)</ProgressText>
+
+ <UIText Id="bytes">!(loc.UITextbytes)</UIText>
+ <UIText Id="GB">!(loc.UITextGB)</UIText>
+ <UIText Id="KB">!(loc.UITextKB)</UIText>
+ <UIText Id="MB">!(loc.UITextMB)</UIText>
+ <UIText Id="AbsentPath"><![CDATA[-]]></UIText>
+ <UIText Id="MenuAbsent">!(loc.UITextMenuAbsent)</UIText>
+ <UIText Id="MenuAdvertise">!(loc.UITextMenuAdvertise)</UIText>
+ <UIText Id="MenuAllCD">!(loc.UITextMenuAllCD)</UIText>
+ <UIText Id="MenuAllLocal">!(loc.UITextMenuAllLocal)</UIText>
+ <UIText Id="MenuAllNetwork">!(loc.UITextMenuAllNetwork)</UIText>
+ <UIText Id="MenuCD">!(loc.UITextMenuCD)</UIText>
+ <UIText Id="MenuLocal">!(loc.UITextMenuLocal)</UIText>
+ <UIText Id="MenuNetwork">!(loc.UITextMenuNetwork)</UIText>
+ <UIText Id="ScriptInProgress">!(loc.UITextScriptInProgress)</UIText>
+ <UIText Id="SelAbsentAbsent">!(loc.UITextSelAbsentAbsent)</UIText>
+ <UIText Id="SelAbsentAdvertise">!(loc.UITextSelAbsentAdvertise)</UIText>
+ <UIText Id="SelAbsentCD">!(loc.UITextSelAbsentCD)</UIText>
+ <UIText Id="SelAbsentLocal">!(loc.UITextSelAbsentLocal)</UIText>
+ <UIText Id="SelAbsentNetwork">!(loc.UITextSelAbsentNetwork)</UIText>
+ <UIText Id="SelAdvertiseAbsent">!(loc.UITextSelAdvertiseAbsent)</UIText>
+ <UIText Id="SelAdvertiseAdvertise">!(loc.UITextSelAdvertiseAdvertise)</UIText>
+ <UIText Id="SelAdvertiseCD">!(loc.UITextSelAdvertiseCD)</UIText>
+ <UIText Id="SelAdvertiseLocal">!(loc.UITextSelAdvertiseLocal)</UIText>
+ <UIText Id="SelAdvertiseNetwork">!(loc.UITextSelAdvertiseNetwork)</UIText>
+ <UIText Id="SelCDAbsent">!(loc.UITextSelCDAbsent)</UIText>
+ <UIText Id="SelCDAdvertise">!(loc.UITextSelCDAdvertise)</UIText>
+ <UIText Id="SelCDCD">!(loc.UITextSelCDCD)</UIText>
+ <UIText Id="SelCDLocal">!(loc.UITextSelCDLocal)</UIText>
+ <UIText Id="SelChildCostNeg">!(loc.UITextSelChildCostNeg)</UIText>
+ <UIText Id="SelChildCostPos">!(loc.UITextSelChildCostPos)</UIText>
+ <UIText Id="SelCostPending">!(loc.UITextSelCostPending)</UIText>
+ <UIText Id="SelLocalAbsent">!(loc.UITextSelLocalAbsent)</UIText>
+ <UIText Id="SelLocalAdvertise">!(loc.UITextSelLocalAdvertise)</UIText>
+ <UIText Id="SelLocalCD">!(loc.UITextSelLocalCD)</UIText>
+ <UIText Id="SelLocalLocal">!(loc.UITextSelLocalLocal)</UIText>
+ <UIText Id="SelLocalNetwork">!(loc.UITextSelLocalNetwork)</UIText>
+ <UIText Id="SelNetworkAbsent">!(loc.UITextSelNetworkAbsent)</UIText>
+ <UIText Id="SelNetworkAdvertise">!(loc.UITextSelNetworkAdvertise)</UIText>
+ <UIText Id="SelNetworkLocal">!(loc.UITextSelNetworkLocal)</UIText>
+ <UIText Id="SelNetworkNetwork">!(loc.UITextSelNetworkNetwork)</UIText>
+ <UIText Id="SelParentCostNegNeg">!(loc.UITextSelParentCostNegNeg)</UIText>
+ <UIText Id="SelParentCostNegPos">!(loc.UITextSelParentCostNegPos)</UIText>
+ <UIText Id="SelParentCostPosNeg">!(loc.UITextSelParentCostPosNeg)</UIText>
+ <UIText Id="SelParentCostPosPos">!(loc.UITextSelParentCostPosPos)</UIText>
+ <UIText Id="TimeRemaining">!(loc.UITextTimeRemaining)</UIText>
+ <UIText Id="VolumeCostAvailable">!(loc.UITextVolumeCostAvailable)</UIText>
+ <UIText Id="VolumeCostDifference">!(loc.UITextVolumeCostDifference)</UIText>
+ <UIText Id="VolumeCostRequired">!(loc.UITextVolumeCostRequired)</UIText>
+ <UIText Id="VolumeCostSize">!(loc.UITextVolumeCostSize)</UIText>
+ <UIText Id="VolumeCostVolume">!(loc.UITextVolumeCostVolume)</UIText>
+
+ <!-- Own error messages -->
+ <Error Id="25001">!(loc.Error25001)</Error>
+
+ <!-- The text used in front of the build number -->
+ <Property Id="Version_text">Version</Property>
+
+ <!-- Define an alias for the font to be used in dialogs -->
+ <Property Id="DlgTitleFont">{&amp;DlgFontBold8}</Property>
+
+ <!-- This property preselects the "Don't agree" radio button in the license page -->
+ <Property Id="IAgree">No</Property>
+
+ <!-- Icon files used for the UI -->
+ <Binary Id="infoico" SourceFile="$(env.VBOX_PATH_WIN_INST_SRC)\Binary\Info.ico" />
+ <Binary Id="exclico" SourceFile="$(env.VBOX_PATH_WIN_INST_SRC)\Binary\Exclamation.ico" />
+ <Binary Id="folderupico" SourceFile="$(env.VBOX_PATH_WIN_INST_SRC)\Binary\Up.ico" />
+ <Binary Id="foldernewico" SourceFile="$(env.VBOX_PATH_WIN_INST_SRC)\Binary\New.ico" />
+ <Binary Id="removico" SourceFile="$(env.VBOX_PATH_WIN_INST_SRC)\Binary\Remove.ico" />
+ <Binary Id="repairic" SourceFile="$(env.VBOX_PATH_WIN_INST_SRC)\Binary\Repair.ico" />
+
+ <!-- Graphic files used for the UI -->
+ <!-- See: http://wix.sourceforge.net/manual-wix3/WixUI_customizations.htm -->
+ <Binary Id="bannerjpg" SourceFile="$(env.VBOX_PATH_WIN_INST_SRC)\Binary\Banner.jpg" />
+ <Binary Id="dlgjpg" SourceFile="$(env.VBOX_BRAND_WIN_INST_DLGJPG)" />
+
+ <!-- Aliases for the graphic files -->
+ <Property Id="InfoIcon">infoico</Property>
+ <Property Id="ExclamationIcon">exclico</Property>
+ <Property Id="RemoveIcon">removico</Property>
+ <Property Id="RepairIcon">repairic</Property>
+ <Property Id="DialogBitmap">dlgjpg</Property>
+ <Property Id="BannerBitmap">bannerjpg</Property>
+ <Property Id="FolderUp">folderupico</Property>
+ <Property Id="FolderNew">foldernewico</Property>
+
+ <!-- Property which defines if we need to show the customization dialog or not.
+ We only show the dialog on new installs to let the users choose the components to install. -->
+ <Property Id="VBOX_SHOW_CUSTOMIZE_DLG">
+ <![CDATA[((PREVIOUSVERSIONSINSTALLED OR NEWERVERSIONDETECTED) OR ((NOT PREVIOUSVERSIONSINSTALLED) AND (NOT NEWERVERSIONDETECTED)))]]>
+ </Property>
+<?if $(env.VBOX_WITH_LICENSE_DISPLAY) = "yes" ?>
+ <!-- Property which defines whether the license dialog will be shown or not. -->
+ <Property Id="VBOX_SHOW_LICENSE_DLG">1</Property>
+<?endif?>
+<?if $(env.VBOX_WITH_SERIALNUMBER_INSTALL) = "yes2" ?>
+ <!-- Property which defines whether the installer checks the serial number or not. -->
+ <Property Id="VBOX_SHOW_SERIAL_CHECK_DLG">1</Property>
+<?endif?>
+<?if $(env.VBOX_WITH_QTGUI) = "no" ?>
+ <!-- Property which defines whether to show the second customization dialog. This second customization
+ dialog only is needed for GUI-based options, so skip if we either don't ship FE/Qt or don't show
+ the (first) customization dialog. -->
+ <Property Id="VBOX_SHOW_CUSTOMIZE2_DLG"><![CDATA[VBOX_SHOW_CUSTOMIZE_DLG]]></Property>
+<?endif?>
+
+
+ <!-- In graphical (attended) mode we always choose a custom installation to let the user chose. -->
+ <Property Id="InstallMode" Value="!(loc.InstallModeCustom)" />
+
+ <!-- Dialog routing table (sort-of truth table).
+ Here (and only here!) the routing for the customized dialogs are defined, e.g.
+ what happens next when pressing the "Next" or "Back" buttons on a dialog.
+
+ This can vary based on the defines we (don't) set above or custom actions in our
+ install helper DLL. -->
+
+ <!-- Note: All values except 0 and "" (empty string) are interpreted as TRUE. -->
+
+ <Publish Dialog="VBoxWelcomeDlg" Control="Next" Event="NewDialog" Value="VBoxLicenseAgreementDlg"><![CDATA[VBOX_SHOW_LICENSE_DLG]]></Publish>
+ <Publish Dialog="VBoxWelcomeDlg" Control="Next" Event="NewDialog" Value="VBoxCheckSerialDlg"><![CDATA[(NOT VBOX_SHOW_LICENSE_DLG) AND VBOX_SHOW_SERIAL_CHECK_DLG]]></Publish>
+ <Publish Dialog="VBoxWelcomeDlg" Control="Next" Event="NewDialog" Value="VBoxCustomizeDlg"><![CDATA[VBOX_SHOW_CUSTOMIZE_DLG AND (NOT VBOX_SHOW_LICENSE_DLG) AND (NOT VBOX_SHOW_SERIAL_CHECK_DLG)]]></Publish>
+ <Publish Dialog="VBoxWelcomeDlg" Control="Next" Event="NewDialog" Value="VBoxVerifyReadyDlg"><![CDATA[NOT VBOX_SHOW_CUSTOMIZE_DLG AND (NOT VBOX_SHOW_LICENSE_DLG) AND (NOT VBOX_SHOW_SERIAL_CHECK_DLG)]]></Publish>
+
+ <Publish Dialog="VBoxLicenseAgreementDlg" Control="Next" Event="NewDialog" Value="VBoxCheckSerialDlg"><![CDATA[VBOX_SHOW_SERIAL_CHECK_DLG]]></Publish>
+ <Publish Dialog="VBoxLicenseAgreementDlg" Control="Next" Event="NewDialog" Value="VBoxCustomizeDlg"><![CDATA[(NOT VBOX_SHOW_SERIAL_CHECK_DLG) AND (VBOX_SHOW_CUSTOMIZE_DLG)]]></Publish>
+ <Publish Dialog="VBoxLicenseAgreementDlg" Control="Next" Event="NewDialog" Value="VBoxVerifyReadyDlg"><![CDATA[(NOT VBOX_SHOW_SERIAL_CHECK_DLG) AND (NOT VBOX_SHOW_CUSTOMIZE_DLG)]]></Publish>
+ <Publish Dialog="VBoxLicenseAgreementDlg" Control="Back" Event="NewDialog" Value="VBoxWelcomeDlg">1</Publish>
+
+ <Publish Dialog="VBoxCheckSerialDlg" Control="Back" Event="NewDialog" Value="VBoxLicenseAgreementDlg"><![CDATA[VBOX_SHOW_LICENSE_DLG]]></Publish>
+ <Publish Dialog="VBoxCheckSerialDlg" Control="Back" Event="NewDialog" Value="VBoxWelcomeDlg"><![CDATA[NOT VBOX_SHOW_LICENSE_DLG]]></Publish>
+ <Publish Dialog="VBoxCheckSerialDlg" Control="Next" Event="DoAction" Value="ca_CheckSerial" Order="1">1</Publish>
+ <Publish Dialog="VBoxCheckSerialDlg" Control="Next" Event="NewDialog" Value="VBoxCustomizeDlg"><![CDATA[(PREVIOUSVERSIONSINSTALLED OR NEWERVERSIONDETECTED) AND (VBOX_SERIAL_IS_VALID="1")]]></Publish>
+ <Publish Dialog="VBoxCheckSerialDlg" Control="Next" Event="NewDialog" Value="VBoxCustomizeDlg"><![CDATA[(NOT PREVIOUSVERSIONSINSTALLED) AND (NOT NEWERVERSIONDETECTED) AND (VBOX_SERIAL_IS_VALID="1")]]></Publish>
+ <Publish Dialog="VBoxCheckSerialDlg" Control="Next" Event="NewDialog" Value="VBoxWrongSerialDlg"><![CDATA[VBOX_SERIAL_IS_VALID="0"]]></Publish>
+
+ <Publish Dialog="VBoxWrongSerialDlg" Control="Back" Event="NewDialog" Value="VBoxCheckSerialDlg">1</Publish>
+
+ <!-- Note: We have to set (1) or unset ({}) the properties first (see order #), as those will be needed for further routing. -->
+ <Publish Dialog="VBoxCustomizeDlg" Control="Next" Property="VBOX_SHOW_WARN_PYTHONAPI_DLG" Value="1" Order="1"><![CDATA[(&VBoxPython=3) AND (VBOX_PYTHON_DEPS_INSTALLED="0")]]></Publish>
+ <Publish Dialog="VBoxCustomizeDlg" Control="Next" Property="VBOX_SHOW_WARN_PYTHONAPI_DLG" Value="{}" Order="2"><![CDATA[(&VBoxPython<3)]]></Publish>
+ <Publish Dialog="VBoxCustomizeDlg" Control="Next" Property="VBOX_SHOW_WARN_DISCONNECTIFACES_DLG" Value="1" Order="3"><![CDATA[&VBoxNetworkFlt=3]]></Publish>
+ <Publish Dialog="VBoxCustomizeDlg" Control="Next" Property="VBOX_SHOW_WARN_DISCONNECTIFACES_DLG" Value="{}" Order="4"><![CDATA[&VBoxNetworkFlt<3]]></Publish>
+ <Publish Dialog="VBoxCustomizeDlg" Control="Next" Event="NewDialog" Value="VBoxWarnDisconNetIfacesDlg" Order="10"><![CDATA[VBOX_SHOW_WARN_DISCONNECTIFACES_DLG]]></Publish>
+ <Publish Dialog="VBoxCustomizeDlg" Control="Next" Event="NewDialog" Value="VBoxWarnPythonDlg" Order="11"><![CDATA[VBOX_SHOW_WARN_PYTHONAPI_DLG AND (NOT VBOX_SHOW_WARN_DISCONNECTIFACES_DLG)]]></Publish>
+ <Publish Dialog="VBoxCustomizeDlg" Control="Next" Event="NewDialog" Value="VBoxCustomize2Dlg" Order="12"><![CDATA[VBOX_SHOW_CUSTOMIZE2_DLG AND (NOT VBOX_SHOW_WARN_DISCONNECTIFACES_DLG) AND (NOT VBOX_SHOW_WARN_PYTHONAPI_DLG)]]></Publish>
+ <Publish Dialog="VBoxCustomizeDlg" Control="Next" Event="NewDialog" Value="VBoxVerifyReadyDlg" Order="13"><![CDATA[(NOT VBOX_SHOW_CUSTOMIZE2_DLG) AND (NOT VBOX_SHOW_WARN_DISCONNECTIFACES_DLG) AND (NOT VBOX_SHOW_WARN_PYTHONAPI_DLG)]]></Publish>
+ <Publish Dialog="VBoxCustomizeDlg" Control="Back" Event="NewDialog" Value="VBoxCheckSerialDlg"><![CDATA[VBOX_SHOW_SERIAL_CHECK_DLG]]></Publish>
+ <Publish Dialog="VBoxCustomizeDlg" Control="Back" Event="NewDialog" Value="VBoxLicenseAgreementDlg"><![CDATA[NOT VBOX_SHOW_SERIAL_CHECK_DLG]]></Publish>
+
+ <Publish Dialog="VBoxWarnDisconNetIfacesDlg" Control="Next" Event="NewDialog" Value="VBoxVerifyReadyDlg"><![CDATA[(NOT VBOX_SHOW_CUSTOMIZE2_DLG) AND (NOT VBOX_SHOW_WARN_PYTHONAPI_DLG)]]></Publish>
+ <Publish Dialog="VBoxWarnDisconNetIfacesDlg" Control="Next" Event="NewDialog" Value="VBoxCustomize2Dlg"><![CDATA[VBOX_SHOW_CUSTOMIZE2_DLG AND (NOT VBOX_SHOW_WARN_PYTHONAPI_DLG)]]></Publish>
+ <Publish Dialog="VBoxWarnDisconNetIfacesDlg" Control="Next" Event="NewDialog" Value="VBoxWarnPythonDlg"><![CDATA[VBOX_SHOW_WARN_PYTHONAPI_DLG]]></Publish>
+ <!-- Note: VBoxWarnDisconNetIfacesDlg only has a "Cancel" button which aborts the installation. -->
+
+ <Publish Dialog="VBoxWarnPythonDlg" Control="Next" Event="NewDialog" Value="VBoxCustomize2Dlg"><![CDATA[VBOX_SHOW_CUSTOMIZE2_DLG]]></Publish>
+ <Publish Dialog="VBoxWarnPythonDlg" Control="Next" Event="NewDialog" Value="VBoxVerifyReadyDlg"><![CDATA[NOT VBOX_SHOW_CUSTOMIZE2_DLG]]></Publish>
+ <!-- Note: VBoxWarnPythonDlg only has a "Cancel" button which aborts the installation. -->
+
+ <Publish Dialog="VBoxCustomize2Dlg" Control="Back" Event="NewDialog" Value="VBoxCustomizeDlg">1</Publish>
+ <Publish Dialog="VBoxCustomize2Dlg" Control="Next" Event="NewDialog" Value="VBoxVerifyReadyDlg">1</Publish>
+
+ <Publish Dialog="VBoxVerifyReadyDlg" Control="Back" Event="NewDialog" Value="VBoxCustomize2Dlg"><![CDATA[VBOX_SHOW_CUSTOMIZE2_DLG]]></Publish>
+ <Publish Dialog="VBoxVerifyReadyDlg" Control="Back" Event="NewDialog" Value="VBoxCustomizeDlg"><![CDATA[NOT VBOX_SHOW_CUSTOMIZE2_DLG]]></Publish>
+ <Publish Dialog="VBoxVerifyReadyDlg" Control="Next" Event="NewDialog" Value="VBoxVerifyReadyDlg">1</Publish>
+
+ <!-- This defines the order in which the GUI panels will be shown to the user. -->
+ <InstallUISequence>
+
+<?if $(env.VBOX_WITH_CRT_PACKING) = "no" ?>
+ <Custom Action="ca_IsMSCRTInstalled" After="AppSearch" />
+<?endif?>
+ <Custom Action="ca_OriginalTargetDir" After="FileCost"><![CDATA[(NOT INSTALLDIR) AND (NOT EXISTINGINSTALLDIR)]]></Custom>
+ <Custom Action="ca_DefaultTargetDir" After="FileCost"><![CDATA[NOT Installed AND (NOT INSTALLDIR) AND EXISTINGINSTALLDIR]]></Custom>
+ <Custom Action="ca_IsWindows10" After="CostFinalize" />
+
+<?if $(env.VBOX_WITH_PYTHON) = "yes" ?>
+ <!-- Check for the Python core package and other dependencies first.
+ The install helper code will set the public properties VBOX_PYTHON_INSTALLED / VBOX_PYTHON_DEPS_INSTALLED. -->
+ <Custom Action="ca_IsPythonInstalled" After="CostFinalize">1</Custom>
+ <Custom Action="ca_ArePythonAPIDepsInstalled" After="CostFinalize">1</Custom>
+<?endif?>
+ <FindRelatedProducts Suppress="no">1</FindRelatedProducts>
+
+ <Show Dialog="VBoxFatalErrorDlg" OnExit="error" />
+ <Show Dialog="VBoxUserExitDlg" OnExit="cancel" />
+ <Show Dialog="VBoxPrepareDlg" After="LaunchConditions" />
+ <Show Dialog="VBoxWelcomeDlg" After="MigrateFeatureStates">NOT Installed</Show>
+ <Show Dialog="VBoxResumeDlg" After="VBoxWelcomeDlg">Installed AND (RESUME OR Preselected)</Show>
+ <Show Dialog="VBoxMaintenanceWelcomeDlg" After="VBoxResumeDlg">Installed AND (NOT RESUME) AND (NOT Preselected)</Show>
+ <Show Dialog="VBoxExitDlg" OnExit="success">1</Show>
+ <Show Dialog="VBoxProgressDlg" After="VBoxMaintenanceWelcomeDlg" />
+
+ </InstallUISequence>
+
+ <!-- The AdminUISequence table lists actions that the installer calls in sequence when the top-level ADMIN
+ action is executed and the internal user interface level is set to full UI or reduced UI. The installer
+ skips the actions in this table if the user interface level is set to basic UI or no UI. -->
+ <AdminUISequence>
+ <Show Dialog="VBoxFatalErrorDlg" OnExit="error" />
+ <Show Dialog="VBoxUserExitDlg" OnExit="cancel" />
+ <Show Dialog="VBoxExitDlg" OnExit="success" />
+ </AdminUISequence>
+ </UI>
+
+</Include>
diff --git a/src/VBox/Installer/win/VBoxKey.wxi b/src/VBox/Installer/win/VBoxKey.wxi
new file mode 100644
index 00000000..ca6d170e
--- /dev/null
+++ b/src/VBox/Installer/win/VBoxKey.wxi
@@ -0,0 +1,5 @@
+<Include>
+ <RegistryValue Root="HKLM" Key="$(var.Property_RegKey)" Name="Version" Value="%VER%" Type="string" />
+ <RegistryValue Root="HKLM" Key="$(var.Property_RegKey)" Name="VersionExt" Value="%VER_EXT%" Type="string" />
+ <RegistryValue Root="HKLM" Key="$(var.Property_RegKey)" Name="InstallDir" Value="[msm_VBoxApplicationFolder]" Type="string" />
+</Include>
diff --git a/src/VBox/Installer/win/VBoxMergeApp.wxi b/src/VBox/Installer/win/VBoxMergeApp.wxi
new file mode 100644
index 00000000..b89b7268
--- /dev/null
+++ b/src/VBox/Installer/win/VBoxMergeApp.wxi
@@ -0,0 +1,487 @@
+<?xml version="1.0"?>
+<!--
+ VirtualBox Windows Installation Script (WiX)
+-->
+<!--
+ Copyright (C) 2006-2023 Oracle and/or its affiliates.
+
+ This file is part of VirtualBox base platform packages, as
+ available from https://www.virtualbox.org.
+
+ This program is free software; you can redistribute it and/or
+ modify it under the terms of the GNU General Public License
+ as published by the Free Software Foundation, in version 3 of the
+ License.
+
+ This program is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, see <https://www.gnu.org/licenses>.
+
+ SPDX-License-Identifier: GPL-3.0-only
+-->
+
+<Include xmlns="http://schemas.microsoft.com/wix/2006/wi"
+ xmlns:difxapp="http://schemas.microsoft.com/wix/DifxAppExtension">
+
+<?ifdef env.VBOX_QT_INFIX ?>
+ <?define VBOX_QT_INFIX="$(env.VBOX_QT_INFIX)" ?>
+<?else?>
+ <?define VBOX_QT_INFIX="" ?>
+<?endif?>
+
+ <Component Id="cp_Permissions" Guid="9F6E9729-6490-4FBB-9EA1-03234E68907A" Win64="$(var.Property_Win64)" >
+ <?include Permissions.wxi ?>
+ </Component>
+
+<?if $(env.VBOX_WITH_DOCS_PACKING) = "yes" ?>
+ <Directory Id="dir_VBoxAppDocuments" Name="doc">
+ <!-- The documentation is a separate component. This allows to split the install process
+ into pieces if ever necessary. Maintenance is easier, too. The following component
+ will be installed in the "doc" folder -->
+ <Component Id="cp_Docs" Guid="40BD12C5-89A8-4B81-8A5E-5EEE2C2763C4"
+ Win64="$(var.Property_Win64)">
+ <?include $(env.PATH_TARGET)\Files_Doc.wxi ?>
+ </Component>
+ </Directory>
+<?endif ?>
+ <!-- Device driver directory -->
+ <Directory Id="dir_VBoxAppDrivers" Name="drivers">
+ <Directory Id="dir_VBoxAppVBoxSup" Name="vboxsup">
+<?if $(env.VBOX_SIGNING_MODE) != none ?>
+ <Component Id="cp_VBoxSupCat_PreW10" Guid="673195c2-f315-42e7-ff00-5acbd91ea0bd" Win64="$(var.Property_Win64)">
+ <Condition><![CDATA[(NOT VBOX_IS_WINDOWS_10)]]></Condition>
+ <File Id="file_VBoxSup_PreW10.cat" Name="VBoxSup.cat" Source="$(env.PATH_OUT)\bin\VBoxSup-PreW10.cat" />
+ </Component>
+ <Component Id="cp_VBoxSupCat_W10" Guid="589be90d-0286-4684-503d-a1681f9587bc" Win64="$(var.Property_Win64)">
+ <Condition><![CDATA[(VBOX_IS_WINDOWS_10)]]></Condition>
+ <File Id="file_VBoxSup.cat" Name="VBoxSup.cat" Source="$(env.PATH_OUT)\bin\VBoxSup.cat" />
+ </Component>
+<?endif ?>
+ <Component Id="cp_VBoxSup" Guid="D3E2F2BB-569F-46A2-836C-BDF30FF1EDF8" Win64="$(var.Property_Win64)">
+ <difxapp:Driver AddRemovePrograms="no" ForceInstall="yes" DeleteFiles="yes"
+ Legacy="$(var.Property_DriverLegacy)" Sequence="2" PlugAndPlayPrompt="no"/>
+ <File Id="file_VBoxSup.sys" Name="VBoxSup.sys" KeyPath="yes"
+ Source="$(env.PATH_OUT)\bin\VBoxSup.sys"/>
+ <File Id="file_VBoxSup.inf" Name="VBoxSup.inf"
+ Source="$(env.PATH_OUT)\bin\VBoxSup.inf" />
+ </Component>
+ </Directory>
+ </Directory> <!-- Directory "drivers" -->
+
+<?if $(env.VBOX_WITH_QTGUI) = "yes" ?>
+ <!-- National Language Support directory -->
+ <Directory Id="dir_VBoxAppNLS" Name="nls">
+ <Component Id="cp_NLS" Guid="D63517D7-1CF3-4D06-B3EE-C561E323069B" Win64="$(var.Property_Win64)">
+ <!-- Include the autogenerated NLS file list -->
+ <?include $(env.PATH_TARGET)\VBoxGuiNLS.wxi ?>
+ </Component>
+ </Directory>
+<?endif ?>
+
+ <!-- COM components have a separate entry mainly because of the KeyPath attribute (that hints the
+ TypeLib element where to take the TLB resource from) may appear only once per component -->
+ <Component Id="cp_MainCOM" Guid="CD4A3C6C-C2D5-428D-90A1-B6DA3D0777D6" Win64="$(var.Property_Win64)">
+
+ <!-- Note: This file ID *must not* be changed because of our typelib template generation file! -->
+ <File Id="VBoxSVC" Name="VBoxSVC.exe"
+ Source="$(env.PATH_OUT)\bin\VBoxSVC.exe">
+ </File>
+
+ <!-- We set KeyPath on this file to instruct TypeLib to read the TLB resource from it
+ and create appropriate Interface registry entries. Note that the same TLB is present
+ in VBoxSVC.exe - it's just a matter of choice which one to use -->
+ <!-- Note: This file ID *must not* be changed because of our typelib template generation file! -->
+ <File Id="VBoxC" Name="VBoxC.dll"
+ Source="$(env.PATH_OUT)\bin\VBoxC.dll" KeyPath="yes">
+ </File>
+
+<?if $(env.VBOX_WITH_MIDL_PROXY_STUB) != "yes" ?>
+ <!-- Include the auto-generated TypeLib block -->
+ <?include $(env.PATH_TARGET)\VirtualBox_TypeLib.wxi ?>
+<?endif?>
+ </Component>
+
+<?if $(env.VBOX_WITH_SDS) = "yes" ?>
+ <Component Id="cp_VBoxSDS" Guid="{3DC151E0-CA53-4213-8711-D983FDA28132}" >
+ <File Id="VBoxSDS" Name="VBoxSDS.exe" Vital="yes" KeyPath="yes"
+ Source="$(env.PATH_OUT)\bin\VBoxSDS.exe">
+ </File>
+ <!--
+ The Name of windows service is referenced in different places.
+ Don't forget to change it in other places too If you change it here :
+ VirtualBox.idl (module name),
+ VBoxSDS.cpp and VBoxProxyStub.cpp
+ -->
+ <ServiceInstall Id="VBoxSDSInstall"
+ Account="LocalSystem"
+ Type="ownProcess"
+ Name="VBoxSDS"
+ DisplayName="VirtualBox system service"
+ Description="Used as a COM server for VirtualBox API."
+ Start="demand"
+ Interactive="no"
+ ErrorControl="normal"
+ Vital="yes">
+ <ServiceDependency Id="RPCSS" />
+ </ServiceInstall>
+ <ServiceControl Id="VBoxSDSControl" Name="VBoxSDS" Stop="both" Remove="uninstall" />
+ </Component>
+<?endif?>
+
+<?if $(env.VBOX_WITH_MIDL_PROXY_STUB) = "yes" ?>
+
+ <Component Id="cp_ProxyStub" Guid="CDD09BA4-8D87-4383-DCA6-1CCCF9D11091" Win64="$(var.Property_Win64)">
+ <!-- Only install this proxy stub DLL on Windows 7 and later (OLE32.ObjectStublessClientXX imports). -->
+ <Condition><![CDATA[(VersionNT >= 601)]]></Condition>
+ <File Id="file_VBoxProxyStub" Name="VBoxProxyStub.dll" KeyPath="yes"
+ Source="$(env.PATH_OUT)\bin\VBoxProxyStub.dll">
+ <Class Id="$(env.VBOX_MIDL_PROXY_CLSID)" Context="InprocServer32"
+ Description="PSFactoryBuffer" ThreadingModel="both" />
+ </File>
+ <?include $(env.PATH_TARGET)\VirtualBox_TypeLib.wxi ?>
+ </Component>
+
+ <Component Id="cp_ProxyStubLegacy" Guid="97F12055-5B6D-481C-E8CD-F41D8C733280" Win64="$(var.Property_Win64)">
+ <!-- Only install this proxy stub DLL pre-Windows 7 (AMD64: legacy NDR stuff; Both: No ObjectStublessClientXX). -->
+ <Condition><![CDATA[(VersionNT < 601)]]></Condition>
+ <File Id="file_VBoxProxyStubLegacy" Name="VBoxProxyStubLegacy.dll" KeyPath="yes"
+ Source="$(env.PATH_OUT)\bin\VBoxProxyStubLegacy.dll">
+ <Class Id="$(env.VBOX_MIDL_PROXY_CLSID)" Context="InprocServer32"
+ Description="PSFactoryBuffer" ThreadingModel="both" />
+ </File>
+ <?include $(env.PATH_TARGET)\VirtualBox_TypeLib.wxi ?>
+ </Component>
+
+<?endif?>
+
+ <?include $(env.PATH_TARGET)\DirComponentsAndFiles_DTrace.wxi ?>
+
+
+ <!---->
+
+<?if $(env.VBOX_WITH_QTGUI) = "yes" ?>
+ <Component Id="cp_RegisterExtensions" Guid="FEB8943E-5D60-4E2D-846F-458207019D40"
+ Win64="$(var.Property_Win64)" KeyPath="yes">
+
+<?if $(env.VBOX_WITH_MSM_INSTALL) = "yes" ?>
+ <Condition><![CDATA[(local_VBOX_REGISTERFILEEXTENSIONS="1")]]></Condition>
+<?else ?>
+ <Condition><![CDATA[(VBOX_REGISTERFILEEXTENSIONS)]]></Condition>
+<?endif ?>
+
+ <!-- Register file extensions. Note: Extension IDs *must not* be changed! These specify the actual
+ file extension to handle. Also, here would be the place to add more fancy DDE stuff later.
+ Important: The IDs in "IconIndex" *must* be matching "Resources\resource.h" -->
+ <ProgId Id="progId_VirtualBox.Shell.vbox" Description="VirtualBox Machine Definition" Icon="file_VBoxRes.dll" IconIndex="-201">
+ <Extension Id="vbox" ContentType="application/x-virtualbox-vbox">
+ <Verb Id="open" Command="Open" TargetFile="file_VirtualBox.exe" Argument="&quot;%1&quot;" />
+ </Extension>
+ </ProgId>
+ <ProgId Id="progId_VirtualBox.Shell.vbox-extpack" Description="VirtualBox Extension Pack" Icon="file_VBoxRes.dll" IconIndex="-202">
+ <Extension Id="vbox-extpack" ContentType="application/x-virtualbox-vbox-extpack">
+ <Verb Id="open" Command="Open" TargetFile="file_VirtualBox.exe" Argument="&quot;%1&quot;" />
+ </Extension>
+ </ProgId>
+ <ProgId Id="progId_VirtualBox.Shell.ovf" Description="Open Virtualization Format" Icon="file_VBoxRes.dll" IconIndex="-301">
+ <Extension Id="ovf" ContentType="application/x-virtualbox-ovf">
+ <Verb Id="open" Command="Open" TargetFile="file_VirtualBox.exe" Argument="&quot;%1&quot;" />
+ </Extension>
+ </ProgId>
+ <ProgId Id="progId_VirtualBox.Shell.ova" Description="Open Virtualization Format Archive" Icon="file_VBoxRes.dll" IconIndex="-302">
+ <Extension Id="ova" ContentType="application/x-virtualbox-ova">
+ <Verb Id="open" Command="Open" TargetFile="file_VirtualBox.exe" Argument="&quot;%1&quot;" />
+ </Extension>
+ </ProgId>
+ <ProgId Id="progId_VirtualBox.Shell.vdi" Description="Virtual Disk Image" Icon="file_VBoxRes.dll" IconIndex="-303">
+ <Extension Id="vdi" ContentType="application/x-virtualbox-vdi" />
+ </ProgId>
+ <ProgId Id="progId_VirtualBox.Shell.vmdk" Description="Virtual Machine Disk Format" Icon="file_VBoxRes.dll" IconIndex="-304">
+ <Extension Id="vmdk" ContentType="application/x-virtualbox-vmdk" />
+ </ProgId>
+ <ProgId Id="progId_VirtualBox.Shell.vhd" Description="Virtual Hard Disk" Icon="file_VBoxRes.dll" IconIndex="-305">
+ <Extension Id="vhd" ContentType="application/x-virtualbox-vhd" />
+ </ProgId>
+ <ProgId Id="progId_VirtualBox.Shell.hdd" Description="Virtual Hard Disk" Icon="file_VBoxRes.dll" IconIndex="-306">
+ <Extension Id="hdd" ContentType="application/x-virtualbox-hdd" />
+ </ProgId>
+ </Component> <!-- cp_RegisterExtensions -->
+<?endif ?>
+
+ <!-- All Binaries, DLLs (except COM) and drivers are in one component because they belong together. Additional
+ binaries e.g. test tools, utilities etc. should be in another component so they"re clearly separated -->
+ <Component Id="cp_MainBinaries" Guid="5C8FE57A-F744-4DE0-AA3F-A563F486AD98" Win64="$(var.Property_Win64)">
+
+ <!-- Set required environment variables -->
+ <Environment Id="env_VBoxInstallDir" Action="set" Name="VBOX_MSI_INSTALL_PATH"
+ System="yes" Part="last" Permanent="no" Value="[msm_VBoxApplicationFolder]" />
+
+ <!-- Files -->
+<?if $(env.VBOX_WITH_DOCS_PACKING) = "yes" ?>
+ <!-- Include all user manual .CHM files (file is generated by makefile) -->
+ <?include $(env.PATH_TARGET)\Files_Main.wxi ?>
+<?endif ?>
+ <!-- Include all license files (file is generated by makefile) -->
+ <?include $(env.PATH_TARGET)\Files_License.wxi ?>
+
+ <!-- Frontends -->
+ <File Id="file_VBoxManage.exe" Name="VBoxManage.exe"
+ Source="$(env.PATH_OUT)\bin\VBoxManage.exe" />
+<?if $(env.VBOX_WITH_HEADLESS) = "yes" ?>
+ <File Id="file_VBoxHeadless.exe" Name="VBoxHeadless.exe"
+ Source="$(env.PATH_OUT)\bin\VBoxHeadless.exe" />
+ <?if $(env.VBOX_WITH_HARDENING) = "yes" ?>
+ <File Id="file_VBoxHeadless.dll" Name="VBoxHeadless.dll"
+ Source="$(env.PATH_OUT)\bin\VBoxHeadless.dll">
+ </File>
+ <?endif ?>
+<?endif ?>
+<?if $(env.VBOX_WITH_FE_BALLOONCTRL) = "yes" ?>
+ <File Id="file_VBoxBalloonCtrl.exe" Name="VBoxBalloonCtrl.exe"
+ Source="$(env.PATH_OUT)\bin\VBoxBalloonCtrl.exe"/>
+<?endif ?>
+<?if $(env.VBOX_WITH_FE_BUGREPORT) = "yes" ?>
+ <File Id="file_VBoxBugReport.exe" Name="VBoxBugReport.exe"
+ Source="$(env.PATH_OUT)\bin\VBoxBugReport.exe"/>
+<?endif ?>
+<?if $(env.VBOX_WITH_FE_AUTOSTART) = "yes" ?>
+ <File Id="file_VBoxAutostartSvc.exe" Name="VBoxAutostartSvc.exe"
+ Source="$(env.PATH_OUT)\bin\VBoxAutostartSvc.exe" />
+<?endif ?>
+<?if $(env.VBOX_WITH_VBOX_IMG) = "yes" ?>
+ <File Id="file_vbox_img.exe" Name="vbox-img.exe"
+ Source="$(env.PATH_OUT)\bin\vbox-img.exe"/>
+<?endif ?>
+ <!-- Misc tools -->
+ <File Id="file_VBoxNetDHCP.exe" Name="VBoxNetDHCP.exe"
+ Source="$(env.PATH_OUT)\bin\VBoxNetDHCP.exe"/>
+<?if $(env.VBOX_WITH_HARDENING) = "yes" ?>
+ <File Id="file_VBoxNetDHCP.dll" Name="VBoxNetDHCP.dll"
+ Source="$(env.PATH_OUT)\bin\VBoxNetDHCP.dll">
+ </File>
+<?endif ?>
+ <File Id="file_VBoxNetNAT.exe" Name="VBoxNetNAT.exe"
+ Source="$(env.PATH_OUT)\bin\VBoxNetNAT.exe"/>
+<?if $(env.VBOX_WITH_HARDENING) = "yes" ?>
+ <File Id="file_VBoxNetNAT.dll" Name="VBoxNetNAT.dll"
+ Source="$(env.PATH_OUT)\bin\VBoxNetNAT.dll">
+ </File>
+<?endif ?>
+<?if $(env.VBOX_WITH_EXTPACK) = "yes" ?>
+ <File Id="file_VBoxExtPackHelperApp.exe" Name="VBoxExtPackHelperApp.exe"
+ Source="$(env.PATH_OUT)\bin\VBoxExtPackHelperApp.exe"/>
+<?endif ?>
+<?if $(env.VBOX_WITH_DTRACE) = "yes" ?>
+ <File Id="file_VBoxDTrace.exe" Name="VBoxDTrace.exe" Source="$(env.PATH_OUT)\bin\VBoxDTrace.exe" />
+<?endif ?>
+ <!-- VBox DLL files -->
+ <File Id="file_VBoxDD.dll" Name="VBoxDD.dll"
+ Source="$(env.PATH_OUT)\bin\VBoxDD.dll" />
+ <File Id="file_VBoxDD2.dll" Name="VBoxDD2.dll"
+ Source="$(env.PATH_OUT)\bin\VBoxDD2.dll" />
+ <File Id="file_VBoxDDU.dll" Name="VBoxDDU.dll"
+ Source="$(env.PATH_OUT)\bin\VBoxDDU.dll" />
+ <File Id="file_VBoxRT.dll" Name="VBoxRT.dll"
+ Source="$(env.PATH_OUT)\bin\VBoxRT.dll" />
+ <File Id="file_VBoxSupLib.dll" Name="VBoxSupLib.dll"
+ Source="$(env.PATH_OUT)\bin\VBoxSupLib.dll" />
+ <File Id="file_VBoxVMM.dll" Name="VBoxVMM.dll"
+ Source="$(env.PATH_OUT)\bin\VBoxVMM.dll" />
+<?if $(env.VBOX_WITH_LIBSSH) = "yes" ?>
+ <File Id="file_VBoxLibSsh.dll" Name="VBoxLibSsh.dll"
+ Source="$(env.PATH_OUT)\bin\VBoxLibSsh.dll" />
+<?endif ?>
+<?if $(env.VBOX_WITH_HOST_SHIPPING_AUDIO_TEST) = "yes" ?>
+ <File Id="file_VBoxAudioTest.exe" Name="VBoxAudioTest.exe"
+ Source="$(env.PATH_OUT)\bin\VBoxAudioTest.exe" />
+<?endif ?>
+<?if $(env.VBOX_WITH_VRDP) = "yes" ?>
+ <File Id="file_VBoxVRDP.dll" Name="VBoxVRDP.dll"
+ Source="$(env.PATH_OUT)\bin\VBoxVRDP.dll" />
+<?endif ?>
+ <File Id="file_VBoxSharedFolders.dll" Name="VBoxSharedFolders.dll"
+ Source="$(env.PATH_OUT)\bin\VBoxSharedFolders.dll" />
+ <File Id="file_VBoxSharedClipboard.dll" Name="VBoxSharedClipboard.dll"
+ Source="$(env.PATH_OUT)\bin\VBoxSharedClipboard.dll" />
+<?if $(env.VBOX_WITH_DRAG_AND_DROP)= "yes" ?>
+ <File Id="file_VBoxDragAndDropSvc.dll" Name="VBoxDragAndDropSvc.dll"
+ Source="$(env.PATH_OUT)\bin\VBoxDragAndDropSvc.dll" />
+<?endif ?>
+<?if $(env.VBOX_WITH_GUEST_PROPS) = "yes" ?>
+ <File Id="file_VBoxGuestPropSvc.dll" Name="VBoxGuestPropSvc.dll"
+ Source="$(env.PATH_OUT)\bin\VBoxGuestPropSvc.dll" />
+<?endif ?>
+<?if $(env.VBOX_WITH_GUEST_CONTROL) = "yes" ?>
+ <File Id="file_VBoxGuestControlSvc.dll" Name="VBoxGuestControlSvc.dll"
+ Source="$(env.PATH_OUT)\bin\VBoxGuestControlSvc.dll" />
+<?endif ?>
+ <File Id="file_VBoxHostChannel.dll" Name="VBoxHostChannel.dll"
+ Source="$(env.PATH_OUT)\bin\VBoxHostChannel.dll" />
+ <File Id="file_VBoxAuth.dll" Name="VBoxAuth.dll"
+ Source="$(env.PATH_OUT)\bin\VBoxAuth.dll" />
+ <File Id="file_VBoxAuthSimple.dll" Name="VBoxAuthSimple.dll"
+ Source="$(env.PATH_OUT)\bin\VBoxAuthSimple.dll" />
+
+ <!-- Include resource DLL (icons, ...) -->
+ <File Id="file_VBoxRes.dll" Name="VBoxRes.dll"
+ Source="$(env.PATH_OUT)\bin\VBoxRes.dll" />
+
+<?if $(env.VBOX_WITH_RAW_MODE) = "yes" ?>
+ <File Id="file_VMMRC.rc" Name="VMMRC.rc"
+ Source="$(env.PATH_OUT)\bin\VMMRC.rc" />
+ <File Id="file_VBoxDDRC.rc" Name="VBoxDDRC.rc"
+ Source="$(env.PATH_OUT)\bin\VBoxDDRC.rc" />
+<?endif ?>
+
+ <File Id="file_VMMR0.r0" Name="VMMR0.r0"
+ Source="$(env.PATH_OUT)\bin\VMMR0.r0" />
+ <File Id="file_VBoxDDR0.r0" Name="VBoxDDR0.r0"
+ Source="$(env.PATH_OUT)\bin\VBoxDDR0.r0" />
+
+<?if $(env.VBOX_WITH_QTGUI) = "yes" ?>
+ <!-- Qt frontend -->
+ <File Id="file_VirtualBox.exe" Name="VirtualBox.exe"
+ Source="$(env.PATH_OUT)\bin\VirtualBox.exe">
+ </File>
+ <File Id="file_VirtualBoxVM.exe" Name="VirtualBoxVM.exe"
+ Source="$(env.PATH_OUT)\bin\VirtualBoxVM.exe">
+ </File>
+ <File Id="file_UICommon.dll" Name="UICommon.dll"
+ Source="$(env.PATH_OUT)\bin\UICommon.dll">
+ </File>
+ <?if $(env.VBOX_WITH_HARDENING) = "yes" ?>
+ <File Id="file_VirtualBoxVM.dll" Name="VirtualBoxVM.dll"
+ Source="$(env.PATH_OUT)\bin\VirtualBoxVM.dll">
+ </File>
+ <?endif ?>
+ <File Id="file_Qt5Core$(var.VBOX_QT_INFIX).dll" Name="Qt5Core$(var.VBOX_QT_INFIX).dll"
+ Source="$(env.PATH_OUT)\bin\Qt5Core$(var.VBOX_QT_INFIX).dll" />
+ <File Id="file_Qt5Gui$(var.VBOX_QT_INFIX).dll" Name="Qt5Gui$(var.VBOX_QT_INFIX).dll"
+ Source="$(env.PATH_OUT)\bin\Qt5Gui$(var.VBOX_QT_INFIX).dll" />
+ <File Id="file_Qt5Widgets$(var.VBOX_QT_INFIX).dll" Name="Qt5Widgets$(var.VBOX_QT_INFIX).dll"
+ Source="$(env.PATH_OUT)\bin\Qt5Widgets$(var.VBOX_QT_INFIX).dll" />
+ <File Id="file_Qt5PrintSupport$(var.VBOX_QT_INFIX).dll" Name="Qt5PrintSupport$(var.VBOX_QT_INFIX).dll"
+ Source="$(env.PATH_OUT)\bin\Qt5PrintSupport$(var.VBOX_QT_INFIX).dll" />
+ <File Id="file_Qt5Help$(var.VBOX_QT_INFIX).dll" Name="Qt5Help$(var.VBOX_QT_INFIX).dll"
+ Source="$(env.PATH_OUT)\bin\Qt5Help$(var.VBOX_QT_INFIX).dll" />
+ <File Id="file_Qt5Sql$(var.VBOX_QT_INFIX).dll" Name="Qt5Sql$(var.VBOX_QT_INFIX).dll"
+ Source="$(env.PATH_OUT)\bin\Qt5Sql$(var.VBOX_QT_INFIX).dll" />
+ <File Id="file_Qt5WinExtras$(var.VBOX_QT_INFIX).dll" Name="Qt5WinExtras$(var.VBOX_QT_INFIX).dll"
+ Source="$(env.PATH_OUT)\bin\Qt5WinExtras$(var.VBOX_QT_INFIX).dll" />
+ <File Id="file_VirtualBox.VisualElementsManifest.xml" Name="VirtualBox.VisualElementsManifest.xml"
+ Source="$(env.PATH_OUT)\bin\VirtualBox.VisualElementsManifest.xml" />
+ <File Id="file_VirtualBox_70px.png" Name="VirtualBox_70px.png"
+ Source="$(env.PATH_OUT)\bin\VirtualBox_70px.png" />
+ <File Id="file_VirtualBox_150px.png" Name="VirtualBox_150px.png"
+ Source="$(env.PATH_OUT)\bin\VirtualBox_150px.png" />
+
+ <?if $(env.VBOX_WITH_VMSVGA3D) = "yes" or $(env.VBOX_WITH_VIDEOHWACCEL) = "yes" ?>
+ <File Id="file_VBoxTestOGL.exe" Name="VBoxTestOGL.exe"
+ Source="$(env.PATH_OUT)\bin\VBoxTestOGL.exe" />
+ <?endif ?>
+<?endif ?>
+<?if $(env.VBOX_WITH_DEBUGGER_GUI) = "yes" ?>
+ <File Id="file_VBoxDbg.dll" Name="VBoxDbg.dll"
+ Source="$(env.PATH_OUT)\bin\VBoxDbg.dll" />
+ <File Id="file_DbgPlugInDiggers.dll" Name="DbgPlugInDiggers.dll"
+ Source="$(env.PATH_OUT)\bin\DbgPlugInDiggers.dll" />
+<?endif ?>
+<?if $(env.VBOX_GUI_USE_QGL) = "yes" ?>
+ <File Id="file_Qt5OpenGL$(var.VBOX_QT_INFIX).dll" Name="Qt5OpenGL$(var.VBOX_QT_INFIX).dll"
+ Source="$(env.PATH_OUT)\bin\Qt5OpenGL$(var.VBOX_QT_INFIX).dll" />
+<?endif?>
+
+<?if $(env.VBOX_WITH_CRT_PACKING) = "yes" ?>
+ <!-- Include CRT Dlls (specific to the compiler). -->
+ <?include $(env.PATH_TARGET)\VBoxCrtDlls.wxi ?>
+<?endif?>
+
+ <!-- EFI firmware -->
+<?if $(env.VBOX_WITH_EFIFW_PACKING) = "yes" ?>
+ <File Id="file_VBoxEFI32.fd" Name="VBoxEFI32.fd" DiskId="$(var.Property_DiskIdCommon)"
+ Source="$(env.PATH_OUT)\bin\VBoxEFI32.fd" />
+ <File Id="file_VBoxEFI64.fd" Name="VBoxEFI64.fd" DiskId="$(var.Property_DiskIdCommon)"
+ Source="$(env.PATH_OUT)\bin\VBoxEFI64.fd" />
+<?endif?>
+ <!-- VBox guest additions -->
+<?if $(env.VBOX_WITH_ADDITIONS_PACKING) = "yes" ?>
+ <?if $(env.VBOX_WITH_COMBINED_PACKAGE) = "yes" ?>
+ <File Id="file_VBoxGuestAdditions.iso" Name="VBoxGuestAdditions.iso"
+ Source="$(env.PATH_MULTIARCH_GUEST_ADDITIONS_ISO)\VBoxGuestAdditions.iso"
+ DiskId="$(var.Property_DiskIdCommon)" />
+ <?else ?>
+ <File Id="file_VBoxGuestAdditions.iso" Name="VBoxGuestAdditions.iso"
+ Source="$(env.PATH_OUT)\bin\additions\VBoxGuestAdditions.iso" />
+ <?endif ?>
+<?endif ?>
+ <!-- Include registry key for VBox version -->
+ <?include $(env.PATH_TARGET)\VBoxKey.wxi ?>
+
+ </Component> <!-- MainBinaries -->
+
+<?if $(env.VBOX_WITH_QTGUI) = "yes" ?>
+ <!-- Qt platforms plugins -->
+ <Directory Id="dir_VBoxAppPlatforms" Name="platforms">
+ <Component Id="cp_QtPlatforms" Guid="842367ec-6094-4ddc-93d8-6ca70fc1ca24" Win64="$(var.Property_Win64)">
+ <File Id="file_qminimal.dll" Name="qminimal.dll"
+ Source="$(env.PATH_OUT)\bin\platforms\qminimal.dll" />
+ <File Id="file_qoffscreen.dll" Name="qoffscreen.dll"
+ Source="$(env.PATH_OUT)\bin\platforms\qoffscreen.dll" />
+ <File Id="file_qwindows.dll" Name="qwindows.dll"
+ Source="$(env.PATH_OUT)\bin\platforms\qwindows.dll" />
+ </Component>
+ </Directory>
+ <!-- Qt sqldrivers plugins -->
+ <Directory Id="dir_VBoxAppSqldrivers" Name="sqldrivers">
+ <Component Id="cp_QtSqldrivers" Guid="31ba006b-7dca-40b1-aba0-998eb18bd586" Win64="$(var.Property_Win64)">
+ <File Id="file_qsqlite.dll" Name="qsqlite.dll"
+ Source="$(env.PATH_OUT)\bin\sqldrivers\qsqlite.dll" />
+ </Component>
+ </Directory>
+ <!-- Qt styles plugins -->
+ <Directory Id="dir_VBoxAppStyles" Name="styles">
+ <Component Id="cp_QtStyles" Guid="150837df-f3ae-416f-9ea3-94f1f41b9f41" Win64="$(var.Property_Win64)">
+ <File Id="file_qwindowsvistastyle.dll" Name="qwindowsvistastyle.dll"
+ Source="$(env.PATH_OUT)\bin\styles\qwindowsvistastyle.dll" />
+ </Component>
+ </Directory>
+<?endif ?>
+
+<?if $(env.VBOX_WITH_VBOXSDL) = "yes" ?>
+ <!-- SDL frontend -->
+ <Component Id="cp_VBoxSDLBinaries" Guid="F09D5FD9-E176-42B0-90A9-481BB18B0CB4"
+ Win64="$(var.Property_Win64)">
+ <File Id="file_VBoxSDL.exe" Name="VBoxSDL.exe"
+ Source="$(env.PATH_OUT)\bin\VBoxSDL.exe" />
+ <?if $(env.VBOX_WITH_HARDENING) = "yes" ?>
+ <File Id="file_VBoxSDL.dll" Name="VBoxSDL.dll"
+ Source="$(env.PATH_OUT)\bin\VBoxSDL.dll">
+ </File>
+ <?endif ?>
+ <File Id="file_SDL.dll" Name="SDL.dll"
+ Source="$(env.PATH_OUT)\bin\SDL.dll" />
+ </Component> <!-- SDL frontend -->
+<?endif ?>
+
+<?if $(env.VBOX_WITH_WEBSERVICES) = "yes" ?>
+ <!-- Webservice -->
+ <Component Id="cp_VBoxWebService" Guid="DD404F04-9874-43E9-AEE2-7762924D922E"
+ Win64="$(var.Property_Win64)">
+ <File Id="file_VBoxWebSrv.exe" Name="VBoxWebSrv.exe"
+ Source="$(env.PATH_OUT)\bin\vboxwebsrv.exe" />
+ </Component>
+<?endif?>
+ <!-- C API (glue) bindings -->
+ <Component Id="cp_VBoxCAPI" Guid="097F7F53-7111-467F-8E0C-257D9926FDA0"
+ Win64="$(var.Property_Win64)">
+ <File Id="file_VBoxCAPI.dll" Name="VBoxCAPI.dll"
+ Source="$(env.PATH_OUT)\bin\VBoxCAPI.dll" />
+ </Component>
+
+ <!-- Unattended installation template scripts if enabled -->
+ <?include $(env.PATH_TARGET)\VBoxUnattendedTemplateComponent.wxi ?>
+
+</Include>
diff --git a/src/VBox/Installer/win/VBoxMergeApp.wxs b/src/VBox/Installer/win/VBoxMergeApp.wxs
new file mode 100644
index 00000000..ea199ab4
--- /dev/null
+++ b/src/VBox/Installer/win/VBoxMergeApp.wxs
@@ -0,0 +1,89 @@
+<?xml version="1.0"?>
+<!--
+ VirtualBox Windows Installation Script (WiX)
+-->
+<!--
+ Copyright (C) 2006-2023 Oracle and/or its affiliates.
+
+ This file is part of VirtualBox base platform packages, as
+ available from https://www.virtualbox.org.
+
+ This program is free software; you can redistribute it and/or
+ modify it under the terms of the GNU General Public License
+ as published by the Free Software Foundation, in version 3 of the
+ License.
+
+ This program is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, see <https://www.gnu.org/licenses>.
+
+ SPDX-License-Identifier: GPL-3.0-only
+-->
+
+<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"
+ xmlns:difxapp="http://schemas.microsoft.com/wix/DifxAppExtension">
+
+ <?include Defines.wxi ?>
+
+ <!-- Note: GUIDs in WiX *must* be uppercase! -->
+ <!-- Always include an upgrade ID or otherwise upgrade installation will not be possible. When doing
+ a major upgrade (more than just fixing a few files) change the product GUID. We always do a major
+ upgrade even for minor VBox updates. For that only change the product ID and the product version.
+ The upgrade code *never* must be changed! -->
+
+ <!-- Update / Upgrade policies:
+ Update Type Package Code Product Version Product Code Upgrade Code
+ Small update change don't change don't change don't change
+ Minor update change change don't change don't change
+ Major upgrade change change change don't change -->
+
+ <!-- Old product ID: <Product Id="B59FE77B-738F-4f1c-AB48-3104895AF676"
+ Old upgrade code of innotek: UpgradeCode="F5FFAEBF-97AE-4038-8F91-4DE719456127" -->
+
+ <Module Id="msm_VBoxApp"
+ Language="!(loc.LANG)"
+ Version="$(var.Property_Version)">
+
+ <Package Id="d255feb6-597d-4f49-a170-e34f289fa0d3"
+ Keywords="Installer, Setup"
+ Description="$(env.VBOX_PRODUCT) $(var.Property_VersionExt) installation package"
+ Comments="$(env.VBOX_PRODUCT) installation package"
+ Manufacturer="$(env.VBOX_VENDOR)"
+ InstallerVersion="200"
+ AdminImage="yes"
+ InstallPrivileges="elevated"
+ Platform="$(var.Property_Platform)"
+ SummaryCodepage="1252"/>
+
+ <?include CommonProperties.wxi ?>
+ <?include PublicProperties.wxi ?>
+
+ <Property Id="local_VBOX_REGISTERFILEEXTENSIONS" Value="Empty" />
+ <Configuration Name="argRegisterExtensions" Format="Text" DefaultValue="Not passed"/>
+ <Substitution Table="CustomAction" Row="registerExtensions" Column="Target" Value="[=argRegisterExtensions]"/>
+ <CustomAction Id="registerExtensions" Property="local_VBOX_REGISTERFILEEXTENSIONS" Value="[local_VBOX_REGISTERFILEEXTENSIONS]" Execute="immediate" />
+
+ <!-- Here comes the file/directory list -->
+ <Directory Id="TARGETDIR" Name="SourceDir">
+ <Directory Id="msm_VBoxApplicationFolder" FileSource=".">
+
+ <?include VBoxMergeApp.wxi ?>
+
+ </Directory> <!-- msm_VBoxApplicationFolder directory -->
+ </Directory> <!-- TARGETDIR -->
+
+ <!-- Custom actions -->
+ <Binary Id="VBoxInstallHelper" SourceFile="$(env.PATH_OUT)\bin\VBoxInstallHelper.dll" />
+ <?include VBoxMergeAppCA.wxi ?>
+
+ <InstallExecuteSequence>
+ <Custom Action="registerExtensions" After="AppSearch"/>
+ <?include VBoxMergeAppSeq.wxi ?>
+ </InstallExecuteSequence>
+
+ </Module>
+</Wix>
diff --git a/src/VBox/Installer/win/VBoxMergeAppCA.wxi b/src/VBox/Installer/win/VBoxMergeAppCA.wxi
new file mode 100644
index 00000000..ddc29f5e
--- /dev/null
+++ b/src/VBox/Installer/win/VBoxMergeAppCA.wxi
@@ -0,0 +1,39 @@
+<?xml version="1.0"?>
+<!--
+ VirtualBox Windows Installation Script (WiX)
+-->
+<!--
+ Copyright (C) 2014-2023 Oracle and/or its affiliates.
+
+ This file is part of VirtualBox base platform packages, as
+ available from https://www.virtualbox.org.
+
+ This program is free software; you can redistribute it and/or
+ modify it under the terms of the GNU General Public License
+ as published by the Free Software Foundation, in version 3 of the
+ License.
+
+ This program is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, see <https://www.gnu.org/licenses>.
+
+ SPDX-License-Identifier: GPL-3.0-only
+-->
+
+<Include xmlns="http://schemas.microsoft.com/wix/2006/wi"
+ xmlns:difxapp="http://schemas.microsoft.com/wix/DifxAppExtension">
+
+<?if $(env.VBOX_WITH_CRT_PACKING) = "no" ?>
+ <CustomAction Id="ca_IsMSCRTInstalled" BinaryKey="VBoxInstallHelper"
+ DllEntry="IsMSCRTInstalled" Execute="immediate" Return="ignore" Impersonate="no" />
+<?endif?>
+
+ <CustomAction Id="ca_IsWindows10" BinaryKey="VBoxInstallHelper"
+ DllEntry="IsWindows10" Execute="immediate" Return="ignore" Impersonate="no" />
+
+</Include>
+
diff --git a/src/VBox/Installer/win/VBoxMergeAppSeq.wxi b/src/VBox/Installer/win/VBoxMergeAppSeq.wxi
new file mode 100644
index 00000000..b6340cef
--- /dev/null
+++ b/src/VBox/Installer/win/VBoxMergeAppSeq.wxi
@@ -0,0 +1,37 @@
+<?xml version="1.0"?>
+<!--
+ VirtualBox Windows Installation Script (WiX)
+-->
+<!--
+ Copyright (C) 2006-2023 Oracle and/or its affiliates.
+
+ This file is part of VirtualBox base platform packages, as
+ available from https://www.virtualbox.org.
+
+ This program is free software; you can redistribute it and/or
+ modify it under the terms of the GNU General Public License
+ as published by the Free Software Foundation, in version 3 of the
+ License.
+
+ This program is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, see <https://www.gnu.org/licenses>.
+
+ SPDX-License-Identifier: GPL-3.0-only
+-->
+
+<Include xmlns="http://schemas.microsoft.com/wix/2006/wi"
+ xmlns:difxapp="http://schemas.microsoft.com/wix/DifxAppExtension">
+
+<?if $(env.VBOX_WITH_CRT_PACKING) = "no" ?>
+ <Custom Action="ca_IsMSCRTInstalled" After="AppSearch">1</Custom>
+<?endif?>
+
+ <Custom Action="ca_IsWindows10" After="FileCost">1</Custom>
+
+</Include>
+
diff --git a/src/VBox/Installer/win/VBoxMergeCOM32On64.wxi b/src/VBox/Installer/win/VBoxMergeCOM32On64.wxi
new file mode 100644
index 00000000..6e7522b1
--- /dev/null
+++ b/src/VBox/Installer/win/VBoxMergeCOM32On64.wxi
@@ -0,0 +1,67 @@
+<?xml version="1.0"?>
+<!--
+ VirtualBox Windows Installation Script (WiX)
+-->
+<!--
+ Copyright (C) 2006-2023 Oracle and/or its affiliates.
+
+ This file is part of VirtualBox base platform packages, as
+ available from https://www.virtualbox.org.
+
+ This program is free software; you can redistribute it and/or
+ modify it under the terms of the GNU General Public License
+ as published by the Free Software Foundation, in version 3 of the
+ License.
+
+ This program is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, see <https://www.gnu.org/licenses>.
+
+ SPDX-License-Identifier: GPL-3.0-only
+-->
+
+<Include xmlns="http://schemas.microsoft.com/wix/2006/wi"
+ xmlns:difxapp="http://schemas.microsoft.com/wix/DifxAppExtension">
+
+<?if $(env.VBOX_WITH_32_ON_64_MAIN_API) = "yes" ?>
+ <Directory Id="dir_VBoxCOM32On64X86" Name="x86">
+ <!-- The 32-bit client COM component (see also cp_MainCom in VBoxMergeApp.wxi) -->
+ <Component Id="cp_MainCOM_x86" Guid="B600824E-4A25-2EB3-4B44-3D8CB7F9B92D" Win64="no">
+ <!-- Note: This file ID *must not* be changed because of our typelib template generation file! -->
+ <?if $(env.VBOX_WITH_MIDL_PROXY_STUB) != "yes" ?>
+ <File Id="VBoxClient_x86" Name="VBoxClient-x86.dll"
+ Source="$(env.PATH_OUT)\bin\x86\VBoxClient-x86.dll" KeyPath="yes"
+ DiskId="$(var.Property_DiskIdCommon)">
+ </File>
+ <?else?>
+ <File Id="VBoxClient_x86" Name="VBoxClient-x86.dll"
+ Source="$(env.PATH_OUT)\bin\x86\VBoxClient-x86.dll"
+ DiskId="$(var.Property_DiskIdCommon)">
+ </File>
+ <!-- Our key path, see VBoxMergeApp.wxi. -->
+ <File Id="file_VBoxProxyStub_x86" Name="VBoxProxyStub-x86.dll" KeyPath="yes"
+ Source="$(env.PATH_OUT)\bin\x86\VBoxProxyStub-x86.dll"
+ DiskId="$(var.Property_DiskIdCommon)">
+ <Class Id="$(env.VBOX_MIDL_PROXY_CLSID)" Context="InprocServer32"
+ Description="PSFactoryBuffer" ThreadingModel="both" />
+ </File>
+ <?endif?>
+ <File Id="file_VBoxRT_x86" Name="VBoxRT-x86.dll"
+ Source="$(env.PATH_OUT)\bin\x86\VBoxRT-x86.dll"
+ DiskId="$(var.Property_DiskIdCommon)">
+ </File>
+ <?include $(env.PATH_TARGET)\VirtualBox_TypeLib_x86.wxi ?>
+
+ <?if $(env.VBOX_WITH_CRT_PACKING) = "yes" ?>
+ <!-- Include CRT Dlls (specific to the compiler). -->
+ <?include $(env.PATH_TARGET)\VBoxCrtDlls32.wxi ?>
+ <?endif?>
+ </Component>
+ </Directory>
+<?endif?>
+
+</Include>
diff --git a/src/VBox/Installer/win/VBoxMergeCOM32On64.wxs b/src/VBox/Installer/win/VBoxMergeCOM32On64.wxs
new file mode 100644
index 00000000..94331950
--- /dev/null
+++ b/src/VBox/Installer/win/VBoxMergeCOM32On64.wxs
@@ -0,0 +1,60 @@
+<?xml version="1.0"?>
+<!--
+ VirtualBox Windows Installation Script (WiX)
+-->
+<!--
+ Copyright (C) 2006-2023 Oracle and/or its affiliates.
+
+ This file is part of VirtualBox base platform packages, as
+ available from https://www.virtualbox.org.
+
+ This program is free software; you can redistribute it and/or
+ modify it under the terms of the GNU General Public License
+ as published by the Free Software Foundation, in version 3 of the
+ License.
+
+ This program is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, see <https://www.gnu.org/licenses>.
+
+ SPDX-License-Identifier: GPL-3.0-only
+-->
+
+<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"
+ xmlns:difxapp="http://schemas.microsoft.com/wix/DifxAppExtension">
+
+ <?include Defines.wxi ?>
+
+ <Module Id="msm_VBoxCOM32On64"
+ Language="!(loc.LANG)"
+ Version="$(var.Property_Version)">
+
+ <Package Id="606c7efe-3f49-43a4-a4e4-d98688460647"
+ Keywords="Installer, Setup"
+ Description="$(env.VBOX_PRODUCT) $(var.Property_VersionExt) COM32On64 installation package"
+ Comments="$(env.VBOX_PRODUCT) COM32On64 installation package"
+ Manufacturer="$(env.VBOX_VENDOR)"
+ InstallerVersion="200"
+ AdminImage="yes"
+ InstallPrivileges="elevated"
+ Platform="$(var.Property_Platform)"
+ SummaryCodepage="1252"/>
+
+ <?include CommonProperties.wxi ?>
+ <?include PublicProperties.wxi ?>
+
+ <!-- Here comes the file/directory list -->
+ <Directory Id="TARGETDIR" Name="SourceDir">
+ <Directory Id="msm_VBoxApplicationFolder" FileSource=".">
+
+ <?include VBoxMergeCOM32On64.wxi ?>
+
+ </Directory> <!-- msm_VBoxApplicationFolder -->
+ </Directory> <!-- TARGETDIR -->
+
+ </Module>
+</Wix>
diff --git a/src/VBox/Installer/win/VBoxMergeCOM32On64CA.wxi b/src/VBox/Installer/win/VBoxMergeCOM32On64CA.wxi
new file mode 100644
index 00000000..59af54ea
--- /dev/null
+++ b/src/VBox/Installer/win/VBoxMergeCOM32On64CA.wxi
@@ -0,0 +1,30 @@
+<?xml version="1.0"?>
+<!--
+ VirtualBox Windows Installation Script (WiX)
+-->
+<!--
+ Copyright (C) 2014-2023 Oracle and/or its affiliates.
+
+ This file is part of VirtualBox base platform packages, as
+ available from https://www.virtualbox.org.
+
+ This program is free software; you can redistribute it and/or
+ modify it under the terms of the GNU General Public License
+ as published by the Free Software Foundation, in version 3 of the
+ License.
+
+ This program is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, see <https://www.gnu.org/licenses>.
+
+ SPDX-License-Identifier: GPL-3.0-only
+-->
+
+<Include xmlns="http://schemas.microsoft.com/wix/2006/wi"
+ xmlns:difxapp="http://schemas.microsoft.com/wix/DifxAppExtension">
+
+</Include>
diff --git a/src/VBox/Installer/win/VBoxMergeCOM32On64Seq.wxi b/src/VBox/Installer/win/VBoxMergeCOM32On64Seq.wxi
new file mode 100644
index 00000000..59af54ea
--- /dev/null
+++ b/src/VBox/Installer/win/VBoxMergeCOM32On64Seq.wxi
@@ -0,0 +1,30 @@
+<?xml version="1.0"?>
+<!--
+ VirtualBox Windows Installation Script (WiX)
+-->
+<!--
+ Copyright (C) 2014-2023 Oracle and/or its affiliates.
+
+ This file is part of VirtualBox base platform packages, as
+ available from https://www.virtualbox.org.
+
+ This program is free software; you can redistribute it and/or
+ modify it under the terms of the GNU General Public License
+ as published by the Free Software Foundation, in version 3 of the
+ License.
+
+ This program is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, see <https://www.gnu.org/licenses>.
+
+ SPDX-License-Identifier: GPL-3.0-only
+-->
+
+<Include xmlns="http://schemas.microsoft.com/wix/2006/wi"
+ xmlns:difxapp="http://schemas.microsoft.com/wix/DifxAppExtension">
+
+</Include>
diff --git a/src/VBox/Installer/win/VBoxMergeNetAdp.wxi b/src/VBox/Installer/win/VBoxMergeNetAdp.wxi
new file mode 100644
index 00000000..bde7ec3b
--- /dev/null
+++ b/src/VBox/Installer/win/VBoxMergeNetAdp.wxi
@@ -0,0 +1,48 @@
+<?xml version="1.0"?>
+<!--
+ VirtualBox Windows Installation Script (WiX)
+-->
+<!--
+ Copyright (C) 2006-2023 Oracle and/or its affiliates.
+
+ This file is part of VirtualBox base platform packages, as
+ available from https://www.virtualbox.org.
+
+ This program is free software; you can redistribute it and/or
+ modify it under the terms of the GNU General Public License
+ as published by the Free Software Foundation, in version 3 of the
+ License.
+
+ This program is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, see <https://www.gnu.org/licenses>.
+
+ SPDX-License-Identifier: GPL-3.0-only
+-->
+
+<Include xmlns="http://schemas.microsoft.com/wix/2006/wi"
+ xmlns:difxapp="http://schemas.microsoft.com/wix/DifxAppExtension">
+
+ <Component Id="cp_NetAdpDriver" Guid="7adf3e12-af3c-4d36-8bec-36d5064cf84f" Win64="$(var.Property_Win64)">
+ <File Id="file_VBoxNetAdp.sys" Name="VBoxNetAdp.sys" KeyPath="yes"
+ Source="$(env.PATH_OUT)\bin\VBoxNetAdp.sys" Checksum="yes"/>
+ <File Id="file_VBoxNetAdp.inf" Name="VBoxNetAdp.inf"
+ Source="$(env.PATH_OUT)\bin\VBoxNetAdp.inf" />
+<?if $(env.VBOX_SIGNING_MODE) != none ?>
+ <File Id="file_VBoxNetAdp.cat" Name="VBoxNetAdp.cat"
+ Source="$(env.PATH_OUT)\bin\VBoxNetAdp.cat" />
+<?endif ?>
+
+<?if $(env.VBOX_WITH_MSM_INSTALL) = "yes" ?>
+ <Condition><![CDATA[(localMSMNetworkType="NDIS5")]]></Condition>
+<?else ?>
+ <Condition><![CDATA[(NETWORKTYPE="NDIS5")]]></Condition>
+<?endif ?>
+
+ </Component>
+
+</Include>
diff --git a/src/VBox/Installer/win/VBoxMergeNetAdp.wxs b/src/VBox/Installer/win/VBoxMergeNetAdp.wxs
new file mode 100644
index 00000000..61520521
--- /dev/null
+++ b/src/VBox/Installer/win/VBoxMergeNetAdp.wxs
@@ -0,0 +1,82 @@
+<?xml version="1.0"?>
+<!--
+ VirtualBox Windows Installation Script (WiX)
+-->
+<!--
+ Copyright (C) 2006-2023 Oracle and/or its affiliates.
+
+ This file is part of VirtualBox base platform packages, as
+ available from https://www.virtualbox.org.
+
+ This program is free software; you can redistribute it and/or
+ modify it under the terms of the GNU General Public License
+ as published by the Free Software Foundation, in version 3 of the
+ License.
+
+ This program is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, see <https://www.gnu.org/licenses>.
+
+ SPDX-License-Identifier: GPL-3.0-only
+-->
+
+<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"
+ xmlns:difxapp="http://schemas.microsoft.com/wix/DifxAppExtension">
+
+ <?include Defines.wxi ?>
+
+ <Module Id="msm_VBoxNetworkAdp"
+ Language="!(loc.LANG)"
+ Version="$(var.Property_Version)">
+
+ <Package Id="248b9371-ab62-48ee-8f23-270fb319bb46"
+ Keywords="Installer, Setup"
+ Description="$(env.VBOX_PRODUCT) $(var.Property_VersionExt) NetAdp installation package"
+ Comments="$(env.VBOX_PRODUCT) NetAdp installation package"
+ Manufacturer="$(env.VBOX_VENDOR)"
+ InstallerVersion="200"
+ AdminImage="yes"
+ InstallPrivileges="elevated"
+ Platform="$(var.Property_Platform)"
+ SummaryCodepage="1252"/>
+
+ <?include CommonProperties.wxi ?>
+ <?include PublicProperties.wxi ?>
+
+<?if $(env.VBOX_WITH_MSM_INSTALL) = "yes" ?>
+ <Property Id="localMSMNetworkType" Value="Empty" />
+ <Configuration Name="passedNetworkType" Format="Text" DefaultValue="Not passed"/>
+ <Substitution Table="CustomAction" Row="setNetworkTypeADP" Column="Target" Value="[=passedNetworkType]"/>
+ <CustomAction Id="setNetworkTypeADP" Property="localMSMNetworkType" Value="[localMSMNetworkType]" Execute="immediate" />
+ <CustomAction Id="correctNetworkTypeADP" Property="localMSMNetworkType" Value="NDIS5" Execute="immediate" />
+<?endif ?>
+
+ <!-- Here comes the file/directory list -->
+ <Directory Id="TARGETDIR" Name="SourceDir">
+ <Directory Id="msm_VBoxNetworkAdpFolder" FileSource=".">
+
+ <?include VBoxMergeNetAdp.wxi ?>
+
+ </Directory> <!-- msm_VBoxNetworkAdpFolder -->
+ </Directory> <!-- TARGETDIR -->
+
+ <!-- Custom actions -->
+ <Binary Id="VBoxInstallHelper" SourceFile="$(env.PATH_OUT)\bin\VBoxInstallHelper.dll" />
+ <?include VBoxMergeNetAdpCA.wxi ?>
+
+ <InstallExecuteSequence>
+<?if $(env.VBOX_WITH_MSM_INSTALL) = "yes" ?>
+ <Custom Action="setNetworkTypeADP" After="CostInitialize"/>
+ <Custom Action="correctNetworkTypeADP" After="setNetworkTypeADP">
+ <![CDATA[(VersionNT < 600)]]>
+ </Custom>
+<?endif ?>
+ <?include VBoxMergeNetAdpSeq.wxi ?>
+ </InstallExecuteSequence>
+
+ </Module>
+</Wix>
diff --git a/src/VBox/Installer/win/VBoxMergeNetAdp6.wxi b/src/VBox/Installer/win/VBoxMergeNetAdp6.wxi
new file mode 100644
index 00000000..2f31a203
--- /dev/null
+++ b/src/VBox/Installer/win/VBoxMergeNetAdp6.wxi
@@ -0,0 +1,63 @@
+<?xml version="1.0"?>
+<!--
+ VirtualBox Windows Installation Script (WiX)
+-->
+<!--
+ Copyright (C) 2006-2023 Oracle and/or its affiliates.
+
+ This file is part of VirtualBox base platform packages, as
+ available from https://www.virtualbox.org.
+
+ This program is free software; you can redistribute it and/or
+ modify it under the terms of the GNU General Public License
+ as published by the Free Software Foundation, in version 3 of the
+ License.
+
+ This program is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, see <https://www.gnu.org/licenses>.
+
+ SPDX-License-Identifier: GPL-3.0-only
+-->
+
+<Include xmlns="http://schemas.microsoft.com/wix/2006/wi"
+ xmlns:difxapp="http://schemas.microsoft.com/wix/DifxAppExtension">
+
+<?if $(env.VBOX_SIGNING_MODE) != none ?>
+ <Component Id="cp_NetAdp6DriverCat_PreW10" Guid="40aab6d8-a9ca-41bd-3c5e-bd768d44faa7" Win64="$(var.Property_Win64)">
+ <File Id="file_VBoxNetAdp6_PreW10.cat" Name="VBoxNetAdp6.cat" Source="$(env.PATH_OUT)\bin\VBoxNetAdp6-PreW10.cat" />
+ <?if $(env.VBOX_WITH_MSM_INSTALL) = "yes" ?>
+ <Condition><![CDATA[(localMSMNetworkType="NDIS6") AND (NOT VBOX_IS_WINDOWS_10)]]></Condition>
+ <?else ?>
+ <Condition><![CDATA[(NETWORKTYPE="NDIS6") AND (NOT VBOX_IS_WINDOWS_10)]]></Condition>
+ <?endif ?>
+ </Component>
+ <Component Id="cp_NetAdp6DriverCat_W10" Guid="37431619-c0ac-4f6a-029e-6a8ac4cd58ad" Win64="$(var.Property_Win64)">
+ <File Id="file_VBoxNetAdp6_W10.cat" Name="VBoxNetAdp6.cat" Source="$(env.PATH_OUT)\bin\VBoxNetAdp6.cat" />
+ <?if $(env.VBOX_WITH_MSM_INSTALL) = "yes" ?>
+ <Condition><![CDATA[(localMSMNetworkType="NDIS6") AND (VBOX_IS_WINDOWS_10)]]></Condition>
+ <?else ?>
+ <Condition><![CDATA[(NETWORKTYPE="NDIS6") AND (VBOX_IS_WINDOWS_10)]]></Condition>
+ <?endif ?>
+ </Component>
+<?endif ?>
+
+ <Component Id="cp_NetAdp6Driver" Guid="945d9537-e60d-4bbf-9422-239739e31092" Win64="$(var.Property_Win64)">
+ <File Id="file_VBoxNetAdp6.sys" Name="VBoxNetAdp6.sys" KeyPath="yes"
+ Source="$(env.PATH_OUT)\bin\VBoxNetAdp6.sys" Checksum="yes"/>
+ <File Id="file_VBoxNetAdp6.inf" Name="VBoxNetAdp6.inf"
+ Source="$(env.PATH_OUT)\bin\VBoxNetAdp6.inf" />
+
+<?if $(env.VBOX_WITH_MSM_INSTALL) = "yes" ?>
+ <Condition><![CDATA[(localMSMNetworkType="NDIS6")]]></Condition>
+<?else ?>
+ <Condition><![CDATA[(NETWORKTYPE="NDIS6")]]></Condition>
+<?endif ?>
+
+ </Component>
+
+</Include>
diff --git a/src/VBox/Installer/win/VBoxMergeNetAdp6.wxs b/src/VBox/Installer/win/VBoxMergeNetAdp6.wxs
new file mode 100644
index 00000000..f12ca0f8
--- /dev/null
+++ b/src/VBox/Installer/win/VBoxMergeNetAdp6.wxs
@@ -0,0 +1,82 @@
+<?xml version="1.0"?>
+<!--
+ VirtualBox Windows Installation Script (WiX)
+-->
+<!--
+ Copyright (C) 2006-2023 Oracle and/or its affiliates.
+
+ This file is part of VirtualBox base platform packages, as
+ available from https://www.virtualbox.org.
+
+ This program is free software; you can redistribute it and/or
+ modify it under the terms of the GNU General Public License
+ as published by the Free Software Foundation, in version 3 of the
+ License.
+
+ This program is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, see <https://www.gnu.org/licenses>.
+
+ SPDX-License-Identifier: GPL-3.0-only
+-->
+
+<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"
+ xmlns:difxapp="http://schemas.microsoft.com/wix/DifxAppExtension">
+
+ <?include Defines.wxi ?>
+
+ <Module Id="msm_VBoxNetworkAdp6"
+ Language="!(loc.LANG)"
+ Version="$(var.Property_Version)">
+
+ <Package Id="f6f83806-bd72-477d-af1d-275dca62cb6d"
+ Keywords="Installer, Setup"
+ Description="$(env.VBOX_PRODUCT) $(var.Property_VersionExt) NetAdp6 installation package"
+ Comments="$(env.VBOX_PRODUCT) NetAdp6 installation package"
+ Manufacturer="$(env.VBOX_VENDOR)"
+ InstallerVersion="200"
+ AdminImage="yes"
+ InstallPrivileges="elevated"
+ Platform="$(var.Property_Platform)"
+ SummaryCodepage="1252"/>
+
+ <?include CommonProperties.wxi ?>
+ <?include PublicProperties.wxi ?>
+
+<?if $(env.VBOX_WITH_MSM_INSTALL) = "yes" ?>
+ <Property Id="localMSMNetworkType" Value="NDIS6" />
+ <Configuration Name="passedNetworkType" Format="Text" DefaultValue="Not passed"/>
+ <Substitution Table="CustomAction" Row="setNetworkTypeADP6" Column="Target" Value="[=passedNetworkType]"/>
+ <CustomAction Id="setNetworkTypeADP6" Property="localMSMNetworkType" Value="[localMSMNetworkType]" Execute="immediate" />
+ <CustomAction Id="correctNetworkTypeADP6" Property="localMSMNetworkType" Value="NDIS5" Execute="immediate" />
+<?endif ?>
+
+ <!-- Here comes the file/directory list -->
+ <Directory Id="TARGETDIR" Name="SourceDir">
+ <Directory Id="msm_VBoxNetworkAdp6Folder" FileSource=".">
+
+ <?include VBoxMergeNetAdp6.wxi ?>
+
+ </Directory> <!-- msm_VBoxNetworkAdp6Folder -->
+ </Directory> <!-- TARGETDIR -->
+
+ <!-- Custom actions -->
+ <Binary Id="VBoxInstallHelper" SourceFile="$(env.PATH_OUT)\bin\VBoxInstallHelper.dll" />
+ <?include VBoxMergeNetAdp6CA.wxi ?>
+
+ <InstallExecuteSequence>
+<?if $(env.VBOX_WITH_MSM_INSTALL) = "yes" ?>
+ <Custom Action="setNetworkTypeADP6" After="CostInitialize"/>
+ <Custom Action="correctNetworkTypeADP6" After="setNetworkTypeADP6">
+ <![CDATA[(VersionNT < 600)]]>
+ </Custom>
+<?endif ?>
+ <?include VBoxMergeNetAdp6Seq.wxi ?>
+ </InstallExecuteSequence>
+
+ </Module>
+</Wix>
diff --git a/src/VBox/Installer/win/VBoxMergeNetAdp6CA.wxi b/src/VBox/Installer/win/VBoxMergeNetAdp6CA.wxi
new file mode 100644
index 00000000..46278553
--- /dev/null
+++ b/src/VBox/Installer/win/VBoxMergeNetAdp6CA.wxi
@@ -0,0 +1,42 @@
+<?xml version="1.0"?>
+<!--
+ VirtualBox Windows Installation Script (WiX)
+-->
+<!--
+ Copyright (C) 2006-2023 Oracle and/or its affiliates.
+
+ This file is part of VirtualBox base platform packages, as
+ available from https://www.virtualbox.org.
+
+ This program is free software; you can redistribute it and/or
+ modify it under the terms of the GNU General Public License
+ as published by the Free Software Foundation, in version 3 of the
+ License.
+
+ This program is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, see <https://www.gnu.org/licenses>.
+
+ SPDX-License-Identifier: GPL-3.0-only
+-->
+
+<Include xmlns="http://schemas.microsoft.com/wix/2006/wi"
+ xmlns:difxapp="http://schemas.microsoft.com/wix/DifxAppExtension">
+
+ <CustomAction Id="ca_CreateHostOnlyInterfaceNDIS6" BinaryKey="VBoxInstallHelper" DllEntry="Ndis6CreateHostOnlyInterface" Execute="deferred" Return="check" Impersonate="no"/>
+ <CustomAction Id="ca_CreateHostOnlyInterfaceNDIS6Args" Property="ca_CreateHostOnlyInterfaceNDIS6" Value="[msm_VBoxNetworkAdp6Folder]" Execute="immediate"/>
+
+ <CustomAction Id="ca_RemoveHostOnlyInterfacesNDIS6" BinaryKey="VBoxInstallHelper" DllEntry="RemoveHostOnlyInterfaces" Execute="deferred" Return="check" Impersonate="no"/>
+ <CustomAction Id="ca_StopHostOnlyInterfacesNDIS6" BinaryKey="VBoxInstallHelper" DllEntry="StopHostOnlyInterfaces" Execute="deferred" Return="check" Impersonate="no"/>
+
+ <CustomAction Id="ca_UpdateHostOnlyInterfacesNDIS6" BinaryKey="VBoxInstallHelper" DllEntry="Ndis6UpdateHostOnlyInterfaces" Execute="deferred" Return="check" Impersonate="no"/>
+ <CustomAction Id="ca_UpdateHostOnlyInterfacesNDIS6Args" Property="ca_UpdateHostOnlyInterfacesNDIS6" Value="[msm_VBoxNetworkAdp6Folder]" Execute="immediate"/>
+
+ <CustomAction Id="ca_UninstallNetAdp6" BinaryKey="VBoxInstallHelper" DllEntry="UninstallNetAdp" Execute="deferred" Return="check" Impersonate="no"/>
+ <CustomAction Id="ca_UninstallNetAdp6Args" Property="ca_UninstallNetAdp6" Value="[msm_VBoxNetworkAdp6Folder]" Execute="immediate"/>
+
+</Include>
diff --git a/src/VBox/Installer/win/VBoxMergeNetAdp6Seq.wxi b/src/VBox/Installer/win/VBoxMergeNetAdp6Seq.wxi
new file mode 100644
index 00000000..04d2d793
--- /dev/null
+++ b/src/VBox/Installer/win/VBoxMergeNetAdp6Seq.wxi
@@ -0,0 +1,75 @@
+<?xml version="1.0"?>
+<!--
+ VirtualBox Windows Installation Script (WiX)
+-->
+<!--
+ Copyright (C) 2006-2023 Oracle and/or its affiliates.
+
+ This file is part of VirtualBox base platform packages, as
+ available from https://www.virtualbox.org.
+
+ This program is free software; you can redistribute it and/or
+ modify it under the terms of the GNU General Public License
+ as published by the Free Software Foundation, in version 3 of the
+ License.
+
+ This program is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, see <https://www.gnu.org/licenses>.
+
+ SPDX-License-Identifier: GPL-3.0-only
+-->
+
+<Include xmlns="http://schemas.microsoft.com/wix/2006/wi"
+ xmlns:difxapp="http://schemas.microsoft.com/wix/DifxAppExtension">
+
+<?if $(env.VBOX_WITH_NETFLT) = "yes" ?>
+ <!-- Create host-only interfaces on first-time install -->
+ <Custom Action="ca_CreateHostOnlyInterfaceNDIS6Args" Before="ca_CreateHostOnlyInterfaceNDIS6" >
+ <?if $(env.VBOX_WITH_MSM_INSTALL) = "yes" ?>
+ <![CDATA[(NOT Installed) AND (VersionNT >= 600) AND ($cp_NetAdp6Driver=3)]]>
+ <?else ?>
+ <![CDATA[(NOT Installed) AND (VersionNT >= 600) AND ($cp_NetAdp6Driver=3)]]>
+ <?endif ?>
+ </Custom>
+ <Custom Action="ca_CreateHostOnlyInterfaceNDIS6" Before="InstallFinalize" >
+ <?if $(env.VBOX_WITH_MSM_INSTALL) = "yes" ?>
+ <![CDATA[(NOT Installed) AND (VersionNT >= 600) AND ($cp_NetAdp6Driver=3)]]>
+ <?else ?>
+ <![CDATA[(NOT Installed) AND (VersionNT >= 600) AND ($cp_NetAdp6Driver=3)]]>
+ <?endif ?>
+ </Custom>
+ <!-- Remove the host-only interfaces on uninstall only. Includes
+ VBoxNetAdp6 driver uninstall.
+ @todo r=klaus Clean up this inconsistency by changing what the
+ install helper DLL does. It's very surprising behavior and needs
+ digging through a lot of code to understand the where and why. -->
+ <Custom Action="ca_RemoveHostOnlyInterfacesNDIS6" After="InstallInitialize" >
+ <![CDATA[NOT (UPGRADINGPRODUCTCODE) AND (Installed) AND (REMOVE="ALL")]]>
+ </Custom>
+ <!-- Stop the host-only interfaces on update only. Driver still has to be
+ uninstalled, and the creation of interfaces in the new installer will
+ do the actual upgrading, preserving the interfaces. -->
+ <Custom Action="ca_StopHostOnlyInterfacesNDIS6" After="InstallInitialize" >
+ <![CDATA[(UPGRADINGPRODUCTCODE) AND (REMOVE="ALL")]]>
+ </Custom>
+
+ <!-- Uninstall the driver only on package upgrade, as for uninstall it is
+ included in ca_RemoveHostOnlyInterfaces.
+ @todo r=klaus Clean up this inconsistency by changing what the
+ install helper DLL does. It's very surprising behavior and needs
+ digging through a lot of code to understand the where and why. -->
+ <Custom Action="ca_UninstallNetAdp6Args" Before="ca_UninstallNetAdp6" >
+ <![CDATA[(UPGRADINGPRODUCTCODE) AND (REMOVE="ALL")]]>
+ </Custom>
+ <Custom Action="ca_UninstallNetAdp6" After="ca_StopHostOnlyInterfacesNDIS6" >
+ <![CDATA[(UPGRADINGPRODUCTCODE) AND (REMOVE="ALL")]]>
+ </Custom>
+
+<?endif ?>
+
+</Include>
diff --git a/src/VBox/Installer/win/VBoxMergeNetAdpCA.wxi b/src/VBox/Installer/win/VBoxMergeNetAdpCA.wxi
new file mode 100644
index 00000000..4fe0b9d1
--- /dev/null
+++ b/src/VBox/Installer/win/VBoxMergeNetAdpCA.wxi
@@ -0,0 +1,39 @@
+<?xml version="1.0"?>
+<!--
+ VirtualBox Windows Installation Script (WiX)
+-->
+<!--
+ Copyright (C) 2006-2023 Oracle and/or its affiliates.
+
+ This file is part of VirtualBox base platform packages, as
+ available from https://www.virtualbox.org.
+
+ This program is free software; you can redistribute it and/or
+ modify it under the terms of the GNU General Public License
+ as published by the Free Software Foundation, in version 3 of the
+ License.
+
+ This program is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, see <https://www.gnu.org/licenses>.
+
+ SPDX-License-Identifier: GPL-3.0-only
+-->
+
+<Include xmlns="http://schemas.microsoft.com/wix/2006/wi"
+ xmlns:difxapp="http://schemas.microsoft.com/wix/DifxAppExtension">
+
+ <CustomAction Id="ca_CreateHostOnlyInterface" BinaryKey="VBoxInstallHelper" DllEntry="CreateHostOnlyInterface" Execute="deferred" Return="check" Impersonate="no"/>
+ <CustomAction Id="ca_CreateHostOnlyInterfaceArgs" Property="ca_CreateHostOnlyInterface" Value="[msm_VBoxNetworkAdpFolder]" Execute="immediate"/>
+ <CustomAction Id="ca_RemoveHostOnlyInterfaces" BinaryKey="VBoxInstallHelper" DllEntry="RemoveHostOnlyInterfaces" Execute="deferred" Return="check" Impersonate="no"/>
+ <CustomAction Id="ca_StopHostOnlyInterfaces" BinaryKey="VBoxInstallHelper" DllEntry="StopHostOnlyInterfaces" Execute="deferred" Return="check" Impersonate="no"/>
+ <CustomAction Id="ca_UpdateHostOnlyInterfacesArgs" Property="ca_UpdateHostOnlyInterfaces" Value="[msm_VBoxNetworkAdpFolder]" Execute="immediate"/>
+ <CustomAction Id="ca_UpdateHostOnlyInterfaces" BinaryKey="VBoxInstallHelper" DllEntry="UpdateHostOnlyInterfaces" Execute="deferred" Return="check" Impersonate="no"/>
+ <CustomAction Id="ca_UninstallNetAdp" BinaryKey="VBoxInstallHelper" DllEntry="UninstallNetAdp" Execute="deferred" Return="check" Impersonate="no"/>
+ <CustomAction Id="ca_UninstallNetAdpArgs" Property="ca_UninstallNetAdp" Value="[msm_VBoxNetworkAdpFolder]" Execute="immediate"/>
+
+</Include>
diff --git a/src/VBox/Installer/win/VBoxMergeNetAdpSeq.wxi b/src/VBox/Installer/win/VBoxMergeNetAdpSeq.wxi
new file mode 100644
index 00000000..5abc4580
--- /dev/null
+++ b/src/VBox/Installer/win/VBoxMergeNetAdpSeq.wxi
@@ -0,0 +1,75 @@
+<?xml version="1.0"?>
+<!--
+ VirtualBox Windows Installation Script (WiX)
+-->
+<!--
+ Copyright (C) 2006-2023 Oracle and/or its affiliates.
+
+ This file is part of VirtualBox base platform packages, as
+ available from https://www.virtualbox.org.
+
+ This program is free software; you can redistribute it and/or
+ modify it under the terms of the GNU General Public License
+ as published by the Free Software Foundation, in version 3 of the
+ License.
+
+ This program is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, see <https://www.gnu.org/licenses>.
+
+ SPDX-License-Identifier: GPL-3.0-only
+-->
+
+<Include xmlns="http://schemas.microsoft.com/wix/2006/wi"
+ xmlns:difxapp="http://schemas.microsoft.com/wix/DifxAppExtension">
+
+<?if $(env.VBOX_WITH_NETFLT) = "yes" ?>
+ <!-- Create host-only interfaces on first-time install -->
+ <Custom Action="ca_CreateHostOnlyInterfaceArgs" Before="ca_CreateHostOnlyInterface" >
+ <?if $(env.VBOX_WITH_MSM_INSTALL) = "yes" ?>
+ <![CDATA[(NOT Installed) AND ($cp_NetAdpDriver=3)]]>
+ <?else ?>
+ <![CDATA[(NOT Installed) AND ($cp_NetAdpDriver=3)]]>
+ <?endif ?>
+ </Custom>
+ <Custom Action="ca_CreateHostOnlyInterface" Before="InstallFinalize" >
+ <?if $(env.VBOX_WITH_MSM_INSTALL) = "yes" ?>
+ <![CDATA[(NOT Installed) AND ($cp_NetAdpDriver=3)]]>
+ <?else ?>
+ <![CDATA[(NOT Installed) AND ($cp_NetAdpDriver=3)]]>
+ <?endif ?>
+ </Custom>
+ <!-- Remove the host-only interfaces on uninstall only. Includes
+ VBoxNetAdp driver uninstall.
+ @todo r=klaus Clean up this inconsistency by changing what the
+ install helper DLL does. It's very surprising behavior and needs
+ digging through a lot of code to understand the where and why. -->
+ <Custom Action="ca_RemoveHostOnlyInterfaces" After="InstallInitialize" >
+ <![CDATA[NOT (UPGRADINGPRODUCTCODE) AND (Installed) AND (REMOVE="ALL")]]>
+ </Custom>
+ <!-- Stop the host-only interfaces on update only. Driver still has to be
+ uninstalled, and the creation of interfaces in the new installer will
+ do the actual upgrading, preserving the interfaces. -->
+ <Custom Action="ca_StopHostOnlyInterfaces" After="InstallInitialize" >
+ <![CDATA[(UPGRADINGPRODUCTCODE) AND (REMOVE="ALL")]]>
+ </Custom>
+
+ <!-- Uninstall the driver only on package upgrade, as for uninstall it is
+ included in ca_RemoveHostOnlyInterfaces.
+ @todo r=klaus Clean up this inconsistency by changing what the
+ install helper DLL does. It's very surprising behavior and needs
+ digging through a lot of code to understand the where and why. -->
+ <Custom Action="ca_UninstallNetAdpArgs" Before="ca_UninstallNetAdp" >
+ <![CDATA[(UPGRADINGPRODUCTCODE) AND (REMOVE="ALL")]]>
+ </Custom>
+ <Custom Action="ca_UninstallNetAdp" After="ca_StopHostOnlyInterfaces" >
+ <![CDATA[(UPGRADINGPRODUCTCODE) AND (REMOVE="ALL")]]>
+ </Custom>
+
+<?endif ?>
+
+</Include>
diff --git a/src/VBox/Installer/win/VBoxMergeNetFlt.wxi b/src/VBox/Installer/win/VBoxMergeNetFlt.wxi
new file mode 100644
index 00000000..d0e0dbf3
--- /dev/null
+++ b/src/VBox/Installer/win/VBoxMergeNetFlt.wxi
@@ -0,0 +1,55 @@
+<?xml version="1.0"?>
+<!--
+ VirtualBox Windows Installation Script (WiX)
+-->
+<!--
+ Copyright (C) 2006-2023 Oracle and/or its affiliates.
+
+ This file is part of VirtualBox base platform packages, as
+ available from https://www.virtualbox.org.
+
+ This program is free software; you can redistribute it and/or
+ modify it under the terms of the GNU General Public License
+ as published by the Free Software Foundation, in version 3 of the
+ License.
+
+ This program is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, see <https://www.gnu.org/licenses>.
+
+ SPDX-License-Identifier: GPL-3.0-only
+-->
+
+<Include xmlns="http://schemas.microsoft.com/wix/2006/wi"
+ xmlns:difxapp="http://schemas.microsoft.com/wix/DifxAppExtension">
+
+<?if $(env.VBOX_WITH_NETFLT) = "yes" ?>
+ <Component Id="cp_NetFltDriver" Guid="F0A02F6B-A349-42f8-A2EB-569DCAAAF846" Win64="$(var.Property_Win64)">
+ <File Id="file_VBoxNetFlt.sys" Name="VBoxNetFlt.sys" KeyPath="yes"
+ Source="$(env.PATH_OUT)\bin\VBoxNetFlt.sys" Checksum="yes"/>
+ <File Id="file_VBoxNetFltNobj.sys" Name="VBoxNetFltNobj.dll"
+ Source="$(env.PATH_OUT)\bin\VBoxNetFltNobj.dll" Checksum="yes"/>
+ <File Id="file_VBoxNetFltM.inf" Name="VBoxNetFltM.inf"
+ Source="$(env.PATH_OUT)\bin\VBoxNetFltM.inf" />
+ <File Id="file_VBoxNetFlt.inf" Name="VBoxNetFlt.inf"
+ Source="$(env.PATH_OUT)\bin\VBoxNetFlt.inf" />
+<?if $(env.VBOX_SIGNING_MODE) != none ?>
+ <File Id="file_VBoxNetFlt.cat" Name="VBoxNetFlt.cat"
+ Source="$(env.PATH_OUT)\bin\VBoxNetFlt.cat" />
+<?endif ?>
+
+<?if $(env.VBOX_WITH_MSM_INSTALL) = "yes" ?>
+ <Condition><![CDATA[(localMSMNetworkType="NDIS5")]]></Condition>
+<?else ?>
+ <Condition><![CDATA[(NETWORKTYPE="NDIS5")]]></Condition>
+<?endif ?>
+
+ </Component>
+
+<?endif ?> <!-- VBOX_WITH_NETFLT -->
+
+</Include>
diff --git a/src/VBox/Installer/win/VBoxMergeNetFlt.wxs b/src/VBox/Installer/win/VBoxMergeNetFlt.wxs
new file mode 100644
index 00000000..c68a72f2
--- /dev/null
+++ b/src/VBox/Installer/win/VBoxMergeNetFlt.wxs
@@ -0,0 +1,82 @@
+<?xml version="1.0"?>
+<!--
+ VirtualBox Windows Installation Script (WiX)
+-->
+<!--
+ Copyright (C) 2006-2023 Oracle and/or its affiliates.
+
+ This file is part of VirtualBox base platform packages, as
+ available from https://www.virtualbox.org.
+
+ This program is free software; you can redistribute it and/or
+ modify it under the terms of the GNU General Public License
+ as published by the Free Software Foundation, in version 3 of the
+ License.
+
+ This program is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, see <https://www.gnu.org/licenses>.
+
+ SPDX-License-Identifier: GPL-3.0-only
+-->
+
+<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"
+ xmlns:difxapp="http://schemas.microsoft.com/wix/DifxAppExtension">
+
+ <?include Defines.wxi ?>
+
+ <Module Id="msm_VBoxNetworkFlt"
+ Language="!(loc.LANG)"
+ Version="$(var.Property_Version)">
+
+ <Package Id="687c000b-c74b-4336-a449-dd8b3c6a060e"
+ Keywords="Installer, Setup"
+ Description="$(env.VBOX_PRODUCT) $(var.Property_VersionExt) NetFlt installation package"
+ Comments="$(env.VBOX_PRODUCT) NetFlt installation package"
+ Manufacturer="$(env.VBOX_VENDOR)"
+ InstallerVersion="200"
+ AdminImage="yes"
+ InstallPrivileges="elevated"
+ Platform="$(var.Property_Platform)"
+ SummaryCodepage="1252"/>
+
+ <?include CommonProperties.wxi ?>
+ <?include PublicProperties.wxi ?>
+
+<?if $(env.VBOX_WITH_MSM_INSTALL) = "yes" ?>
+ <Property Id="localMSMNetworkType" Value="Empty" />
+ <Configuration Name="passedNetworkType" Format="Text" DefaultValue="Not passed"/>
+ <Substitution Table="CustomAction" Row="setNetworkTypeFLT" Column="Target" Value="[=passedNetworkType]"/>
+ <CustomAction Id="setNetworkTypeFLT" Property="localMSMNetworkType" Value="[localMSMNetworkType]" Execute="immediate" />
+ <CustomAction Id="correctNetworkTypeFLT" Property="localMSMNetworkType" Value="NDIS5" Execute="immediate" />
+<?endif ?>
+
+ <!-- Here comes the file/directory list -->
+ <Directory Id="TARGETDIR" Name="SourceDir">
+ <Directory Id="msm_VBoxNetworkFltFolder" FileSource=".">
+
+ <?include VBoxMergeNetFlt.wxi ?>
+
+ </Directory> <!-- msm_VBoxNetworkFltFolder -->
+ </Directory> <!-- TARGETDIR -->
+
+ <!-- Custom actions -->
+ <Binary Id="VBoxInstallHelper" SourceFile="$(env.PATH_OUT)\bin\VBoxInstallHelper.dll" />
+ <?include VBoxMergeNetFltCA.wxi ?>
+
+ <InstallExecuteSequence>
+<?if $(env.VBOX_WITH_MSM_INSTALL) = "yes" ?>
+ <Custom Action="setNetworkTypeFLT" After="CostInitialize"/>
+ <Custom Action="correctNetworkTypeFLT" After="setNetworkTypeFLT">
+ <![CDATA[(VersionNT < 600)]]>
+ </Custom>
+<?endif ?>
+ <?include VBoxMergeNetFltSeq.wxi ?>
+ </InstallExecuteSequence>
+
+ </Module>
+</Wix>
diff --git a/src/VBox/Installer/win/VBoxMergeNetFltCA.wxi b/src/VBox/Installer/win/VBoxMergeNetFltCA.wxi
new file mode 100644
index 00000000..36f56a95
--- /dev/null
+++ b/src/VBox/Installer/win/VBoxMergeNetFltCA.wxi
@@ -0,0 +1,44 @@
+<?xml version="1.0"?>
+<!--
+ VirtualBox Windows Installation Script (WiX)
+-->
+<!--
+ Copyright (C) 2006-2023 Oracle and/or its affiliates.
+
+ This file is part of VirtualBox base platform packages, as
+ available from https://www.virtualbox.org.
+
+ This program is free software; you can redistribute it and/or
+ modify it under the terms of the GNU General Public License
+ as published by the Free Software Foundation, in version 3 of the
+ License.
+
+ This program is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, see <https://www.gnu.org/licenses>.
+
+ SPDX-License-Identifier: GPL-3.0-only
+-->
+
+<Include xmlns="http://schemas.microsoft.com/wix/2006/wi"
+ xmlns:difxapp="http://schemas.microsoft.com/wix/DifxAppExtension">
+
+<?if $(env.VBOX_WITH_NETFLT) = "yes" ?>
+ <CustomAction Id="ca_InstallNetFlt" BinaryKey="VBoxInstallHelper" DllEntry="InstallNetFlt" Execute="deferred" Return="check" Impersonate="no"/>
+ <CustomAction Id="ca_InstallNetFltArgs" Property="ca_InstallNetFlt" Value="[msm_VBoxNetworkFltFolder]" Execute="immediate"/>
+
+ <CustomAction Id="ca_RollbackInstallNetFlt" BinaryKey="VBoxInstallHelper" DllEntry="UninstallNetFlt" Execute="rollback" Impersonate="no"/>
+ <CustomAction Id="ca_RollbackInstallNetFltArgs" Property="ca_RollbackInstallNetFlt" Value="[msm_VBoxNetworkFltFolder]" Execute="immediate"/>
+
+ <CustomAction Id="ca_UninstallNetFlt" BinaryKey="VBoxInstallHelper" DllEntry="UninstallNetFlt" Execute="deferred" Return="check" Impersonate="no"/>
+ <CustomAction Id="ca_UninstallNetFltArgs" Property="ca_UninstallNetFlt" Value="[msm_VBoxNetworkFltFolder]" Execute="immediate"/>
+
+ <CustomAction Id="ca_RollbackUninstallNetFlt" BinaryKey="VBoxInstallHelper" DllEntry="InstallNetFlt" Execute="rollback" Impersonate="no"/>
+ <CustomAction Id="ca_RollbackUninstallNetFltArgs" Property="ca_RollbackUninstallNetFlt" Value="[msm_VBoxNetworkFltFolder]" Execute="immediate"/>
+<?endif ?>
+
+</Include>
diff --git a/src/VBox/Installer/win/VBoxMergeNetFltSeq.wxi b/src/VBox/Installer/win/VBoxMergeNetFltSeq.wxi
new file mode 100644
index 00000000..df6c9459
--- /dev/null
+++ b/src/VBox/Installer/win/VBoxMergeNetFltSeq.wxi
@@ -0,0 +1,90 @@
+<?xml version="1.0"?>
+<!--
+ VirtualBox Windows Installation Script (WiX)
+-->
+<!--
+ Copyright (C) 2006-2023 Oracle and/or its affiliates.
+
+ This file is part of VirtualBox base platform packages, as
+ available from https://www.virtualbox.org.
+
+ This program is free software; you can redistribute it and/or
+ modify it under the terms of the GNU General Public License
+ as published by the Free Software Foundation, in version 3 of the
+ License.
+
+ This program is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, see <https://www.gnu.org/licenses>.
+
+ SPDX-License-Identifier: GPL-3.0-only
+-->
+
+<Include xmlns="http://schemas.microsoft.com/wix/2006/wi"
+ xmlns:difxapp="http://schemas.microsoft.com/wix/DifxAppExtension">
+
+<?if $(env.VBOX_WITH_NETFLT) = "yes" ?>
+ <Custom Action="ca_RollbackInstallNetFltArgs" Before="ca_RollbackInstallNetFlt" >
+ <?if $(env.VBOX_WITH_MSM_INSTALL) = "yes" ?>
+ <![CDATA[$cp_NetFltDriver=3 AND (NOT Installed)]]>
+ <?else ?>
+ <![CDATA[$cp_NetFltDriver=3 AND (NOT Installed)]]>
+ <?endif ?>
+ </Custom>
+ <Custom Action="ca_RollbackInstallNetFlt" Before="ca_InstallNetFlt" >
+ <?if $(env.VBOX_WITH_MSM_INSTALL) = "yes" ?>
+ <![CDATA[$cp_NetFltDriver=3 AND (NOT Installed)]]>
+ <?else ?>
+ <![CDATA[$cp_NetFltDriver=3 AND (NOT Installed)]]>
+ <?endif ?>
+ </Custom>
+ <Custom Action="ca_InstallNetFltArgs" Before="ca_InstallNetFlt" >
+ <?if $(env.VBOX_WITH_MSM_INSTALL) = "yes" ?>
+ <![CDATA[$cp_NetFltDriver=3 AND (NOT Installed)]]>
+ <?else ?>
+ <![CDATA[$cp_NetFltDriver=3 AND (NOT Installed)]]>
+ <?endif ?>
+ </Custom>
+ <Custom Action="ca_InstallNetFlt" Before="InstallFinalize" >
+ <?if $(env.VBOX_WITH_MSM_INSTALL) = "yes" ?>
+ <![CDATA[$cp_NetFltDriver=3 AND (NOT Installed)]]>
+ <?else ?>
+ <![CDATA[$cp_NetFltDriver=3 AND (NOT Installed)]]>
+ <?endif ?>
+ </Custom>
+ <Custom Action="ca_RollbackUninstallNetFltArgs" Before="ca_RollbackUninstallNetFlt" >
+ <?if $(env.VBOX_WITH_MSM_INSTALL) = "yes" ?>
+ <![CDATA[(UPGRADINGPRODUCTCODE) OR (REMOVE="ALL")]]>
+ <?else ?>
+ <![CDATA[(UPGRADINGPRODUCTCODE) OR (REMOVE="ALL")]]>
+ <?endif ?>
+ </Custom>
+ <Custom Action="ca_RollbackUninstallNetFlt" Before="ca_UninstallNetFlt" >
+ <?if $(env.VBOX_WITH_MSM_INSTALL) = "yes" ?>
+ <![CDATA[(UPGRADINGPRODUCTCODE) OR (REMOVE="ALL")]]>
+ <?else ?>
+ <![CDATA[(UPGRADINGPRODUCTCODE) OR (REMOVE="ALL")]]>
+ <?endif ?>
+ </Custom>
+ <Custom Action="ca_UninstallNetFltArgs" Before="ca_UninstallNetFlt" >
+ <?if $(env.VBOX_WITH_MSM_INSTALL) = "yes" ?>
+ <![CDATA[(UPGRADINGPRODUCTCODE) OR (REMOVE="ALL")]]>
+ <?else ?>
+ <![CDATA[(UPGRADINGPRODUCTCODE) OR (REMOVE="ALL")]]>
+ <?endif ?>
+ </Custom>
+ <Custom Action="ca_UninstallNetFlt" After="InstallInitialize" >
+ <?if $(env.VBOX_WITH_MSM_INSTALL) = "yes" ?>
+ <![CDATA[(UPGRADINGPRODUCTCODE) OR (REMOVE="ALL")]]>
+ <?else ?>
+ <![CDATA[(UPGRADINGPRODUCTCODE) OR (REMOVE="ALL")]]>
+ <?endif ?>
+ </Custom>
+
+<?endif?> <!-- VBOX_WITH_NETFLT -->
+
+</Include>
diff --git a/src/VBox/Installer/win/VBoxMergeNetLwf.wxi b/src/VBox/Installer/win/VBoxMergeNetLwf.wxi
new file mode 100644
index 00000000..a5e673c9
--- /dev/null
+++ b/src/VBox/Installer/win/VBoxMergeNetLwf.wxi
@@ -0,0 +1,66 @@
+<?xml version="1.0"?>
+<!--
+ VirtualBox Windows Installation Script (WiX)
+-->
+<!--
+ Copyright (C) 2006-2023 Oracle and/or its affiliates.
+
+ This file is part of VirtualBox base platform packages, as
+ available from https://www.virtualbox.org.
+
+ This program is free software; you can redistribute it and/or
+ modify it under the terms of the GNU General Public License
+ as published by the Free Software Foundation, in version 3 of the
+ License.
+
+ This program is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, see <https://www.gnu.org/licenses>.
+
+ SPDX-License-Identifier: GPL-3.0-only
+-->
+
+<Include xmlns="http://schemas.microsoft.com/wix/2006/wi"
+ xmlns:difxapp="http://schemas.microsoft.com/wix/DifxAppExtension">
+
+<?if $(env.VBOX_WITH_NETFLT) = "yes" ?>
+
+<?if $(env.VBOX_SIGNING_MODE) != none ?>
+ <Component Id="cp_NetLwfDriverCat_PreW10" Guid="cede9469-b1bc-4194-348f-8799485a6283" Win64="$(var.Property_Win64)">
+ <File Id="file_VBoxNetLwf_PreW10.cat" Name="VBoxNetLwf.cat" Source="$(env.PATH_OUT)\bin\VBoxNetLwf-PreW10.cat" />
+ <?if $(env.VBOX_WITH_MSM_INSTALL) = "yes" ?>
+ <Condition><![CDATA[(localMSMNetworkType="NDIS6") AND (NOT VBOX_IS_WINDOWS_10)]]></Condition>
+ <?else ?>
+ <Condition><![CDATA[(NETWORKTYPE="NDIS6") AND (NOT VBOX_IS_WINDOWS_10)]]></Condition>
+ <?endif ?>
+ </Component>
+ <Component Id="cp_NetLwfDriverCat_W10" Guid="0932500d-4d45-4d79-8693-3192528d7cae" Win64="$(var.Property_Win64)">
+ <File Id="file_VBoxNetLwf_W10.cat" Name="VBoxNetLwf.cat" Source="$(env.PATH_OUT)\bin\VBoxNetLwf.cat" />
+ <?if $(env.VBOX_WITH_MSM_INSTALL) = "yes" ?>
+ <Condition><![CDATA[(localMSMNetworkType="NDIS6") AND (VBOX_IS_WINDOWS_10)]]></Condition>
+ <?else ?>
+ <Condition><![CDATA[(NETWORKTYPE="NDIS6") AND (VBOX_IS_WINDOWS_10)]]></Condition>
+ <?endif ?>
+ </Component>
+<?endif ?>
+
+ <Component Id="cp_NetLwfDriver" Guid="831b909d-f09a-4281-b6b0-99393fa4769d" Win64="$(var.Property_Win64)">
+ <File Id="file_VBoxNetLwf.sys" Name="VBoxNetLwf.sys" KeyPath="yes"
+ Source="$(env.PATH_OUT)\bin\VBoxNetLwf.sys" Checksum="yes"/>
+ <File Id="file_VBoxNetLwf.inf" Name="VBoxNetLwf.inf"
+ Source="$(env.PATH_OUT)\bin\VBoxNetLwf.inf" />
+<?if $(env.VBOX_WITH_MSM_INSTALL) = "yes" ?>
+ <Condition><![CDATA[(localMSMNetworkType="NDIS6")]]></Condition>
+<?else ?>
+ <Condition><![CDATA[(NETWORKTYPE="NDIS6")]]></Condition>
+<?endif ?>
+
+ </Component>
+
+<?endif ?> <!-- VBOX_WITH_NETFLT -->
+
+</Include>
diff --git a/src/VBox/Installer/win/VBoxMergeNetLwf.wxs b/src/VBox/Installer/win/VBoxMergeNetLwf.wxs
new file mode 100644
index 00000000..c7e75e9d
--- /dev/null
+++ b/src/VBox/Installer/win/VBoxMergeNetLwf.wxs
@@ -0,0 +1,82 @@
+<?xml version="1.0"?>
+<!--
+ VirtualBox Windows Installation Script (WiX)
+-->
+<!--
+ Copyright (C) 2006-2023 Oracle and/or its affiliates.
+
+ This file is part of VirtualBox base platform packages, as
+ available from https://www.virtualbox.org.
+
+ This program is free software; you can redistribute it and/or
+ modify it under the terms of the GNU General Public License
+ as published by the Free Software Foundation, in version 3 of the
+ License.
+
+ This program is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, see <https://www.gnu.org/licenses>.
+
+ SPDX-License-Identifier: GPL-3.0-only
+-->
+
+<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"
+ xmlns:difxapp="http://schemas.microsoft.com/wix/DifxAppExtension">
+
+ <?include Defines.wxi ?>
+
+ <Module Id="msm_VBoxNetworkLwf"
+ Language="!(loc.LANG)"
+ Version="$(var.Property_Version)">
+
+ <Package Id="5aca0331-4936-4c1b-820a-8359965d49a4"
+ Keywords="Installer, Setup"
+ Description="$(env.VBOX_PRODUCT) $(var.Property_VersionExt) NetLwf installation package"
+ Comments="$(env.VBOX_PRODUCT) NetLwf installation package"
+ Manufacturer="$(env.VBOX_VENDOR)"
+ InstallerVersion="200"
+ AdminImage="yes"
+ InstallPrivileges="elevated"
+ Platform="$(var.Property_Platform)"
+ SummaryCodepage="1252"/>
+
+ <?include CommonProperties.wxi ?>
+ <?include PublicProperties.wxi ?>
+
+<?if $(env.VBOX_WITH_MSM_INSTALL) = "yes" ?>
+ <Property Id="localMSMNetworkType" Value="NDIS6" />
+ <Configuration Name="passedNetworkType" Format="Text" DefaultValue="Not passed"/>
+ <Substitution Table="CustomAction" Row="setNetworkTypeLWF" Column="Target" Value="[=passedNetworkType]"/>
+ <CustomAction Id="setNetworkTypeLWF" Property="localMSMNetworkType" Value="[localMSMNetworkType]" Execute="immediate" />
+ <CustomAction Id="correctNetworkTypeLWF" Property="localMSMNetworkType" Value="NDIS5" Execute="immediate" />
+<?endif ?>
+
+ <!-- Here comes the file/directory list -->
+ <Directory Id="TARGETDIR" Name="SourceDir">
+ <Directory Id="msm_VBoxNetworkLwfFolder" FileSource=".">
+
+ <?include VBoxMergeNetLwf.wxi ?>
+
+ </Directory> <!-- msm_VBoxNetworkLwfFolder -->
+ </Directory> <!-- TARGETDIR -->
+
+ <!-- Custom actions -->
+ <Binary Id="VBoxInstallHelper" SourceFile="$(env.PATH_OUT)\bin\VBoxInstallHelper.dll" />
+ <?include VBoxMergeNetLwfCA.wxi ?>
+
+ <InstallExecuteSequence>
+<?if $(env.VBOX_WITH_MSM_INSTALL) = "yes" ?>
+ <Custom Action="setNetworkTypeLWF" After="CostInitialize"/>
+ <Custom Action="correctNetworkTypeLWF" After="setNetworkTypeLWF">
+ <![CDATA[(VersionNT < 600)]]>
+ </Custom>
+<?endif ?>
+ <?include VBoxMergeNetLwfSeq.wxi ?>
+ </InstallExecuteSequence>
+
+ </Module>
+</Wix>
diff --git a/src/VBox/Installer/win/VBoxMergeNetLwfCA.wxi b/src/VBox/Installer/win/VBoxMergeNetLwfCA.wxi
new file mode 100644
index 00000000..c30298e2
--- /dev/null
+++ b/src/VBox/Installer/win/VBoxMergeNetLwfCA.wxi
@@ -0,0 +1,44 @@
+<?xml version="1.0"?>
+<!--
+ VirtualBox Windows Installation Script (WiX)
+-->
+<!--
+ Copyright (C) 2006-2023 Oracle and/or its affiliates.
+
+ This file is part of VirtualBox base platform packages, as
+ available from https://www.virtualbox.org.
+
+ This program is free software; you can redistribute it and/or
+ modify it under the terms of the GNU General Public License
+ as published by the Free Software Foundation, in version 3 of the
+ License.
+
+ This program is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, see <https://www.gnu.org/licenses>.
+
+ SPDX-License-Identifier: GPL-3.0-only
+-->
+
+<Include xmlns="http://schemas.microsoft.com/wix/2006/wi"
+ xmlns:difxapp="http://schemas.microsoft.com/wix/DifxAppExtension">
+
+<?if $(env.VBOX_WITH_NETFLT) = "yes" ?>
+ <CustomAction Id="ca_InstallNetLwf" BinaryKey="VBoxInstallHelper" DllEntry="InstallNetLwf" Execute="deferred" Return="check" Impersonate="no"/>
+ <CustomAction Id="ca_InstallNetLwfArgs" Property="ca_InstallNetLwf" Value="[msm_VBoxNetworkLwfFolder]" Execute="immediate"/>
+
+ <CustomAction Id="ca_RollbackInstallNetLwf" BinaryKey="VBoxInstallHelper" DllEntry="UninstallNetLwf" Execute="rollback" Impersonate="no"/>
+ <CustomAction Id="ca_RollbackInstallNetLwfArgs" Property="ca_RollbackInstallNetLwf" Value="[msm_VBoxNetworkLwfFolder]" Execute="immediate"/>
+
+ <CustomAction Id="ca_UninstallNetLwf" BinaryKey="VBoxInstallHelper" DllEntry="UninstallNetLwf" Execute="deferred" Return="check" Impersonate="no"/>
+ <CustomAction Id="ca_UninstallNetLwfArgs" Property="ca_UninstallNetLwf" Value="[msm_VBoxNetworkLwfFolder]" Execute="immediate"/>
+
+ <CustomAction Id="ca_RollbackUninstallNetLwf" BinaryKey="VBoxInstallHelper" DllEntry="InstallNetLwf" Execute="rollback" Impersonate="no"/>
+ <CustomAction Id="ca_RollbackUninstallNetLwfArgs" Property="ca_RollbackUninstallNetLwf" Value="[msm_VBoxNetworkLwfFolder]" Execute="immediate"/>
+<?endif ?>
+
+</Include>
diff --git a/src/VBox/Installer/win/VBoxMergeNetLwfSeq.wxi b/src/VBox/Installer/win/VBoxMergeNetLwfSeq.wxi
new file mode 100644
index 00000000..8df863b1
--- /dev/null
+++ b/src/VBox/Installer/win/VBoxMergeNetLwfSeq.wxi
@@ -0,0 +1,90 @@
+<?xml version="1.0"?>
+<!--
+ VirtualBox Windows Installation Script (WiX)
+-->
+<!--
+ Copyright (C) 2006-2023 Oracle and/or its affiliates.
+
+ This file is part of VirtualBox base platform packages, as
+ available from https://www.virtualbox.org.
+
+ This program is free software; you can redistribute it and/or
+ modify it under the terms of the GNU General Public License
+ as published by the Free Software Foundation, in version 3 of the
+ License.
+
+ This program is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, see <https://www.gnu.org/licenses>.
+
+ SPDX-License-Identifier: GPL-3.0-only
+-->
+
+<Include xmlns="http://schemas.microsoft.com/wix/2006/wi"
+ xmlns:difxapp="http://schemas.microsoft.com/wix/DifxAppExtension">
+
+<?if $(env.VBOX_WITH_NETFLT) = "yes" ?>
+ <Custom Action="ca_RollbackInstallNetLwfArgs" Before="ca_RollbackInstallNetLwf" >
+ <?if $(env.VBOX_WITH_MSM_INSTALL) = "yes" ?>
+ <![CDATA[(VersionNT >= 600) AND $cp_NetLwfDriver=3 AND (NOT Installed)]]>
+ <?else ?>
+ <![CDATA[(VersionNT >= 600) AND $cp_NetLwfDriver=3 AND (NOT Installed)]]>
+ <?endif ?>
+ </Custom>
+ <Custom Action="ca_RollbackInstallNetLwf" Before="ca_InstallNetLwf" >
+ <?if $(env.VBOX_WITH_MSM_INSTALL) = "yes" ?>
+ <![CDATA[(VersionNT >= 600) AND $cp_NetLwfDriver=3 AND (NOT Installed)]]>
+ <?else ?>
+ <![CDATA[(VersionNT >= 600) AND $cp_NetLwfDriver=3 AND (NOT Installed)]]>
+ <?endif ?>
+ </Custom>
+ <Custom Action="ca_InstallNetLwfArgs" Before="ca_InstallNetLwf" >
+ <?if $(env.VBOX_WITH_MSM_INSTALL) = "yes" ?>
+ <![CDATA[(VersionNT >= 600) AND $cp_NetLwfDriver=3 AND (NOT Installed)]]>
+ <?else ?>
+ <![CDATA[(VersionNT >= 600) AND $cp_NetLwfDriver=3 AND (NOT Installed)]]>
+ <?endif ?>
+ </Custom>
+ <Custom Action="ca_InstallNetLwf" Before="InstallFinalize" >
+ <?if $(env.VBOX_WITH_MSM_INSTALL) = "yes" ?>
+ <![CDATA[(VersionNT >= 600) AND $cp_NetLwfDriver=3 AND (NOT Installed)]]>
+ <?else ?>
+ <![CDATA[(VersionNT >= 600) AND $cp_NetLwfDriver=3 AND (NOT Installed)]]>
+ <?endif ?>
+ </Custom>
+ <Custom Action="ca_RollbackUninstallNetLwfArgs" Before="ca_RollbackUninstallNetLwf" >
+ <?if $(env.VBOX_WITH_MSM_INSTALL) = "yes" ?>
+ <![CDATA[(UPGRADINGPRODUCTCODE) OR (REMOVE="ALL")]]>
+ <?else ?>
+ <![CDATA[(UPGRADINGPRODUCTCODE) OR (REMOVE="ALL")]]>
+ <?endif ?>
+ </Custom>
+ <Custom Action="ca_RollbackUninstallNetLwf" Before="ca_UninstallNetLwf" >
+ <?if $(env.VBOX_WITH_MSM_INSTALL) = "yes" ?>
+ <![CDATA[(UPGRADINGPRODUCTCODE) OR (REMOVE="ALL")]]>
+ <?else ?>
+ <![CDATA[(UPGRADINGPRODUCTCODE) OR (REMOVE="ALL")]]>
+ <?endif ?>
+ </Custom>
+ <Custom Action="ca_UninstallNetLwfArgs" Before="ca_UninstallNetLwf" >
+ <?if $(env.VBOX_WITH_MSM_INSTALL) = "yes" ?>
+ <![CDATA[((UPGRADINGPRODUCTCODE) OR (REMOVE="ALL"))]]>
+ <?else ?>
+ <![CDATA[((UPGRADINGPRODUCTCODE) OR (REMOVE="ALL"))]]>
+ <?endif ?>
+ </Custom>
+ <Custom Action="ca_UninstallNetLwf" After="InstallInitialize" >
+ <?if $(env.VBOX_WITH_MSM_INSTALL) = "yes" ?>
+ <![CDATA[((UPGRADINGPRODUCTCODE) OR (REMOVE="ALL"))]]>
+ <?else ?>
+ <![CDATA[((UPGRADINGPRODUCTCODE) OR (REMOVE="ALL"))]]>
+ <?endif ?>
+ </Custom>
+
+<?endif?> <!-- VBOX_WITH_NETFLT -->
+
+</Include>
diff --git a/src/VBox/Installer/win/VBoxMergePython.wxi b/src/VBox/Installer/win/VBoxMergePython.wxi
new file mode 100644
index 00000000..6b87ecc6
--- /dev/null
+++ b/src/VBox/Installer/win/VBoxMergePython.wxi
@@ -0,0 +1,60 @@
+<?xml version="1.0"?>
+<!--
+ VirtualBox Windows Installation Script (WiX)
+-->
+<!--
+ Copyright (C) 2006-2023 Oracle and/or its affiliates.
+
+ This file is part of VirtualBox base platform packages, as
+ available from https://www.virtualbox.org.
+
+ This program is free software; you can redistribute it and/or
+ modify it under the terms of the GNU General Public License
+ as published by the Free Software Foundation, in version 3 of the
+ License.
+
+ This program is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, see <https://www.gnu.org/licenses>.
+
+ SPDX-License-Identifier: GPL-3.0-only
+-->
+
+<Include xmlns="http://schemas.microsoft.com/wix/2006/wi"
+ xmlns:difxapp="http://schemas.microsoft.com/wix/DifxAppExtension"
+ xmlns:util="http://schemas.microsoft.com/wix/Util">
+
+<?if $(env.VBOX_WITH_PYTHON) = "yes" ?>
+ <!-- Python bindings -->
+ <Component Id="cp_VBoxPyInst" Guid="C9A40306-5102-11DE-A7BA-C3C555D89593" Win64="$(var.Property_Win64)">
+ <File Id="file_vboxapisetup.py" Name="vboxapisetup.py"
+ Source="$(env.PATH_OUT)\bin\sdk\installer\vboxapisetup.py"
+ DiskId="$(var.Property_DiskIdCommon)" />
+ </Component>
+ <Directory Id="dir_VBoxPythonSDKVBoxAPI" Name="vboxapi">
+ <Component Id="cp_VBoxPyMod" Guid="DF19CB76-5102-11DE-943B-13C755D89593" Win64="$(var.Property_Win64)">
+ <File Id="file___init__.py" Name="__init__.py"
+ Source="$(env.PATH_OUT)\bin\sdk\installer\vboxapi\__init__.py"
+ DiskId="$(var.Property_DiskIdCommon)" />
+ <File Id="file_VirtualBox_constants.py" Name="VirtualBox_constants.py"
+ Source="$(env.PATH_OUT)\bin\sdk\installer\vboxapi\VirtualBox_constants.py"
+ DiskId="$(var.Property_DiskIdCommon)" />
+ </Component>
+ </Directory>
+ <Component Id="cp_VBoxPyDel" Guid="D3C59511-E148-49FA-ADFF-718F2FF1B07A" Win64="$(var.Property_Win64)">
+ <RegistryValue Root="HKLM" Key="$(var.Property_RegKey)" Name="PythonApiInstallDir" Type="string"
+ Value="[msm_VBoxPythonFolder]" KeyPath="yes" />
+ <util:RemoveFolderEx On="uninstall" Property="EXISTING_PYTHON_API_FOLDER" />
+ </Component>
+
+<?endif?>
+ <Component Id="cp_VBoxPythonBinding" KeyPath="yes"
+ Guid="293D7E11-78DA-4C31-AEED-AE2FE42F6881" Win64="$(var.Property_Win64)">
+ <Condition>VBOX_PYTHON_IS_INSTALLED</Condition>
+ </Component>
+
+</Include>
diff --git a/src/VBox/Installer/win/VBoxMergePython.wxs b/src/VBox/Installer/win/VBoxMergePython.wxs
new file mode 100644
index 00000000..eb198e80
--- /dev/null
+++ b/src/VBox/Installer/win/VBoxMergePython.wxs
@@ -0,0 +1,68 @@
+<?xml version="1.0"?>
+<!--
+ VirtualBox Windows Installation Script (WiX)
+-->
+<!--
+ Copyright (C) 2006-2023 Oracle and/or its affiliates.
+
+ This file is part of VirtualBox base platform packages, as
+ available from https://www.virtualbox.org.
+
+ This program is free software; you can redistribute it and/or
+ modify it under the terms of the GNU General Public License
+ as published by the Free Software Foundation, in version 3 of the
+ License.
+
+ This program is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, see <https://www.gnu.org/licenses>.
+
+ SPDX-License-Identifier: GPL-3.0-only
+-->
+
+<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"
+ xmlns:difxapp="http://schemas.microsoft.com/wix/DifxAppExtension">
+
+ <?include Defines.wxi ?>
+
+ <Module Id="msm_VBoxPython"
+ Language="!(loc.LANG)"
+ Version="$(var.Property_Version)">
+
+ <Package Id="0f4de366-a8f3-4842-a165-fb19251cde88"
+ Keywords="Installer"
+ Description="$(env.VBOX_PRODUCT) $(var.Property_VersionExt) Python bindings installation package"
+ Comments="$(env.VBOX_PRODUCT) Python bindings installation package"
+ Manufacturer="$(env.VBOX_VENDOR)"
+ InstallerVersion="200"
+ AdminImage="yes"
+ InstallPrivileges="elevated"
+ Platform="$(var.Property_Platform)"
+ SummaryCodepage="1252"/>
+
+ <?include CommonProperties.wxi ?>
+ <?include PublicProperties.wxi ?>
+
+ <!-- Here comes the file/directory list -->
+ <Directory Id="TARGETDIR" Name="SourceDir">
+ <Directory Id="msm_VBoxPythonFolder" FileSource=".">
+
+ <?include VBoxMergePython.wxi ?>
+
+ </Directory> <!-- msm_VBoxPythonFolder -->
+ </Directory> <!-- TARGETDIR -->
+
+ <!-- Custom actions -->
+ <Binary Id="VBoxInstallHelper" SourceFile="$(env.PATH_OUT)\bin\VBoxInstallHelper.dll" />
+ <?include VBoxMergePythonCA.wxi ?>
+
+ <InstallExecuteSequence>
+ <?include VBoxMergePythonSeq.wxi ?>
+ </InstallExecuteSequence>
+
+ </Module>
+</Wix>
diff --git a/src/VBox/Installer/win/VBoxMergePythonCA.wxi b/src/VBox/Installer/win/VBoxMergePythonCA.wxi
new file mode 100644
index 00000000..136513ca
--- /dev/null
+++ b/src/VBox/Installer/win/VBoxMergePythonCA.wxi
@@ -0,0 +1,35 @@
+<?xml version="1.0"?>
+<!--
+ VirtualBox Windows Installation Script (WiX)
+-->
+<!--
+ Copyright (C) 2006-2023 Oracle and/or its affiliates.
+
+ This file is part of VirtualBox base platform packages, as
+ available from https://www.virtualbox.org.
+
+ This program is free software; you can redistribute it and/or
+ modify it under the terms of the GNU General Public License
+ as published by the Free Software Foundation, in version 3 of the
+ License.
+
+ This program is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, see <https://www.gnu.org/licenses>.
+
+ SPDX-License-Identifier: GPL-3.0-only
+-->
+
+<Include xmlns="http://schemas.microsoft.com/wix/2006/wi"
+ xmlns:difxapp="http://schemas.microsoft.com/wix/DifxAppExtension">
+
+ <CustomAction Id="ca_IsPythonInstalled" BinaryKey="VBoxInstallHelper" DllEntry="IsPythonInstalled" Execute="immediate" Return="check" Impersonate="no"/>
+ <CustomAction Id="ca_ArePythonAPIDepsInstalled" BinaryKey="VBoxInstallHelper" DllEntry="ArePythonAPIDepsInstalled" Execute="immediate" Return="check" Impersonate="no"/>
+ <CustomAction Id="ca_InstallPythonAPI" BinaryKey="VBoxInstallHelper" DllEntry="InstallPythonAPI" Execute="deferred" Return="check" Impersonate="no"/>
+ <CustomAction Id="ca_InstallPythonAPIArgs" Property="ca_InstallPythonAPI" Value="[msm_VBoxPythonFolder]" Execute="immediate"/>
+
+</Include>
diff --git a/src/VBox/Installer/win/VBoxMergePythonSeq.wxi b/src/VBox/Installer/win/VBoxMergePythonSeq.wxi
new file mode 100644
index 00000000..cb083860
--- /dev/null
+++ b/src/VBox/Installer/win/VBoxMergePythonSeq.wxi
@@ -0,0 +1,52 @@
+<?xml version="1.0"?>
+<!--
+ VirtualBox Windows Installation Script (WiX)
+-->
+<!--
+ Copyright (C) 2006-2023 Oracle and/or its affiliates.
+
+ This file is part of VirtualBox base platform packages, as
+ available from https://www.virtualbox.org.
+
+ This program is free software; you can redistribute it and/or
+ modify it under the terms of the GNU General Public License
+ as published by the Free Software Foundation, in version 3 of the
+ License.
+
+ This program is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, see <https://www.gnu.org/licenses>.
+
+ SPDX-License-Identifier: GPL-3.0-only
+-->
+
+<Include xmlns="http://schemas.microsoft.com/wix/2006/wi"
+ xmlns:difxapp="http://schemas.microsoft.com/wix/DifxAppExtension">
+
+ <Custom Action="ca_IsPythonInstalled" Before="ca_ArePythonAPIDepsInstalled" >
+ <![CDATA[1]]>
+ </Custom>
+ <Custom Action="ca_ArePythonAPIDepsInstalled" Before="LaunchConditions" >
+ <![CDATA[1]]>
+ </Custom>
+
+ <Custom Action="ca_InstallPythonAPIArgs" Before="ca_InstallPythonAPI" >
+ <?if $(env.VBOX_WITH_MSM_INSTALL) = "yes" ?>
+ <![CDATA[1]]>
+ <?else ?>
+ <![CDATA[&VBoxPython=3]]>
+ <?endif ?>
+ </Custom>
+ <Custom Action="ca_InstallPythonAPI" Before="InstallFinalize" >
+ <?if $(env.VBOX_WITH_MSM_INSTALL) = "yes" ?>
+ <![CDATA[1]]>
+ <?else ?>
+ <![CDATA[&VBoxPython=3]]>
+ <?endif ?>
+ </Custom>
+
+</Include>
diff --git a/src/VBox/Installer/win/VBoxMergeUSB.wxi b/src/VBox/Installer/win/VBoxMergeUSB.wxi
new file mode 100644
index 00000000..b11f2ad9
--- /dev/null
+++ b/src/VBox/Installer/win/VBoxMergeUSB.wxi
@@ -0,0 +1,72 @@
+<?xml version="1.0"?>
+<!--
+ VirtualBox Windows Installation Script (WiX)
+-->
+<!--
+ Copyright (C) 2006-2023 Oracle and/or its affiliates.
+
+ This file is part of VirtualBox base platform packages, as
+ available from https://www.virtualbox.org.
+
+ This program is free software; you can redistribute it and/or
+ modify it under the terms of the GNU General Public License
+ as published by the Free Software Foundation, in version 3 of the
+ License.
+
+ This program is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, see <https://www.gnu.org/licenses>.
+
+ SPDX-License-Identifier: GPL-3.0-only
+-->
+
+<Include xmlns="http://schemas.microsoft.com/wix/2006/wi"
+ xmlns:difxapp="http://schemas.microsoft.com/wix/DifxAppExtension">
+
+ <Directory Id="dir_VBoxUSBFilter" Name="filter">
+<?if $(env.VBOX_SIGNING_MODE)!= none ?>
+ <Component Id="cp_USBFilterDriverCat_PreW10" Guid="ef18fb4d-4530-40db-2957-de2dc90243ab" Win64="$(var.Property_Win64)">
+ <Condition><![CDATA[(NOT VBOX_IS_WINDOWS_10)]]></Condition>
+ <File Id="file_VBoxUSBMon_PreW10.cat" Name="VBoxUSBMon.cat" Source="$(env.PATH_OUT)\bin\VBoxUSBMon-PreW10.cat" />
+ </Component>
+ <Component Id="cp_USBFilterDriverCat_W10" Guid="341ce4ca-d00e-4a43-f4e3-453eacc6b493" Win64="$(var.Property_Win64)">
+ <Condition><![CDATA[(VBOX_IS_WINDOWS_10)]]></Condition>
+ <File Id="file_VBoxUSBMon_W10.cat" Name="VBoxUSBMon.cat" Source="$(env.PATH_OUT)\bin\VBoxUSBMon.cat" />
+ </Component>
+<?endif ?>
+ <Component Id="cp_USBFilterDriver" Guid="B7D782D2-96DF-4775-A0E1-A76CF7B04B65" Win64="$(var.Property_Win64)">
+ <difxapp:Driver AddRemovePrograms="no" ForceInstall="yes" DeleteFiles="yes"
+ Legacy="$(var.Property_DriverLegacy)" Sequence="3" PlugAndPlayPrompt="no"/>
+ <File Id="file_VBoxUSBMon.sys" Name="VBoxUSBMon.sys"
+ Source="$(env.PATH_OUT)\bin\VBoxUSBMon.sys" />
+ <File Id="file_VBoxUSBMon.inf" Name="VBoxUSBMon.inf"
+ Source="$(env.PATH_OUT)\bin\VBoxUSBMon.inf" />
+ </Component>
+ </Directory>
+
+ <Directory Id="dir_VBoxUSBDevice" Name="device">
+<?if $(env.VBOX_SIGNING_MODE)!= none ?>
+ <Component Id="cp_USBDeviceDriverCat_PreW10" Guid="43cc14cb-06e9-46c2-d507-20423150ccbd" Win64="$(var.Property_Win64)">
+ <Condition><![CDATA[(NOT VBOX_IS_WINDOWS_10)]]></Condition>
+ <File Id="file_VBoxUSB_PreW10.cat" Name="VBoxUSB.cat" Source="$(env.PATH_OUT)\bin\VBoxUSB-PreW10.cat" />
+ </Component>
+ <Component Id="cp_USBDeviceDriverCat_W10" Guid="2127015e-7a96-4b8d-6015-b1e51a75b5ba" Win64="$(var.Property_Win64)">
+ <Condition><![CDATA[(VBOX_IS_WINDOWS_10)]]></Condition>
+ <File Id="file_VBoxUSB_W10.cat" Name="VBoxUSB.cat" Source="$(env.PATH_OUT)\bin\VBoxUSB.cat" />
+ </Component>
+<?endif ?>
+ <Component Id="cp_USBDeviceDriver" Guid="010FE46A-E358-43E2-8BDC-38BC8BEC82E0" Win64="$(var.Property_Win64)">
+ <difxapp:Driver AddRemovePrograms="no" ForceInstall="yes" DeleteFiles="yes"
+ Legacy="$(var.Property_DriverLegacy)" Sequence="3" PlugAndPlayPrompt="no"/>
+ <File Id="file_VBoxUSB.sys" Name="VBoxUSB.sys"
+ Source="$(env.PATH_OUT)\bin\VBoxUSB.sys" />
+ <File Id="file_VBoxUSB.inf" Name="VBoxUSB.inf"
+ Source="$(env.PATH_OUT)\bin\VBoxUSB.inf" />
+ </Component>
+ </Directory>
+
+</Include>
diff --git a/src/VBox/Installer/win/VBoxMergeUSB.wxs b/src/VBox/Installer/win/VBoxMergeUSB.wxs
new file mode 100644
index 00000000..0184f5c6
--- /dev/null
+++ b/src/VBox/Installer/win/VBoxMergeUSB.wxs
@@ -0,0 +1,60 @@
+<?xml version="1.0"?>
+<!--
+ VirtualBox Windows Installation Script (WiX)
+-->
+<!--
+ Copyright (C) 2006-2023 Oracle and/or its affiliates.
+
+ This file is part of VirtualBox base platform packages, as
+ available from https://www.virtualbox.org.
+
+ This program is free software; you can redistribute it and/or
+ modify it under the terms of the GNU General Public License
+ as published by the Free Software Foundation, in version 3 of the
+ License.
+
+ This program is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, see <https://www.gnu.org/licenses>.
+
+ SPDX-License-Identifier: GPL-3.0-only
+-->
+
+<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"
+ xmlns:difxapp="http://schemas.microsoft.com/wix/DifxAppExtension">
+
+ <?include Defines.wxi ?>
+
+ <Module Id="msm_VBoxUSB"
+ Language="!(loc.LANG)"
+ Version="$(var.Property_Version)">
+
+ <Package Id="b8f1b6f4-2e92-40a6-b819-782e523b20ab"
+ Keywords="Installer, Setup"
+ Description="$(env.VBOX_PRODUCT) $(var.Property_VersionExt) USB drivers installation package"
+ Comments="$(env.VBOX_PRODUCT) USB drivers installation package"
+ Manufacturer="$(env.VBOX_VENDOR)"
+ InstallerVersion="200"
+ AdminImage="yes"
+ InstallPrivileges="elevated"
+ Platform="$(var.Property_Platform)"
+ SummaryCodepage="1252"/>
+
+ <?include CommonProperties.wxi ?>
+ <?include PublicProperties.wxi ?>
+
+ <!-- Here comes the file/directory list -->
+ <Directory Id="TARGETDIR" Name="SourceDir">
+ <Directory Id="msm_VBoxUSBFolder" FileSource=".">
+
+ <?include VBoxMergeUSB.wxi ?>
+
+ </Directory> <!-- msm_VBoxUSBFolder -->
+ </Directory> <!-- TARGETDIR -->
+
+ </Module>
+</Wix>
diff --git a/src/VBox/Installer/win/VBoxMergeUSBCA.wxi b/src/VBox/Installer/win/VBoxMergeUSBCA.wxi
new file mode 100644
index 00000000..59af54ea
--- /dev/null
+++ b/src/VBox/Installer/win/VBoxMergeUSBCA.wxi
@@ -0,0 +1,30 @@
+<?xml version="1.0"?>
+<!--
+ VirtualBox Windows Installation Script (WiX)
+-->
+<!--
+ Copyright (C) 2014-2023 Oracle and/or its affiliates.
+
+ This file is part of VirtualBox base platform packages, as
+ available from https://www.virtualbox.org.
+
+ This program is free software; you can redistribute it and/or
+ modify it under the terms of the GNU General Public License
+ as published by the Free Software Foundation, in version 3 of the
+ License.
+
+ This program is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, see <https://www.gnu.org/licenses>.
+
+ SPDX-License-Identifier: GPL-3.0-only
+-->
+
+<Include xmlns="http://schemas.microsoft.com/wix/2006/wi"
+ xmlns:difxapp="http://schemas.microsoft.com/wix/DifxAppExtension">
+
+</Include>
diff --git a/src/VBox/Installer/win/VBoxMergeUSBSeq.wxi b/src/VBox/Installer/win/VBoxMergeUSBSeq.wxi
new file mode 100644
index 00000000..59af54ea
--- /dev/null
+++ b/src/VBox/Installer/win/VBoxMergeUSBSeq.wxi
@@ -0,0 +1,30 @@
+<?xml version="1.0"?>
+<!--
+ VirtualBox Windows Installation Script (WiX)
+-->
+<!--
+ Copyright (C) 2014-2023 Oracle and/or its affiliates.
+
+ This file is part of VirtualBox base platform packages, as
+ available from https://www.virtualbox.org.
+
+ This program is free software; you can redistribute it and/or
+ modify it under the terms of the GNU General Public License
+ as published by the Free Software Foundation, in version 3 of the
+ License.
+
+ This program is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, see <https://www.gnu.org/licenses>.
+
+ SPDX-License-Identifier: GPL-3.0-only
+-->
+
+<Include xmlns="http://schemas.microsoft.com/wix/2006/wi"
+ xmlns:difxapp="http://schemas.microsoft.com/wix/DifxAppExtension">
+
+</Include>
diff --git a/src/VBox/Installer/win/VirtualBox.wxs b/src/VBox/Installer/win/VirtualBox.wxs
new file mode 100644
index 00000000..1e4911cc
--- /dev/null
+++ b/src/VBox/Installer/win/VirtualBox.wxs
@@ -0,0 +1,690 @@
+<?xml version='1.0' encoding='windows-1252'?>
+<!--
+ VirtualBox Windows Installation Script (WiX)
+-->
+<!--
+ Copyright (C) 2014-2023 Oracle and/or its affiliates.
+
+ This file is part of VirtualBox base platform packages, as
+ available from https://www.virtualbox.org.
+
+ This program is free software; you can redistribute it and/or
+ modify it under the terms of the GNU General Public License
+ as published by the Free Software Foundation, in version 3 of the
+ License.
+
+ This program is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, see <https://www.gnu.org/licenses>.
+
+ SPDX-License-Identifier: GPL-3.0-only
+-->
+
+<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"
+ xmlns:difxapp="http://schemas.microsoft.com/wix/DifxAppExtension"
+ xmlns:util="http://schemas.microsoft.com/wix/UtilExtension">
+
+ <?include Defines.wxi ?>
+
+<?if $(env.VBOX_WITH_MSM_INSTALL) = "yes" ?>
+ <!-- The merge module file names -->
+ <?define Property_VBoxMergeApp = "$(env.VBOX_WIN_INST_MERGE_APP)" ?>
+ <?if $(env.VBOX_WITH_32_ON_64_MAIN_API) = "yes" ?>
+ <?define Property_VBoxMergeCOM32On64 = "$(env.VBOX_WIN_INST_MERGE_COM32ON64)" ?>
+ <?endif ?>
+ <?if $(env.VBOX_WITH_USB) = "yes" ?>
+ <?define Property_VBoxMergeUSB = "$(env.VBOX_WIN_INST_MERGE_USB)" ?>
+ <?endif ?>
+ <?if $(env.VBOX_WITH_NETFLT) = "yes" ?>
+ <?define Property_VBoxMergeNetworkFlt = "$(env.VBOX_WIN_INST_MERGE_NETFLT)" ?>
+ <?endif ?>
+ <?if $(env.VBOX_WITH_NETADP) = "yes" ?>
+ <?define Property_VBoxMergeNetworkAdp = "$(env.VBOX_WIN_INST_MERGE_NETADP)" ?>
+ <?define Property_VBoxMergeNetworkAdp6 = "$(env.VBOX_WIN_INST_MERGE_NETADP6)" ?>
+ <?endif ?>
+ <?if $(env.VBOX_WITH_NETFLT) = "yes" ?>
+ <?define Property_VBoxMergeNetworkLwf = "$(env.VBOX_WIN_INST_MERGE_NETLWF)" ?>
+ <?endif ?>
+ <?if $(env.VBOX_WITH_PYTHON) = "yes" ?>
+ <?define Property_VBoxMergePython = "$(env.VBOX_WIN_INST_MERGE_PYTHON)" ?>
+ <?endif ?>
+<?endif ?>
+
+ <Product Id="*"
+ UpgradeCode="C4BAD770-BFE8-4D2C-A592-693028A7215B"
+ Name="$(env.VBOX_PRODUCT) $(env.VBOX_VERSION_STRING)"
+ Language="!(loc.LANG)"
+ Codepage="1252"
+ Version="$(var.Property_Version)"
+ Manufacturer="$(env.VBOX_VENDOR)">
+
+ <Package Id="*"
+ Keywords="Installer"
+ Description="$(env.VBOX_PRODUCT) $(var.Property_VersionExt) installation package"
+ Comments="$(env.VBOX_PRODUCT) installation package"
+ Compressed="yes"
+ Manufacturer="$(env.VBOX_VENDOR)"
+ InstallerVersion="200"
+ InstallPrivileges="elevated"
+ Platform="$(var.Property_Platform)"/>
+
+ <?include CommonProperties.wxi ?>
+
+ <!-- Global properties -->
+ <Property Id="ARPPRODUCTICON">IconVirtualBox</Property>
+ <Property Id="ARPURLINFOABOUT">http://www.virtualbox.org</Property>
+ <Property Id="ARPURLUPDATEINFO">http://www.virtualbox.org</Property>
+
+ <Property Id="NETWORKTYPE" Value="NDIS6" Secure="yes"/>
+
+<?if $(env.VBOX_WITH_MSM_INSTALL) = "no" ?>
+ <!-- Force NDIS5 on pre-Vista -->
+ <SetProperty Id="NETWORKTYPE" After="LaunchConditions" Value="NDIS5"><![CDATA[(VersionNT < 600)]]></SetProperty>
+<?endif ?>
+
+ <!-- Whether or not registering of known desktop shortcut for the Quick Launch Bar should be created -->
+ <Property Id="VBOX_REGISTERFILEEXTENSIONS" Value="1" Secure="yes"/>
+
+ <SetProperty Id="VBOX_REGISTERFILEEXTENSIONS" After="AppSearch" Sequence="both" Value="{}">
+ <![CDATA[VBOX_REGISTERFILEEXTENSIONS="0"]]>
+ </SetProperty>
+
+ <!-- Install the product for all users on the system -->
+ <Property Id="ALLUSERS"><![CDATA[1]]></Property>
+
+ <!-- Force overwriting all files and re-create shortcuts to guarantee a working environment -->
+ <Property Id='REINSTALLMODE' Value='amus'/>
+
+ <?include PublicProperties.wxi ?>
+
+ <!-- Make sure installation will not start on anything other but the NT family -->
+<?if $(env.KBUILD_TARGET_ARCH) = "amd64" ?>
+ <Condition Message="!(loc.Only64Bit)">
+ VersionNT64
+ </Condition>
+<?else ?>
+ <Condition Message="!(loc.Only32Bit)">
+ NOT VersionNT64
+ </Condition>
+
+ <Condition Message="!(loc.WrongOS)">
+ NOT VersionNT=500 AND NOT Version9X AND NOT VersionNT64
+ </Condition>
+
+<?endif ?>
+
+ <Condition Message="!(loc.NeedAdmin)">
+ Privileged
+ </Condition>
+
+<?if $(env.VBOX_WITH_CRT_PACKING) = "no" ?>
+ <!-- Check if we have the required MS CRT(s) installed when we're not shipping those. -->
+ <Condition Message="!(loc.NeedMSCRT)">
+ Installed OR (VBOX_MSCRT_INSTALLED)
+ </Condition>
+<?endif ?>
+
+ <!-- Detect old innotek installation -->
+ <!-- Force a manual uninstall of an already installed innotek VirtualBox version first -->
+ <Property Id="VBOXINNOTEK">
+ <RegistrySearch Id="RegSearchInnotekVersion" Root="HKLM" Key="SOFTWARE\Innotek\VirtualBox" Name="Version" Type="raw" Win64="$(var.Property_Win64)"/>
+ </Property>
+ <Condition Message="!(loc.InnotekFound)">
+ NOT VBOXINNOTEK
+ </Condition>
+
+
+ <!-- *************************** Upgrade packages only ******************************* -->
+ <!-- Minimum and Maximum specify the range of versions we are supposed to update with this upgrade.
+ IncludeMaximum and IncludeMinimum specify whether the bound value is actually included in the range or not
+ (IncludeMaximum = yes meaning to find versions below or equal to the version specified in Maximum while
+ IncludeMaximum = no only finds those below the Maximum).
+ OnlyDetect tells the installer not to remove the previous product. This is useful as long as we
+ only change files in the package -->
+
+ <Upgrade Id="C4BAD770-BFE8-4D2C-A592-693028A7215B"> <!-- Upgrade of Sun xVM VirtualBox >= v1.6.0 -->
+
+ <!-- Upgrade is flagged if current-install is newer than or equal to package - TODO: should make a dialog appear asking user to confirm downgrade -->
+ <!-- Setting "OnlyDetect" to "no" makes the installer uninstall an already newer installed version -->
+ <UpgradeVersion Property="NEWERVERSIONDETECTED" Minimum="$(var.Property_Version)" IncludeMinimum="no" OnlyDetect="no" />
+
+ <!-- Flag is set if the install will trigger an upgrade of an existing install -->
+ <UpgradeVersion Property="PREVIOUSVERSIONSINSTALLED" Minimum="1.0.0.0" Maximum="$(var.Property_Version)" IncludeMaximum="yes" />
+
+ </Upgrade>
+
+ <!-- The product's icon table -->
+ <Icon Id="IconVirtualBox" SourceFile="$(env.VBOX_WINDOWS_ICON_FILE)" />
+
+ <!-- The media/binary IDs -->
+ <!--
+ The effects of CompressionLevel options:
+ default/mszip, high: 32.54s
+ -rw-rw-rw- 1 bird 0 53 591 221 2016-09-25 03:56 common.cab
+ -rw-rw-rw- 1 bird 0 41 560 082 2016-09-25 03:56 VirtualBox-5.1.51-r110887_en_US.msi
+ high, high: 46.76s
+ -rw-rw-rw- 1 bird 0 53 591 221 2016-09-25 03:49 common.cab
+ -rw-rw-rw- 1 bird 0 34 056 210 2016-09-25 03:49 VirtualBox-5.1.51-r110887_en_US.msi
+ medium, medium: 29.95s
+ -rw-rw-rw- 1 bird 0 56 293 089 2016-09-25 03:53 common.cab
+ -rw-rw-rw- 1 bird 0 35 498 002 2016-09-25 03:54 VirtualBox-5.1.51-r110887_en_US.msi
+ low, low: 25.41s
+ -rw-rw-rw- 1 bird 0 57 616 155 2016-09-25 03:52 common.cab
+ -rw-rw-rw- 1 bird 0 37 181 458 2016-09-25 03:52 VirtualBox-5.1.51-r110887_en_US.msi
+ mszip/default, mszip/default: 16.13s
+ -rw-rw-rw- 1 bird 0 58 751 954 2016-09-25 03:49 common.cab
+ -rw-rw-rw- 1 bird 0 41 560 082 2016-09-25 03:50 VirtualBox-5.1.51-r110887_en_US.msi
+ none, none: 2.37s
+ -rw-rw-rw- 1 bird 0 92 470 301 2016-09-25 03:47 common.cab
+ -rw-rw-rw- 1 bird 0 135 874 578 2016-09-25 03:47 VirtualBox-5.1.51-r110887_en_US.msi
+
+ We set the level in the VBOX_CAB_COMPRESSION_LEVEL and VBOX_CAB_COMPRESSION_LEVEL_COMMON
+ environment variables so we don't waste time compressing and decompressing the intermediate
+ language MSIs and the common.cab that we're not going to use (x86).
+ -->
+ <Media Id="1" Cabinet="product.cab" EmbedCab="yes" CompressionLevel="$(env.VBOX_CAB_COMPRESSION_LEVEL)" />
+<?if $(env.VBOX_WITH_MSM_INSTALL) = "no" ?>
+ <?if $(env.VBOX_WITH_COMBINED_PACKAGE) = "yes" ?>
+ <Media Id="2" Cabinet="common.cab" EmbedCab="no" CompressionLevel="$(env.VBOX_CAB_COMPRESSION_LEVEL_COMMON)" />
+ <?endif ?>
+<?endif ?>
+ <Binary Id="VBoxInstallHelper" SourceFile="$(env.PATH_OUT)\bin\VBoxInstallHelper.dll" />
+
+ <!-- Custom actions -->
+
+ <!-- Figure out where a previous installation was, if any -->
+<?if $(env.KBUILD_TARGET_ARCH) = "amd64" ?>
+ <CustomAction Id="ca_OriginalTargetDir" Execute="firstSequence" Property="INSTALLDIR"
+ Value="[ProgramFiles64Folder]\$(env.VBOX_VENDOR_SHORT)\VirtualBox" />
+
+ <Property Id="EXISTINGINSTALLDIR" Secure="yes">
+ <RegistrySearch Id="RegistryGetInstallPath" Root="HKLM" Key="$(var.Property_RegKey)" Name="InstallDir"
+ Type="raw" Win64="$(var.Property_Win64)"/>
+ </Property>
+ <CustomAction Id="ca_DefaultTargetDir" Execute="firstSequence" Property="INSTALLDIR" Value="[EXISTINGINSTALLDIR]" />
+<?else ?>
+ <CustomAction Id="ca_OriginalTargetDir" Execute="firstSequence" Property="INSTALLDIR"
+ Value="[ProgramFilesFolder]\$(env.VBOX_VENDOR_SHORT)\VirtualBox" />
+
+ <Property Id="EXISTINGINSTALLDIR" Secure="yes">
+ <RegistrySearch Id="RegistryGetInstallPath" Root="HKLM" Key="$(var.Property_RegKey)" Name="InstallDir"
+ Type="raw" Win64="$(var.Property_Win64)"/>
+ </Property>
+ <CustomAction Id="ca_DefaultTargetDir" Execute="firstSequence" Property="INSTALLDIR" Value="[EXISTINGINSTALLDIR]" />
+<?endif ?>
+ <CustomAction Id="ca_UninstallTAPInstances" BinaryKey="VBoxInstallHelper"
+ DllEntry="UninstallTAPInstances" Execute="deferred" Return="check" Impersonate="no"/>
+
+ <CustomAction Id="ca_UninstallVBoxDrv" BinaryKey="VBoxInstallHelper"
+ DllEntry="UninstallVBoxDrv" Execute="deferred" Return="ignore" Impersonate="no"/>
+
+ <Property Id="VBOXDEPENDENCY" Secure="yes">
+ <DirectorySearch Id="VBoxInstallDir" Path="[EXISTINGINSTALLDIR]">
+ <FileSearch Name="dependency.dep"/>
+ </DirectorySearch>
+ </Property>
+
+<?if $(env.VBOX_WITH_PYTHON) = "yes" ?>
+ <Property Id="EXISTING_PYTHON_API_FOLDER" Secure="yes" >
+ <RegistrySearch Id="RegistryGetPythonApiInstallPath" Root="HKLM" Key="$(var.Property_RegKey)"
+ Name="PythonApiInstallDir" Type="raw" Win64="$(var.Property_Win64)"/>
+ </Property>
+<?endif ?>
+
+ <!--
+ install upgrade uninstall
+ VBOXDEPENDENCY 0 1/0 1/0
+ UPGRADINGPRODUCTCODE 0 1 0
+ final 0 1 0
+ not final 1 0 1
+ -->
+
+ <Condition Message="It was detected an application which has been using currently installed VirtualBox version.
+ You must remove this application before continuing installation.
+ See the file dependency.dep in the VirtualBox installation directory for details. ">
+ NOT (VBOXDEPENDENCY AND UPGRADINGPRODUCTCODE)
+ </Condition>
+
+ <!-- Detect old Sun installation -->
+ <!-- Force a manual uninstall of an already installed Sun VirtualBox version first -->
+ <!--<Property Id="VBOXSUN">
+ <RegistrySearch Id="RegSearchSunVersion" Root="HKLM" Key="SOFTWARE\Sun\VirtualBox" Name="Version" Type="raw" Win64="$(var.Property_Win64)"/>
+ </Property>
+ <Condition Message="!(loc.SunFound)">
+ NOT VBOXSUN
+ </Condition>-->
+
+ <!-- Note: Only if we include FE/Qt, we offer to start VirtualBox at the end of a successful installation. -->
+<?if $(env.VBOX_WITH_QTGUI) = "yes" ?>
+ <!-- Note: Make sure to set the CWD (via 'Directory' attribute) to not run off a possibly temporary directory or some such (see @bugref{10203}). -->
+ <CustomAction Id="ca_StartVBox" Directory="INSTALLDIR" ExeCommand="[INSTALLDIR]VirtualBox.exe" Return="asyncNoWait" Impersonate="yes" />
+<?endif ?>
+
+ <CustomAction Id="ca_CheckSerial" BinaryKey="VBoxInstallHelper" DllEntry="CheckSerial" Impersonate="no"/>
+
+ <CustomAction Id="ca_InstallBranding" BinaryKey="VBoxInstallHelper" DllEntry="InstallBranding" Execute="deferred" Return="check" Impersonate="no"/>
+ <CustomAction Id="ca_InstallBrandingArgs" Property="ca_InstallBranding" Value="[INSTALLDIR]" Execute="immediate"/>
+
+ <CustomAction Id="ca_UninstallBranding" BinaryKey="VBoxInstallHelper" DllEntry="UninstallBranding" Execute="deferred" Return="check" Impersonate="no"/>
+ <CustomAction Id="ca_UninstallBrandingArgs" Property="ca_UninstallBranding" Value="[INSTALLDIR]" Execute="immediate"/>
+
+<?if $(env.VBOX_WITH_MSM_INSTALL) = "no" ?>
+ <?include VBoxMergeAppCA.wxi ?>
+ <?if $(env.VBOX_WITH_32_ON_64_MAIN_API) = "yes" ?>
+ <?include VBoxMergeCOM32On64CA.wxi ?>
+ <?endif ?>
+ <?if $(env.VBOX_WITH_NETFLT) = "yes" ?>
+ <?include VBoxMergeNetFltCA.wxi ?>
+ <?include VBoxMergeNetLwfCA.wxi ?>
+ <?endif ?>
+ <?include VBoxMergeNetAdpCA.wxi ?>
+ <?include VBoxMergeNetAdp6CA.wxi ?>
+ <?include VBoxMergeUSBCA.wxi ?>
+ <?if $(env.VBOX_WITH_PYTHON) = "yes" ?>
+ <?include VBoxMergePythonCA.wxi ?>
+ <?endif ?>
+<?endif ?>
+
+ <Directory Id="TARGETDIR" Name="SourceDir">
+ <Directory Id="$(var.Property_ProgramFiles)" Name="PFiles">
+ <Directory Id="VENDOR" Name="$(env.VBOX_VENDOR_SHORT)">
+ <Directory Id="INSTALLDIR" Name="VirtualBox">
+ <!-- Components for removing empty folder after cleaning traces -->
+ <Component Id="cp_INSTALLDIR" Guid="374723AF-5990-4552-A1B0-82C72EFA360F">
+ <RemoveFolder Id="INSTALLDIR" On="uninstall" />
+ </Component>
+<?if $(env.VBOX_WITH_MSM_INSTALL) = "yes" ?>
+ <Merge Id="msm_VBoxApp" Language="!(loc.LANG)" SourceFile="$(var.Property_VBoxMergeApp)" DiskId="1">
+ <ConfigurationData Name="argRegisterExtensions" Value="[VBOX_REGISTERFILEEXTENSIONS]"/>
+ </Merge>
+ <?if $(env.VBOX_WITH_32_ON_64_MAIN_API) = "yes" ?>
+ <Merge Id="msm_VBoxCOM32On64" Language="!(loc.LANG)" SourceFile="$(var.Property_VBoxMergeCOM32On64)" DiskId="1" />
+ <?endif ?>
+<?else ?>
+ <Directory Id="msm_VBoxApplicationFolder" FileSource=".">
+ <?include VBoxMergeApp.wxi ?>
+ <?if $(env.VBOX_WITH_32_ON_64_MAIN_API) = "yes" ?>
+ <?include VBoxMergeCOM32On64.wxi ?>
+ <?endif ?>
+ </Directory>
+<?endif ?>
+ <Directory Id="dir_Drivers" Name="drivers">
+<?if $(env.VBOX_WITH_USB) = "yes" ?>
+ <Directory Id="dir_USB" Name="USB">
+ <?if $(env.VBOX_WITH_MSM_INSTALL) = "yes" ?>
+ <Merge Id="msm_VBoxUSB" Language="!(loc.LANG)" SourceFile="$(var.Property_VBoxMergeUSB)" DiskId="1" />
+ <?else ?>
+ <Directory Id="msm_VBoxUSBFolder" FileSource=".">
+ <?include VBoxMergeUSB.wxi ?>
+ </Directory>
+ <?endif ?>
+ </Directory>
+<?endif ?>
+ <Directory Id="dir_Network" Name="network">
+<?if $(env.VBOX_WITH_NETFLT) = "yes" ?>
+ <Directory Id="dir_NetFlt" Name="netflt">
+ <?if $(env.VBOX_WITH_MSM_INSTALL) = "yes" ?>
+ <Merge Id="msm_VBoxNetworkFlt" Language="!(loc.LANG)" SourceFile="$(var.Property_VBoxMergeNetworkFlt)" DiskId="1">
+ <ConfigurationData Name="passedNetworkType" Value="[NETWORKTYPE]"/>
+ </Merge>
+ <?else ?>
+ <Directory Id="msm_VBoxNetworkFltFolder" FileSource=".">
+ <?include VBoxMergeNetFlt.wxi ?>
+ </Directory>
+ <?endif ?>
+ </Directory>
+<?endif ?>
+<?if $(env.VBOX_WITH_NETADP) = "yes" ?>
+ <Directory Id="dir_NetAdp" Name="netadp">
+ <?if $(env.VBOX_WITH_MSM_INSTALL) = "yes" ?>
+ <Merge Id="msm_VBoxNetworkAdp" Language="!(loc.LANG)" SourceFile="$(var.Property_VBoxMergeNetworkAdp)" DiskId="1">
+ <ConfigurationData Name="passedNetworkType" Value="[NETWORKTYPE]"/>
+ </Merge>
+ <?else ?>
+ <Directory Id="msm_VBoxNetworkAdpFolder" FileSource=".">
+ <?include VBoxMergeNetAdp.wxi ?>
+ </Directory>
+ <?endif ?>
+ </Directory>
+<?endif ?>
+
+<?if $(env.VBOX_WITH_NETFLT) = "yes" ?>
+ <Directory Id="dir_NetLwf" Name="netlwf">
+ <?if $(env.VBOX_WITH_MSM_INSTALL) = "yes" ?>
+ <Merge Id="msm_VBoxNetworkLwf" Language="!(loc.LANG)" SourceFile="$(var.Property_VBoxMergeNetworkLwf)" DiskId="1">
+ <ConfigurationData Name="passedNetworkType" Value="[NETWORKTYPE]"/>
+ </Merge>
+ <?else ?>
+ <Directory Id="msm_VBoxNetworkLwfFolder" FileSource=".">
+ <?include VBoxMergeNetLwf.wxi ?>
+ </Directory>
+ <?endif ?>
+ </Directory>
+<?endif ?>
+
+<?if $(env.VBOX_WITH_NETADP) = "yes" ?>
+ <Directory Id="dir_NetAdp6" Name="netadp6">
+ <?if $(env.VBOX_WITH_MSM_INSTALL) = "yes" ?>
+ <Merge Id="msm_VBoxNetworkAdp6" Language="!(loc.LANG)" SourceFile="$(var.Property_VBoxMergeNetworkAdp6)" DiskId="1">
+ <ConfigurationData Name="passedNetworkType" Value="[NETWORKTYPE]"/>
+ </Merge>
+ <?else ?>
+ <Directory Id="msm_VBoxNetworkAdp6Folder" FileSource=".">
+ <?include VBoxMergeNetAdp6.wxi ?>
+ </Directory>
+ <?endif ?>
+ </Directory>
+<?endif ?>
+ </Directory>
+ </Directory>
+ <Directory Id="dir_SDK" Name="sdk">
+<?if $(env.VBOX_WITH_PYTHON) = "yes" ?>
+ <Directory Id="dir_SDKInstall" Name="install">
+ <?if $(env.VBOX_WITH_MSM_INSTALL) = "yes" ?>
+ <Merge Id="msm_VBoxPython" Language="!(loc.LANG)" SourceFile="$(var.Property_VBoxMergePython)" DiskId="1" />
+ <?else ?>
+ <Directory Id="msm_VBoxPythonFolder" FileSource=".">
+ <?include VBoxMergePython.wxi ?>
+ </Directory>
+ <?endif ?>
+ </Directory>
+<?endif ?>
+ <!-- Component for removing empty folder after cleaning traces -->
+ <Component Id="cp_SDK" Guid="ACA59290-B2D6-4E96-B164-C45F70A90219">
+ <RemoveFolder Id="dir_SDK" On="uninstall" />
+ </Component>
+ </Directory>
+
+<?if $(env.VBOX_WITH_QTGUI) = "yes" ?>
+ <!-- Set up special directory IDs for referencing to the start menu
+ or the Quick Launch bar.
+ See: http://msdn.microsoft.com/en-us/library/aa368276.aspx
+ http://wix.mindcapers.com/wiki/Shortcuts_in_WiX -->
+ <Directory Id="ProgramMenuFolder">
+ <Directory Id="dir_StartMenuVBox" Name="$(env.VBOX_PRODUCT)"/>
+ </Directory>
+
+ <Directory Id="DesktopFolder" Name="Desktop"/>
+
+ <Directory Id="AppDataFolder" Name="AppData">
+ <Directory Id="dir_AppDataMicrosoft" Name="Microsoft">
+ <Directory Id="dir_AppDataMSIE" Name="Internet Explorer">
+ <Directory Id="dir_QuicklaunchFolder" Name="Quick Launch"/>
+ </Directory>
+ </Directory>
+ </Directory>
+
+ <!-- Start menu entries. -->
+ <Component Id="cp_StartMenuVBox" Guid="C2DC321A-CE63-40EE-8A98-724DF8BD12FB" Win64="$(var.Property_Win64)">
+ <Condition>VBOX_INSTALLSTARTMENUENTRIES</Condition>
+ <Shortcut Id="sc_StartMenuVBox" Directory="dir_StartMenuVBox" Name="$(env.VBOX_PRODUCT)" Description="$(env.VBOX_PRODUCT)"
+ Target="[INSTALLDIR]VirtualBox.exe" WorkingDirectory="INSTALLDIR"/>
+ <RegistryValue Root="HKCU" Key="$(var.Property_RegKeyInstall)"
+ Type="string" Value="installed" KeyPath="yes" />
+ <?include $(env.PATH_TARGET)\Shortcuts_StartMenu.wxi ?>
+ </Component>
+
+ <!-- Desktop shortcut. -->
+ <Component Id="cp_DesktopShortcut" Guid="668F8A1A-F5CE-48B3-BB1A-3042EE27B279" Win64="$(var.Property_Win64)">
+ <Condition>VBOX_INSTALLDESKTOPSHORTCUT</Condition>
+ <Shortcut Id="sc_DesktopVBox" Directory="DesktopFolder" Name="$(env.VBOX_PRODUCT)" Description="$(env.VBOX_PRODUCT)"
+ Target="[INSTALLDIR]VirtualBox.exe" WorkingDirectory="INSTALLDIR"/>
+ <RegistryValue Root="HKCU" Key="$(var.Property_RegKeyInstall)" Type="string"
+ Value="installed" KeyPath="yes" />
+ </Component>
+
+ <!-- QuickLaunch shortcut. -->
+ <Component Id="cp_QuickLaunchVBox" Guid="CC19E026-938A-41CB-8E77-3F33296244B6" Win64="$(var.Property_Win64)">
+ <CreateFolder/>
+ <Condition>VBOX_INSTALLQUICKLAUNCHSHORTCUT</Condition>
+ <Shortcut Id="sc_QuickLaunchVBox" Directory="dir_QuicklaunchFolder" Name="$(env.VBOX_PRODUCT)" Description="$(env.VBOX_PRODUCT)"
+ Target="[INSTALLDIR]VirtualBox.exe" WorkingDirectory="INSTALLDIR"/>
+ <RegistryValue Root="HKCU" Key="$(var.Property_RegKeyInstall)"
+ Type="string" Value="installed" KeyPath="yes" />
+ </Component>
+<?endif ?>
+ </Directory>
+ </Directory>
+ </Directory>
+ </Directory> <!-- TARGETDIR -->
+
+ <!-- Note: Feature IDs *must not* be renamed to use any prefixes or such,
+ otherwise this will break manual selection using the ADDLOCAL= syntax
+ when using the command line / scripts (see VBox manual). -->
+ <Feature Id="VBoxApplication" Title="VirtualBox Application" Level="1"
+ Description="!(loc.VB_App)"
+ ConfigurableDirectory="INSTALLDIR" TypicalDefault="install" Display="expand"
+ Absent="disallow" AllowAdvertise="no" >
+
+<?if $(env.VBOX_WITH_QTGUI) = "yes" ?>
+ <!-- Components which are handled only by this installer itself -->
+ <ComponentRef Id="cp_StartMenuVBox" />
+ <ComponentRef Id="cp_DesktopShortcut" />
+ <ComponentRef Id="cp_QuickLaunchVBox" />
+<?endif ?>
+ <!-- Components for removing empty folders after cleaning traces -->
+ <ComponentRef Id="cp_INSTALLDIR" />
+ <ComponentRef Id="cp_SDK" />
+
+ <!-- Components handled either by the installer itself or
+ the merge module -->
+<?if $(env.VBOX_WITH_MSM_INSTALL) = "yes" ?>
+ <MergeRef Id="msm_VBoxApp" />
+ <?if $(env.VBOX_WITH_32_ON_64_MAIN_API) = "yes" ?>
+ <MergeRef Id="msm_VBoxCOM32On64" />
+ <?endif ?>
+<?else ?>
+ <!-- Make sure to reference the permissions component, which takes care of setting
+ the required ACLs for our files / folders. -->
+ <ComponentRef Id="cp_Permissions" />
+ <?if $(env.VBOX_WITH_QTGUI) = "yes" ?>
+ <ComponentRef Id="cp_RegisterExtensions" />
+ <?endif ?>
+ <?if $(env.VBOX_WITH_DOCS_PACKING) = "yes" ?>
+ <ComponentRef Id="cp_Docs" />
+ <?endif ?>
+ <?if $(env.VBOX_WITH_QTGUI) = "yes" ?>
+ <ComponentRef Id="cp_NLS" />
+ <?endif ?>
+ <?if $(env.VBOX_WITH_32_ON_64_MAIN_API) = "yes" ?>
+ <ComponentRef Id="cp_MainCOM_x86" />
+ <?endif ?>
+ <ComponentRef Id="cp_MainCOM" />
+ <?if $(env.VBOX_WITH_SDS) = "yes" ?>
+ <ComponentRef Id="cp_VBoxSDS" />
+ <?endif ?>
+ <?if $(env.VBOX_WITH_MIDL_PROXY_STUB) = "yes" ?>
+ <ComponentRef Id="cp_ProxyStub" />
+ <ComponentRef Id="cp_ProxyStubLegacy" />
+ <?endif?>
+ <ComponentRef Id="cp_MainBinaries" />
+ <?if $(env.VBOX_WITH_QTGUI) = "yes" ?>
+ <ComponentRef Id="cp_QtPlatforms" />
+ <ComponentRef Id="cp_QtSqldrivers" />
+ <ComponentRef Id="cp_QtStyles" />
+ <?endif ?>
+ <?if $(env.VBOX_WITH_PYTHON) = "yes" ?>
+ <ComponentRef Id="cp_VBoxPyInst" />
+ <ComponentRef Id="cp_VBoxPyMod" />
+ <ComponentRef Id="cp_VBoxPyDel" />
+ <?endif ?>
+ <?if $(env.VBOX_WITH_VBOXSDL) = "yes" ?>
+ <ComponentRef Id="cp_VBoxSDLBinaries" />
+ <?endif ?>
+ <?if $(env.VBOX_WITH_WEBSERVICES) = "yes" ?>
+ <ComponentRef Id="cp_VBoxWebService" />
+ <?endif ?>
+ <ComponentRef Id="cp_VBoxCAPI" />
+ <?if $(env.VBOX_WITH_UNATTENDED) = "yes" ?>
+ <!-- unattended template component -->
+ <ComponentRef Id="cp_UnattendedTemplates" />
+ <?endif ?>
+ <?if $(env.VBOX_SIGNING_MODE) != none ?>
+ <ComponentRef Id="cp_VBoxSupCat_PreW10" />
+ <ComponentRef Id="cp_VBoxSupCat_W10" />
+ <?endif ?>
+ <ComponentRef Id="cp_VBoxSup" />
+<?endif ?>
+
+<?if $(env.VBOX_WITH_USB) = "yes" ?>
+ <Feature Id="VBoxUSB" Title="VirtualBox USB Support" Level="1"
+ Description="!(loc.VB_USBDriver)"
+ ConfigurableDirectory="INSTALLDIR" TypicalDefault="install" Display="expand"
+ Absent="allow" AllowAdvertise="no" >
+ <?if $(env.VBOX_WITH_MSM_INSTALL) = "yes" ?>
+ <MergeRef Id="msm_VBoxUSB" />
+ <?else ?>
+ <?if $(env.VBOX_SIGNING_MODE) != none ?>
+ <ComponentRef Id="cp_USBFilterDriverCat_PreW10" />
+ <ComponentRef Id="cp_USBFilterDriverCat_W10" />
+ <?endif ?>
+ <ComponentRef Id="cp_USBFilterDriver" />
+ <?if $(env.VBOX_SIGNING_MODE) != none ?>
+ <ComponentRef Id="cp_USBDeviceDriverCat_PreW10" />
+ <ComponentRef Id="cp_USBDeviceDriverCat_W10" />
+ <?endif ?>
+ <ComponentRef Id="cp_USBDeviceDriver" />
+ <?endif ?>
+ </Feature>
+<?endif ?>
+
+<?if $(env.VBOX_WITH_NETFLT) = "yes" ?>
+ <Feature Id="VBoxNetwork" Title="VirtualBox Networking" Level="1"
+ Description="!(loc.VB_Network)"
+ ConfigurableDirectory="INSTALLDIR" TypicalDefault="install" Display="expand"
+ Absent="allow" AllowAdvertise="no" >
+ <Feature Id="VBoxNetworkFlt" Title="VirtualBox Bridged Networking" Level="1"
+ Description="!(loc.VB_NetFltDriver)"
+ ConfigurableDirectory="INSTALLDIR" TypicalDefault="install" Display="expand"
+ Absent="allow" AllowAdvertise="no" >
+ <?if $(env.VBOX_WITH_MSM_INSTALL) = "yes" ?>
+ <MergeRef Id="msm_VBoxNetworkFlt" />
+ <MergeRef Id="msm_VBoxNetworkLwf" />
+ <?else ?>
+ <ComponentRef Id="cp_NetFltDriver" />
+ <?if $(env.VBOX_SIGNING_MODE) != none ?>
+ <ComponentRef Id="cp_NetLwfDriverCat_PreW10" />
+ <ComponentRef Id="cp_NetLwfDriverCat_W10" />
+ <?endif ?>
+ <ComponentRef Id="cp_NetLwfDriver" />
+ <?endif ?>
+ </Feature>
+ <Feature Id="VBoxNetworkAdp" Title="VirtualBox Host-Only Networking" Level="1"
+ Description="!(loc.VB_NetAdpDriver)"
+ ConfigurableDirectory="INSTALLDIR" TypicalDefault="install" Display="expand"
+ Absent="allow" AllowAdvertise="no" >
+ <?if $(env.VBOX_WITH_MSM_INSTALL) = "yes" ?>
+ <MergeRef Id="msm_VBoxNetworkAdp" />
+ <MergeRef Id="msm_VBoxNetworkAdp6" />
+ <?else ?>
+ <ComponentRef Id="cp_NetAdpDriver" />
+ <?if $(env.VBOX_SIGNING_MODE) != none ?>
+ <ComponentRef Id="cp_NetAdp6DriverCat_PreW10" />
+ <ComponentRef Id="cp_NetAdp6DriverCat_W10" />
+ <?endif ?>
+ <ComponentRef Id="cp_NetAdp6Driver" />
+ <?endif ?>
+ </Feature>
+
+ </Feature>
+<?endif ?>
+
+<?if $(env.VBOX_WITH_PYTHON) = "yes" ?>
+ <Feature Id="VBoxPython" Title="VirtualBox Python Support" Level="1"
+ Description="!(loc.VB_Python)"
+ ConfigurableDirectory="INSTALLDIR" TypicalDefault="install" Display="expand"
+ Absent="allow" AllowAdvertise="no" >
+ <?if $(env.VBOX_WITH_MSM_INSTALL) = "yes" ?>
+ <MergeRef Id="msm_VBoxPython" />
+ <?else ?>
+ <ComponentRef Id="cp_VBoxPythonBinding" />
+ <?endif ?>
+ </Feature>
+<?endif ?>
+ </Feature>
+
+ <!-- Include user interface definition -->
+ <?include UserInterface.wxi ?>
+
+ <InstallExecuteSequence>
+
+ <!--
+ To debug the action sequences, do: "msiexec /i <VBox.msi> /lar <Logfile>"
+
+ InstallUISequence (client side) is:
+ AppSearch
+ LaunchConditions
+ ValidateProductID
+ CostInitialize
+ FileCost
+ CostFinalize
+ ExecuteAction -> will pass control over to "InstallExecuteSequence"
+
+ The first six actions above will be repeated but skipped on the server
+ side if already run on the client side.
+
+ InstallExecuteSequence (server side) is:
+ <First six action from InstallUISequence>
+ .
+ InstallInitialize
+ .
+ InstallFinalize
+
+ The actions between InstallInitialize and InstallFinalize will be gone through twice:
+ - The first time the installer creates an installation script containing all actions in the right
+ sequence which need to get executed in a batch later. At this point the launch conditions for
+ custom actions must be met already!
+ - The second time the generated installation script will be run as-is.
+
+ Also, the InstallUISequence and InstallExecuteSequence tables run in different sessions which
+ need public properties (that is, UPPERCASE properties).
+ -->
+
+ <!-- AppSearch must be done before "RemoveExistingProducts" and before "FindRelatedProducts" -->
+ <AppSearch Sequence="1"></AppSearch>
+ <LaunchConditions After="AppSearch" />
+
+ <!-- First install the new version and then remove the old version. This is more efficient -->
+ <RemoveExistingProducts After="InstallValidate"><![CDATA[PREVIOUSVERSIONSINSTALLED OR NEWERVERSIONDETECTED]]></RemoveExistingProducts>
+
+ <Custom Action="ca_OriginalTargetDir" After="FileCost"><![CDATA[(NOT INSTALLDIR)]]></Custom>
+ <Custom Action="ca_DefaultTargetDir" Before="FileCost" ><![CDATA[NOT INSTALLDIR AND EXISTINGINSTALLDIR]]></Custom>
+
+ <!-- Check + unininstall old TAP instances - we don't need them anymore -->
+ <Custom Action="ca_UninstallTAPInstances" Before="InstallFiles" >1</Custom>
+
+ <!-- Check + uninstall old VBoxDrv service - it was renamed to VBoxSup. -->
+ <Custom Action="ca_UninstallVBoxDrv" Before="InstallFiles" >1</Custom>
+
+ <Custom Action="ca_InstallBrandingArgs" Before="ca_InstallBranding" ><![CDATA[NOT REMOVE]]></Custom>
+ <Custom Action="ca_InstallBranding" Before="InstallFinalize" ><![CDATA[NOT REMOVE]]></Custom>
+
+ <!-- Uninstall branding on complete uninstall, not on update -->
+ <Custom Action="ca_UninstallBrandingArgs" Before="ca_UninstallBranding" ><![CDATA[(NOT UPGRADINGPRODUCTCODE) AND (REMOVE="ALL")]]></Custom>
+ <Custom Action="ca_UninstallBranding" Before="InstallFinalize" ><![CDATA[(NOT UPGRADINGPRODUCTCODE) AND (REMOVE="ALL")]]></Custom>
+
+<?if $(env.VBOX_WITH_MSM_INSTALL) = "no" ?>
+ <?include VBoxMergeAppSeq.wxi ?>
+ <?if $(env.VBOX_WITH_32_ON_64_MAIN_API) = "yes" ?>
+ <?include VBoxMergeCOM32On64Seq.wxi ?>
+ <?endif ?>
+ <?if $(env.VBOX_WITH_NETFLT) = "yes" ?>
+ <?include VBoxMergeNetFltSeq.wxi ?>
+ <?include VBoxMergeNetLwfSeq.wxi ?>
+ <?endif ?>
+ <?include VBoxMergeNetAdpSeq.wxi ?>
+ <?include VBoxMergeNetAdp6Seq.wxi ?>
+ <?include VBoxMergeUSBSeq.wxi ?>
+ <?if $(env.VBOX_WITH_PYTHON) = "yes" ?>
+ <?include VBoxMergePythonSeq.wxi ?>
+ <?endif ?>
+<?endif ?>
+
+ </InstallExecuteSequence>
+
+ </Product>
+</Wix>
diff --git a/src/VBox/Installer/win/VirtualBox_TypeLib.xsl b/src/VBox/Installer/win/VirtualBox_TypeLib.xsl
new file mode 100644
index 00000000..37f88ade
--- /dev/null
+++ b/src/VBox/Installer/win/VirtualBox_TypeLib.xsl
@@ -0,0 +1,195 @@
+<?xml version="1.0"?>
+
+<!--
+ * A template to generate a WiX include file that contains
+ * type library definitions for VirtualBox COM components
+ * from the generic interface definition expressed in XML.
+-->
+<!--
+ Copyright (C) 2007-2023 Oracle and/or its affiliates.
+
+ This file is part of VirtualBox base platform packages, as
+ available from https://www.virtualbox.org.
+
+ This program is free software; you can redistribute it and/or
+ modify it under the terms of the GNU General Public License
+ as published by the Free Software Foundation, in version 3 of the
+ License.
+
+ This program is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, see <https://www.gnu.org/licenses>.
+
+ SPDX-License-Identifier: GPL-3.0-only
+-->
+
+<xsl:stylesheet version="1.0"
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+
+<xsl:output method="xml"
+ version="1.0"
+ encoding="utf-8"
+ indent="yes"/>
+
+<xsl:strip-space elements="*"/>
+
+<xsl:param name="a_sTarget">all</xsl:param>
+<xsl:param name="a_sWithSDS" select="no"/>
+
+
+<!--
+// templates
+/////////////////////////////////////////////////////////////////////////////
+-->
+
+<!--
+ * header
+-->
+<xsl:template match="/idl">
+ <xsl:comment>
+/*
+ * DO NOT EDIT! This is a generated file.
+ *
+ * WiX include script for the VirtualBox Type Library
+ * generated from XIDL (XML interface definition).
+ *
+ * Source : src/VBox/Main/idl/VirtualBox.xidl
+ * Generator : src/VBox/Installer/VirtualBox_TypeLib.xsl
+ * Arguments : a_sTarget=<xsl:value-of select="$a_sTarget"/>
+ */
+ </xsl:comment>
+ <xsl:apply-templates/>
+</xsl:template>
+
+
+<!--
+ * libraries
+-->
+<xsl:template match="idl/library">
+ <Include>
+ <TypeLib>
+ <xsl:attribute name="Id"><xsl:value-of select="@uuid"/></xsl:attribute>
+ <xsl:attribute name="Advertise">yes</xsl:attribute>
+ <xsl:attribute name="MajorVersion"><xsl:value-of select="substring(@version,1,1)"/></xsl:attribute>
+ <xsl:attribute name="MinorVersion"><xsl:value-of select="substring(@version,3)"/></xsl:attribute>
+ <xsl:attribute name="Language">0</xsl:attribute>
+ <xsl:attribute name="Description"><xsl:value-of select="@name"/></xsl:attribute>
+ <xsl:attribute name="HelpDirectory"><xsl:text>msm_VBoxApplicationFolder</xsl:text></xsl:attribute>
+ <xsl:apply-templates select="application | if[@target='midl']/application"/>
+ </TypeLib>
+ </Include>
+</xsl:template>
+
+
+ <!--
+* filters to skip VBoxSDS class and interfaces if a VBOX_WITH_SDS is not defined in kmk
+-->
+ <xsl:template match="application[@uuid='ec0e78e8-fa43-43e8-ac0a-02c784c4a4fa']">
+ <xsl:if test="$a_sWithSDS='yes'" >
+ <xsl:call-template name="application_template" />
+ </xsl:if>
+ </xsl:template>
+
+ <!--
+ * applications
+ -->
+ <xsl:template match="idl/library//application" name="application_template">
+ <AppId>
+ <xsl:attribute name="Id">
+ <xsl:value-of select="@uuid"/>
+ </xsl:attribute>
+ <xsl:attribute name="Description">
+ <xsl:value-of select="@name"/> Application
+ </xsl:attribute>
+ <!--
+ The name of windows service should be defined as module name in .xidl.
+ It's viable for correct registration of COM windows service.
+ -->
+ <xsl:if test="module/@context = 'LocalService'">
+ <xsl:attribute name="LocalService" >
+ <xsl:value-of select="module/@name"/>
+ </xsl:attribute>
+ </xsl:if>
+ <xsl:choose>
+ <xsl:when test="$a_sTarget = 'VBoxClient-x86'">
+ <xsl:apply-templates select="module[@name='VBoxC']/class"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:apply-templates select="module/class"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ </AppId>
+ </xsl:template>
+
+
+<!--
+ * classes
+-->
+<xsl:template match="library//module/class">
+ <Class>
+ <xsl:attribute name="Id"><xsl:value-of select="@uuid"/></xsl:attribute>
+ <xsl:attribute name="Description"><xsl:value-of select="@name"/> Class</xsl:attribute>
+ <xsl:attribute name="Server"><xsl:value-of select="../@name"/></xsl:attribute>
+ <xsl:attribute name="Context">
+ <xsl:choose>
+ <xsl:when test="../@context='InprocServer'">InprocServer32</xsl:when>
+ <xsl:when test="../@context='LocalServer'" >LocalServer32</xsl:when>
+ <xsl:when test="../@context='LocalService'">LocalServer32</xsl:when>
+ <xsl:otherwise>
+ <xsl:message terminate="yes">
+ <xsl:value-of select="concat(../../@name,'::',../@name,': ')"/>
+ <xsl:text>module context </xsl:text>
+ <xsl:value-of select="concat('&quot;',../@context,'&quot;')"/>
+ <xsl:text> is invalid!</xsl:text>
+ </xsl:message>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:attribute>
+ <xsl:if test="../@context='InprocServer'">
+ <xsl:variable name="tmodel" select="(./@threadingModel | ../@threadingModel)[last()]"/>
+ <xsl:attribute name="ThreadingModel">
+ <xsl:choose>
+ <xsl:when test="$tmodel='Apartment'">apartment</xsl:when>
+ <xsl:when test="$tmodel='Free'">free</xsl:when>
+ <xsl:when test="$tmodel='Both'">both</xsl:when>
+ <xsl:when test="$tmodel='Neutral'">neutral</xsl:when>
+ <xsl:when test="$tmodel='Single'">single</xsl:when>
+ <xsl:when test="$tmodel='Rental'">rental</xsl:when>
+ <xsl:otherwise>
+ <xsl:message terminate="yes">
+ <xsl:value-of select="concat(../../@name,'::',@name,': ')"/>
+ <xsl:text>class (or module) threading model </xsl:text>
+ <xsl:value-of select="concat('&quot;',$tmodel,'&quot;')"/>
+ <xsl:text> is invalid!</xsl:text>
+ </xsl:message>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:attribute>
+ </xsl:if>
+ <ProgId>
+ <xsl:attribute name="Id">
+ <xsl:value-of select="concat(//library/@name,'.',@name,'.1')"/>
+ </xsl:attribute>
+ <xsl:attribute name="Description"><xsl:value-of select="@name"/> Class</xsl:attribute>
+ <ProgId>
+ <xsl:attribute name="Id">
+ <xsl:value-of select="concat(//library/@name,'.',@name)"/>
+ </xsl:attribute>
+ <xsl:attribute name="Description"><xsl:value-of select="@name"/> Class</xsl:attribute>
+ </ProgId>
+ </ProgId>
+ </Class>
+</xsl:template>
+
+<!--
+ * eat everything else not explicitly matched
+-->
+<xsl:template match="*">
+</xsl:template>
+
+
+</xsl:stylesheet>
diff --git a/src/VBox/Installer/win/VirtualBox_TypeLibWithInterfaces.xsl b/src/VBox/Installer/win/VirtualBox_TypeLibWithInterfaces.xsl
new file mode 100644
index 00000000..cfeadd7e
--- /dev/null
+++ b/src/VBox/Installer/win/VirtualBox_TypeLibWithInterfaces.xsl
@@ -0,0 +1,318 @@
+<?xml version="1.0"?>
+
+<!--
+ Generates a wiX include files with Interface elements for
+ the stuff in the proxy stub DLLs.
+-->
+<!--
+ Copyright (C) 2007-2023 Oracle and/or its affiliates.
+
+ This file is part of VirtualBox base platform packages, as
+ available from https://www.virtualbox.org.
+
+ This program is free software; you can redistribute it and/or
+ modify it under the terms of the GNU General Public License
+ as published by the Free Software Foundation, in version 3 of the
+ License.
+
+ This program is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, see <https://www.gnu.org/licenses>.
+
+ SPDX-License-Identifier: GPL-3.0-only
+-->
+
+<xsl:stylesheet version="1.0"
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+
+<xsl:output method="xml"
+ version="1.0"
+ encoding="utf-8"
+ indent="yes"/>
+
+<xsl:strip-space elements="*"/>
+
+<xsl:param name="a_sTarget">all</xsl:param>
+<xsl:param name ="a_sWithSDS" select="no"/>
+<xsl:param name="a_sProxyStubClsid">{0BB3B78C-1807-4249-5BA5-EA42D66AF0BF}</xsl:param>
+<xsl:variable name="g_sProxyStubClsid" select="translate($a_sProxyStubClsid,'abcdef','ABCDEF')"/>
+
+
+<!--
+// templates
+/////////////////////////////////////////////////////////////////////////////
+-->
+
+<!--
+ * header
+-->
+<xsl:template match="/idl">
+ <xsl:comment>
+
+ DO NOT EDIT! This is a generated file.
+
+ WiX include script for the VirtualBox Type Library
+ generated from XIDL (XML interface definition).
+
+ Source : src/VBox/Main/idl/VirtualBox.xidl
+ Generator : src/VBox/Installer/win/VirtualBox_Interfaces.xsl
+ Arguments : a_sTarget=<xsl:value-of select="$a_sTarget"/>
+ a_sProxyStubClsid=<xsl:value-of select="$a_sProxyStubClsid"/>
+
+ </xsl:comment>
+ <xsl:apply-templates/>
+</xsl:template>
+
+
+<!-- - - - - - - - - - - - - - - - - - - - - - -
+ Key for more efficiently looking up of parent interfaces.
+ - - - - - - - - - - - - - - - - - - - - - - -->
+
+<xsl:key name="G_keyInterfacesByName" match="//interface[@name]" use="@name"/>
+
+<!--
+* filters to skip VBoxSDS class and interfaces if a VBOX_WITH_SDS is not defined in kmk
+-->
+ <xsl:template match="application[@uuid='ec0e78e8-fa43-43e8-ac0a-02c784c4a4fa']">
+ <xsl:if test="$a_sWithSDS='yes'" >
+ <xsl:call-template name="application_template" />
+ </xsl:if>
+ </xsl:template>
+
+<!--
+ Libraries.
+-->
+<xsl:template match="library">
+ <Include>
+ <TypeLib>
+ <xsl:attribute name="Id"><xsl:value-of select="@uuid"/></xsl:attribute>
+ <xsl:attribute name="Advertise">yes</xsl:attribute>
+ <xsl:attribute name="MajorVersion"><xsl:value-of select="substring(@version,1,1)"/></xsl:attribute>
+ <xsl:attribute name="MinorVersion"><xsl:value-of select="substring(@version,3)"/></xsl:attribute>
+ <xsl:attribute name="Language">0</xsl:attribute>
+ <xsl:attribute name="Description"><xsl:value-of select="@name"/></xsl:attribute>
+ <xsl:attribute name="HelpDirectory"><xsl:text>msm_VBoxApplicationFolder</xsl:text></xsl:attribute>
+ <xsl:apply-templates select="application | if[@target='midl']/application" />
+ </TypeLib>
+ </Include>
+</xsl:template>
+
+<!--
+Applications.
+-->
+<xsl:template match="application" name="application_template">
+ <AppId>
+ <xsl:attribute name="Id">
+ <xsl:value-of select="@uuid"/>
+ </xsl:attribute>
+ <xsl:attribute name="Description">
+ <xsl:value-of select="@name"/> Application
+ </xsl:attribute>
+ <!--
+ The name of windows service should be defined as module name in .xidl.
+ It's viable for correct registration of COM windows service.
+ -->
+ <xsl:if test="module/@context = 'LocalService'">
+ <xsl:attribute name="LocalService" >
+ <xsl:value-of select="module/@name"/>
+ </xsl:attribute>
+ </xsl:if>
+ <xsl:choose>
+ <xsl:when test="$a_sTarget = 'VBoxClient-x86'">
+ <xsl:apply-templates select="module[@name='VBoxC']/class"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:apply-templates select="module/class"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ </AppId>
+ <xsl:apply-templates select="interface | if/interface">
+ <xsl:sort select="translate(@uuid,'abcdef','ABCDEF')"/>
+ </xsl:apply-templates>
+</xsl:template>
+
+<!--
+ Classes.
+-->
+<xsl:template match="library//module/class">
+ <Class>
+ <xsl:attribute name="Id"><xsl:value-of select="@uuid"/></xsl:attribute>
+ <xsl:attribute name="Description"><xsl:value-of select="@name"/> Class</xsl:attribute>
+ <xsl:attribute name="Server">
+ <xsl:choose>
+ <xsl:when test="$a_sTarget = 'VBoxClient-x86' and ../@name = 'VBoxC'"><xsl:text>VBoxClient_x86</xsl:text></xsl:when>
+ <xsl:otherwise><xsl:value-of select="../@name"/></xsl:otherwise>
+ </xsl:choose>
+ </xsl:attribute>
+ <xsl:attribute name="Context">
+ <xsl:choose>
+ <xsl:when test="../@context='InprocServer'">InprocServer32</xsl:when>
+ <xsl:when test="../@context='LocalServer'" >LocalServer32</xsl:when>
+ <xsl:when test="../@context='LocalService'">LocalServer32</xsl:when>
+ <xsl:otherwise>
+ <xsl:message terminate="yes">
+ <xsl:value-of select="concat(../../@name,'::',../@name,': ')"/>
+ <xsl:text>module context </xsl:text>
+ <xsl:value-of select="concat('&quot;',../@context,'&quot;')"/>
+ <xsl:text> is invalid!</xsl:text>
+ </xsl:message>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:attribute>
+ <xsl:if test="../@context='InprocServer'">
+ <xsl:variable name="tmodel" select="(./@threadingModel | ../@threadingModel)[last()]"/>
+ <xsl:attribute name="ThreadingModel">
+ <xsl:choose>
+ <xsl:when test="$tmodel='Apartment'">apartment</xsl:when>
+ <xsl:when test="$tmodel='Free'">free</xsl:when>
+ <xsl:when test="$tmodel='Both'">both</xsl:when>
+ <xsl:when test="$tmodel='Neutral'">neutral</xsl:when>
+ <xsl:when test="$tmodel='Single'">single</xsl:when>
+ <xsl:when test="$tmodel='Rental'">rental</xsl:when>
+ <xsl:otherwise>
+ <xsl:message terminate="yes">
+ <xsl:value-of select="concat(../../@name,'::',@name,': ')"/>
+ <xsl:text>class (or module) threading model </xsl:text>
+ <xsl:value-of select="concat('&quot;',$tmodel,'&quot;')"/>
+ <xsl:text> is invalid!</xsl:text>
+ </xsl:message>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:attribute>
+ </xsl:if>
+ <ProgId>
+ <xsl:attribute name="Id">
+ <xsl:value-of select="concat(//library/@name,'.',@name,'.1')"/>
+ </xsl:attribute>
+ <xsl:attribute name="Description"><xsl:value-of select="@name"/> Class</xsl:attribute>
+ <ProgId>
+ <xsl:attribute name="Id">
+ <xsl:value-of select="concat(//library/@name,'.',@name)"/>
+ </xsl:attribute>
+ <xsl:attribute name="Description"><xsl:value-of select="@name"/> Class</xsl:attribute>
+ </ProgId>
+ </ProgId>
+ </Class>
+</xsl:template>
+
+
+<!--
+ Interfaces.
+-->
+<xsl:template match=" library/application/interface
+ | library/application/if[@target='midl']/interface
+ | library/if[@target='midl']/application/interface
+ ">
+ <Interface>
+<!-- Interface Id="{00C8F974-92C5-44A1-8F3F-702469FDD04B}" Name="IDHCPServer" ProxyStubClassId32="{0BB3B78C-1807-4249-5BA5-EA42D66AF0BF}" NumMethods="33" -->
+ <xsl:attribute name="Id">
+ <xsl:text>{</xsl:text>
+ <xsl:value-of select="translate(@uuid,'abcdef','ABCDEF')"/>
+ <xsl:text>}</xsl:text>
+ </xsl:attribute>
+ <xsl:attribute name="Name"><xsl:value-of select="@name"/></xsl:attribute>
+ <xsl:attribute name="ProxyStubClassId32"><xsl:value-of select="$g_sProxyStubClsid"/></xsl:attribute>
+ <xsl:attribute name="NumMethods"><xsl:call-template name="fnCountMethods"/></xsl:attribute>
+ </Interface>
+</xsl:template>
+
+
+
+<!--
+ Count the number of methods. This must match what midl.exe initializes
+ CInterfaceStubVtbl::header::DispatchTableCount with in VirtualBox_p.c!
+ -->
+<xsl:template name="fnCountMethods">
+ <xsl:variable name="sParent" select="@extends"/>
+
+ <!-- Count immediate methods and attributes by kind. -->
+ <xsl:variable name="cMethods"
+ select="count(child::method)
+ + count(child::if[@target='midl']/method)"/>
+ <xsl:variable name="cReadOnlyAttributes"
+ select="count(child::attribute[@readonly='yes'])
+ + count(child::if[@target='midl']/attribute[@readonly='yes'])"/>
+ <xsl:variable name="cReadWriteAttributes"
+ select="count(child::attribute[not(@readonly) or not(@readonly='yes')])
+ + count(child::if[@target = 'midl']/attribute[not(@readonly) or not(@readonly='yes')])"/>
+ <xsl:variable name="cReservedMethods">
+ <xsl:choose>
+ <xsl:when test="not(@reservedMethods)">0</xsl:when>
+ <xsl:otherwise><xsl:value-of select="@reservedMethods"/></xsl:otherwise>
+ </xsl:choose>
+ </xsl:variable>
+ <xsl:variable name="cReservedAttributes">
+ <xsl:choose>
+ <xsl:when test="not(@reservedAttributes)">0</xsl:when>
+ <xsl:otherwise><xsl:value-of select="@reservedAttributes"/></xsl:otherwise>
+ </xsl:choose>
+ </xsl:variable>
+
+ <!-- Recursively figure out the parent -->
+ <xsl:variable name="cParent">
+ <xsl:choose>
+ <xsl:when test="@extends = '$unknown'">
+ <xsl:value-of select='7'/>
+ </xsl:when>
+ <xsl:when test="@extends = '$errorinfo'">
+ <xsl:value-of select='8'/> <!-- check this one! -->
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:if test="count(key('G_keyInterfacesByName', $sParent)) != 1">
+ <xsl:message terminate="yes">Couldn't find parent (<xsl:value-of select="$sParent"/>) to <xsl:value-of select="@name"/></xsl:message>
+ </xsl:if>
+ <xsl:for-each select="key('G_keyInterfacesByName', $sParent)">
+ <xsl:call-template name="fnCountMethods"/>
+ </xsl:for-each>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:variable>
+
+ <!-- Compute the result. -->
+ <xsl:variable name="cMethodsTotal"
+ select="$cMethods + $cReservedMethods + $cReadOnlyAttributes
+ + ($cReadWriteAttributes * 2) + $cReservedAttributes + $cParent"/>
+ <xsl:value-of select="$cMethodsTotal"/>
+
+ <!-- For debugging! -->
+ <xsl:if test="0 or $cMethodsTotal > 256">
+ <xsl:message terminate="no">
+ <xsl:text>Debug: cMethods=</xsl:text><xsl:value-of select="$cMethods"/>
+ <xsl:text> cReadOnlyAttributes=</xsl:text><xsl:value-of select="$cReadOnlyAttributes"/>
+ <xsl:text> cReadWriteAttributes=</xsl:text><xsl:value-of select="$cReadWriteAttributes"/>
+ <xsl:text> cReservedMethods=</xsl:text><xsl:value-of select="$cReservedMethods"/>
+ <xsl:text> cReservedAttributes=</xsl:text><xsl:value-of select="$cReservedAttributes"/>
+ <xsl:text> cParent=</xsl:text><xsl:value-of select="$cParent"/>
+ <xsl:text> name=</xsl:text><xsl:value-of select="@name"/>
+ <xsl:text> parent=</xsl:text><xsl:value-of select="$sParent"/>
+ </xsl:message>
+ <xsl:if test="$cMethodsTotal > 256">
+ <xsl:message terminate="yes">
+ <xsl:text>
+Fatal xidl error: Interface </xsl:text><xsl:value-of select="@name"/>
+ <xsl:text> has </xsl:text><xsl:value-of select="$cMethodsTotal"/>
+ <xsl:text>! The maximum that older windows allows for proxy stubs is 256.
+ Please try adjust the number of reserved methods or attributes,
+ though it's clearly time to consider splitting up this monster interface.
+
+</xsl:text>
+ </xsl:message>
+ </xsl:if>
+ </xsl:if>
+</xsl:template>
+
+
+
+<!--
+ Eat everything else not explicitly matched.
+-->
+<xsl:template match="*">
+</xsl:template>
+
+
+</xsl:stylesheet>
+
diff --git a/src/VBox/Installer/win/dep.xsl b/src/VBox/Installer/win/dep.xsl
new file mode 100644
index 00000000..6104e57a
--- /dev/null
+++ b/src/VBox/Installer/win/dep.xsl
@@ -0,0 +1,79 @@
+<?xml version="1.0"?>
+
+<!--
+ Generate a list of dependencies from a wixobj file.
+-->
+<!--
+ Copyright (C) 2015-2023 Oracle and/or its affiliates.
+
+ This file is part of VirtualBox base platform packages, as
+ available from https://www.virtualbox.org.
+
+ This program is free software; you can redistribute it and/or
+ modify it under the terms of the GNU General Public License
+ as published by the Free Software Foundation, in version 3 of the
+ License.
+
+ This program is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, see <https://www.gnu.org/licenses>.
+
+ SPDX-License-Identifier: GPL-3.0-only
+-->
+
+<xsl:stylesheet
+ version="1.0"
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:wix="http://schemas.microsoft.com/wix/2006/objects"
+ >
+<xsl:output method="text" encoding="utf-8"/>
+
+<xsl:strip-space elements="*"/>
+
+<xsl:include href="../../Main/idl/typemap-shared.inc.xsl"/>
+
+
+<xsl:template name="output-file">
+ <xsl:param name="name"/>
+ <xsl:if test="1 or substring($name, 2, 1) = ':'">
+ <xsl:text> </xsl:text>
+ <xsl:value-of select="translate($name, '\', '/')"/>
+ <xsl:text> \</xsl:text>
+ <xsl:call-template name="xsltprocNewlineOutputHack"/>
+ </xsl:if>
+</xsl:template>
+
+<xsl:template match="wix:table[@name = 'Binary' or @name = 'Icon']">
+ <xsl:for-each select="wix:row/wix:field[2]">
+ <xsl:call-template name="output-file">
+ <xsl:with-param name="name" select="normalize-space(.)"/>
+ </xsl:call-template>
+ </xsl:for-each>
+</xsl:template>
+
+<xsl:template match="wix:table[@name = 'WixFile']">
+ <xsl:for-each select="wix:row/wix:field[7]">
+ <xsl:call-template name="output-file">
+ <xsl:with-param name="name" select="normalize-space(.)"/>
+ </xsl:call-template>
+ </xsl:for-each>
+</xsl:template>
+
+<xsl:template match="wix:wixObject">
+ <xsl:apply-templates/>
+</xsl:template>
+
+<xsl:template match="wix:section">
+ <xsl:apply-templates/>
+</xsl:template>
+
+<!-- Eat everything that's unmatched. -->
+<xsl:template match="*">
+</xsl:template>
+
+</xsl:stylesheet>
+
diff --git a/src/VBox/Installer/win/dep2.xsl b/src/VBox/Installer/win/dep2.xsl
new file mode 100644
index 00000000..c78ef441
--- /dev/null
+++ b/src/VBox/Installer/win/dep2.xsl
@@ -0,0 +1,93 @@
+<?xml version="1.0"?>
+
+<!--
+ Generate a list of dependencies from a wixobj file.
+-->
+<!--
+ Copyright (C) 2015-2023 Oracle and/or its affiliates.
+
+ This file is part of VirtualBox base platform packages, as
+ available from https://www.virtualbox.org.
+
+ This program is free software; you can redistribute it and/or
+ modify it under the terms of the GNU General Public License
+ as published by the Free Software Foundation, in version 3 of the
+ License.
+
+ This program is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, see <https://www.gnu.org/licenses>.
+
+ SPDX-License-Identifier: GPL-3.0-only
+-->
+
+<xsl:stylesheet
+ version="1.0"
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:wix="http://schemas.microsoft.com/wix/2006/objects"
+ >
+<xsl:output method="text" encoding="utf-8"/>
+
+<xsl:strip-space elements="*"/>
+
+<xsl:include href="../../Main/idl/typemap-shared.inc.xsl"/>
+
+<xsl:template name="split-file-remove-number">
+ <xsl:param name="name"/>
+ <xsl:choose>
+ <xsl:when test="contains($name, '|')">
+ <xsl:text> </xsl:text>
+ <xsl:value-of select="substring-before(substring-before($name, '|'), '*')"/>
+ <xsl:text> \
+</xsl:text>
+ <xsl:call-template name="split-file-remove-number">
+ <xsl:with-param name="name" select="substring-after($name, '|')"/>
+ </xsl:call-template>
+ </xsl:when>
+
+ <xsl:otherwise>
+ <xsl:text> </xsl:text>
+ <xsl:value-of select="substring-before($name, '*')"/>
+ <xsl:text> \</xsl:text>
+ <xsl:call-template name="xsltprocNewlineOutputHack"/>
+ </xsl:otherwise>
+ </xsl:choose>
+</xsl:template>
+
+<xsl:template name="output-source-line-number">
+ <xsl:param name="name"/>
+ <xsl:if test="1 or substring($name, 2, 1) = ':'">
+ <xsl:call-template name="split-file-remove-number">
+ <xsl:with-param name="name" select="translate($name, '\', '/')"/>
+ </xsl:call-template>
+ </xsl:if>
+</xsl:template>
+
+<xsl:template match="wix:row">
+ <xsl:call-template name="output-source-line-number">
+ <xsl:with-param name="name" select="@sourceLineNumber"/>
+ </xsl:call-template>
+</xsl:template>
+
+<xsl:template match="wix:table">
+ <xsl:apply-templates/>
+</xsl:template>
+
+<xsl:template match="wix:wixObject">
+ <xsl:apply-templates/>
+</xsl:template>
+
+<xsl:template match="wix:section">
+ <xsl:apply-templates/>
+</xsl:template>
+
+<!-- Eat everything that's unmatched. -->
+<xsl:template match="*">
+</xsl:template>
+
+</xsl:stylesheet>
+