From f215e02bf85f68d3a6106c2a1f4f7f063f819064 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Thu, 11 Apr 2024 10:17:27 +0200 Subject: Adding upstream version 7.0.14-dfsg. Signed-off-by: Daniel Baumann --- src/VBox/Installer/win/Binary/Banner.jpg | Bin 0 -> 1946 bytes src/VBox/Installer/win/Binary/Dialog.jpg | Bin 0 -> 10742 bytes src/VBox/Installer/win/Binary/Exclamation.ico | Bin 0 -> 766 bytes src/VBox/Installer/win/Binary/New.ico | Bin 0 -> 318 bytes src/VBox/Installer/win/Binary/Remove.ico | Bin 0 -> 2998 bytes src/VBox/Installer/win/Binary/Repair.ico | Bin 0 -> 2998 bytes src/VBox/Installer/win/Binary/Up.ico | Bin 0 -> 318 bytes src/VBox/Installer/win/Binary/info.ico | Bin 0 -> 1078 bytes src/VBox/Installer/win/CommonProperties.wxi | 31 + src/VBox/Installer/win/Defines.wxi | 71 + src/VBox/Installer/win/InstallHelper/Makefile.kmk | 65 + .../Installer/win/InstallHelper/VBoxCommon.cpp | 103 + src/VBox/Installer/win/InstallHelper/VBoxCommon.h | 44 + .../win/InstallHelper/VBoxInstallHelper.cpp | 2097 ++++++++++++++++++++ .../win/InstallHelper/VBoxInstallHelper.def | 51 + .../win/InstallHelper/VBoxInstallHelper.rc | 61 + src/VBox/Installer/win/Makefile.kmk | 1363 +++++++++++++ src/VBox/Installer/win/MsiHack/Makefile.kmk | 52 + src/VBox/Installer/win/MsiHack/MsiHack.cpp | 1017 ++++++++++ src/VBox/Installer/win/MsiHack/MsiHackExtension.cs | 84 + src/VBox/Installer/win/NLS/de_DE.wxl | 619 ++++++ src/VBox/Installer/win/NLS/el_GR.wxl | 624 ++++++ src/VBox/Installer/win/NLS/en_US.wxl | 620 ++++++ src/VBox/Installer/win/NLS/fa_IR.wxl | 548 +++++ src/VBox/Installer/win/NLS/fr_FR.wxl | 618 ++++++ src/VBox/Installer/win/NLS/it_IT.wxl | 548 +++++ src/VBox/Installer/win/NLS/ru_RU.wxl | 620 ++++++ src/VBox/Installer/win/NLS/tr_TR.wxl | 620 ++++++ src/VBox/Installer/win/NLS/zh_CN.wxl | 620 ++++++ src/VBox/Installer/win/NLS/zh_TW.wxl | 620 ++++++ src/VBox/Installer/win/Permissions.wxi | 34 + src/VBox/Installer/win/PublicProperties.wxi | 52 + src/VBox/Installer/win/Resources/Makefile.kmk | 96 + src/VBox/Installer/win/Resources/VBoxRes.rc | 64 + src/VBox/Installer/win/Resources/dummy.cpp | 36 + src/VBox/Installer/win/Resources/resource.h | 46 + .../Installer/win/Scripts/Combined-1-Prepare.cmd | 314 +++ .../Installer/win/Scripts/Combined-3-Repack.cmd | 349 ++++ .../win/Scripts/Combined-3-RepackAdditions.cmd | 370 ++++ src/VBox/Installer/win/Scripts/Makefile.kup | 0 .../win/Scripts/PackDriversForSubmission.cmd | 347 ++++ src/VBox/Installer/win/Scripts/RepackExtPack.cmd | 240 +++ .../Installer/win/Scripts/Single-1-Prepare.cmd | 248 +++ src/VBox/Installer/win/Scripts/Single-3-Repack.cmd | 291 +++ .../Installer/win/Scripts/UnpackBlessedDrivers.cmd | 185 ++ src/VBox/Installer/win/Scripts/VBoxExtPackPuel.inf | 69 + src/VBox/Installer/win/Scripts/VMMR0.inf | 67 + src/VBox/Installer/win/Stub/Makefile.kmk | 174 ++ src/VBox/Installer/win/Stub/VBoxStub.cpp | 1522 ++++++++++++++ src/VBox/Installer/win/Stub/VBoxStub.h | 40 + src/VBox/Installer/win/Stub/VBoxStub.manifest | 28 + src/VBox/Installer/win/Stub/VBoxStub.rc | 66 + src/VBox/Installer/win/Stub/VBoxStubCertUtil.cpp | 152 ++ src/VBox/Installer/win/Stub/VBoxStubCertUtil.h | 37 + src/VBox/Installer/win/Stub/crypt32.def | 35 + src/VBox/Installer/win/Stub/msi.def | 33 + src/VBox/Installer/win/Stub/resource.h | 42 + src/VBox/Installer/win/Stub/shell32.def | 32 + src/VBox/Installer/win/Stub/user32.def | 33 + src/VBox/Installer/win/Stub/ws2_32.def | 32 + src/VBox/Installer/win/StubBld/Makefile.kmk | 38 + src/VBox/Installer/win/StubBld/VBoxStubBld.cpp | 331 +++ src/VBox/Installer/win/StubBld/VBoxStubBld.h | 88 + src/VBox/Installer/win/UserInterface.wxi | 1247 ++++++++++++ src/VBox/Installer/win/VBoxKey.wxi | 5 + src/VBox/Installer/win/VBoxMergeApp.wxi | 487 +++++ src/VBox/Installer/win/VBoxMergeApp.wxs | 89 + src/VBox/Installer/win/VBoxMergeAppCA.wxi | 39 + src/VBox/Installer/win/VBoxMergeAppSeq.wxi | 37 + src/VBox/Installer/win/VBoxMergeCOM32On64.wxi | 67 + src/VBox/Installer/win/VBoxMergeCOM32On64.wxs | 60 + src/VBox/Installer/win/VBoxMergeCOM32On64CA.wxi | 30 + src/VBox/Installer/win/VBoxMergeCOM32On64Seq.wxi | 30 + src/VBox/Installer/win/VBoxMergeNetAdp.wxi | 48 + src/VBox/Installer/win/VBoxMergeNetAdp.wxs | 82 + src/VBox/Installer/win/VBoxMergeNetAdp6.wxi | 63 + src/VBox/Installer/win/VBoxMergeNetAdp6.wxs | 82 + src/VBox/Installer/win/VBoxMergeNetAdp6CA.wxi | 42 + src/VBox/Installer/win/VBoxMergeNetAdp6Seq.wxi | 75 + src/VBox/Installer/win/VBoxMergeNetAdpCA.wxi | 39 + src/VBox/Installer/win/VBoxMergeNetAdpSeq.wxi | 75 + src/VBox/Installer/win/VBoxMergeNetFlt.wxi | 55 + src/VBox/Installer/win/VBoxMergeNetFlt.wxs | 82 + src/VBox/Installer/win/VBoxMergeNetFltCA.wxi | 44 + src/VBox/Installer/win/VBoxMergeNetFltSeq.wxi | 90 + src/VBox/Installer/win/VBoxMergeNetLwf.wxi | 66 + src/VBox/Installer/win/VBoxMergeNetLwf.wxs | 82 + src/VBox/Installer/win/VBoxMergeNetLwfCA.wxi | 44 + src/VBox/Installer/win/VBoxMergeNetLwfSeq.wxi | 90 + src/VBox/Installer/win/VBoxMergePython.wxi | 60 + src/VBox/Installer/win/VBoxMergePython.wxs | 68 + src/VBox/Installer/win/VBoxMergePythonCA.wxi | 35 + src/VBox/Installer/win/VBoxMergePythonSeq.wxi | 52 + src/VBox/Installer/win/VBoxMergeUSB.wxi | 72 + src/VBox/Installer/win/VBoxMergeUSB.wxs | 60 + src/VBox/Installer/win/VBoxMergeUSBCA.wxi | 30 + src/VBox/Installer/win/VBoxMergeUSBSeq.wxi | 30 + src/VBox/Installer/win/VirtualBox.wxs | 690 +++++++ src/VBox/Installer/win/VirtualBox_TypeLib.xsl | 195 ++ .../win/VirtualBox_TypeLibWithInterfaces.xsl | 318 +++ src/VBox/Installer/win/dep.xsl | 79 + src/VBox/Installer/win/dep2.xsl | 93 + 102 files changed, 21519 insertions(+) create mode 100644 src/VBox/Installer/win/Binary/Banner.jpg create mode 100644 src/VBox/Installer/win/Binary/Dialog.jpg create mode 100644 src/VBox/Installer/win/Binary/Exclamation.ico create mode 100644 src/VBox/Installer/win/Binary/New.ico create mode 100644 src/VBox/Installer/win/Binary/Remove.ico create mode 100644 src/VBox/Installer/win/Binary/Repair.ico create mode 100644 src/VBox/Installer/win/Binary/Up.ico create mode 100644 src/VBox/Installer/win/Binary/info.ico create mode 100644 src/VBox/Installer/win/CommonProperties.wxi create mode 100644 src/VBox/Installer/win/Defines.wxi create mode 100644 src/VBox/Installer/win/InstallHelper/Makefile.kmk create mode 100644 src/VBox/Installer/win/InstallHelper/VBoxCommon.cpp create mode 100644 src/VBox/Installer/win/InstallHelper/VBoxCommon.h create mode 100644 src/VBox/Installer/win/InstallHelper/VBoxInstallHelper.cpp create mode 100644 src/VBox/Installer/win/InstallHelper/VBoxInstallHelper.def create mode 100644 src/VBox/Installer/win/InstallHelper/VBoxInstallHelper.rc create mode 100644 src/VBox/Installer/win/Makefile.kmk create mode 100644 src/VBox/Installer/win/MsiHack/Makefile.kmk create mode 100644 src/VBox/Installer/win/MsiHack/MsiHack.cpp create mode 100644 src/VBox/Installer/win/MsiHack/MsiHackExtension.cs create mode 100644 src/VBox/Installer/win/NLS/de_DE.wxl create mode 100644 src/VBox/Installer/win/NLS/el_GR.wxl create mode 100644 src/VBox/Installer/win/NLS/en_US.wxl create mode 100644 src/VBox/Installer/win/NLS/fa_IR.wxl create mode 100644 src/VBox/Installer/win/NLS/fr_FR.wxl create mode 100644 src/VBox/Installer/win/NLS/it_IT.wxl create mode 100644 src/VBox/Installer/win/NLS/ru_RU.wxl create mode 100644 src/VBox/Installer/win/NLS/tr_TR.wxl create mode 100644 src/VBox/Installer/win/NLS/zh_CN.wxl create mode 100644 src/VBox/Installer/win/NLS/zh_TW.wxl create mode 100644 src/VBox/Installer/win/Permissions.wxi create mode 100644 src/VBox/Installer/win/PublicProperties.wxi create mode 100644 src/VBox/Installer/win/Resources/Makefile.kmk create mode 100644 src/VBox/Installer/win/Resources/VBoxRes.rc create mode 100644 src/VBox/Installer/win/Resources/dummy.cpp create mode 100644 src/VBox/Installer/win/Resources/resource.h create mode 100644 src/VBox/Installer/win/Scripts/Combined-1-Prepare.cmd create mode 100644 src/VBox/Installer/win/Scripts/Combined-3-Repack.cmd create mode 100644 src/VBox/Installer/win/Scripts/Combined-3-RepackAdditions.cmd create mode 100644 src/VBox/Installer/win/Scripts/Makefile.kup create mode 100644 src/VBox/Installer/win/Scripts/PackDriversForSubmission.cmd create mode 100644 src/VBox/Installer/win/Scripts/RepackExtPack.cmd create mode 100644 src/VBox/Installer/win/Scripts/Single-1-Prepare.cmd create mode 100644 src/VBox/Installer/win/Scripts/Single-3-Repack.cmd create mode 100644 src/VBox/Installer/win/Scripts/UnpackBlessedDrivers.cmd create mode 100644 src/VBox/Installer/win/Scripts/VBoxExtPackPuel.inf create mode 100644 src/VBox/Installer/win/Scripts/VMMR0.inf create mode 100644 src/VBox/Installer/win/Stub/Makefile.kmk create mode 100644 src/VBox/Installer/win/Stub/VBoxStub.cpp create mode 100644 src/VBox/Installer/win/Stub/VBoxStub.h create mode 100644 src/VBox/Installer/win/Stub/VBoxStub.manifest create mode 100644 src/VBox/Installer/win/Stub/VBoxStub.rc create mode 100644 src/VBox/Installer/win/Stub/VBoxStubCertUtil.cpp create mode 100644 src/VBox/Installer/win/Stub/VBoxStubCertUtil.h create mode 100644 src/VBox/Installer/win/Stub/crypt32.def create mode 100644 src/VBox/Installer/win/Stub/msi.def create mode 100644 src/VBox/Installer/win/Stub/resource.h create mode 100644 src/VBox/Installer/win/Stub/shell32.def create mode 100644 src/VBox/Installer/win/Stub/user32.def create mode 100644 src/VBox/Installer/win/Stub/ws2_32.def create mode 100644 src/VBox/Installer/win/StubBld/Makefile.kmk create mode 100644 src/VBox/Installer/win/StubBld/VBoxStubBld.cpp create mode 100644 src/VBox/Installer/win/StubBld/VBoxStubBld.h create mode 100644 src/VBox/Installer/win/UserInterface.wxi create mode 100644 src/VBox/Installer/win/VBoxKey.wxi create mode 100644 src/VBox/Installer/win/VBoxMergeApp.wxi create mode 100644 src/VBox/Installer/win/VBoxMergeApp.wxs create mode 100644 src/VBox/Installer/win/VBoxMergeAppCA.wxi create mode 100644 src/VBox/Installer/win/VBoxMergeAppSeq.wxi create mode 100644 src/VBox/Installer/win/VBoxMergeCOM32On64.wxi create mode 100644 src/VBox/Installer/win/VBoxMergeCOM32On64.wxs create mode 100644 src/VBox/Installer/win/VBoxMergeCOM32On64CA.wxi create mode 100644 src/VBox/Installer/win/VBoxMergeCOM32On64Seq.wxi create mode 100644 src/VBox/Installer/win/VBoxMergeNetAdp.wxi create mode 100644 src/VBox/Installer/win/VBoxMergeNetAdp.wxs create mode 100644 src/VBox/Installer/win/VBoxMergeNetAdp6.wxi create mode 100644 src/VBox/Installer/win/VBoxMergeNetAdp6.wxs create mode 100644 src/VBox/Installer/win/VBoxMergeNetAdp6CA.wxi create mode 100644 src/VBox/Installer/win/VBoxMergeNetAdp6Seq.wxi create mode 100644 src/VBox/Installer/win/VBoxMergeNetAdpCA.wxi create mode 100644 src/VBox/Installer/win/VBoxMergeNetAdpSeq.wxi create mode 100644 src/VBox/Installer/win/VBoxMergeNetFlt.wxi create mode 100644 src/VBox/Installer/win/VBoxMergeNetFlt.wxs create mode 100644 src/VBox/Installer/win/VBoxMergeNetFltCA.wxi create mode 100644 src/VBox/Installer/win/VBoxMergeNetFltSeq.wxi create mode 100644 src/VBox/Installer/win/VBoxMergeNetLwf.wxi create mode 100644 src/VBox/Installer/win/VBoxMergeNetLwf.wxs create mode 100644 src/VBox/Installer/win/VBoxMergeNetLwfCA.wxi create mode 100644 src/VBox/Installer/win/VBoxMergeNetLwfSeq.wxi create mode 100644 src/VBox/Installer/win/VBoxMergePython.wxi create mode 100644 src/VBox/Installer/win/VBoxMergePython.wxs create mode 100644 src/VBox/Installer/win/VBoxMergePythonCA.wxi create mode 100644 src/VBox/Installer/win/VBoxMergePythonSeq.wxi create mode 100644 src/VBox/Installer/win/VBoxMergeUSB.wxi create mode 100644 src/VBox/Installer/win/VBoxMergeUSB.wxs create mode 100644 src/VBox/Installer/win/VBoxMergeUSBCA.wxi create mode 100644 src/VBox/Installer/win/VBoxMergeUSBSeq.wxi create mode 100644 src/VBox/Installer/win/VirtualBox.wxs create mode 100644 src/VBox/Installer/win/VirtualBox_TypeLib.xsl create mode 100644 src/VBox/Installer/win/VirtualBox_TypeLibWithInterfaces.xsl create mode 100644 src/VBox/Installer/win/dep.xsl create mode 100644 src/VBox/Installer/win/dep2.xsl (limited to 'src/VBox/Installer/win') 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 Binary files /dev/null and b/src/VBox/Installer/win/Binary/Banner.jpg 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 Binary files /dev/null and b/src/VBox/Installer/win/Binary/Dialog.jpg 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 Binary files /dev/null and b/src/VBox/Installer/win/Binary/Exclamation.ico 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 Binary files /dev/null and b/src/VBox/Installer/win/Binary/New.ico 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 Binary files /dev/null and b/src/VBox/Installer/win/Binary/Remove.ico 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 Binary files /dev/null and b/src/VBox/Installer/win/Binary/Repair.ico 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 Binary files /dev/null and b/src/VBox/Installer/win/Binary/Up.ico 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 Binary files /dev/null and b/src/VBox/Installer/win/Binary/info.ico 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 @@ + + + + + + + + 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 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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 . +# +# 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 . + * + * SPDX-License-Identifier: GPL-3.0-only + */ + + +/********************************************************************************************************************************* +* Header Files * +*********************************************************************************************************************************/ +#include +#include +#include + +#include +#include + + +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 . + * + * 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 . + * + * 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 +#include + +#define _WIN32_DCOM +#include + +#include +#define INITGUID +#include +#include +#include + +#include +#include +#include + +#include + +#include +#include +#include +#include /* RTPATH_MAX, RTPATH_IS_SLASH */ +#include /* RT_ZERO */ +#include + +#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 . +; +; 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 . + * + * SPDX-License-Identifier: GPL-3.0-only + */ + +#include +#include + +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 . +# +# 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 $$@ '' + $(APPEND) $$@ '' + + $(REDIRECT) -a+to $$@ -- $(ECHO_EXT) -n '' + $(REDIRECT) -a+to $$@ -- $(SED) -e "s|<|\<|g" -e "s|>|\>|g" $(license_file) + $(APPEND) $$@ '' + + $(APPEND) $$@ '$(license_file)' + $(APPEND) $$@ 'License_$(lang).rtf' + $(APPEND) $$@ 'L_$(lang).rtf' + + $(APPEND) $$@ '' +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 $@ '' + $(APPEND) $@ '' +ifdef VBOX_WITH_DOCS_PACKING + ifdef VBOX_WITH_DOCS_CHM_PACKING + $(APPEND) $@ ' ' + $(APPEND) -n $@ $(foreach lang,$(VBOX_MANUAL_ADD_LANGUAGES), \ + ' ') + endif + ifdef VBOX_WITH_DOCS_QHELP_PACKING + $(APPEND) $@ ' ' + $(APPEND) $@ ' ' + $(APPEND) -n $@ $(foreach lang,$(VBOX_MANUAL_ADD_LANGUAGES), \ + ' ' \ + ' ') + endif +endif + $(APPEND) $@ '' + +$(VBOX_WIN_INST_OUT_DIR)/Files_Doc.wxi: $(VBOX_WIN_INST_MAKEFILE_DEP) | $$(dir $$@) + $(call MSG_GENERATE,,$@,$<) + $(APPEND) -t $@ '' + $(APPEND) $@ '' +ifdef VBOX_WITH_DOCS_PACKING + $(APPEND) $@ ' ' + $(APPEND) $@ ' ' + $(APPEND) -n $@ $(foreach lang,$(VBOX_MANUAL_ADD_LANGUAGES), \ + ' ' \ + ' ') +endif + $(APPEND) $@ '' + +$(VBOX_WIN_INST_OUT_DIR)/Files_License.wxi: $(VBOX_WIN_INST_MAKEFILE_DEP) | $$(dir $$@) + $(call MSG_GENERATE,,$@,$<) + $(APPEND) -t $@ '' + $(APPEND) $@ '' + $(APPEND) $@ ' ' \ + ' ' + $(APPEND) -n $@ $(foreach lang,$(VBOX_LICENSE_ADD_LANGUAGES), \ + ' ' \ + ' ') + $(APPEND) $@ '' + +$(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 "$@" \ + '' \ + '' +ifdef VBOX_WITH_DTRACE + $(QUIET)$(APPEND) -n "$@" \ + '' \ + ' ' \ + ' ' \ + ' ' \ + $(foreach file, $(VBOXINST_DTRACE_LIB_ARCH_FILES) \ + , ' ' ) \ + ' ' \ + ' ' \ + ' ' \ + $(if $(VBOXINST_DTRACE_TESTCASE_ARCH_FILES), \ + ' ' \ + ' ' \ + ' ' \ + $(foreach file, $(VBOXINST_DTRACE_TESTCASE_ARCH_FILES) \ + , ' ' ) \ + ' ' \ + ' ' \ + ' ') \ + $(if $(VBOXINST_DTRACE_SCRIPTS_FILES), \ + ' ' \ + ' ' \ + $(foreach file, $(VBOXINST_DTRACE_SCRIPTS_FILES) \ + , ' ' ) \ + ' ' \ + ' ') \ + '' +endif + $(QUIET)$(APPEND) "$@" '' + + +$(VBOX_WIN_INST_OUT_DIR)/Shortcuts_StartMenu.wxi: $(VBOX_WIN_INST_MAKEFILE_DEP) | $$(dir $$@) + $(call MSG_GENERATE,,$@,$<) + $(APPEND) -t $@ '' + $(APPEND) $@ '' + # + # Documentation (PDF/CHM) + # +ifdef VBOX_WITH_DOCS_PACKING + ifdef VBOX_WITH_DOCS_CHM_PACKING + $(APPEND) $@ ' ' + $(APPEND) -n $@ $(foreach lang,$(VBOX_MANUAL_ADD_LANGUAGES), \ + ' ') + endif + $(APPEND) $@ ' ' + $(APPEND) -n $@ $(foreach lang,$(VBOX_MANUAL_ADD_LANGUAGES), \ + ' ') +endif + # + # License(s) (RTF) + # + $(APPEND) $@ ' ' + $(APPEND) -n $@ $(foreach lang,$(VBOX_LICENSE_ADD_LANGUAGES), \ + ' ') + $(APPEND) $@ '' + +# +# .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) ^' \ + ' $$(> "$$@.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 $@ '' + $(APPEND) $@ '' + $(APPEND) -n $@ $(foreach lang,$(VBOX_APPROVED_GUI_LANGUAGES), \ + ' ' \ + ' ') + $(APPEND) $@ '' + +# +# 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 $@ \ + '' \ + '' \ + $(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,) \ + ,' ') \ + '' + +# +# 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 $@ \ + '' \ + '' \ + $(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,) \ + ,' ') \ + '' +# +# 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 $@ \ + '' \ + '' +ifdef VBOX_UNATTENDED_TEMPLATES + $(APPEND) -n $@ \ + ' ' \ + ' ' \ + $(foreach file,$(VBOX_UNATTENDED_TEMPLATES), \ + ' ') \ + ' ' \ + ' ' +endif + $(APPEND) $@ '' + + +# +# 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 "$(. +# +# 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 . + * + * SPDX-License-Identifier: GPL-3.0-only + */ + + +/********************************************************************************************************************************* +* Header Files * +*********************************************************************************************************************************/ +#define IPRT_NO_CRT_FOR_3RD_PARTY /* temp hack */ +#include +#include +#include +#include +#include +#ifndef IPRT_NO_CRT +# include +#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 . + * + * 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 @@ + + + + + + + 1033 + Deutsch + + &Nein + &Ja + A&bbrechen + &Weiter> + < &Zurück + Durch&suchen + O&K + Ü&berprüfen + &Installieren + &Entfernen + &Fertig stellen + &Reparieren + &Zurück + &Wiederholen + I&gnorieren + B&eenden + + Angepasst + Setup + + + + Lizenz + Benutzerhandbuch + + + + [ProductName] Hauptanwendung. + [ProductName] Treiber für USB Geräte-Unterstützung. + [ProductName] Treiber für Netzwerk-Unterstützung. + [ProductName] Treiber für Netzwerkbrücke. + [ProductName] Treiber für virtuellen Netzwerk-Adapter für Host-only Netzwerke. + [ProductName] Treiber für NDIS6-Netzwerkbrücke. + [ProductName] Treiber für virtuellen Netzwerk-Adapter für NDIS6-Host-only-Netzwerke. + + Python-Support für VirtualBox. + + + + Sie benötigen Administrations-Rechte zum (De-)Installieren von [ProductName]! Das Setup wird nun beendet. + Für [ProductName] muss zuerst das Microsoft Visual C++ 2019 Redistributable Package installiert werden. Bitte installieren und danach die Installation von [ProductName] wiederholen. + [ProductName] läuft nur auf Windows XP oder höher! + Diese Applikation läuft nur auf 32-bit Windows-Systemen. Bitte installieren Sie die 64-bit Version von [ProductName]! + Diese Applikation läuft nur auf 64-bit Windows-Systemen. Bitte installieren Sie die 32-bit Version von [ProductName]! + Eine alte Sun Version von VirtualBox wurde auf diesem Computer gefunden. Bitte deinstallieren Sie diese Version zuerst. Danach können Sie [ProductName] installieren! + Eine alte innotek Version von VirtualBox wurde auf diesem Computer gefunden. Bitte deinstallieren Sie diese Version zuerst. Danach können Sie [ProductName] installieren! + + + + Sind Sie sicher, dass Sie die Installation von [ProductName] abbrechen möchten? + + + + Willkommen beim Setup-Assistenten von [ProductName] + 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. + + + + Endbenutzer-Lizenzvertrag + Bitte lesen Sie den folgenden Lizenzvertrag sorgfältig durch. + Ich &akzeptiere die Bedingungen des Lizenzvertrags. + Ich &akzeptiere die Bedingungen des Lizenzvertrags nicht. + + + + Seriennummer + Bitte geben Sie die Seriennummer in die unten stehenden Felder ein. Sie finden die Nummer auf dem Aufkleber in der VirtualBox CD-Hülle. + Wenn Sie fertig mit der Eingabe sind, drücken Sie bitte den "Überprüfen"-Knopf unten. + + + + Eingegebene Seriennummer ist ungültig! + Bitte geben Sie Ihre Seriennummer erneut auf der vorherigen Seite ein. + Beachten Sie, dass die Seriennummer exakt so geschrieben sein muss wie sie auf dem Aufkleber erscheint. + + + + Warnung: + Inkompatible Saved States! + 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. + Jetzt mit der Installation weitermachen? + + + + Hostinterfaces + Wenn Sie bei bereits existierenden virtuellen Maschinen sogenannte Hostinterfaces verwenden, müssen Sie diese nach der Installation noch einmal neu erstellen. + + + + Ort: + Speicherplatz + Wählen Sie die Installationsart der Features aus. + Klicken Sie in der unten angezeigten Struktur auf die Symbole, um die Installationsart der Features zu ändern. + Benutzerdefiniertes Setup + CustomizeDlgItemDescription-CustomizeDlgItemDescription + CustomizeDlgItemSize-CustomizeDlgItemSize + CustomizeDlgLocation-CustomizeDlgLocation + + + + Anpassen + Bitte unten die gewünschten Optionen auswählen: + Startmenü-Einträge anlegen + Verknüpfung auf dem Desktop anlegen + Verknüpfung in der Schnellstartleiste anlegen + Dateizuordnungen registrieren + + + + Bitte den zu verwendenden Netzwerktreiber auswählen: + NDIS5 Netzwerktreiber. +Standard für ältere Windows-Versionen (vor Vista). + NDIS6 Netzwerktreiber. +Standard für neuere Windows-Versionen (Vista und neuer). + NDIS5 Netzwerktreiber. + NDIS6 Netzwerktreiber. + + + + Warnung: + Netzwerkschnittstellen + Beim Installieren des [ProductName] Netzwerk-Features wird die Netzwerkverbindung unterbrochen und der Computer somit temporär vom Netzwerk getrennt. + Jetzt mit der Installation fortfahren? + + + + Fehlende Abhängigkeiten + Python Core / win32api + Um die [ProductName] Python-Unterstützung zu installieren, werden Python Core als auch das win32api-Paket benötigt. + 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. + Jetzt mit der Installation fortfahren? + + + + Der erforderliche Speicherplatz für die Installation der ausgewählten Features. + 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. + Erforderlicher Speicherplatz + {120}{70}{70}{70}{70} + + + + Zum Zielordner wechseln + Zielordner ändern + Eine Verzeichnisebene nach oben + Einen neuen Ordner erstellen + &Suchen in: + &Ordnername: + + + + Der Assistent ist nun bereit die Installationsart "[InstallMode]" zu installieren. + Klicken Sie auf "Installieren", um mit der Installation zu beginnen. Klicken Sie auf "Zurück", um die Installationseinstellungen zu überprüfen oder zu ändern. + Bereit zum Installieren + + + + Klicken Sie auf die Schaltfläche "Fertig stellen", um den Setup-Assistenten fertig zu stellen. + Der Setup-Assistent von [ProductName] wurde fertig gestellt. + [ProductName] nach der Installation starten + + + + Der Setup-Assistent von [ProductName] wurde vorzeitig abgebrochen + 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. + Klicken Sie auf die Schaltfläche "Fertig stellen", um den Setup-Assistenten fertig zu stellen. + + + + 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. + Einige der zu aktualisierenden Dateien werden gerade verwendet. + Verwendete Dateien + + + + Der Setup-Assistent von [ProductName] wurde unterbrochen + 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. + Klicken Sie auf die Schaltfläche "Fertig stellen", um den Setup-Assistenten zu beenden. + + + + Warten Sie, während [ProductName] durch den Setup-Assistenten installiert wird. Dies kann einige Zeit in Anspruch nehmen. + + + + Der Setup-Assistent von [ProductName] wird fortgesetzt + 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. + + + + Ändern, Reparieren oder Entfernen der Installation + Wählen Sie den durchzuführenden Vorgang. + R&eparieren + Repariert Fehler in der aktuellen Installation durch Reparieren von fehlenden und beschädigten Dateien, Verknüpfungen und Registrierungseinträgen. + Installation reparieren + Repariere + repariert + En&tfernen + Entfernt [ProductName] vom Computer. + Installation entfernen + Entferne + entfernt + + + + Willkommen beim Setup-Assistenten von [ProductName] + 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. + + + + Für die Installation ist nicht genügend Speicherplatz verfügbar. + 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. + Nicht genügend freier Speicherplatz auf dem Datenträger + + + + Für die Installation ist nicht genügend Speicherplatz verfügbar. + Die markierten Datenträger verfügen nicht über genügend Speicherplatz für die momentan ausgewählten Features. + Nicht genügend freier Speicherplatz auf dem Datenträger + Sie können entweder einige Dateien von den ausgewählten Volumes entfernen, weniger Features installieren oder einen anderen Zieldatenträger auswählen. + + + + [ProductName] entfernen + Sie haben sich entschieden, [ProductName] von Ihrem Computer zu entfernen. + 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. + + + + [ProductName] reparieren + Der Setup-Assistent ist nun bereit für die Reparatur von [ProductName]. + 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. + + + + Bitte warten Sie, während der Setup-Assistent die Speicherplatz-Anforderungen ermittelt. + + + + 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. + Einige der zu aktualisierenden Dateien werden gerade verwendet. + Verwendete Dateien + An&wendungen schließen und erneut starten + Anwen&dungen nicht schließen; ein Neustart ist erforderlich + + + {{Schwerwiegender Fehler: }} + {{Fehler [1]. }} + Warnung [1]. + Information [1]. + 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]}} + {{Datenträger voll: }} + Aktion [Time]: [1]. [2] + [ProductName] + {[2]}{, [3]}{, [4]} + Meldungstyp: [1], Argument: [2] + === Protokollierung gestartet: [Date] [Time] === + === Protokollierung beendet: [Date] [Time] === + Aktion gestartet um [Time]: [1]. + Aktion beendet um [Time]: [1]. Rückgabewert [2]. + Restdauer: {[1] Minute(n) }{[2] Sekunde(n)} + Nicht genügend Arbeitsspeicher. Beenden Sie andere Anwendungen, und wiederholen Sie den Vorgang. + Installer reagiert nicht. + Installer wurde vorzeitig abgebrochen. + Bitte warten Sie, während [ProductName] konfiguriert wird. + Erforderliche Daten werden ermittelt... + Ältere Versionen dieser Anwendung werden entfernt... + Das Entfernen älterer Versionen der Anwendung wird vorbereitet... + Das Setup für {[ProductName]} wurde erfolgreich abgeschlossen. + Das Setup für {[ProductName]} ist fehlgeschlagen. + Fehler beim Lesen der Datei: [3]. {{ Systemfehler [2].}} Stellen Sie sicher, dass die Datei vorhanden ist, und Sie darauf zugreifen können. + 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. + Legen Sie den Datenträger ein: [2] + 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. + Fehler beim Schreiben in Datei: [2]. Überprüfen Sie, ob Sie Zugriff auf dieses Verzeichnis haben. + Fehler beim Lesen der Datei: [3]. {{ Systemfehler [2].}} Stellen Sie sicher, dass die Datei vorhanden ist und Sie darauf zugreifen können. + Eine andere Anwendung hat exklusiven Zugriff auf die Datei "[2]". Schließen Sie alle anderen Anwendungen, und klicken Sie auf "Wiederholen". + 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. + Quelldatei nicht gefunden: [2]. Überprüfen Sie, ob die Datei vorhanden ist und Sie Zugriff darauf haben. + Fehler beim Lesen der Datei: [3]. {{ Systemfehler [2].}} Stellen Sie sicher, dass die Datei vorhanden ist und Sie darauf zugreifen können. + Fehler beim Schreiben in die Datei: [3]. {{ Systemfehler [2].}} Stellen Sie sicher, dass Sie auf das Verzeichnis zugreifen können. + Quelldatei nicht gefunden{{(CAB-Datei)}}: [2]. Überprüfen Sie, ob die Datei vorhanden ist und Sie Zugriff darauf haben. + 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. + Das Volume [2] ist momentan nicht verfügbar. Wählen Sie ein anderes Volume aus. + Der angegebene Pfad [2] ist nicht verfügbar. + In den angegebenen Ordner konnte nicht geschrieben werden: [2]. + Beim Lesen der Datei [2] ist ein Netzwerkfehler aufgetreten + Beim Erstellen des Verzeichnisses [2] ist ein Fehler aufgetreten + Beim Erstellen des Verzeichnisses [2] ist ein Netzwerkfehler aufgetreten + Beim Öffnen der CAB-Quelldatei [2] ist ein Fehler aufgetreten. + Der angegebene Pfad ist zu lang: [2] + Der Installer besitzt keine ausreichenden Berechtigungen, um diese Datei zu ändern: [2]. + Ein Teil des Ordnerpfads "[2]" ist ungültig. Der Name des Pfads ist entweder leer oder überschreitet die vom System zugelassene Länge. + Der Pfad [2] enthält ungültige Zeichenfolgen. + Der Pfad [2] enthält ein ungültiges Zeichen. + [2] ist kein gültiger kurzer Dateiname. + Fehler beim Ermitteln der Dateisicherheit: [3] GetLastError: [2] + Ungültiges Laufwerk: [2] + 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]}} + Eine erforderliche Datei kann nicht installiert werden, da die CAB-Datei [2] nicht digital signiert ist. Möglicherweise ist die CAB-Datei beschädigt. + 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.}} + Die Datei [2] konnte nicht kopiert werden: CRC-Fehler. + Die Datei [2] konnte nicht verschoben werden: CRC-Fehler. + Die Datei [2] konnte nicht gepatcht werden: CRC-Fehler. + 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. + 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. + Beim Erstellen der für die Installation erforderlichen temporären Datei ist ein Fehler aufgetreten.{{ Ordner: [3]. Systemfehlercode: [2]}} + 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. + 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. + 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. + 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. + 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. + 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. + 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. + 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. + 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. + Der verfügbare Registrierungsspeicher konnte nicht vergrößert werden. [2] KB freier Registrierungsspeicher sind zum Installieren dieser Anwendung erforderlich. + Es wird bereits eine weitere Installation ausgeführt. Sie müssen diese Installation abschließen, bevor Sie den Vorgang fortsetzen können. + Fehler beim Zugriff auf gesicherte Daten. Stellen Sie sicher, dass Windows Installer korrekt konfiguriert ist, und wiederholen Sie die Installation. + Benutzer "[2]" hat die Installation des Produkts "[3]" bereits initiiert. Dieser Benutzer muss die Installation erneut ausführen, bevor dieses Produkt verwendet werden kann. + Benutzer "[2]" hat die Installation des Produkts "[3]" bereits initiiert. Dieser Benutzer muss die Installation erneut ausführen, bevor dieses Produkt verwendet werden kann. + 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. + Sind Sie sicher, dass Sie den Vorgang abbrechen möchten? + 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. + Das Produkt "[2]" ist bereits installiert und verhindert die Installation dieses Produkts. Die beiden Produkte sind inkompatibel. + 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. + Auf den Netzwerkpfad [2] konnte nicht zugegriffen werden. + Die folgenden Anwendungen sollten geschlossen werden, bevor Sie die Installation fortsetzen: + Es konnte kein kompatibles Produkt auf dem Computer gefunden werden, das zur Installation dieses Produkts erforderlich ist. + 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]}} + Der Schlüssel [2] ist ungültig. Überprüfen Sie, ob Sie den korrekten Schlüssel eingegeben haben. + 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. + 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. + 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? + 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? + Ein Installationspaket des Produkts [2] konnte nicht gefunden werden. Wiederholen Sie die Installation unter Verwendung einer gültigen Kopie des Installationspakets "[3]". + Die Installation wurde erfolgreich abgeschlossen. + Die Installation ist fehlgeschlagen. + Produkt: [2] -- [3] + Sie können den ursprünglichen Zustand des Computers wiederherstellen oder die Installation später fortsetzen. Möchten Sie eine Wiederherstellung durchführen? + 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. + Eine oder mehrere Dateien, die zum Wiederherstellen des ursprünglichen Zustands Ihres Computers benötigt werden, konnten nicht gefunden werden. Wiederherstellen nicht möglich. + [2] kann eines der erforderlichen Produkte nicht installieren. Wenden Sie sich an den technischen Support. {{Systemfehler [3].}} + Die ältere Version von [2] kann nicht entfernt werden. Wenden Sie sich an den technischen Support. {{Systemfehler [3].}} + [2] wird installiert + [2] wird konfiguriert + [2] wird entfernt + Die Datei [2] wurde von der Richtlinie für die digitale Signatur zurückgewiesen. + 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. + 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]}} + 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] }} + 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] }} + 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] }} + Das Entfernen wurde erfolgreich abgeschlossen. + Das Entfernen ist fehlgeschlagen. + Die Ankündigung wurde erfolgreich abgeschlossen. + Die Ankündigung ist fehlgeschlagen. + Die Konfiguration wurde erfolgreich abgeschlossen. + Die Konfiguration ist fehlgeschlagen. + 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. + 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]". + 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? + Der Pfad [2] ist ungültig. Geben Sie einen gültigen Pfad an. + Nicht genügend Arbeitsspeicher. Beenden Sie andere Anwendungen, und wiederholen Sie den Vorgang. + 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. + 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. + Der Ordner [2] ist nicht vorhanden. Geben Sie einen Pfad zu einem vorhandenen Ordner ein. + Ihre Zugriffsrechte reichen nicht aus, um diesen Ordner zu lesen. + Es konnte kein gültiger Zielordner für die Installation bestimmt werden. + Fehler beim Lesen der Quellinstallationsdatenbank: [2]. + Planung des Computerneustarts: Die Datei [2] wird in [3] umbenannt. Der Computer muss neu gestartet werden, um den Vorgang abzuschließen. + Planung des Computerneustarts: Die Datei [2] wird gelöscht. Der Computer muss neu gestartet werden, um den Vorgang abzuschließen. + Fehler beim Registrieren von Modul [2]. HRESULT [3]. Wenden Sie sich an den Support. + Fehler beim Entfernen von Modul [2] aus der Registrierung. HRESULT [3]. Wenden Sie sich an den Support. + Fehler beim Zwischenspeichern von Paket [2]. Fehler: [3]. Wenden Sie sich an den Support. + 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. + Die Schriftart [2] konnte nicht aus der Registrierung entfernt werden. Stellen Sie sicher, dass Sie ausreichende Berechtigungen zum Entfernen von Schriftarten besitzen. + Die Verknüpfung [2] konnte nicht erstellt werden. Stellen Sie sicher, dass der Zielordner vorhanden ist, und Sie darauf zugreifen können. + Die Verknüpfung [2] konnte nicht entfernt werden. Stellen Sie sicher, dass die Verknüpfungsdatei vorhanden ist, und Sie darauf zugreifen können. + Typbibliothek für Datei [2] konnte nicht registriert werden. Wenden Sie sich an den Support. + Typbibliothek für Datei [2] konnte nicht aus der Registrierung entfernt werden. Wenden Sie sich an den Support. + Die INI-Datei [2][3] konnte nicht aktualisiert werden. Überprüfen Sie, ob die Datei vorhanden ist und Sie Zugriff darauf haben. + 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. + Fehler beim Entfernen des ODBC-Treiber-Managers, ODBC-Fehler [2]: [3]. Setzen Sie sich mit dem Support in Verbindung. + Fehler beim Installieren des ODBC-Treiber-Managers. ODBC-Fehler [2]: [3]. Setzen Sie sich mit dem Support in Verbindung. + Fehler beim Entfernen des ODBC-Treibers [4], ODBC-Fehler [2]: [3]. Stellen Sie sicher, dass Sie ausreichende Berechtigungen zum Entfernen von ODBC-Treibern besitzen. + 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. + 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. + Dienst "[2]" ([3]) konnte nicht gestartet werden. Überprüfen Sie, ob Sie ausreichende Berechtigungen zum Starten von Systemdiensten besitzen. + Dienst "[2]" ([3]) konnte nicht angehalten werden. Überprüfen Sie, ob Sie ausreichende Berechtigungen zum Anhalten von Systemdiensten besitzen. + Dienst "[2]" ([3]) konnte nicht entfernt werden. Überprüfen Sie, ob Sie ausreichende Berechtigungen zum Entfernen von Systemdiensten besitzen. + Dienst "[2]" ([3]) konnte nicht installiert werden. Überprüfen Sie, ob Sie ausreichende Berechtigungen zum Installieren von Systemdiensten besitzen. + Umgebungsvariable "[2]" konnte nicht aktualisiert werden. Überprüfen Sie, ob Sie ausreichende Berechtigungen zum Ändern von Umgebungsvariablen besitzen. + 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. + 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. + 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. + Fehler beim Registrieren der COM+-Anwendung. Wenden Sie sich an den Support, um weitere Informationen zu erhalten. + Fehler beim Entfernen der COM+-Anwendung aus der Registrierung. Wenden Sie sich an den Support, um weitere Informationen zu erhalten. + Die Beschreibung für den Dienst "[2]" ([3]) konnte nicht geändert werden. + 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]}} + Der Dienst "Windows Installer" kann die geschützte Windows-Datei [2] nicht aktualisieren. {{Paketversion: [3], geschützte Betriebssystemversion: [4], Systemdateischutzfehler: [5]}} + Eine oder mehrere geschützte Windows-Dateien konnten nicht aktualisiert werden {{SFP-Fehler: [2]. Liste der geschützten Dateien:\r\n[3]}} + Benutzerinstallationen sind über die Computerrichtlinie deaktiviert. + 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]}} + 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]}} + 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]}} + 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]}} + + + Die Applikation "[2]" muss geschlossen werden um die Installation fortsetzen zu können. + + Die Installation wird überprüft + Neue Dateien werden kopiert + Datei: [1], Verzeichnis: [9], Größe: [6] + Netzwerkinstallationsdateien werden kopiert + Datei: [1], Verzeichnis: [9], Größe: [6] + Speicherplatzbedarf wird berechnet + Speicherplatzbedarf wird berechnet + Speicherplatzbedarf wird berechnet + Verknüpfungen werden erstellt + Verknüpfung: [1] + Qualifizierte Komponenten werden veröffentlicht + Komponenten-ID: [1], Qualifizierer: [2] + Produktfeatures werden veröffentlicht + Feature: [1] + Produktinformationen werden veröffentlicht + Klassenserver werden registriert + Klassen-ID: [1] + Erweiterungsserver werden registriert + Erweiterung: [1] + MIME-Informationen werden registriert + MIME-Inhaltstyp: [1], Erweiterung: [2] + Programm-IDs werden registriert + Programm-ID: [1] + Registrierungsspeicher wird zugeordnet + Freier Speicherplatz: [1] + Installierte Anwendungen werden gesucht + Eigenschaft: [1], Signatur: [2] + Ausführbare Dateien werden gebunden + Datei: [1] + Qualifizierte Produkte werden gesucht + Ordner werden erstellt + Ordner: [1] + Dienste werden gelöscht + Dienst: [1] + Dateien werden dupliziert + Datei: [1], Verzeichnis: [9], Größe: [6] + Nach verwandten Anwendungen wird gesucht + Anwendung gefunden: [1] + ODBC-Komponenten werden installiert + Neue Dienste werden installiert + Dienst: [2] + Die Startbedingungen werden überprüft + Featurestatus verwandter Anwendungen wird migriert + Anwendung: [1] + Dateien werden verschoben + Datei: [1], Verzeichnis: [9], Größe: [6] + Dateien werden gepatcht + Datei: [1], Verzeichnis: [2], Größe: [3] + Komponentenregistrierung wird aktualisiert + COM+-Anwendungen und -Komponenten werden registriert + Anwendungs-ID: [1]{{, Anwendungstyp: [2], Benutzer: [3], RSN: [4]}} + Schriftarten werden registriert + Schriftart: [1] + Produkt wird registriert + [1] + Typenbibliotheken werden registriert + Bibliotheken-ID: [1] + Benutzer wird registriert + [1] + Duplizierte Dateien werden entfernt + Datei: [1], Verzeichnis: [9] + Umgebungsvariablen werden aktualisiert + Name: [1], Wert: [2], Aktion [3] + Anwendungen werden entfernt + Anwendung: [1], Befehlszeile: [2] + Dateien werden entfernt + Datei: [1], Verzeichnis: [9] + Ordner werden entfernt + Ordner: [1] + INI-Dateieinträge werden entfernt + Datei: [1], Abschnitt: [2], Schlüssel: [3], Wert: [4] + ODBC-Komponenten werden entfernt + Systemregistrierungswerte werden entfernt + Schlüssel: [1], Name: [2] + Verknüpfungen werden entfernt + Verknüpfung: [1] + Qualifizierte Produkte werden gesucht + Modul wird aus der Registrierung entfernt + Datei: [1], Ordner: [2] + Modulregistrierung wird aufgehoben + Datei: [1], Ordner: [2] + ODBC-Verzeichnisse werden initialisiert + Dienste werden gestartet + Dienst: [1] + Dienste werden beendet + Dienst: [1] + Veröffentlichung qualifizierter Komponenten wird aufgehoben + Komponenten-ID: [1], Qualifizierer: [2] + Veröffentlichung der Produktfeatures wird aufgehoben + Feature: [1] + Registrierung der Klassenserver wird aufgehoben + Klassen-ID: [1] + Registrierung der COM+-Anwendungen und -Komponenten wird aufgehoben + Anwendungs-ID: [1]{{, Anwendungstyp: [2]}} + Registrierung der Erweiterungsserver wird aufgehoben + Erweiterung: [1] + Registrierung der Schriftarten wird aufgehoben + Schriftart: [1] + Registrierung der MIME-Informationen wird aufgehoben + MIME-Inhaltstyp: [1], Erweiterung: [2] + Registrierung der Programm-IDs wird aufgehoben + Programm-ID: [1] + Registrierung der Typenbibliotheken wird aufgehoben + Bibliotheken-ID: [1] + Umgebungsvariablen werden aktualisiert + Name: [1], Wert: [2], Aktion [3] + INI-Dateiwerte werden geschrieben + Datei: [1], Abschnitt: [2], Schlüssel: [3], Wert: [4] + Systemregistrierungswerte werden geschrieben + Schlüssel: [1], Name: [2], Wert: [3] + Anwendung wird angekündigt + Für folgende Aktion werden Skriptvorgänge erstellt: + [1] + Systemkatalog wird installiert + Datei: [1], Abhängigkeiten: [2] + Assemblyinformationen werden veröffentlicht + Anwendungskontext:[1], Assemblyname:[2] + Veröffentlichung der Assemblierungsinformationen wird aufgehoben + Anwendungskontext:[1], Assemblyname:[2] + Aktion wird rückgängig gemacht: + [1] + Sicherungsdateien werden entfernt + Datei: [1] + Verschobene Dateien werden entfernt + Datei: [1], Verzeichnis: [9] + Veröffentlichung der Produktinformationen wird aufgehoben + + Bytes + GB + KB + MB + Nicht verfügbar + Bei der ersten Verwendung installieren + Alles von CD starten + Alles auf der lokalen Festplatte installieren + Alles vom Netzwerk starten + Von CD starten + Auf der lokalen Festplatte installieren + Vom Netzwerk starten + Erforderliche Daten werden ermittelt... + Dieses Feature wird nicht installiert. + Dieses Feature wird bei der ersten Verwendung installiert. + Dieses Feature wird zum Starten von CD installiert. + Dieses Feature wird auf der lokalen Festplatte installiert. + Dieses Feature wird zum Starten vom Netzwerk installiert. + Dieses Feature wird nicht verfügbar sein. + Dieses Feature wird bei der ersten Verwendung installiert. + Dieses Feature wird von CD gestartet. + Dieses Feature wird auf der lokalen Festplatte installiert. + Dieses Feature wird vom Netzwerk gestartet. + Dieses Feature wird vollständig deinstalliert und kann nicht von CD gestartet werden. + Dieses Feature wird nicht mehr von CD gestartet, sondern bei der ersten Verwendung installiert. + Dieses Feature wird weiterhin von CD gestartet. + Dieses Feature wird nicht mehr von CD gestartet, sondern auf der lokalen Festplatte installiert. + Dieses Feature gibt [1] auf der Festplatte frei. + Diese Funktion erfordert [1] auf der Festplatte. + Kosten für dieses Feature werden berechnet... + Dieses Feature wird vollständig entfernt. + Dieses Feature wird von der lokalen Festplatte entfernt und bei der ersten Verwendung installiert. + Dieses Feature wird von der lokalen Festplatte entfernt, bleibt aber zum Starten von CD installiert. + Dieses Feature bleibt weiterhin auf der lokalen Festplatte installiert. + Dieses Feature wird von der lokalen Festplatte entfernt, bleibt aber zum Starten vom Netzwerk installiert. + Dieses Feature wird vollständig deinstalliert und kann nicht vom Netzwerk gestartet werden. + Dieses Feature wird nicht mehr vom Netzwerk gestartet, sondern bei der ersten Verwendung installiert. + Dieses Feature wird nicht mehr vom Netzwerk gestartet, sondern auf der lokalen Festplatte installiert. + Dieses Feature wird weiterhin vom Netzwerk gestartet. + Dieses Feature gibt [1] auf der Festplatte frei. Es sind [2] von [3] untergeordneten Features ausgewählt, die [4] auf der Festplatte freigeben. + Dieses Feature gibt [1] auf der Festplatte frei. Es sind [2] von [3] untergeordneten Features ausgewählt, die [4] auf der Festplatte erfordern. + Dieses Feature erfordert [1] auf der Festplatte. Es sind [2] von [3] untergeordneten Features ausgewählt, die [4] auf der Festplatte freigeben. + Dieses Feature erfordert [1] auf der Festplatte. Es sind [2] von [3] untergeordneten Features ausgewählt, die [4] auf der Festplatte erfordern. + Restdauer: {[1] Minute(n) }{[2] Sekunde(n)} + Verfügbar + Differenz + Erforderlich + Datenträgergröße + Volume + + 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 @@ + + + + + + + 1032 + Ελληνικά + + Όχι + Ναι + Άκυρο + Επόμενο> + Πίσω + Εξερεύνηση + ΟΚ + Έλεγχος + Εγκατάσταση + Κατάργηση + Τέλος + Επισκευή + Επιστροφή + Επανάληψη + Παράβλεψη + Έξοδος + + Προσαρμοσμένο + Εγκατάσταση + + + + Άδεια + Εγχειρίδιο χρήστη + + + + Εφαρμογή [ProductName]. + Οδηγός συσκευών USB [ProductName] για υποστήριξη συσκευών USB. + Οδηγός συσκευών δικτύου [ProductName] για υποστήριξη δικτύου. + Οδηγός [ProductName] για γεφυρωμένη δικτύωση. + Οδηγός [ProductName] εικονικής κάρτας δικτύου για μόνο-με-οικοδεσπότη δίκτυα. + Οδηγός [ProductName] για NDIS6 γεφυρωμένα δίκτυα. + Οδηγός [ProductName] εικονικής κάρτας δικτύου για NDIS6 μόνο-με-οικοδεσπότη δίκτυα. + + Υποστήριξη Python για το VirtualBox. + + + + Πρέπει να έχετε δικαιώματα διαχειριστή για την (απ)εγκατάσταση του [ProductName]! Η εφαρμογή θα τερματιστεί τώρα. + [ProductName] needs the Microsoft Visual C++ 2019 Redistributable Package being installed first. Please install and restart the installation of [ProductName]. + Αυτή η εφαρμογή τρέχει μόνο σε Windows XP ή παραπάνω. + Αυτή η εφαρμογή τρέχει μόνο σε συστήματα Windows 32 bit. Εγκαταστήστε την έκδοση 64-bit του [ProductName]! + Αυτή η εφαρμογή τρέχει μόνο σε συστήματα Windows 64 bit. Εγκαταστήστε την έκδοση 32-bit του [ProductName]! + Βρέθηκε μία παλιότερη εγκατάσταση του Sun VirtualBox στον υπολογιστή. Καταργήστε πρώτα την εγκατάσταση αυτού του πακέτου και μετά εγκαταστήστε το [ProductName]! + Βρέθηκε μία παλιότερη εγκατάσταση του innotek VirtualBox στον υπολογιστή. Καταργήστε πρώτα την εγκατάσταση αυτού του πακέτου και μετά εγκαταστήστε το [ProductName]! + + + + Είστε βέβαιοι ότι θέλετε να ακυρώσετε την εγκατάσταση του [ProductName]; + + + + Καλώς ήρθατε στον Οδηγό Εγκατάστασης [ProductName] + Ο Οδηγός Εγκατάστασης θα εγκαταστήσει το [ProductName] στον υπολογιστή σας. Κάντε κλικ στο κουμπί "Επόμενο" για να συνεχίσετε ή στο κουμπί "Άκυρο" για έξοδο από τον Οδηγό Εγκατάστασης. + + + + Συμφωνία Άδειας Χρήσης Τελικού Χρήστη + Διαβάστε προσεκτικά την παρακάτω Άδειας Χρήσης. + Αποδέχομαι τους όρους της Άδειας Χρήσης + Δεν αποδέχομαι τους όρους της Άδειας Χρήσης + + + + Σειριακός Αριθμός + Εισάγετε τον σειριακό αριθμό σας στα παρακάτω πεδία. Θα το βρείτε στο αυτοκόλλητο μέσα στην θήκη του CD του VirtualBox. + Όταν ολοκληρώσετε την εισαγωγή του σειριακού αριθμού, πατήστε το κουμπί "Check" παρακάτω. + + + + Ο καταχωρημένος σειριακός αριθμός δεν ήταν έγκυρος! + Πληκτρολογήσετε ξανά τον σειριακό αριθμό σας. + Λάβετε υπόψη ότι ο σειριακός αριθμός πρέπει να γράφεται ακριβώς όπως είναι τυπωμένος στο αυτοκόλλητο. + + + + Προειδοποίηση: + Μη Συμβατές Αποθηκευμένες Καταστάσεις! + Κατά την αναβάθμιση του [ProductName], όλες οι αποθηκευμένες καταστάσεις από τα ήδη υπάρχοντα σας εικονικές μηχανές δεν θα λειτουργούν πια! Μετά την εγκατάσταση, πρέπει να τις απορρίψετε μη αυτόματα. + Συνέχιση της εγκατάστασης; + + + + Κάρτες Δικτύου + Αν χρησιμοποιούσατε ορισμένες κάρτες δικτύου για τις εικονικές μηχανές σας στην προηγούμενη έκδοση, θα πρέπει να τις ξαναδημιουργήσετε χειροποίητα μετά από την εγκατάσταση. + + + + Η ακόλουθη εφαρμογή θα πρέπει να κλείσει πριν συνεχίσετε την εγκατάσταση: "[2]" + + + + Τοποθεσία: + Χρήση Δίσκου + Επιλέξτε τον τρόπο που θέλετε να εγκατασταθούν οι δυνατότητες. + Κάντε κλικ στα εικονίδια στο παρακάτω δέντρο για να αλλάξετε τον τρόπο που θα εγκατασταθούν οι δυνατότητες. + Προσαρμοσμένη ρύθμιση + CustomizeDlgItemDescription-CustomizeDlgItemDescription + CustomizeDlgItemSize-CustomizeDlgItemSize + CustomizeDlgLocation-CustomizeDlgLocation + + + + Προσαρμογή + Διαλέξτε από τις παρακάτω επιλογές: + Δημιουργία καταχωρήσεων στο μενού έναρξης + Δημιουργία συντόμευσης στην επιφάνεια εργασίας + Δημιουργία συντόμευσης στη γραμμή γρήγορης εκκίνησης + Καταχώριση συσχετίσεων αρχείων + + + + Επιλέξτε ποιο τύπο οδηγών δικτύου θα χρησιμοποιήσετε: + Οδηγός δικτύου NDIS5. +Αυτή είναι η προεπιλογή για παλαιότερες εκδόσεις των Windows (προ-Vista). + Οδηγός δικτύου NDIS6. +Αυτό είναι η προεπιλογή για νεότερες εκδόσεις των Windows (Vista και νεώτερα). + Χρησιμοποιήστε τον οδηγό δικτύου NDIS5. + Χρησιμοποιήστε τον οδηγό δικτύου NDIS6. + + + + Προειδοποίηση: + Κάρτες Δικτύου + Η εγκατάσταση των χαρακτηριστικών δικτύου [ProductName] θα επαναφέρει τη σύνδεση δικτύου σας και θα σας αποσυνδέσει προσωρινά από το δίκτυο. + Συνέχιση της εγκατάστασης; + + + + Missing Dependencies + Python Core / win32api + Installing the [ProductName] Python bindings requires the Python Core package and the win32api bindings to be installed first. + 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. + Proceed with installation now? + + + + Ο χώρος στο δίσκο που απαιτείται για την εγκατάσταση των επιλεγμένων δυνατοτήτων. + Οι επισημασμένοι τόμοι (αν υπάρχουν) δεν διαθέτουν αρκετό χώρο στο δίσκο για τις επιλεγμένες δυνατότητες. Μπορείτε είτε να αφαιρέσετε ορισμένα αρχεία από τους τόμους που έχουν επισημανθεί, είτε να εγκαταστήσετε λιγότερες δυνατότητες σε τοπικές μονάδες, ή να επιλέξετε διαφορετικές μονάδες προορισμού. + Απαιτήσεις Χώρου στο Δίσκο + {120}{70}{70}{70}{70} + + + + Αναζήτηση στο φάκελο προορισμού + Αλλαγή τρέχοντος φακέλου προορισμού + Ένα επίπεδο πιο πάνω + Δημιουργία νέου φακέλου + Αναζήτηση σε: + Όνομα φακέλου: + + + + Ο Οδηγός Εγκατάστασης είναι έτοιμος να ξεκινήσει την [InstallMode] εγκατάσταση. + Κάντε κλικ στο κουμπί "Εγκατάσταση" για να ξεκινήσετε την εγκατάσταση. Αν θέλετε να αναθεωρήσετε ή να αλλάξετε κάποια από τις ρυθμίσεις εγκατάστασης, κάντε κλικ στο κουμπί "Πίσω". Κάντε κλικ στο κουμπί "Άκυρο" για έξοδο από τον οδηγό. + Έτοιμο για εγκατάσταση + + + + Κάντε κλικ στο κουμπί "Τέλος" για να βγείτε από τον Οδηγό εγκατάστασης. + Η εγκατάσταση του [ProductName] ολοκληρώθηκε. + Ξεκινήστε το [ProductName] μετά την εγκατάσταση + + + + Ο Οδηγός Εγκατάστασης του [ProductName] ολοκληρώθηκε πρόωρα + Η εγκατάσταση του [ProductName] σταμάτησε πρόωρα λόγω σφάλματος. Το σύστημά σας δεν έχει τροποποιηθεί. Για να εγκαταστήσετε το πρόγραμμα αργότερα, εκτελέστε ξανά την εγκατάσταση. + Κάντε κλικ στο κουμπί "Τέλος" για να βγείτε από τον Οδηγό Εγκατάστασης. + + + + Οι ακόλουθες εφαρμογές χρησιμοποιούν αρχεία που πρέπει να ενημερωθούν από αυτή τη εγκατάσταση. Κλείστε αυτές τις εφαρμογές και κάντε κλικ στο κουμπί "Επανάληψη" για να συνεχίσετε την εγκατάσταση ή στο κουμπί "Έξοδος" για έξοδο. + Ορισμένα αρχεία που πρέπει να ενημερωθούν χρησιμοποιούνται αυτή τη στιγμή. + Αρχεία σε Χρήση + + + + Ο Οδηγός Εγκατάστασης του [ProductName] διακόπηκε + Η εγκατάσταση του [ProductName] διακόπτεται. Το σύστημά σας δεν έχει τροποποιηθεί. Για να εγκαταστήσετε αυτό το πρόγραμμα αργότερα, εκτελέστε ξανά την εγκατάσταση. + Κάντε κλικ στο κουμπί "Τέλος" για να βγείτε από τον Οδηγό εγκατάστασης. + + + + Περιμένετε μέχρι ο Οδηγός Εγκατάστασης να εγκαταστήσει το [ProductName]. Αυτό μπορεί να διαρκέσει αρκετά λεπτά. + + + + Επαναφορά του Οδηγού Εγκατάστασης [ProductName] + Ο Οδηγός Εγκατάστασης θα ολοκληρώσει την εγκατάσταση του [ProductName] στον υπολογιστή σας. Κάντε κλικ στο κουμπί "Εγκατάσταση" για να συνεχίσετε ή στο κουμπί "Άκυρο" για έξοδο από τον Οδηγό Εγκατάστασης. + + + + Τροποποίηση, Επισκευή ή Κατάργηση εγκατάστασης + Επιλέξτε τη λειτουργία που θέλετε να εκτελέσετε. + Επισκευή + Επισκευή σφαλμάτων στην πιο πρόσφατη κατάσταση εγκατάστασης - διορθώνει αλλοιωμένα αρχεία ή αρχεία που λείπουν, συντομεύσεις και καταχωρήσεις μητρώου. + Επισκευή εγκατάστασης + Επισκευάζει + επισκευές + Κατάργηση + Καταργεί το [ProductName] από τον υπολογιστή σας. + Κατάργηση εγκατάστασης + Κατάργεί + καταργήσεις + + + + Καλώς ήρθατε στον Οδηγό Εγκατάστασης [ProductName] + Ο Οδηγός εγκατάστασης θα σας επιτρέψει να επισκευάσετε την τρέχουσα εγκατάσταση ή να καταργήσετε το [ProductName] από τον υπολογιστή σας. Κάντε κλικ στο κουμπί "Επόμενο" για να συνεχίσετε ή στο κουμπί "Άκυρο" για έξοδο από τον Οδηγό Εγκατάστασης. + + + + Ο χώρος στο δίσκο που απαιτείται για την εγκατάσταση υπερβαίνει το διαθέσιμο χώρο στο δίσκο. + Οι τόμοι που επισημαίνονται δεν έχουν αρκετό διαθέσιμο χώρο στο δίσκο για τις επιλεγμένες δυνατότητες. Μπορείτε να καταργήσετε μερικά αρχεία από τους τόμους που επισημαίνονται, να εγκαταστήσετε λιγότερες δυνατότητες ή να επιλέξετε μια διαφορετική μονάδα δίσκου προορισμού. + Δεν υπάρχει αρκετός χώρος στο δίσκο + + + + Ο χώρος στο δίσκο που απαιτείται για την εγκατάσταση υπερβαίνει το διαθέσιμο χώρο στο δίσκο. + Οι τόμοι που επισημαίνονται δεν έχουν αρκετό διαθέσιμο χώρο στο δίσκο για τις επιλεγμένες δυνατότητες. Μπορείτε να καταργήσετε μερικά αρχεία από τους τόμους που επισημαίνονται, να εγκαταστήσετε λιγότερες δυνατότητες ή να επιλέξετε μια διαφορετική μονάδα δίσκου προορισμού. + Δεν υπάρχει αρκετός χώρος στο δίσκο + Εναλλακτικά, μπορείτε να επιλέξετε να απενεργοποιήσετε τη λειτουργία επαναφοράς του εγκαταστάτη. Αυτό επιτρέπει στο πρόγραμμα εγκατάστασης να επαναφέρει την αρχική κατάσταση του υπολογιστή σας σε περίπτωση διακοπής της εγκατάστασης με οποιονδήποτε τρόπο. Κάντε κλικ στο κουμπί "Ναι" εάν θέλετε να αναλάβετε το ρίσκο απενεργοποίησης της επαναφοράς. + + + + Κατάργηση [ProductName] + Έχετε επιλέξει να καταργήσετε το πρόγραμμα από τον υπολογιστή σας. + Κάντε κλικ στο κουμπί "Κατάργηση" για να καταργήσετε το [ProductName] από τον υπολογιστή σας. Αν θέλετε να αναθεωρήσετε ή να αλλάξετε κάποια από τις ρυθμίσεις εγκατάστασης, κάντε κλικ στο κουμπί "Πίσω". Κάντε κλικ στο κουμπί "Άκυρο" για έξοδο από τον οδηγό. + + + + Επιδιόρθωση [ProductName] + Ο Οδηγός εγκατάστασης είναι έτοιμος να ξεκινήσει την επιδιόρθωση του [ProductName]. + Κάντε κλικ στο κουμπί "Επιδιόρθωση" για να επιδιορθώσετε την εγκατάσταση του [ProductName]. Αν θέλετε να αναθεωρήσετε ή να αλλάξετε κάποια από τις ρυθμίσεις εγκατάστασης, κάντε κλικ στο κουμπί "Πίσω". Κάντε κλικ στο κουμπί "Άκυρο" για έξοδο από τον οδηγό. + + + + Περιμένετε μέχρι να ολοκληρωθεί ο καθορισμός των απαιτήσεων του χώρου στο δίσκο. + + + + Οι ακόλουθες εφαρμογές χρησιμοποιούν αρχεία που πρέπει να ενημερωθούν από αυτή τη ρύθμιση. Μπορείτε να αφήσετε τον Οδηγό εγκατάστασης να τα κλείσει και να επιχειρήσετε να τα επανεκκινήσετε ή να επανεκκινήσετε αργότερα το μηχάνημα. + Ορισμένα αρχεία που πρέπει να ενημερωθούν χρησιμοποιούνται αυτή τη στιγμή. + Αρχεία σε χρήση + Κλείστε τις εφαρμογές και προσπαθήστε να τις επανεκκινήσετε. + Μην κλείσετε εφαρμογές. Απαιτείται επανεκκίνηση. + + + {{Ανεπανόρθωτο σφάλμα: }} + {{Σφάλμα [1]. }} + Προειδοποίηση [1]. + + Πληροφορίες [1]. + Το πρόγραμμα εγκατάστασης αντιμετώπισε ένα μη αναμενόμενο σφάλμα κατά την εγκατάσταση αυτού του πακέτου. Αυτό μπορεί να αποτελεί ένδειξη προβλήματος σε αυτό το πακέτο. Ο κωδικός σφάλματος είναι [1]. {{Τα ορίσματα είναι: [2], [3], [4]}} + + {{Ο δίσκος είναι πλήρης: }} + Ενέργεια [Time]: [1]. [2] + [ProductName] + {[2]}{, [3]}{, [4]} + Τύπος μηνύματος: [1], Όρισμα: [2] + === Έναρξη καταγραφής: [Date] [Time] === + === Διακοπή καταγραφής: [Date] [Time] === + Έναρξη ενέργειας [Time]: [1]. + Τερματισμός ενέργειας [Time]: [1]. Τιμή επιστροφής [2]. + Χρόνος που απομένει: {[1] λεπτά }{[2] δευτερόλεπτα} + Η μνήμη δεν επαρκεί. Τερματίστε τις άλλες εφαρμογές προτού προσπαθήσετε ξανά. + Το πρόγραμμα εγκατάστασης δεν αποκρίνεται πλέον. + Το πρόγραμμα εγκατάστασης τερματίστηκε πρόωρα. + Περιμένετε όσο τα Windows ρυθμίζουν τις παραμέτρους του [ProductName] + Συλλογή απαιτούμενων πληροφοριών... + Κατάργηση παλαιότερων εκδόσεων αυτής της εφαρμογής... + Προετοιμασία για κατάργηση παλαιότερων εκδόσεων της εφαρμογής... + Η εγκατάσταση του {[ProductName] }ολοκληρώθηκε με επιτυχία. + Η εγκατάσταση του {[ProductName] } απέτυχε. + Παρουσιάστηκε σφάλμα κατά την ανάγνωση από το αρχείο: [2]. {{Σφάλμα συστήματος [3].}} Βεβαιωθείτε ότι το αρχείο υπάρχει και ότι έχετε πρόσβαση σε αυτό. + Δεν είναι δυνατή η δημιουργία του αρχείου "[2]". Υπάρχει ήδη ένας κατάλογος με αυτό το όνομα. Ακυρώστε την εγκατάσταση και προσπαθήστε να κάνετε εγκατάσταση σε διαφορετική θέση. + Τοποθετήστε το δίσκο: [2] + Το πρόγραμμα εγκατάστασης δεν διαθέτει επαρκή δικαιώματα πρόσβασης σε αυτόν τον κατάλογο: [2]. Δεν είναι δυνατό να συνεχιστεί η εγκατάσταση. Συνδεθείτε ως διαχειριστής ή επικοινωνήστε με το διαχειριστή του συστήματός σας. + Παρουσιάστηκε σφάλμα κατά την εγγραφή στο αρχείο: [2]. Βεβαιωθείτε ότι έχετε πρόσβαση σε αυτόν τον κατάλογο. + Παρουσιάστηκε σφάλμα κατά την ανάγνωση από το αρχείο [2]. {{ Σφάλμα συστήματος [3].}} Βεβαιωθείτε ότι το αρχείο υπάρχει και ότι έχετε πρόσβαση σε αυτό. + Μια άλλη εφαρμογή έχει αποκλειστικά δικαιώματα πρόσβασης στο αρχείο '[2]'. Τερματίστε όλες τις άλλες εφαρμογές και κάντε κλικ στο κουμπί "Επανάληψη". + Δεν υπάρχει αρκετός χώρος στο δίσκο για την εγκατάσταση αυτού του αρχείου: [2]. Αποδεσμεύστε χώρο από το δίσκο και μετά κάντε κλικ στο κουμπί "Επανάληψη" ή στο κουμπί "Άκυρο" για έξοδο. + Το αρχείο προέλευσης δεν βρέθηκε: [2]. Βεβαιωθείτε ότι το αρχείο υπάρχει και ότι έχετε πρόσβαση σε αυτό. + Παρουσιάστηκε σφάλμα κατά την ανάγνωση από το αρχείο: [3]. {{ Σφάλμα συστήματος [2].}} Βεβαιωθείτε ότι το αρχείο υπάρχει και ότι έχετε πρόσβαση σε αυτό. + Παρουσιάστηκε σφάλμα κατά την εγγραφή στο αρχείο: [3]. {{ Σφάλμα συστήματος [2].}} Βεβαιωθείτε ότι έχετε πρόσβαση σε αυτόν τον κατάλογο. + Δεν βρέθηκε το αρχείο προέλευσης{{(αρχειοθήκη)}}: [2]. Βεβαιωθείτε ότι το αρχείο υπάρχει και ότι έχετε πρόσβαση σε αυτό. + Δεν είναι δυνατή η δημιουργία του καταλόγου "[2]". Υπάρχει ήδη ένα αρχείο με αυτό το όνομα. Μετονομάστε ή καταργήστε το αρχείο και κάντε κλικ στο κουμπί "Επανάληψη" ή στο κουμπί "Άκυρο" για έξοδο. + Ο τόμος [2] δεν είναι διαθέσιμος αυτήν τη στιγμή. Επιλέξτε έναν άλλον τόμο. + Η καθορισμένη διαδρομή "[2]" δεν είναι διαθέσιμη. + Δεν είναι δυνατή η εγγραφή στον καθορισμένο φάκελο: [2]. + Παρουσιάστηκε σφάλμα δικτύου κατά την προσπάθεια ανάγνωσης από το αρχείο: [2] + Παρουσιάστηκε σφάλμα κατά την προσπάθεια δημιουργίας του καταλόγου: [2] + Παρουσιάστηκε σφάλμα δικτύου κατά την προσπάθεια δημιουργίας του καταλόγου: [2] + Παρουσιάστηκε σφάλμα δικτύου κατά την προσπάθεια ανοίγματος της αρχειοθήκης του αρχείου προέλευσης: [2] + Η καθορισμένη διαδρομή είναι υπερβολικά μεγάλη: [2] + Το πρόγραμμα εγκατάστασης δεν έχει επαρκή δικαιώματα για την τροποποίηση αυτού του αρχείου: [2]. + Ένα μέρος της διαδρομής φακέλου "[2]" δεν είναι έγκυρο. Είτε είναι κενό είτε υπερβαίνει το μέγιστο επιτρεπόμενο μήκος του συστήματος. + Η διαδρομή φακέλου "[2]" περιέχει λέξεις που δεν είναι έγκυρες σε διαδρομές φακέλων. + Η διαδρομή φακέλου "[2]" περιέχει ένα μη έγκυρο χαρακτήρα. + Το "[2]" δεν είναι έγκυρο σύντομο όνομα αρχείου. + Παρουσιάστηκε σφάλμα κατά τη λήψη της ασφάλειας του αρχείου: [3] GetLastError: [2] + Η μονάδα δίσκου δεν είναι έγκυρη: [2] + Παρουσιάστηκε σφάλμα κατά την εφαρμογή της ενημέρωσης κώδικα στο αρχείο [2]. Πιθανόν να έχει ενημερωθεί με άλλα μέσα και να μην είναι δυνατή η τροποποίησή του από αυτή την ενημέρωση κώδικα. Για περισσότερες πληροφορίες, επικοινωνήστε με τον προμηθευτή της ενημέρωσης κώδικα. {{Σφάλμα συστήματος: [3]}} + Δεν είναι δυνατή η εγκατάσταση ενός απαιτούμενου αρχείου, επειδή η αρχειοθήκη [2] δεν είναι υπογεγραμμένη ψηφιακά. Αυτό μπορεί να σημαίνει ότι η αρχειοθήκη είναι κατεστραμμένη. + Δεν είναι δυνατή η εγκατάσταση ενός απαιτούμενου αρχείου, επειδή η αρχειοθήκη [2] έχει μη έγκυρη ψηφιακή υπογραφή. Αυτό μπορεί να σημαίνει ότι η αρχειοθήκη είναι κατεστραμμένη.{{ Επιστράφηκε σφάλμα [3] από τη λειτουργία WinVerifyTrust.}} + Αποτυχία σωστής αντιγραφής αρχείου [2]: Σφάλμα CRC. + Αποτυχία σωστής μετακίνησης αρχείου [2]: Σφάλμα CRC. + Αποτυχία σωστής ενημέρωσης αρχείου [2]: Σφάλμα CRC. + Δεν είναι δυνατή η εγκατάσταση του αρχείου "[2]", επειδή δεν είναι δυνατή η εύρεση του αρχείου στην αρχειοθήκη "[3]". Αυτό μπορεί να σημαίνει σφάλμα δικτύου, σφάλμα ανάγνωσης από το CD-ROM ή πρόβλημα του πακέτου. + Η αρχειοθήκη "[2]" που απαιτείται για αυτή την εγκατάσταση έχει καταστραφεί και δεν μπορεί να χρησιμοποιηθεί. Αυτό μπορεί να σημαίνει σφάλμα δικτύου, σφάλμα ανάγνωσης από το CD-ROM ή πρόβλημα του πακέτου. + Παρουσιάστηκε σφάλμα κατά την απόπειρα δημιουργίας ενός προσωρινού αρχείου απαραίτητου για την ολοκλήρωση αυτής της εγκατάστασης.{{ Φάκελος: [3]. Κωδικός σφάλματος συστήματος: [2]}} + Δεν ήταν δυνατή η δημιουργία του κλειδιού: [2]. {{ Σφάλμα συστήματος [3].}} Βεβαιωθείτε ότι έχετε επαρκή δικαιώματα πρόσβασης σε αυτό το κλειδί ή επικοινωνήστε με το προσωπικό υποστήριξης. + Δεν ήταν δυνατό το άνοιγμα του κλειδιού: [2]. {{Σφάλμα συστήματος [3].}} Βεβαιωθείτε ότι έχετε επαρκή δικαιώματα πρόσβασης σε αυτό το κλειδί ή επικοινωνήστε με το προσωπικό υποστήριξης. + Δεν ήταν δυνατή η διαγραφή της τιμής [2] από το κλειδί [3]. {{ Σφάλμα συστήματος [4].}} Βεβαιωθείτε ότι έχετε επαρκή δικαιώματα πρόσβασης σε αυτό το κλειδί ή επικοινωνήστε με το προσωπικό υποστήριξης. + Δεν ήταν δυνατή η διαγραφή του κλειδιού [2]. {{ Σφάλμα συστήματος [3].}} Βεβαιωθείτε ότι έχετε επαρκή δικαιώματα πρόσβασης σε αυτό το κλειδί ή επικοινωνήστε με το προσωπικό υποστήριξης. + Δεν ήταν δυνατή η ανάγνωση της τιμής [2] από το κλειδί [3]. {{ Σφάλμα συστήματος [4].}} Βεβαιωθείτε ότι έχετε επαρκή δικαιώματα πρόσβασης σε αυτό το κλειδί ή επικοινωνήστε με το προσωπικό υποστήριξης. + Δεν ήταν δυνατή η εγγραφή της τιμής [2] στο κλειδί [3]. {{ Σφάλμα συστήματος [4].}} Βεβαιωθείτε ότι έχετε επαρκή δικαιώματα πρόσβασης σε αυτό το κλειδί ή επικοινωνήστε με το προσωπικό υποστήριξης. + Δεν ήταν δυνατή η λήψη ονομάτων τιμών για το κλειδί [2]. {{ Σφάλμα συστήματος [3].}} Βεβαιωθείτε ότι έχετε επαρκή δικαιώματα πρόσβασης σε αυτό το κλειδί ή επικοινωνήστε με το προσωπικό υποστήριξης. + Δεν ήταν δυνατή η λήψη ονομάτων δευτερευόντων κλειδιών για το κλειδί [2]. {{ Σφάλμα συστήματος [3].}} Βεβαιωθείτε ότι έχετε επαρκή δικαιώματα πρόσβασης σε αυτό το κλειδί ή επικοινωνήστε με το προσωπικό υποστήριξης. + Δεν ήταν δυνατή η ανάγνωση πληροφοριών ασφαλείας για το κλειδί [2]. {{ Σφάλμα συστήματος [3].}} Βεβαιωθείτε ότι έχετε επαρκή δικαιώματα πρόσβασης σε αυτό το κλειδί ή επικοινωνήστε με το προσωπικό υποστήριξης. + Δεν ήταν δυνατή η αύξηση του διαθέσιμου χώρου στο μητρώο. Απαιτούνται [2] KB ελεύθερου χώρου στο μητρώο για την εγκατάσταση αυτής της εφαρμογής. + Μια άλλη εγκατάσταση είναι σε εξέλιξη. Ολοκληρώστε την εγκατάσταση που βρίσκεται σε εξέλιξη προτού συνεχίσετε με αυτή την εγκατάσταση. + Παρουσιάστηκε σφάλμα κατά την πρόσβαση σε ασφαλή δεδομένα. Βεβαιωθείτε ότι οι παράμετροι του Windows Installer έχουν ρυθμιστεί σωστά και προσπαθήστε να επαναλάβετε την εγκατάσταση. + Ο χρήστης "[2]" έχει προετοιμάσει ήδη μια εγκατάσταση για το προϊόν "[3]". Αυτός ο χρήστης θα πρέπει να εκτελέσει τη συγκεκριμένη εγκατάσταση ξανά, για να μπορέσει να χρησιμοποιήσει το προϊόν. Η τρέχουσα εγκατάσταση θα συνεχιστεί τώρα. + Ο χρήστης "[2]" έχει προετοιμάσει ήδη μια εγκατάσταση για το προϊόν "[3]". Αυτός ο χρήστης θα πρέπει να εκτελέσει τη συγκεκριμένη εγκατάσταση ξανά, για να μπορέσει να χρησιμοποιήσει το προϊόν. + Δεν επαρκεί ο χώρος στο δίσκο -- Τόμος: "[2]"; απαιτούμενος χώρος: [3] KB, διαθέσιμος χώρος: [4] KB. Αποδεσμεύστε χώρο στο δίσκο και δοκιμάστε ξανά. + Είστε βέβαιοι ότι θέλετε να κάνετε ακύρωση; + Το αρχείο [2][3] χρησιμοποιείται { από την ακόλουθη διεργασία: Όνομα: [4], Αναγνωριστικό: [5], Τίτλος παραθύρου: "[6]"}. Κλείστε αυτή την εφαρμογή και δοκιμάστε ξανά. + Το προϊόν "[2]" είναι ήδη εγκατεστημένο, γεγονός που εμποδίζει την εγκατάσταση αυτού του προϊόντος. Τα δύο προϊόντα δεν είναι συμβατά. + Δεν υπάρχει αρκετός χώρος δίσκου στον τόμο "[2]" για τη συνέχιση της εγκατάστασης με ενεργοποιημένη την ανάκτηση. Απαιτούνται [3] KB, αλλά είναι διαθέσιμα μόνο [4] KB. Κάντε κλικ στο κουμπί "Παράβλεψη", για να συνεχίσετε την εγκατάσταση χωρίς την αποθήκευση πληροφοριών ανάκτησης. Κάντε κλικ στο κουμπί "Επανάληψη" για νέο έλεγχο του διαθέσιμου χώρου ή στο κουμπί "Άκυρο", για να τερματίσετε την εγκατάσταση. + Δεν ήταν δυνατή η πρόσβαση στη θέση δικτύου [2]. + Πρέπει να κλείσετε τις παρακάτω εφαρμογές, για να συνεχίσετε την εγκατάσταση: + Δεν ήταν δυνατή η εύρεση συμβατών προϊόντων που έχουν ήδη εγκατασταθεί στον υπολογιστή για την εγκατάσταση αυτού του προϊόντος. + Παρουσιάστηκε σφάλμα κατά την εφαρμογή των ρυθμίσεων ασφαλείας. Ο χρήστης "[2]" δεν είναι έγκυρος χρήστης ή ομάδα χρηστών. Αυτό θα μπορούσε να σημαίνει πρόβλημα με το πακέτο ή πρόβλημα με τη σύνδεση σε ελεγκτή τομέα στο δίκτυο. Ελέγξτε τη σύνδεση δικτύου σας και κάντε κλικ στο κουμπί "Επανάληψη" ή κάντε στο κουμπί "Άκυρο", για να τερματίσετε την εγκατάσταση. {{Δεν ήταν δυνατός ο εντοπισμός του SID χρήστη, σφάλμα συστήματος [3]}} + Το κλειδί [2] δεν είναι έγκυρο. Βεβαιωθείτε ότι εισαγάγατε το σωστό κλειδί. + Το πρόγραμμα εγκατάστασης πρέπει να επανεκκινήσει το σύστημά σας, για να συνεχιστεί η ρύθμιση των παραμέτρων του [2]. Κάντε κλικ στο κουμπί "Ναι", για να γίνει επανεκκίνηση τώρα ή στο κουμπί "Όχι", εάν θέλετε να κάνετε επανεκκίνηση αργότερα με μη αυτόματο τρόπο. + Πρέπει να κάνετε επανεκκίνηση του συστήματός σας για να ενεργοποιηθούν οι αλλαγές που έγιναν στις ρυθμίσεις των παραμέτρων του [2]. Κάντε κλικ στο κουμπί "Ναι" για να γίνει επανεκκίνηση τώρα ή στο κουμπί "Όχι" εάν θέλετε να κάνετε επανεκκίνηση αργότερα με μη αυτόματο τρόπο. + Αυτήν τη στιγμή έχει ανασταλεί η εγκατάσταση του [2]. Πρέπει να αναιρέσετε τις αλλαγές που έγιναν από αυτή την εγκατάσταση για να συνεχίσετε. Θέλετε να αναιρέσετε αυτές τις αλλαγές; + Μια προηγούμενη εγκατάσταση για αυτό το προϊόν βρίσκεται σε εξέλιξη. Πρέπει να αναιρέσετε τις αλλαγές που έγιναν από αυτή την εγκατάσταση για να συνεχίσετε. Θέλετε να αναιρέσετε αυτές τις αλλαγές; + Δεν ήταν δυνατή η εύρεση ενός πακέτου εγκατάστασης για το προϊόν [2]. Επιχειρήστε εκ νέου εγκατάσταση χρησιμοποιώντας ένα έγκυρο αντίγραφο του πακέτου εγκατάστασης '[3]'. + Η εγκατάσταση ολοκληρώθηκε με επιτυχία. + Η εγκατάσταση απέτυχε. + Προϊόν: [2] -- [3] + Μπορείτε να επαναφέρετε τον υπολογιστή σας στην προηγούμενή του κατάσταση ή να συνεχίσετε την εγκατάσταση αργότερα. Θέλετε να γίνει επαναφορά; + Παρουσιάστηκε σφάλμα κατά την εγγραφή των πληροφοριών εγκατάστασης στο δίσκο. Βεβαιωθείτε ότι υπάρχει αρκετός διαθέσιμος χώρος στο δίσκο και κάντε κλικ στο κουμπί "Επανάληψη" ή στο κουμπί "Άκυρο", για να τερματίσετε την εγκατάσταση. + Δεν ήταν δυνατή η εύρεση ενός ή περισσότερων αρχείων που απαιτούνται για την επαναφορά του υπολογιστή σας στην προηγούμενή του κατάσταση. Δεν θα είναι δυνατή η επαναφορά. + Το πρόγραμμα [2] δεν είναι δυνατό να εγκαταστήσει ένα από τα απαιτούμενα προϊόντα του. Επικοινωνήστε με την ομάδα τεχνικής υποστήριξης. {{Σφάλμα συστήματος: [3].}} + Δεν είναι δυνατή η κατάργηση της παλαιότερης έκδοσης του προγράμματος [2]. Επικοινωνήστε με την ομάδα τεχνικής υποστήριξης. {{Σφάλμα συστήματος [3].}} + Έγινε εγκατάσταση του [2] + Έγινε ρύθμιση παραμέτρων του [2] + Έγινε κατάργηση του [2] + Το αρχείο [2] απορρίφθηκε από την πολιτική ψηφιακής υπογραφής. + Δεν ήταν δυνατή η πρόσβαση στην υπηρεσία του Windows Installer. Αυτό μπορεί να συμβεί, εάν εκτελείτε τα Windows σε κατάσταση ασφαλούς λειτουργίας ή εάν το Windows Installer δεν έχει εγκατασταθεί σωστά. Επικοινωνήστε με το προσωπικό υποστήριξης για βοήθεια. + Υπάρχει ένα πρόβλημα με αυτό το πακέτο του Windows Installer. Μια δέσμη ενεργειών που απαιτείται για να ολοκληρωθεί αυτή η εγκατάσταση δεν μπόρεσε να εκτελεστεί. Επικοινωνήστε με το προσωπικό υποστήριξης ή τον προμηθευτή του πακέτου. {{Προσαρμοσμένη ενέργεια [2] σφάλμα δέσμης ενεργειών [3], [4]: [5] Γραμμή [6], Στήλη [7], [8] }} + Υπάρχει ένα πρόβλημα με αυτό το πακέτο του Windows Installer. Ένα πρόγραμμα που απαιτείται για να ολοκληρωθεί αυτή η εγκατάσταση δεν μπόρεσε να εκτελεστεί. Επικοινωνήστε με το προσωπικό υποστήριξης ή τον προμηθευτή του πακέτου. {{Ενέργεια: [2], θέση: [3], εντολή: [4] }} + Υπάρχει ένα πρόβλημα με αυτό το πακέτο του Windows Installer. Ένα πρόγραμμα που εκτελείται ως μέρος αυτού του προγράμματος εγκατάστασης δεν ολοκληρώθηκε όπως αναμενόταν. Επικοινωνήστε με το προσωπικό υποστήριξης ή τον προμηθευτή του πακέτου. {{Ενέργεια [2], θέση: [3], εντολή: [4] }} + Υπάρχει ένα πρόβλημα με αυτό το πακέτο του Windows Installer. Ένα αρχείο DLL που απαιτείται για να ολοκληρωθεί αυτή η εγκατάσταση δεν μπόρεσε να εκτελεστεί. Επικοινωνήστε με το προσωπικό υποστήριξης ή τον προμηθευτή του πακέτου. {{Ενέργεια [2], καταχώρηση: [3], βιβλιοθήκη: [4] }} + Η κατάργηση ολοκληρώθηκε με επιτυχία. + Η κατάργηση απέτυχε. + Η κοινοποίηση ολοκληρώθηκε με επιτυχία. + Η κοινοποίηση απέτυχε. + Η ρύθμιση παραμέτρων ολοκληρώθηκε με επιτυχία. + Η ρύθμιση παραμέτρων απέτυχε. + Πρέπει να είστε διαχειριστής, για να καταργήσετε αυτή την εφαρμογή. Για την κατάργησή της θα πρέπει να συνδεθείτε στον υπολογιστή ως διαχειριστής ή να ζητήσετε βοήθεια από την ομάδα τεχνικής υποστήριξης. + Το πακέτο εγκατάστασης του αρχείου προέλευσης για το προϊόν [2] είναι εκτός συγχρονισμού με το πακέτο του προγράμματος-πελάτη. Επιχειρήστε εκ νέου εγκατάσταση χρησιμοποιώντας ένα έγκυρο αντίγραφο του πακέτου εγκατάστασης '[3]'. + Για να ολοκληρωθεί η εγκατάσταση του [2], πρέπει να κάνετε επανεκκίνηση του υπολογιστή. Αυτήν τη στιγμή είναι συνδεδεμένοι άλλοι χρήστες σε αυτόν τον υπολογιστή και με την επανεκκίνηση μπορεί να χάσουν τις εργασίες τους. Θέλετε να κάνετε επανεκκίνηση τώρα; + Η διαδρομή [2] δεν είναι έγκυρη. Καθορίστε μια έγκυρη διαδρομή. + Η μνήμη δεν επαρκεί. Τερματίστε τις άλλες εφαρμογές προτού προσπαθήσετε ξανά. + Δεν υπάρχει δίσκος στη μονάδα δίσκου [2]. Τοποθετήστε ένα δίσκο και κάντε κλικ στο κουμπί "Επανάληψη" ή στο κουμπί "Άκυρο" για να επιστρέψετε στον τόμο που είχε επιλεγεί προηγουμένως. + Δεν υπάρχει δίσκος στη μονάδα δίσκου [2]. Τοποθετήστε ένα δίσκο και κάντε κλικ στο κουμπί "Επανάληψη" ή στο κουμπί "Άκυρο" για να επιστρέψετε στο παράθυρο διαλόγου "Αναζήτηση" και να επιλέξετε έναν άλλον τόμο. + Ο φάκελος [2] δεν υπάρχει. Πληκτρολογήστε μια διαδρομή προς ένα φάκελο που υπάρχει. + Δεν έχετε επαρκή δικαιώματα για την ανάγνωση αυτού του φακέλου. + Δεν ήταν δυνατός ο προσδιορισμός έγκυρου φακέλου προορισμού για την εγκατάσταση. + Παρουσιάστηκε σφάλμα κατά την προσπάθεια ανάγνωσης από τη βάση δεδομένων εγκατάστασης προέλευσης: [2]. + Προγραμματισμός λειτουργίας επανεκκίνησης: Μετονομασία αρχείου [2] σε [3]. Πρέπει να γίνει επανεκκίνηση για να ολοκληρωθεί η λειτουργία. + Προγραμματισμός λειτουργίας επανεκκίνησης: Διαγραφή αρχείου [2]. Πρέπει να γίνει επανεκκίνηση για να ολοκληρωθεί η λειτουργία. + Η καταχώρηση της λειτουργικής μονάδας [2] απέτυχε. HRESULT [3]. Επικοινωνήστε με το προσωπικό υποστήριξης. + Η κατάργηση της καταχώρησης της λειτουργικής μονάδας [2] απέτυχε. HRESULT [3]. Επικοινωνήστε με το προσωπικό υποστήριξης. + Η εγγραφή του πακέτου [2] στη μνήμη cache απέτυχε. Σφάλμα: [3]. Επικοινωνήστε με το προσωπικό υποστήριξης. + Δεν ήταν δυνατή η καταχώρηση της γραμματοσειράς [2]. Βεβαιωθείτε ότι έχετε επαρκή δικαιώματα για την εγκατάσταση γραμματοσειρών και ότι το σύστημα υποστηρίζει αυτήν τη γραμματοσειρά. + Δεν ήταν δυνατή η κατάργηση της καταχώρησης της γραμματοσειράς [2]. Βεβαιωθείτε ότι έχετε επαρκή δικαιώματα για την κατάργηση γραμματοσειρών. + Δεν ήταν δυνατή η δημιουργία της συντόμευσης [2]. Βεβαιωθείτε ότι ο φάκελος προορισμού υπάρχει και ότι έχετε πρόσβαση σε αυτόν. + Δεν ήταν δυνατή η κατάργηση της συντόμευσης [2]. Βεβαιωθείτε ότι το αρχείο συντόμευσης υπάρχει και ότι έχετε πρόσβαση σε αυτό. + Δεν ήταν δυνατή η καταχώρηση βιβλιοθήκης τύπων για το αρχείο [2]. Επικοινωνήστε με το προσωπικό υποστήριξης. + Δεν ήταν δυνατή η κατάργηση της καταχώρησης βιβλιοθήκης τύπων για το αρχείο [2]. Επικοινωνήστε με το προσωπικό υποστήριξης. + Δεν ήταν δυνατή η ενημέρωση του αρχείου ini [2][3]. Βεβαιωθείτε ότι το αρχείο υπάρχει και ότι έχετε πρόσβαση σε αυτό. + Δεν ήταν δυνατός ο προγραμματισμός του αρχείου [2] ώστε να αντικαταστήσει το αρχείο [3] κατά την επανεκκίνηση. Βεβαιωθείτε ότι έχετε δικαιώματα εγγραφής στο αρχείο [3]. + Παρουσιάστηκε σφάλμα κατά την κατάργηση της διαχείρισης προγραμμάτων οδήγησης ODBC. Σφάλμα ODBC [2]: [3]. Επικοινωνήστε με το προσωπικό υποστήριξης. + Παρουσιάστηκε σφάλμα κατά την εγκατάσταση της διαχείρισης προγραμμάτων οδήγησης ODBC. Σφάλμα ODBC [2]: [3]. Επικοινωνήστε με το προσωπικό υποστήριξης. + Παρουσιάστηκε σφάλμα κατά την κατάργηση του προγράμματος οδήγησης ODBC: [4]. Σφάλμα ODBC [2]: [3]. Βεβαιωθείτε ότι έχετε επαρκή δικαιώματα για την κατάργηση προγραμμάτων οδήγησης ODBC. + Παρουσιάστηκε σφάλμα κατά την εγκατάσταση του προγράμματος οδήγησης ODBC: [4]. Σφάλμα ODBC [2]: [3]. Βεβαιωθείτε ότι το αρχείο [4] υπάρχει και ότι έχετε πρόσβαση σε αυτό. + Παρουσιάστηκε σφάλμα κατά τη ρύθμιση παραμέτρων της προέλευσης δεδομένων ODBC: [4]. Σφάλμα ODBC [2]: [3]. Βεβαιωθείτε ότι το αρχείο [4] υπάρχει και ότι έχετε πρόσβαση σε αυτό. + Η εκκίνηση της υπηρεσίας "[2]" ([3]) απέτυχε. Βεβαιωθείτε ότι έχετε επαρκή δικαιώματα για την εκκίνηση υπηρεσιών συστήματος. + Δεν ήταν δυνατή η διακοπή της υπηρεσίας "[2]" ([3]). Βεβαιωθείτε ότι έχετε επαρκή δικαιώματα για τη διακοπή υπηρεσιών συστήματος. + Δεν ήταν δυνατή η διαγραφή της υπηρεσίας "[2]" ([3]). Βεβαιωθείτε ότι έχετε επαρκή δικαιώματα για την κατάργηση υπηρεσιών συστήματος. + Δεν ήταν δυνατή η εγκατάσταση της υπηρεσίας "[2]" ([3]). Βεβαιωθείτε ότι έχετε επαρκή δικαιώματα για την εγκατάσταση υπηρεσιών συστήματος. + Δεν ήταν δυνατή η ενημέρωση της μεταβλητής περιβάλλοντος "[2]". Βεβαιωθείτε ότι έχετε επαρκή δικαιώματα για την τροποποίηση μεταβλητών περιβάλλοντος. + Δεν έχετε επαρκή δικαιώματα για την ολοκλήρωση αυτής της εγκατάστασης για όλους τους χρήστες του υπολογιστή. Συνδεθείτε ως διαχειριστής και προσπαθήστε ξανά να κάνετε εγκατάσταση. + Δεν ήταν δυνατή η ρύθμιση ασφαλείας αρχείου για το αρχείο "[3]". Σφάλμα: [2]. Βεβαιωθείτε ότι έχετε επαρκή δικαιώματα για την τροποποίηση των δικαιωμάτων ασφαλείας για αυτό το αρχείο. + Οι υπηρεσίες στοιχείων (COM+ 1.0) δεν έχουν εγκατασταθεί σε αυτόν τον υπολογιστή. Αυτή η εγκατάσταση απαιτεί τις υπηρεσίες στοιχείων για να ολοκληρωθεί με επιτυχία. Οι υπηρεσίες στοιχείων είναι διαθέσιμες στα Windows 2000. + Παρουσιάστηκε σφάλμα κατά την καταχώρηση της εφαρμογής COM+. Για περισσότερες πληροφορίες, επικοινωνήστε με το προσωπικό υποστήριξης. + Παρουσιάστηκε σφάλμα κατά την κατάργηση της καταχώρησης της εφαρμογής COM+. Για περισσότερες πληροφορίες, επικοινωνήστε με το προσωπικό υποστήριξης. + Δεν ήταν δυνατή η αλλαγή της περιγραφής για την υπηρεσία "[2]" ([3]). + Δεν είναι δυνατή η ενημέρωση του αρχείου συστήματος [2] από την υπηρεσία Windows Installer, επειδή το αρχείο προστατεύεται από τα Windows. Ίσως χρειαστεί να ενημερώσετε το λειτουργικό σας σύστημα, ώστε να λειτουργεί σωστά αυτό το πρόγραμμα. {{Έκδοση πακέτου: [3], Έκδοση προστατευμένου λειτουργικού συστήματος: [4]}} + Δεν είναι δυνατή η ενημέρωση του προστατευμένου αρχείου των Windows [2] από την υπηρεσία του Windows Installer. {{Έκδοση πακέτου: [3], Έκδοση προστατευμένου λειτουργικού συστήματος: [4], Σφάλμα SFP: [5]}} + Η υπηρεσία Windows Installer δεν μπορεί να ενημερώσει ένα ή περισσότερα προστατευμένα αρχεία των Windows. {{Σφάλμα SFP: [2]. Λίστα προστατευμένων αρχείων:\r\n[3]}} + Οι εγκαταστάσεις χρηστών είναι απενεργοποιημένες μέσω πολιτικής στον υπολογιστή. + Παρουσιάστηκε σφάλμα κατά την εγκατάσταση της συγκρότησης "[6]". Ανατρέξτε στη Βοήθεια και Υποστήριξη για περισσότερες πληροφορίες. HRESULT: [3]. {{διασύνδεση συγκρότησης: [4], λειτουργία: [5], στοιχείο: [2]}} + Παρουσιάστηκε σφάλμα κατά την εγκατάσταση της συγκρότησης "[6]". Η συγκρότηση δεν έχει ισχυρό όνομα ή δεν διαθέτει υπογραφή με το ελάχιστο μήκος κλειδιού. HRESULT: [3]. {{διασύνδεση συγκρότησης: [4], λειτουργία: [5], στοιχείο: [2]}} + Παρουσιάστηκε σφάλμα κατά την εγκατάσταση της συγκρότησης "[6]". Η υπογραφή ή ο κατάλογος δεν ήταν δυνατό να επαληθευτούν ή δεν είναι έγκυρα. HRESULT: [3]. {{διασύνδεση συγκρότησης: [4], λειτουργία: [5], στοιχείο: [2]}} + Παρουσιάστηκε σφάλμα κατά την εγκατάσταση της συγκρότησης "[6]". Μία ή περισσότερες λειτουργικές μονάδες της συγκρότησης δεν ήταν δυνατό να βρεθούν. HRESULT: [3]. {{διασύνδεση συγκρότησης: [4], λειτουργία: [5], στοιχείο: [2]}} + + + Η εφαρμογή "[2]" πρέπει να κλείσει για να συνεχιστεί η εγκατάσταση. + + Επικύρωση εγκατάστασης + Αντιγραφή νέων αρχείων + Αρχείο: [1], Κατάλογος: [9], Μέγεθος: [6] + Αντιγραφή αρχείων εγκατάστασης δικτύου + Αρχείο: [1], Κατάλογος: [9], Μέγεθος: [6] + Υπολογισμός απαιτούμενου χώρου + Υπολογισμός απαιτούμενου χώρου + Υπολογισμός απαιτούμενου χώρου + Δημιουργία συντομεύσεων + Συντόμευση: [1] + Δημοσίευση προσδιορισμένων στοιχείων + Αναγνωριστικό στοιχείου: [1], Προσδιοριστικό: [2] + Δημοσίευση δυνατοτήτων προϊόντος + Δυνατότητα: [1] + Δημοσίευση πληροφοριών προϊόντος + Καταχώρηση διακομιστών κλάσης + Αναγνωριστικό κλάσης: [1] + Καταχώρηση διακομιστών επέκτασης + Επέκταση: [1] + Καταχώρηση πληροφοριών MIME + Τύπος περιεχομένου MIME: [1], Επέκταση: [2] + Καταχώρηση αναγνωριστικών προγράμματος + Αναγνωριστικό προγράμματος: [1] + Εκχώρηση χώρου στο μητρώο + Ελεύθερος χώρος: [1] + Αναζήτηση εγκατεστημένων εφαρμογών + Ιδιότητα: [1], Υπογραφή: [2] + Σύνδεση εκτελέσιμων αρχείων + Αρχείο: [1] + Αναζήτηση για κατάλληλα προϊόντα + Δημιουργία φακέλων + Φάκελος: [1] + Διαγραφή υπηρεσιών + Υπηρεσία: [1] + Δημιουργία διπλότυπων αρχείων + Αρχείο: [1], Κατάλογος: [9], Μέγεθος: [6] + Αναζήτηση σχετικών εφαρμογών + Βρέθηκε η εφαρμογή: [1] + Εγκατάσταση στοιχείων ODBC + Εγκατάσταση νέων υπηρεσιών + Υπηρεσία: [2] + Αξιολόγηση συνθηκών εκκίνησης + Μετεγκατάσταση καταστάσεων δυνατοτήτων από σχετικές εφαρμογές + Εφαρμογή: [1] + Μετακίνηση αρχείων + Αρχείο: [1], Κατάλογος: [9], Μέγεθος: [6] + Ενημέρωση κώδικα αρχείων + Αρχείο: [1], Κατάλογος: [2], Μέγεθος: [3] + Ενημέρωση καταχώρησης στοιχείου + Καταχώρηση εφαρμογών και στοιχείων COM+ + Αναγνωριστικό εφαρμογής: [1]{{, Τύπος εφαρμογής: [2], Χρήστες: [3], RSN: [4]}} + Καταχώρηση γραμματοσειρών + Γραμματοσειρά: [1] + Δήλωση προϊόντος + [1] + Καταχώρηση βιβλιοθηκών τύπων + Αναγνωριστικό βιβλιοθήκης: [1] + Καταχώρηση χρήστη + [1] + Κατάργηση διπλότυπων αρχείων + Αρχείο: [1], Κατάλογος: [9] + Ενημέρωση συμβολοσειρών περιβάλλοντος + Όνομα: [1], Τιμή: [2], Ενέργεια [3] + Κατάργηση εφαρμογών + Εφαρμογή: [1], Γραμμή εντολών: [2] + Κατάργηση αρχείων + Αρχείο: [1], Κατάλογος: [9] + Κατάργηση φακέλων + Φάκελος: [1] + Κατάργηση καταχωρήσεων αρχείων INI + Αρχείο: [1], Ενότητα: [2], Κλειδί: [3], Τιμή: [4] + Κατάργηση στοιχείων ODBC + Κατάργηση τιμών μητρώου συστήματος + Κλειδί: [1], Όνομα: [2] + Κατάργηση συντομεύσεων + Συντόμευση: [1] + Αναζήτηση για κατάλληλα προϊόντα + Καταχώρηση λειτουργικών μονάδων + Αρχείο: [1], Φάκελος: [2] + Κατάργηση καταχώρησης λειτουργικών μονάδων + Αρχείο: [1], Φάκελος: [2] + Προετοιμασία καταλόγων ODBC + Εκκίνηση υπηρεσιών + Υπηρεσία: [1] + Διακοπή υπηρεσιών + Υπηρεσία: [1] + Κατάργηση δημοσίευσης προσδιορισμένων στοιχείων + Αναγνωριστικό στοιχείου: [1], Προσδιοριστικό: [2] + Κατάργηση δημοσίευσης δυνατοτήτων προϊόντος + Δυνατότητα: [1] + Κατάργηση καταχώρησης διακομιστών κλάσης + Αναγνωριστικό κλάσης: [1] + Κατάργηση καταχώρησης εφαρμογών και στοιχείων COM+ + Αναγνωριστικό εφαρμογής: [1]{{, Τύπος εφαρμογής: [2]}} + Κατάργηση καταχώρησης διακομιστών επέκτασης + Επέκταση: [1] + Κατάργηση καταχώρησης γραμματοσειρών + Γραμματοσειρά: [1] + Κατάργηση καταχώρησης πληροφοριών MIME + Τύπος περιεχομένου MIME: [1], Επέκταση: [2] + Κατάργηση καταχώρησης αναγνωριστικών προγράμματος + Αναγνωριστικό προγράμματος: [1] + Κατάργηση καταχώρησης βιβλιοθηκών τύπων + Αναγνωριστικό βιβλιοθήκης: [1] + Ενημέρωση συμβολοσειρών περιβάλλοντος + Όνομα: [1], Τιμή: [2], Ενέργεια [3] + Εγγραφή τιμών αρχείων INI + Αρχείο: [1], Ενότητα: [2], Κλειδί: [3], Τιμή: [4] + Εγγραφή τιμών μητρώου συστήματος + Κλειδί: [1], Όνομα: [2], Τιμή: [3] + Κοινοποίηση εφαρμογής + Δημιουργία ενεργειών δέσμης για την ενέργεια: + [1] + Εγκατάσταση καταλόγου συστήματος + Αρχείο: [1], Εξαρτήσεις: [2] + Δημοσίευση πληροφοριών συγκρότησης + Περιβάλλον εφαρμογής:[1], Όνομα συγκρότησης:[2] + Κατάργηση δημοσίευσης πληροφοριών συγκρότησης + Περιβάλλον εφαρμογής:[1], Όνομα συγκρότησης:[2] + Ενέργεια επαναφοράς: + [1] + Κατάργηση αρχείων αντιγράφων ασφαλείας + Αρχείο: [1] + Κατάργηση αρχείων που μετακινήθηκαν + Αρχείο: [1], Κατάλογος: [9] + Κατάργηση δημοσίευσης πληροφοριών προϊόντος + + bytes + GB + KB + MB + Δεν θα είναι διαθέσιμη η πλήρης δυνατότητα + Η δυνατότητα θα εγκατασταθεί όταν ζητηθεί + Η πλήρης δυνατότητα θα εγκατασταθεί για εκτέλεση από το CD + Η πλήρης δυνατότητα θα εγκατασταθεί στον τοπικό σκληρό δίσκο + Η πλήρης δυνατότητα θα εγκατασταθεί για εκτέλεση από το δίκτυο + Θα εγκατασταθεί για εκτέλεση από το CD + Θα εγκατασταθεί στον τοπικό σκληρό δίσκο + Θα εγκατασταθεί για εκτέλεση από το δίκτυο + Συλλογή απαιτούμενων πληροφοριών... + Αυτή η δυνατότητα δεν θα εγκατασταθεί + Αυτή η δυνατότητα θα ρυθμιστεί έτσι ώστε να εγκατασταθεί όταν θα είναι απαραίτητη + Αυτή η δυνατότητα θα εγκατασταθεί ώστε να εκτελείται από CD + Αυτή η δυνατότητα θα εγκατασταθεί στον τοπικό σκληρό δίσκο + Αυτή η δυνατότητα θα εγκατασταθεί ώστε να εκτελείται από το δίκτυο + Αυτή η δυνατότητα δεν θα είναι πλέον διαθέσιμη + Θα εγκατασταθεί όταν ζητηθεί + Αυτή η δυνατότητα θα είναι διαθέσιμη για εκτέλεση από το CD + Αυτή η δυνατότητα θα εγκατασταθεί στον τοπικό σκληρό δίσκο + Αυτή η δυνατότητα θα είναι διαθέσιμη για εκτέλεση από το δίκτυο + Η εγκατάσταση αυτής της δυνατότητας θα καταργηθεί πλήρως, δεν θα μπορείτε να την εκτελέσετε από CD + Αυτή η δυνατότητα θα αλλάξει από την κατάσταση εκτέλεσης από CD, για να εγκατασταθεί όταν ζητηθεί + Αυτή η δυνατότητα θα εξακολουθήσει να εκτελείται από CD + Αυτή η δυνατότητα θα αλλάξει από την κατάσταση εκτέλεσης από CD, για να εγκατασταθεί στον τοπικό σκληρό δίσκο + Αυτή η δυνατότητα αποδεσμεύει [1] από το σκληρό δίσκο. + Αυτή η δυνατότητα απαιτεί [1] στο σκληρό δίσκο. + Υπολογισμός απαιτούμενου χώρου για αυτήν τη δυνατότητα... + Αυτή η δυνατότητα θα καταργηθεί εντελώς + Αυτή η δυνατότητα θα καταργηθεί από τον τοπικό σκληρό σας δίσκο, αλλά θα ρυθμιστεί για να εγκατασταθεί όταν ζητηθεί + Αυτή η δυνατότητα θα καταργηθεί από τον τοπικό σκληρό δίσκο, αλλά θα είναι ακόμη διαθέσιμη για εκτέλεση από CD + Αυτή η δυνατότητα θα παραμείνει στον τοπικό σκληρό σας δίσκο + Αυτή η δυνατότητα θα καταργηθεί από τον τοπικό σκληρό δίσκο, αλλά θα είναι ακόμη διαθέσιμη για εκτέλεση από το δίκτυο + Η εγκατάσταση αυτής της δυνατότητας θα καταργηθεί πλήρως, δεν θα μπορείτε να την εκτελέσετε από το δίκτυο + Αυτή η δυνατότητα θα αλλάξει από την κατάσταση εκτέλεσης από το δίκτυο, για να εγκατασταθεί όταν ζητηθεί + Αυτή η δυνατότητα θα αλλάξει από την κατάσταση εκτέλεσης από το δίκτυο, για να εγκατασταθεί στον τοπικό σκληρό δίσκο + Αυτή η δυνατότητα θα εξακολουθήσει να εκτελείται από το δίκτυο + Αυτή η δυνατότητα αποδεσμεύει [1] από το σκληρό δίσκο. Οι [2] από τις [3] δευτερεύουσες δυνατότητές της είναι επιλεγμένες. Οι δευτερεύουσες δυνατότητες αποδεσμεύουν έως [4] από το σκληρό δίσκο. + Αυτή η δυνατότητα αποδεσμεύει [1] από το σκληρό δίσκο. Οι [2] από τις [3] δευτερεύουσες δυνατότητές της είναι επιλεγμένες. Οι δευτερεύουσες δυνατότητες απαιτούν [4] στο σκληρό δίσκο. + Αυτή η δυνατότητα απαιτεί [1] στο σκληρό δίσκο. Οι [2] από τις [3] δευτερεύουσες δυνατότητές της είναι επιλεγμένες. Οι δευτερεύουσες δυνατότητες αποδεσμεύουν έως [4] από το σκληρό δίσκο. + Αυτή η δυνατότητα απαιτεί [1] στο σκληρό δίσκο. Οι [2] από τις [3] δευτερεύουσες δυνατότητές της είναι επιλεγμένες. Οι δευτερεύουσες δυνατότητες απαιτούν [4] στο σκληρό δίσκο. + Χρόνος που απομένει: {[1] λεπτά }{[2] δευτερόλεπτα} + Διαθέσιμο + Διαφορά + Απαιτούμενο + Μέγεθος δίσκου + Τόμος + 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 @@ + + + + + + + 1033 + English + + &No + &Yes + &Cancel + &Next > + < &Back + Br&owse + O&K + &Check + &Install + &Remove + &Finish + &Repair + &Return + Re&try + I&gnore + E&xit + + Custom + Setup + + + + License + User manual + + + + [ProductName] application. + [ProductName] USB device drivers for USB device support. + [ProductName] network device drivers for networking support. + [ProductName] driver for Bridged Networking. + [ProductName] virtual network adapter driver for Host-Only Networking. + [ProductName] driver for NDIS6 Bridged Networking. + [ProductName] virtual network adapter driver for NDIS6 Host-Only Networking. + + Python support for VirtualBox. + + + + You need to have administrator rights to (un)install [ProductName]! This setup will abort now. + [ProductName] needs the Microsoft Visual C++ 2019 Redistributable Package being installed first. Please install and restart the installation of [ProductName]. + This application only runs on Windows XP or above. + This application only runs on 32-bit Windows systems. Please install the 64-bit version of [ProductName]! + This application only runs on 64-bit Windows systems. Please install the 32-bit version of [ProductName]! + An old Sun VirtualBox installation has been found on this machine. Please uninstall this package first and then install [ProductName]! + An old innotek VirtualBox installation has been found on this machine. Please uninstall this package first and then install [ProductName]! + + + + Are you sure you want to cancel [ProductName] installation? + + + + Welcome to the [ProductName] Setup Wizard + The Setup Wizard will install [ProductName] on your computer. Click Next to continue or Cancel to exit the Setup Wizard. + + + + End-User License Agreement + Please read the following license agreement carefully. + I &accept the terms in the License Agreement + I &do not accept the terms in the License Agreement + + + + Serial Number + Please enter your serial number in the fields below. You'll find it on the sticker inside the VirtualBox CD case. + When done entering the serial number, press the "Check" button below. + + + + Entered serial number was invalid! + Please go back to enter your serial number again. + Keep in mind that the serial number must be spelled exactly like printed on the sticker. + + + + Warning: + Incompatible Saved States! + When upgrading [ProductName], all saved states from your already existing machines won't work anymore! After the installation, you have to discard them manually. + Proceed with installation now? + + + + Host Interfaces + If you used some host interfaces for your machines in the previous version, you have to recreate them manually after this installation. + + + + The following application should be closed before continuing the install: "[2]" + + + + Location: + Disk &Usage + Select the way you want features to be installed. + Click on the icons in the tree below to change the way features will be installed. + Custom Setup + CustomizeDlgItemDescription-CustomizeDlgItemDescription + CustomizeDlgItemSize-CustomizeDlgItemSize + CustomizeDlgLocation-CustomizeDlgLocation + + + + Customize + Please choose from the options below: + Create start menu entries + Create a shortcut on the desktop + Create a shortcut in the Quick Launch Bar + Register file associations + + + + Please choose which type of network drivers you will use: + NDIS5 network drivers. +This is default for older versions of Windows (pre-Vista). + NDIS6 network drivers. +This is default for newer versions of Windows (Vista and newer). + Use NDIS5 network drivers. + Use NDIS6 network drivers. + + + + Warning: + Network Interfaces + Installing the [ProductName] Networking feature will reset your network connection and temporarily disconnect you from the network. + Proceed with installation now? + + + + Missing Dependencies + Python Core / win32api + Installing the [ProductName] Python bindings requires the Python Core package and the win32api bindings to be installed first. + 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. + Proceed with installation now? + + + + The disk space required for the installation of the selected features. + 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). + Disk Space Requirements + {120}{70}{70}{70}{70} + + + + Browse to the destination folder + Change current destination folder + Up one level + Create a new folder + &Look in: + &Folder name: + + + + The Setup Wizard is ready to begin the [InstallMode] installation. + 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. + Ready to Install + + + + Click the Finish button to exit the Setup Wizard. + [ProductName] installation is complete. + Start [ProductName] after installation + + + + [ProductName] Setup Wizard ended prematurely + [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. + Click the Finish button to exit the Setup Wizard. + + + + The following applications are using files that need to be updated by this setup. Close these applications and then click &Retry to continue the installation or Exit to exit it. + Some files that need to be updated are currently in use. + Files in Use + + + + [ProductName] Setup Wizard was interrupted + [ProductName] setup was interrupted. Your system has not been modified. To install this program at a later time, please run the installation again. + Click the Finish button to exit the Setup Wizard. + + + + Please wait while the Setup Wizard installs [ProductName]. This may take several minutes. + + + + Resuming the [ProductName] Setup Wizard + The Setup Wizard will complete the installation of [ProductName] on your computer. Click Install to continue or Cancel to exit the Setup Wizard. + + + + Modify, Repair or Remove installation + Select the operation you wish to perform. + Re&pair + Repairs errors in the most recent installation state - fixes missing or corrupt files, shortcuts and registry entries. + Repair installation + Repairing + repairs + &Remove + Removes [ProductName] from your computer. + Remove installation + Removing + removes + + + + Welcome to the [ProductName] Setup Wizard + 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. + + + + Disk space required for the installation exceeds available disk space. + 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). + Out of Disk Space + + + + Disk space required for the installation exceeds available disk space. + 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). + Out of Disk Space + 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. + + + + Remove [ProductName] + You have chosen to remove the program from your computer. + 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. + + + + Repair [ProductName] + The Setup Wizard is ready to begin the repair of [ProductName]. + 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. + + + + Please wait while the installer finishes determining your disk space requirements. + + + + 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. + Some files that need to be updated are currently in use. + Files in Use + &Close the applications and attempt to restart them. + &Do not close applications. A reboot will be required. + + + {{Fatal error: }} + {{Error [1]. }} + Warning [1]. + + Info [1]. + 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]}} + + {{Disk full: }} + Action [Time]: [1]. [2] + [ProductName] + {[2]}{, [3]}{, [4]} + Message type: [1], Argument: [2] + === Logging started: [Date] [Time] === + === Logging stopped: [Date] [Time] === + Action start [Time]: [1]. + Action ended [Time]: [1]. Return value [2]. + Time remaining: {[1] minutes }{[2] seconds} + Out of memory. Shut down other applications before retrying. + Installer is no longer responding. + Installer stopped prematurely. + Please wait while Windows configures [ProductName] + Gathering required information... + Removing older versions of this application... + Preparing to remove older versions of this application... + {[ProductName] }Setup completed successfully. + {[ProductName] }Setup failed. + Error reading from file: [2]. {{ System error [3].}} Verify that the file exists and that you can access it. + Cannot create the file '[2]'. A directory with this name already exists. Cancel the install and try installing to a different location. + Please insert the disk: [2] + The installer has insufficient privileges to access this directory: [2]. The installation cannot continue. Log on as administrator or contact your system administrator. + Error writing to file: [2]. Verify that you have access to that directory. + Error reading from file [2]. {{ System error [3].}} Verify that the file exists and that you can access it. + Another application has exclusive access to the file '[2]'. Please shut down all other applications, then click Retry. + There is not enough disk space to install this file: [2]. Free some disk space and click Retry, or click Cancel to exit. + Source file not found: [2]. Verify that the file exists and that you can access it. + Error reading from file: [3]. {{ System error [2].}} Verify that the file exists and that you can access it. + Error writing to file: [3]. {{ System error [2].}} Verify that you have access to that directory. + Source file not found{{(cabinet)}}: [2]. Verify that the file exists and that you can access it. + 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. + The volume [2] is currently unavailable. Please select another. + The specified path '[2]' is unavailable. + Unable to write to the specified folder: [2]. + A network error occurred while attempting to read from the file: [2] + An error occurred while attempting to create the directory: [2] + A network error occurred while attempting to create the directory: [2] + A network error occurred while attempting to open the source file cabinet: [2] + The specified path is too long: [2] + The Installer has insufficient privileges to modify this file: [2]. + A portion of the folder path '[2]' is invalid. It is either empty or exceeds the length allowed by the system. + The folder path '[2]' contains words that are not valid in folder paths. + The folder path '[2]' contains an invalid character. + '[2]' is not a valid short file name. + Error getting file security: [3] GetLastString: [2] + Invalid Drive: [2] + 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]}} + 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. + 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.}} + Failed to correctly copy [2] file: CRC error. + Failed to correctly move [2] file: CRC error. + Failed to correctly patch [2] file: CRC error. + 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. + 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. + There was an error creating a temporary file that is needed to complete this installation.{{ Folder: [3]. System error code: [2]}} + Could not create key: [2]. {{ System error [3].}} Verify that you have sufficient access to that key, or contact your support personnel. + Could not open key: [2]. {{ System error [3].}} Verify that you have sufficient access to that key, or contact your support personnel. + 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. + Could not delete key [2]. {{ System error [3].}} Verify that you have sufficient access to that key, or contact your support personnel. + 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. + 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. + 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. + 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. + 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. + Could not increase the available registry space. [2] KB of free registry space is required for the installation of this application. + Another installation is in progress. You must complete that installation before continuing this one. + Error accessing secured data. Please make sure the Windows Installer is configured properly and try the install again. + 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. + 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. + Out of disk space -- Volume: '[2]'; required space: [3] KB; available space: [4] KB. Free some disk space and retry. + Are you sure you want to cancel? + 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. + The product '[2]' is already installed, preventing the installation of this product. The two products are incompatible. + 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. + Could not access network location [2]. + The following applications should be closed before continuing the install: + Could not find any previously installed compliant products on the machine for installing this product. + 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]}} + The key [2] is not valid. Verify that you entered the correct key. + 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. + 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. + 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? + 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? + An installation package for the product [2] cannot be found. Try the installation again using a valid copy of the installation package '[3]'. + Installation completed successfully. + Installation failed. + Product: [2] -- [3] + You may either restore your computer to its previous state or continue the install later. Would you like to restore? + 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. + One or more of the files required to restore your computer to its previous state could not be found. Restoration will not be possible. + [2] cannot install one of its required products. Contact your technical support group. {{System String: [3].}} + The older version of [2] cannot be removed. Contact your technical support group. {{System String [3].}} + Installed [2] + Configured [2] + Removed [2] + File [2] was rejected by digital signature policy. + 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. + 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] }} + 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] }} + 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] }} + 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] }} + Removal completed successfully. + Removal failed. + Advertisement completed successfully. + Advertisement failed. + Configuration completed successfully. + Configuration failed. + 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. + The path [2] is not valid. Please specify a valid path. + Out of memory. Shut down other applications before retrying. + There is no disk in drive [2]. Please insert one and click Retry, or click Cancel to go back to the previously selected volume. + 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. + The folder [2] does not exist. Please enter a path to an existing folder. + You have insufficient privileges to read this folder. + A valid destination folder for the install could not be determined. + Error attempting to read from the source install database: [2]. + Scheduling reboot operation: Renaming file [2] to [3]. Must reboot to complete operation. + Scheduling reboot operation: Deleting file [2]. Must reboot to complete operation. + Module [2] failed to register. HRESULT [3]. Contact your support personnel. + Module [2] failed to unregister. HRESULT [3]. Contact your support personnel. + Failed to cache package [2]. Error: [3]. Contact your support personnel. + Could not register font [2]. Verify that you have sufficient permissions to install fonts, and that the system supports this font. + Could not unregister font [2]. Verify that you that you have sufficient permissions to remove fonts. + Could not create Shortcut [2]. Verify that the destination folder exists and that you can access it. + Could not remove Shortcut [2]. Verify that the shortcut file exists and that you can access it. + Could not register type library for file [2]. Contact your support personnel. + Could not unregister type library for file [2]. Contact your support personnel. + Could not update the ini file [2][3]. Verify that the file exists and that you can access it. + Could not schedule file [2] to replace file [3] on reboot. Verify that you have write permissions to file [3]. + Error removing ODBC driver manager, ODBC error [2]: [3]. Contact your support personnel. + Error installing ODBC driver manager, ODBC error [2]: [3]. Contact your support personnel. + Error removing ODBC driver: [4], ODBC error [2]: [3]. Verify that you have sufficient privileges to remove ODBC drivers. + Error installing ODBC driver: [4], ODBC error [2]: [3]. Verify that the file [4] exists and that you can access it. + Error configuring ODBC data source: [4], ODBC error [2]: [3]. Verify that the file [4] exists and that you can access it. + Service '[2]' ([3]) failed to start. Verify that you have sufficient privileges to start system services. + Service '[2]' ([3]) could not be stopped. Verify that you have sufficient privileges to stop system services. + Service '[2]' ([3]) could not be deleted. Verify that you have sufficient privileges to remove system services. + Service '[2]' ([3]) could not be installed. Verify that you have sufficient privileges to install system services. + Could not update environment variable '[2]'. Verify that you have sufficient privileges to modify environment variables. + 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. + Could not set file security for file '[3]'. Error: [2]. Verify that you have sufficient privileges to modify the security permissions for this file. + 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. + Error registering COM+ Application. Contact your support personnel for more information. + Error unregistering COM+ Application. Contact your support personnel for more information. + The description for service '[2]' ([3]) could not be changed. + 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]}} + The Windows Installer service cannot update the protected Windows file [2]. {{Package version: [3], OS Protected version: [4], SFP Error: [5]}} + The Windows Installer service cannot update one or more protected Windows files. {{SFP String: [2]. List of protected files:\r\n[3]}} + User installations are disabled via policy on the machine. + An error occured during the installation of assembly component [2]. HRESULT: [3]. {{assembly interface: [4], function: [5], assembly name: [6]}} + + + The application "[2]" needs to be closed for the installation to continue. + + Validating install + Copying new files + File: [1], Directory: [9], Size: [6] + Copying network install files + File: [1], Directory: [9], Size: [6] + Computing space requirements + Computing space requirements + Computing space requirements + Creating shortcuts + Shortcut: [1] + Publishing Qualified Components + Component ID: [1], Qualifier: [2] + Publishing Product Features + Feature: [1] + Publishing product information + Registering Class servers + Class Id: [1] + Registering extension servers + Extension: [1] + Registering MIME info + MIME Content Type: [1], Extension: [2] + Registering program identifiers + ProgId: [1] + Allocating registry space + Free space: [1] + Searching for installed applications + Property: [1], Signature: [2] + Binding executables + File: [1] + Searching for qualifying products + Creating folders + Folder: [1] + Deleting services + Service: [1] + Creating duplicate files + File: [1], Directory: [9], Size: [6] + Searching for related applications + Found application: [1] + Installing ODBC components + Installing new services + Service: [2] + Evaluating launch conditions + Migrating feature states from related applications + Application: [1] + Moving files + File: [1], Directory: [9], Size: [6] + Patching files + File: [1], Directory: [2], Size: [3] + Updating component registration + Registering COM+ Applications and Components + AppId: [1]{{, AppType: [2], Users: [3], RSN: [4]}} + Registering fonts + Font: [1] + Registering product + [1] + Registering type libraries + LibID: [1] + Registering user + [1] + Removing duplicated files + File: [1], Directory: [9] + Updating environment strings + Name: [1], Value: [2], Action [3] + Removing applications + Application: [1], Command line: [2] + Removing files + File: [1], Directory: [9] + Removing folders + Folder: [1] + Removing INI files entries + File: [1], Section: [2], Key: [3], Value: [4] + Removing ODBC components + Removing system registry values + Key: [1], Name: [2] + Removing shortcuts + Shortcut: [1] + Searching for qualifying products + Registering modules + File: [1], Folder: [2] + Unregistering modules + File: [1], Folder: [2] + Initializing ODBC directories + Starting services + Service: [1] + Stopping services + Service: [1] + Unpublishing Qualified Components + Component ID: [1], Qualifier: [2] + Unpublishing Product Features + Feature: [1] + Unregister Class servers + Class Id: [1] + Unregistering COM+ Applications and Components + AppId: [1]{{, AppType: [2]}} + Unregistering extension servers + Extension: [1] + Unregistering fonts + Font: [1] + Unregistering MIME info + MIME Content Type: [1], Extension: [2] + Unregistering program identifiers + ProgId: [1] + Unregistering type libraries + LibID: [1] + Updating environment strings + Name: [1], Value: [2], Action [3] + Writing INI files values + File: [1], Section: [2], Key: [3], Value: [4] + Writing system registry values + Key: [1], Name: [2], Value: [3] + Advertising application + Generating script operations for action: + [1] + Installing system catalog + File: [1], Dependencies: [2] + Publishing assembly information + Application Context:[1], Assembly Name:[2] + Unpublishing assembly information + Application Context:[1], Assembly Name:[2] + Rolling back action: + [1] + Removing backup files + File: [1] + Removing moved files + File: [1], Directory: [9] + Unpublishing product information + + bytes + GB + KB + MB + Entire feature will be unavailable + Feature will be installed when required + Entire feature will be installed to run from CD + Entire feature will be installed on local hard drive + Entire feature will be installed to run from network + Will be installed to run from CD + Will be installed on local hard drive + Will be installed to run from network + Gathering required information... + This feature will remain uninstalled + This feature will be set to be installed when required + This feature will be installed to run from CD + This feature will be installed on the local hard drive + This feature will be installed to run from the network + This feature will become unavailable + Will be installed when required + This feature will be available to run from CD + This feature will be installed on your local hard drive + This feature will be available to run from the network + This feature will be uninstalled completely, you won't be able to run it from CD + This feature will change from run from CD state to set to be installed when required + This feature will remain to be run from CD + This feature will change from run from CD state to be installed on the local hard drive + This feature frees up [1] on your hard drive. + This feature requires [1] on your hard drive. + Compiling cost for this feature... + This feature will be completely removed + This feature will be removed from your local hard drive, but will be set to be installed when required + This feature will be removed from your local hard drive, but will be still available to run from CD + This feature will remain on you local hard drive + This feature will be removed from your local hard drive, but will be still available to run from the network + This feature will be uninstalled completely, you won't be able to run it from the network + This feature will change from run from network state to set to be installed when required + This feature will change from run from network state to be installed on the local hard drive + This feature will remain to be run from the network + 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. + This feature frees up [1] on your hard drive. It has [2] of [3] subfeatures selected. The subfeatures require [4] on your hard drive. + This feature requires [1] on your hard drive. It has [2] of [3] subfeatures selected. The subfeatures free up [4] on your hard drive. + This feature requires [1] on your hard drive. It has [2] of [3] subfeatures selected. The subfeatures require [4] on your hard drive. + Time remaining: {[1] minutes }{[2] seconds} + Available + Difference + Required + Disk Size + Volume + + 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 @@ + + + + + + + 1065 + Farsi + + &خير + &بله + &انصراف + &بعدی > + < &قبلی + &جستجو + تأ&یید + &بررسی + &نصب + &حذف + پ&ايان + &تعمیر + &بازگشت + &دوباره + &چشمپوشی + خ&روج + دستی + نصب + + مجوز + راهنمای کاربر + + برنامه [ProductName] . + درایور دستگاه یو اِس بی [ProductName] برای پشتیبانی از دستگاه یو اِس بی. + درایور دستگاه شبکه [ProductName] برای پشتیبانی از شبکه. + درایور [ProductName] برای شبکه پل شده. + درایور آداپتور شبکه مجازی [ProductName] برای شبکه فقط-میزبان. + [ProductName] driver for NDIS6 Bridged Networking. + [ProductName] virtual network adapter driver for NDIS6 Host-Only Networking. + + پشتیبانی از پایتون برای ویرچوال باکس. + + برای حذف [ProductName] شما نیاز به اجازه مدیر دارید! این راه انداز حالا لغو میشود. + [ProductName] needs the Microsoft Visual C++ 2019 Redistributable Package being installed first. Please install and restart the installation of [ProductName]. + این برنامه فقط در ویندوز ایکس پی یا بالاتر اِجرا میشود. + این برنامه فقط روی ویندوز 32 بیتی اِجرا میشود. لطفا نسخه 64 بیتی [ProductName] را نصب کنید! + این برنامه فقط روی ویندوز 64 بیتی اِجرا میشود. لطفا نسخه 32 بیتی [ProductName] را نصب کنید! + یک نصب قدیمی ویرچوال باکس روی این رایانه یافت شد. لطفا اول این بسته را حذف سپس [ProductName] را نصب کنید! + یک نسخه قدیمی نصب ویرچوال باکس در این ماشین یافت شد. لطفا اول این بسته را حذف و سپس [ProductName] را نصب کنید! + + آیا میخواهید نصب [ProductName] را لغو کنید؟ + + به برنامه نصب [ProductName] خوش آمدید + این ویزارد [ProductName] را روی رایانه شما نصب میکند. روی بعدی برای ادامه یا روی لغو برای خروج از این ویزارد کلیک کنید. + + توافقنامه مجوز کاربر نهایی + لطفا توافقنامه مجوز زیرا را بادقت بخوانید. + &من ضوابط را در توافقنامه مجوز می پذیرم + &من ضوابط را در توافقنامه مجوز نمی پذیرم + + شماره سریال + لطفا شماره سریال را در فیلد زیر وارد کنید.آن را روی برچسب روی جلد سی دی ویرچوال باکس می یابید. + وقتی که وارد کردن شماره سریال انجام شد،دکمه "بررسی" را در زیر فشار دهید. + + شماره سریال وارد شده غیرمعتبر است! + لطفا برگردید و شماره سریال خود را دوباره وارد کنید. + بخاطر داشته باشید که شماره سریال باید دقیقا همانطور که دریافت شده وارد شود. + + هشدار: + وضعیت ذخیره شده ناسازگار! + هنگام ارتقاء [ProductName]، همه وضعیت های ذخیره شده ای که از قبل برای ماشین ها وجود دارد کار نمیکند! بعد از نصب،باید آنها را دستی لغو کنید. + حالا با نصب اقدام کند؟ + + رابط های میزبان + اگر در نسخه قبلی برخی رابط میزبان برای ماشین خود استفاده کرده اید،شما باید آنها را دستی بعد از این نصب مجددا ایجاد کنید. + + قبل از ادامه نصب برنامه زیر باید بسته شود: "[2]" + + مكان: + &مصرف دیسک + روشی را که میخواهید ویژگی ها نصب شود انتخاب کنید. + روی آیکون درختی در زیر برای انتخاب اینکه کدام ویژگی ها نصب شود کلیک کنید. + نصب دستی + CustomizeDlgItemDescription-CustomizeDlgItemDescription + CustomizeDlgItemSize-CustomizeDlgItemSize + CustomizeDlgLocation-CustomizeDlgLocation + + سفارشی + لطفاً از گزینه های زیر انتخاب کنید: + Create start menu entries + ایجاد یک میانبر روی دسکتاپ + ایجاد یک میانبر در اِجرای سریع + ثبت نام انجمن فایل + + Please choose which type of network drivers you will use: + NDIS5 network drivers. +This is default for older versions of Windows (pre-Vista). + NDIS6 network drivers. +This is default for newer versions of Windows (Vista and newer). + Use NDIS5 network drivers. + Use NDIS6 network drivers. + + هشدار: + رابط های شبکه + نصب ویژگی شبکه [ProductName] ارتباط شبکه شما را ریست خواهد کرد و موقتا ارتباط شما قطع خواهد شد. + حالا با نصب اقدام کند؟ + + Missing Dependencies + Python Core / win32api + Installing the [ProductName] Python bindings requires the Python Core package and the win32api bindings to be installed first. + 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. + Proceed with installation now? + + فضای دیسک موردنیاز برای نصب ویژگی های انتخاب شده. + درایوهای برجسته شده(اگر وجود دارد) فضای دیسک کافی برای ویژگی های انتخاب شده ندارد.شما میتوانید تعدادی فایل از درایو برجسته شده حذف کنید، یا ویژگی های کمتری برای نصب در درایو محلی انتخاب کنید یا درایو مقصد متفاوتی انتخاب کنید. + فضای دیسک موردنیاز + {120}{70}{70}{70}{70} + + پوشه مقصد را انتخاب کنید + تغییر پوشه نصب فعلی + یک مرحله قبل + ایجاد یک پوشه جدید + &نصب در: + &نام پوشه: + + برنامه راه انداز آماده شروع نصب [InstallMode] هست. + برای شروع "نصب" را کلیک کنید. اگر میخواهید هرگونه از تنظیمات نصب را بازبینی یا تغییر دهید، روی "قبلی" کلیک کنید. روی "لغو" برای خروج از ویزارد کلیک کنید + آماده براي نصب + + روی دکمه پایان برای خروج از ویزارد نصب کلیک کنید. + نصب [ProductName] کامل شد. + بعداز نصب، [ProductName] اِجرا شود + + نصب [ProductName] نابهنگام پایان یافت + نصب [ProductName] نابهنگام به علت خطا پایان یافت. سیستم شما تغییر نکرده است. برای نصب این برنامه در زمانی دیگر، لطفا برنامه راه انداز را دوباره اجرا کنید. + روی دکمه پایان برای خروج از ویزارد نصب کلیک کنید. + + برنامه های زیر از فایل هایی که نیاز به بروزرسانی دارند استفاده میکنند. شما میتوانید برنامه را ببندید و روی "دوباره" کلیک کنید، با روی "لغو" برای خروج از آن کلیک کنید. + بعضی از فایل هایی که نیاز به بروزرسانی دارند اکنون درحال استفاده است. + فایل در حال استفاده + + نصب [ProductName] قطع شده است + نصب [ProductName] قطع شده است. سیستم شما تغییرنیافته است. برای نصب دوباره این برنامه،لطفا فایل راه اندازی را دوباره اجرا کنید. + روی دکمه پایان برای خروج از ویزارد نصب کلیک کنید. + + لطفا تا زمانیکه [ProductName] نصب میشود،منتظر بمانید. شاید چنددقیقه طول بکشد. + + ادامه ویزارد نصب [ProductName] + ویزارد، نصب [ProductName] را در رایانه شما کامل خواهد کرد. روی نصب برای ادامه یا روی لغو برای خروج از ویزارد کلیک کنید. + + تغییر، تعمیر یا حذف نصب + عملکردی را که میخواهید اجرا کنید انتخاب کنید. + &تعمیر + تعمیر خطاها در حالت نصب های اخیر - تعمیر فایل های گم شده یا خراب،میانبرها و وردی ریجیستری. + نصب نصب + تعمیر + تعمیر + &حذف + حذف [ProductName] از رایانه. + حذف نصب + حذف + حذف + + به برنامه نصب [ProductName] خوش آمدید + ویزارد راه انداز به شما اجازه تعمیر نصب فعلی یا حذف [ProductName] را از رایانه میدهد. روی بعدی برای ادامه یا روی لغو برای خروج از ویزارد راه انداز کلیک کنید. + + فضای دیسک موردنیاز برای نصب از فضای دیسک موجود تجاوز کرده است. + درایوهای برجسته شده فضای دیسک کافی برای ویژگی های انتخاب شده ندارد.شما میتوانید تعدادی فایل از درایو برجسته شده حذف کنید، یا ویژگی های کمتری برای نصب در درایو محلی انتخاب کنید یا درایو مقصد متفاوتی انتخاب کنید. + فضای دیسک کم است + + فضای دیسک موردنیاز برای نصب از فضای دیسک موجود تجاوز کرده است. + درایوهای برجسته شده فضای دیسک کافی برای ویژگی های انتخاب شده ندارد.شما میتوانید تعدادی فایل از درایو برجسته شده حذف کنید، یا ویژگی های کمتری برای نصب در درایو محلی انتخاب کنید یا درایو مقصد متفاوتی انتخاب کنید. + فضای دیسک کم است + متناوبا، شما میتوانید قابلیت بازگشت به عقب ایستالر را غیر فعال کنید. این به شما اجازه بازگرداندن رایانه به حالت اصلی در هر جا که نصب قطع شده را میدهد. اگر این ریسک را قبول میکنید روی بله کلیک کنید. + + حذف [ProductName] + شما حذف برنامه از رایانه را انتخاب کرده اید. + روی "حذف" برای حذف [ProductName] از رایانه کلیک کنید. اگر میخواهید هرگونه از تنظیمات نصب را بازبینی یا تغییر دهید، روی "قبلی" کلیک کنید. روی "لغو" برای خروج از ویزارد کلیک کنید. + + تعمیر [ProductName] + ویزارد آماده شروع تعمیر [ProductName] هست. + روی "تعمیر" برای تعمیر نصب [ProductName] کلیک کنید. اگر میخواهید هرگونه از تنظیمات نصب را بازبینی یا تغییر دهید، روی "قبلی" کلیک کنید. روی "لغو" برای خروج از ویزارد کلیک کنید. + + لطفا تا زمانیکه اینستالر فضای دیسک موردنیاز را تشخیص دهد منتظر بمانید. + + برنامه های زیر از فایل هایی که نیاز به بروزرسانی دارند استفاده میکنند. شما میتوانید بگذارید برنامه آنها را ببندد و سعی کند آنها را ریستارت کند یا این ماشین را در بعد ریستارت کند. + بعضی از فایل هایی که نیاز به بروزرسانی دارند اکنون درحال استفاده است. + فایل در حال استفاده + &برنامه ها را ببندید و سعی کنید آنها را ریستارت کنید + &برنامه ها را نبندید.یک ریستارت نیاز است. + + {{خطای مهلک: }} + {{خطا [1]. }} + هشدار [1]. + + اطلاعات [1]. + اینستالر با یک خطای غیرمنتظره در نصب این بسته مواجه شده است. این یک مشکل با این برنامه را نشان میدهد. کد خطا [1]هست. {{نشانوند هست: [2], [3], [4]}} + + {{ديسك پر است: }} + اقدام [Time]: [1]. [2] + [ProductName] + {[2]}{, [3]}{, [4]} + نوع پیام: [1], نشانوند: [2] + === وقایع نگاری شروه شده: [Date] [Time] === + === وقایع نگاری متوقف شده: [Date] [Time] === + شروع اقدام [Time]: [1]. + اقدام پایان یافته است [Time]: [1]. مقدار بازگشت [2]. + زمان باقیمانده: {[1] دقیقه }{[2] ثانیه} + حافظه کم است.قبل از سعی دوباره سایر برنامه ها را ببندید. + اینستالر بیش از این پاسخ نمیدهد. + اینستالر نابهنگام متوقف شده است. + لطفا تا زمانیکه ویندوز [ProductName] را پیکربندی میکند منتظر بمانید + گردآوری اطلاعات موردنیاز... + حذف نسخه های قدیمی این برنامه... + آماده سازی برای حذف نسخه های قدیمی این برنامه... + نصب {[ProductName] }با موفقیت کامل شد. + موفق به نصب {[ProductName] }نشد. + خطای خواندن از فایل: [2]. {{ خطای سیستم [3].}} بازبینی کنید فایل موجود است و میتوانید به آن دسترسی داشته باشید. + فایل '[2]' را نمیتوان ایجاد کرد. یک دایرکتوری با این نام موجود است. لغو نصب و سعی در نصب در پوشه متفاوت + لطفا دیسک را قرار دهید: [2] + نصب کننده اجازه ناکافی برای دسترسی به این دایرکتوری دارد: [2]. نصب را نمیتوان ادامه داد. بعنوان آدمین وارد شوید یا با مدیر سیستم تماس بگیرید. + خطای نوشتن در فایل: [2]. بازبینی کنید به این دایرکتوری دسترسی دارید. + خطای خواندن از فایل [2]. {{ خطای سیستم [3].}} بازبینی کنید فایل موجود است و اجازه دسترسی به آن دارید. + برنامه دیگری دسترسی انحصاری به فایل '[2]' را دارد. لطف سایر برنامه ها را بسته،و دوباره سعی کنید. + فضای دیسک کافی برای نصب این فایل موجود نیست: [2]. مقداری از فضای دیسک را خالی کنید و روی "دوباره"، کلیک کنید یا روی "لغو" برای خروج کلیک کنید. + فایل منبع یافت نشد: [2]. بازبینی کنید فایل موجود است و به آن دسترسی دارید. + خطای خواندن از فایل: [3]. {{ خطای سیستم [2].}} بازبینی کنید فایل موجود است و اجازه دسترسی دارید. + خطای نوشتن در فایل: [3]. {{ خطای سیستم [2].}} بازبینی کنید شما اجازه دسترسی به این فایل دارید. + فایل منبع یافت نشد{{(cabinet)}}: [2]. بازبینی کنید فایل وجود دارد و به آن دسترسی دارید. + دایرکتوری '[2]' را نمیتوان ایجاد کرد. یک فایل با این نام از قبل موجود است. لطفا فایل را حذف یا تغییرنام دهید و روی "دوباره"، یا "لغو" برای خروج کلیک کنید. + درایو [2] اکنون موجود نیست. لطفا یکی دیگر انتخاب کنید. + مسیر مشخص شده '[2]' غیرقابل دسترسی است. + قادر به نوشتن در پوشه مشخص شده نیست: [2]. + یک خطای شبکه حین سعی در خواندن از فایل رخ داد: [2] + یک خطا حین سعی در ایجاد دایرکتوری رخ داد: [2] + یک خطای شبکه حین ایجاد دایرکتوری رخ داده است: [2] + یک خطای شبکه حین سعی در بازکردن فایل منبع کابینت رخ داده است: [2] + مسیر مشخص شده خیلی بلند است: [2] + اینستالر اجازه کافی برای تغییر این فایل ندارد: [2]. + یک بخش از مسیر پوشه '[2]' نامعتبر است. آن یا خالی هست یا از مقدار اجازه داده شده سیستم بیشتر است. + مسیر پوشه '[2]' محتوی لغاتی هست که در مسیر پوشه ها معتبر نیست. + مسیر پوشه '[2]' محتوی کاراکتر نامعتبر است. + '[2]' نام فایل کوتاه صحیح نیست. + خطای گرفتن فایل امنیتی: [3] گرفتن آخرین استرینگ: [2] + درایو نامعتبر: [2] + خطای اِعمال وصله به فایل [2]. آن بروزسانی شده با روشی دیگر، و بیش از این نمیتواند با این وصله ویرایش شود. برای اطلاعات بیشتر با فروشده وصله تمای بگیرید. {{خطای سیستم: [3]}} + یک فایل موردنیاز نمیتواند نصب شود زیرا کابینت فایل [2] امضای دیجیتالی نشده است. این ممکن است نشان دهنده فایل کابینت خراب است. + یک فایل که موردنیاز است نمیتواند نصب شود زیرا فایل کابینت [2] امضای دیجیتالی نامعتبر دارد. این ممکن است نشان دهنده این است که فایل کابینت خراب است.{{ خطا [3] بازگشت خورده با WinVerifyTrust.}} + موفق به کپی صحیح فایل [2] نشد: خطای سی آر سی. + موفق به انتقال صحیح فایل [2] نشد: خطای سی آر سی. + موفق به وصله صحیح فایل [2] نشد: خطای سی آر سی. + فایل '[2]' نمیتواند نصب شود زیرا فایل را در کابینت فایل '[3]' نیافت. این شاید نشان دهنده خطای شبکه باشد، یک خطای خواندن از سی دی رام، یا یک مشکل با این بسته. + فایل کابینت '[2]' که موردنیاز برای این نصب است خراب است و نمیتوان استفاده کرد. این شاید نشان دهنده خطای شبکه باشد، یک خطای خواندن از سی دی رام، یا یک مشکل با این بسته. + یک خطای ایجاد فایل موقتی هست که آن برای کامل شدن نصب نیاز است.{{ پوشه: [3]. کد خطای سیستم: [2]}} + کلید را نمیتوان ایجاد کرد: [2]. {{ خطای سیستم [3].}} بازبینی کید اجازه کافی در این کلید دارید،یا با پشتیبانی شخصی تماس بگیرید + کلید را نمیتوان باز کرد: [2]. {{ خطای سیستمی [3].}} بازبینی کنید اجازه کافی در این کلید دارید،یا با پشتیبانی شخصی تماس بگیرید + مقدار [2] از کلید [3] نمیتوان حذف کرد. {{ خطای سیستم [4].}} بازبینی کنید اجازه کافی در این کلید دارید،یا با پشتیبانی شخصی تماس بگیرید + کلید [2] را نمیتوان حذف کرد. {{ خطای سیستم [3].}} بازبینی کنید اجازه کافی در این کلید دارید،یا با پشتیبانی شخصی تماس بگیرید + مقدار [2] از کلید [3] نمیتوان خواند. {{ خطای سیستم [4].}} بازبینی کنید اجازه کافی در این کلید دارید،یا با پشتیبانی شخصی تماس بگیرید + مقدار [2] در کلید [3] نمیتواند بنویسد. {{ خطای سیستم [4].}} بازبینی کنید اجازه کافی در این کلید دارید،یا با پشتیبانی شخصی تماس بگیرید. + نام مقدار را برای کلید [2] میتوان گرفت. {{ خطای سیستم [3].}} بازبینی کنید اجازه کافی در این کلید دارید،یا با پشتیبانی شخصی تماس بگیرید. + نام زیرکلید را برای کلید [2] نمیتوان گرفت. {{ خطای سیستم [3].}} بازبینی کنید اجازه کافی در این کلید دارید،یا با پشتیبانی شخصی تماس بگیرید. + اطلاعات امنیتی را برای کلید [2] نمیتوان خواند. {{ خطای سیستم [3].}} بازبینی کنید اجازه کافی در این کلید دارید،یا با پشتیبانی شخصی تماس بگیرید. + فضای ریجیستری موجود را نمیتوان افزایش داد. [2] کیلوبایت از فضای آزاد ریجیستری برای نصب این برنامه نیاز است. + نصب دیگری درحال پیشرفت است.باید آن نصب را قبل از ادامه نصب جدید کامل کنید. + خطای دسترسی به داده ایمن شده. لطفا مطمئن شوید ویندوز اینستالر بدرسی پیکربندی شده و دوباره سعی کنید. + کاربر '[2]' قبلا سعی در نصب محصول '[3]' داشته است. آن کاربر نیاز خواهد بود دوباره این نصب را اجرا کند قبل از اینکه آنها بتوانند از آن استفاده کنند. نصب فعلی شما حالا ادامه خواهد یافت + کاربر '[2]' قبلا سعی در نصب محصول '[3]' داشته است. آن کاربر نیاز خواهد بود دوباره این نصب را اجرا کند قبل از اینکه آنها بتوانند از آن استفاده کنند. + فضای دیسک کم است -- درایو: '[2]'; فضای موردنیاز: [3] کیلوبایت; فضای موجود: [4] کیلوبایت. فضایی از دیسک را خالی و دوباره سعی کنید. + آیا میخواهید لغو کنید؟ + فایل [2][3] درحال استفاده نگه داشته شده است{ با فرآیند زیر: نام: [4], شناسه: [5], عنوان پنجره: '[6]'}. آن برنامه را بسته و دوباره سعی کنید. + محصول '[2]' از قبل نصب شده است، جلوگیری از نصب این محصول. دو محصول ناسازگار هستند. + فضای دیسک کافی در درایو '[2]' برای ادامه نصب با بازگردانی فعال شده موجود نیست. [3] کیلوبایت نیاز است، اما فقط [4] کیلوبایت موجود است. روی "چشمپوشی" برای ادامه نصب بدون ذخیره سازی اطلاعات بازگردانی کلیک کنید، روی "دوباره" برای بررسی دوباره فضای موجود کلیک کنید، یا روی "لغو" برای خروج از نصب کلیک کنید. + به مکان شبکه [2] نمیتوان دسترسی داشت. + برنامه های زیر باید قبل از ادامه نصب بسته شود: + نمیتواند هیچگونه محصول مشابه که قبلا در این ماشین نصب شده باشد را برای نصب این محصول بیابد. + یک خطا حین اِعمال تنظیمات امنیتی رخ داد. [2] گروه یا کاربر معتبر نیست. این مشکل میتواند از بسته باشد، یا مشکل اتصال به کنترلگر دامین در شبکه باشد. ارتباط شبکه را بررسی و روی دوباره کلیک کنید، یا روی لغو برای پایان نصب کلیک کنید. {{قادر به مکان یابی اِس ای دی کاربر نیست، خطای سیستم [3]}} + کلید [2] صحیح نیست. بازبینی کنید کلید صحیح را وارد کرده اید. + اینستالر قبل از پیکربندی [2] برای ادامه،باید ریستارت شود. روی "بله" برای ریستارت یا "خیر" برای ریستارت در زمانی دیگر کلیک کنید. + برای اعمال اثرگذاری تغییرات پیکربندی اعمال شده در [2] سیستم را باید ریستارت کنید. روی بله برای ریستارت و روی خیر برای ریستارت در بعد کلیک کنید. + یک نصب برای [2] اکنون معلق شده است. برای ادامه شما باید تغییرات ایجاد شده با آن نصب را آندو کنید. میخواهید تغییرات را آندو کنید؟ + یک نصب قبلی برای این محصول در پیشرفت است.باید تغییراتی که با آن نصب ایجاد شده را آندو کرده و سپس ادامه دهید.آیا تغییرات را آندو می کنید؟ + یک بسته نصب برای محصول [2] را نمیتوان یافت. نصب را دوباره توسط نسخه معتبر بسته نصب '[3]' اجرا کنید. + نصب باموفقیت کامل شد. + موفق به نصب نشد. + محصول: [2] -- [3] + میتوانید رایانه را به حالت قبل برگردانید یا نصب را در زمان دیگری ادامه دهید.میخواهید بازگردانی کنید؟ + یک خطا حین نوشتن اطلاعات نصب روی دیسک رخ داد.مطمئن شوید فضای آزاد دیسک کافی است،و روی دوباره یا لغو برای پایان دادن به نصب کلیک کنید. + یک یا تعداد بیشتری از فایلهایی موردنیاز برای بازگردانی رایانه به حالت قبل یافت نشد.بازگردانی غیرممکن است. + [2] نمیتواند یکی از محصولات موردنیاز را نصب کنید. با گروه پشتیبانی شخصی تماس بگیرید. {{استرینگ سیستم: [3].}} + نسخه قدیمی [2] را نمیتواند حذف کرد. باگروه پشتیبانی فنی تماس بگیرید. {{استرینگ سیستم [3].}} + نصب شده [2] + پیکربندی شده [2] + حذف شده [2] + فایل [2] با سیاست امضای دیجیتالی پذیرفته نشده است. + نمیتوان به ویندوز اینستالر دسترسی داشت.اگر در سیف مد ویندوز باشید این رخ میدهد، یا ویندوز اینستالر بدرستی نصب نشده است.برای راهنمایی با پشتیبانی شخصی خود تماس بگیرید. + این یک مشکل با بسته ویندوز اینستالر هست. یک اسکریپت موردنیاز برای کامل شدن این نصب را نمیتوان اجرا کرد. با فروشنده بسته یا پشتیبانی شخصی تماس بگیرید.. {{اقدام دستی [2] خطای اسکریپت [3], [4]: [5] خط [6], ستون [7], [8] }} + این یک مشکل با بسته ویندوز اینستالر هست. یک برنامه موردنیاز برای کامل شدن این نصب را نمیتوان اجرا کرد. با فروشنده بسته یا پشتیبانی شخصی تماس بگیرید.. {{اقدام: [2], مکان: [3], فرمان: [4] }} + این مشکل با بسته ویندوز اینستالر هست. برنامه اجرا شده بعنوان بخشی از نصب همانطور که انتظار میرفت به پایان نرسیده است. با پشتیبانی شخصی یا فروشنده محصول تماس بگیرید. {{اقدام [2], مکان: [3], فرمان: [4] }} + این یک مشکل با بسته ویندوز اینستالر هست. یک دی اِل اِل موردنیاز برای کامل شدن این نصب را نمیتوان اجرا کرد. با فروشنده بسته یا پشتیبانی شخصی تماس بگیرید.. {{اقدام [2], ورودی: [3], کتابخانه: [4] }} + حذف باموفقیت انجام شد. + موفق به حذف نشد. + آگهی با موفقیت کامل شد. + آگهی موفق نشد. + پیکربندی باموفقیت کامل شد. + موفق به پیکربندی نشد. + شما باید برای حذف این برنامه آدمین باشید.برای حذف این برنامه،وارد اکانت آدمین شوید،یا برای راهنمایی با گروه پشتیبانی تماس بگیرید. + مسیر [2] نامعتبر است. لطفا یک مسیر معتبر مشخص کنید. + حافظه کم است.قبل از سعی دوباره سایر برنامه ها را ببندید. + دیسکی در درایو [2] موجود نیست. لطفا دیسک را قرار داده و روی "دوباره"، یا روی "لغو" برای رفتن به درایو انتخاب شده قبلی کلیک کنید. + دیسکی در درایو [2] موجود نیست. لطفا دیسک را قرار داده و روی "دوباره"، یا روی "لغو" برای بازگشت به دیالوگ جستجو و انتخاب درایو متفاوت کلیک کنید. + پوشه [2] وجود ندارد. لطفا یک مسیر در پوشه موجود وارد کنید. + شما اجازه کافی برای خواندن این پوشه را ندارید. + یک پوشه مقصد معتبر برای نصب را نمیتواند تشخیص دهد. + خطا سعی در خواندن از منبع نصب پایگاه داده: [2]. + زمان بندی عملکرد ریستارت: تغییرنام فایل [2] به [3]. برای کامل شدن عملکرد باید ریستارت شود. + زمان بندی عملکرد ریستارت: حذف فایل [2]. برای کامل شدن عملکرد باید ریستارت شود. + مدل [2] موفق به ثبت نشد. HRESULT [3]. با پشتیبانی شخصی تماس بگیرید. + مدل [2] موفق به حذف نشد. HRESULT [3]. با پشتیبانی شخصی تماس بگیرید. + موفق به کش یا ذخیره بسته [2] نشد. خطا: [3]. با پشتیبانی شخصی تماس بگیرید. + قادر به ثبت فونت [2] نیست. بازبینی کنید اجازه کافی برای نصب فونت ها را دارید، و آن سیستم از این فونت پشتیبانی میکند. + فونت [2] را نمیتوان حذف کرد. بازبینی کنید اجازه کافی برای حذف فونت را دارید. + میانبر [2] را نمیتوان ایجاد کرد.بازبینی کنید پوشه مقصد وجود دارد و میتوانید به آن دسترسی داشته باشید. + میانبر [2] را نمیتوان حذف کرد.بازبینی کنید فایل میانبر وجود دارد و میتوانید به آن دسترسی داشته باشید. + نوع کتابخانه را برای فایل [2] نمیتوان ثبت کرد. با پشتیبانی شخصی تماس بگیرید. + قادر به حذف نوع کتابخانه ای برای فایل [2] نیست. با پشتیبانی شخصی تماس بگیرید. + نمیتوان بروزرسانی کرد فایل ini [2][3]. بازبینی کنید فایل وجود دارد و به آن دسترسی دارید. + فایل [2] برای جایگزینی با فایل [3] در ریستارت را نمیتوان زمان بندی کرد. بازبینی کنید اجازه نوشتن در فایل [3] را دارید. + خطای حذف مدیریت درایور ODBC ، ODBC خطای [2]: [3]. با پشتیبانی شخصی تماس بگیرید. + خطای نصب مدیریت درایو ODBC، ODBC خطا [2]: [3]. با پشتیبانی شخصی تماس بگیرید. + خطای حذف درایور ODBC : [4], ODBC خطا [2]: [3]. بازبینی اجازه کافی برای حذف درایورای ODBC را دارید. + خطای نصب درایور ODBC : [4], ODBC خطا [2]: [3]. بازبینی کنید فایل [4] موجود است و به آن دسترسی دارید. + خطای پیکربندی داده ODBC : [4], ODBC خطا [2]: [3]. بازبینی کنید فایل [4] موجود است و به آن دسترسی دارید. + سرویس '[2]' ([3]) موفق به شروع نشد. بازبینی کنید اجازه کافی برای شروع سرویس سیستم را دارید. + سرویس '[2]' ([3]) نمیتواند متوقف شود. بازبینی کنید اجازه کافی برای توقف سرویس سیستمی دارید. + سرویس '[2]' ([3]) را نمیتوان حذف کرد. بازبینی کنید اجازه کافی برای حذف سرویس سیستمی را دارید. + سرویس '[2]' ([3]) نمیتواند نصب شود. بازبینی کنید اجازه کافی برای نصب سرویس سیستمی دارید. + نمیتوان متغییرهای محیطی '[2]' را بروزرسانی کرد. بازبینی کنید اجازه کافی برای ویرایش متغییرهای محیطی را دارید. + شما اجازه کافی برای کامل کردن این نصب برای همه کاربران این ماشین را ندارید.وارد اکانت آدمی شوید و مجددا سعی کنید. + نمیتواند فایل امنیتی را برای فایل '[3]' تنظیم کند. خطا: [2]. بازبینی کنید اجازه کافی برای ویرایش امنیت برای این فایل را دارید. + مولفه سرویس (COM+ 1.0) در این رایانه نصب نشده است. این نب نیاز به مولفه سرویس بمنظور کامل شدن موفقیت آمیز دارد. مولفه سرویس در ویندوز 2000 موجود است. + خطای ثبت برنامه کام پلاس.برای اطلاعات بیشتر با پشتیبانی شخصی تماس بگیرید. + خطای حذف برنامه کام پلاس.برای اطلاعات بیشتر با پشتیبانی شخصی تماس بگیرید. + توضیح برای سرویس '[2]' ([3]) را نمیتوان تغییر داد. + سرویس ویندوز اینستالر نمیتواند فایل سیستمی [2] را بروزرسانی کند زیرا توسط ویندوز حفاظت میشود. ممکن است شما نیاز به بروزرسانی سیستم برای صحیح کارکردن این برامه دارید. {{نسخه بسته: [3], نسخه حفاظت شده سیستم عامل: [4]}} + سرویس ویندوز اینستالر فایل ویندوزی حفاظت شده [2] را نمیتواند بروزرسانی کند. {{نسخه بسته: [3], نسخه حفاظت شده سیستم عامل: [4], SFP خطای: [5]}} + سرویس ویندوز اینستالر نمیتواند یک یا تعداد بیشتری از فایل های حافظت شده را بروزرسانی کند. {{SFP استرینگ: [2]. لیست فایل های حافظت شده:\r\n[3]}} + نصب کاربر در این ماشین توسط سیاست غیرفعال شده است. + یک خطا حین نصب مولفه اسمبلی [2] رخ داد. HRESULT: [3]. {{رابط اسمبلی: [4], تابع: [5], نام اسمبلی: [6]}} + + برنامه "[2]" برای ادامه نصب باید بسته شود. + معتبرسازی نصب + کپی فایل های جدید + فایل: [1], دایرکتوری: [9], حجم: [6] + کپی فایل های نصب شبکه + فایل: [1], دایرکتوری: [9], حجم: [6] + محاسبه فضای موردنیاز + محاسبه فضای موردنیاز + محاسبه فضای موردنیاز + ایبجاد میانبرها + میانبر: [1] + نشر مولفه های بررسی صلاحت شده + شناسه مولفه: [1], صلاحیت کننده: [2] + نشر ویژگی های محصول + ویژگی: [1] + نشر اطلاعات محصول + ثبت کرد کلاس سرورها + شناسه کلاس: [1] + ثبت کردن پسوند های سرور + پسوند: [1] + ثبت کردن اطلاعات MIME + و محتوای MIME: [1], پسوند: [2] + ثبت تعیین کننده هویت برنامه + شناسه برنامه: [1] + تخصیص فضای ریجیستری + فضای آزاد: [1] + جستجوی برای برنامه های نصب شده + مشخصه: [1], امضاء: [2] + فایل قابل اجرای الزامی + فایل: [1] + جستجو برای صلاحیت محصول + ایجاد پوشه ها + پوشه: [1] + حذف سرویس + سرویس: [1] + ایجاد فایل المثنی + فایل: [1], دایرکتوری: [9], حجم: [6] + جستجوی برای برنامه مربوطه + برنامه یافت: [1] + نصب مولفه های ODBC + نصب سرویس جدید + سرویس: [2] + بررسی شرایط اِجرا + انتقال یافتن حالت ویژگی از برنامه مرتبط + برنامه: [1] + انتقال فایل ها + فایل: [1], دایرکتوری: [9], حجم: [6] + وصله کردن فایل ها + فایل: [1], دایرکتوری: [2], حجم: [3] + بروزرسانی ثبت مولفه + ثبت کردن موفه ها و برنامه های کام پلاس + شناسه برنامه: [1]{{, نوع برنامه: [2], کاربران: [3], آر اِس اِن: [4]}} + ثبت کردن فونت ها + فونت: [1] + ثبت کردن محصول + [1] + ثبت نوع کتابخانه + شناسه لیب: [1] + ثبت کردن کاربر + [1] + حذف فایل های تکراری + فایل: [1], دایرکتوری: [9] + بروزرسانی استرینگ های محیطی + نام: [1], مقدار: [2], اقدام [3] + حذف برنامه + برنامه: [1], فرمان خطی: [2] + حذف فایل ها + فایل: [1], دایرکتوری: [9] + حذف پوشه ها + پوشه: [1] + حذف ورودی های فایل INI + فایل: [1], قسمت: [2], کلید: [3], مقدار: [4] + حذف مولفه های ODBC + حذف مقادیر سیستم ریجیستری + کلید: [1], نام: [2] + حذف میانبرها + میانبر: [1] + جستجو برای صلاحیت محصول + ثبت کردن مدل ها + فایل: [1], پوشه: [2] + حذف مدل ها + فایل: [1], پوشه: [2] + بارگیری دایرکتوری های ODBC + شروع سرویس + سرویس: [1] + توقف سرویس + سرویس: [1] + حذف مولفه هی صلاحیت شده + شناسه مولفه: [1], صلاحیت کننده: [2] + حذف ویژگی های محصول + ویژگی: [1] + حذف کلاس سرورها + شناسه کلاس: [1] + حذف مولفه و برنامه های کام پلاس + شناسه برنامه: [1]{{, نوع برنامه: [2]}} + حذف پسوند سرورها + پسوند: [1] + حذف فونت ها + فونت: [1] + حذف اطلاعات MIME + و محتوای MIME: [1], پسوند: [2] + حذف تعیین کننده هویت برامه + شناسه برنامه: [1] + حذف نوع کتابخانه ای + شناسه لیب: [1] + بروزرسانی استرینگ های محیطی + نام: [1], مقدار: [2], اقدام [3] + نوشتن مقادیر فایل INI + فایل: [1], قسمت: [2], کلید: [3], مقدار: [4] + نوشتن مقادیر سیستم ریجیستری + کلید: [1], نام: [2], مقدار: [3] + برنامه آگهی + تولید اسکریپت عملکرد برای اقدام: + [1] + نصب پرونده شاخص + فایل: [1], وابسته ها: [2] + نشر اطلاعات اسمبلی + زمینه برنامه:[1], نام اسمبلی:[2] + حذف اطلاعات اسمبلی + زمینه برنامه:[1], نام اسمبلی:[2] + اقدام برگرداندن به عقب: + [1] + حذف فایل های پشتیبان + فایل: [1] + حذف فایل ها انتقال داده شده + فایل: [1], دایرکتوری: [9] + حذف اطلاعات محصول + بايت + گيگابايت + کيلوبايت + مگابايت + کل ویژگی ها دردسترس نمیباشد + ویژگی زمانیکه نیاز باشد نصب خواهد شد + کل ویژگی ها برای اجرا از سی دی نصب خواهد شد + کل ویژگی ها روی درایو محلی نصب خواهد شد + کل ویژگی ها برای اجرا از شبکه نصب خواهد شد + برای اجرا از روی سی دی نصب خواهد شد + روی درایو محلی نصب خواهد شد + برای اجرا از شبکه نصب خواهد شد + گردآوری اطلاعات موردنیاز... + این ویژگی حذف شده باقی میماند + این ویژگی تنظیم خواهد شد تا هنگامیکه نیازبود نصب شود + این ویژگی نصب خواهد شد تا از روی سی دی اِجرا شود + این ویژگی روی درایو محلی نصب خواهد شد + این ویژگی برای اجرا از شبکه نصب خواهد شد + این ویژگی خارج از دسترس میباشد + زمانیکه نیازباشد نصب خواهد شد + این ویژگی برای اجرا از سی دی موجود خواهد بود + این ویژگی از درایو محلی نصب خواهد شد + این ویژگی برای اجرا از شبکه موجود خواهد بود + این ویژگی کاملا حذف خواهد شد،شما قادر به اجرا از سی دی نخواهید بود + این ویژگی از حالت اجرا از سی دی به حالت زمانیکه نیازباشد نصب شود تغییر خواهد کرد + این ویژگی برای اجرا از سی دی باقی میماند + این ویژگی از حالت اجرا از سی دی به حالت نصب شده در درایو محلی تغییر خواهد کرد + این ویژگی [1] از فضای دیسک را آزاد میکند. + این ویژگی نیاز به [1] در درایو محلی دارد. + کامپایل بها برای این ویژگی... + این ویژگی کاملا حذف خواهد شد + این ویژگی از درایو محلی حذف خواهد شد،اما تنظیم میشود زمانیکه نیاز بود نصب شود + این ویژگی از درایو محلی حذف خواهد شد،اما هنوز برای اجرا از سی دی موجود خواهد بود + این ویژگی در درایو محلی باقی میماند + این ویژگی از درایو محلی حذف خواهد شد،اما هنوز برای اجرا از شبکه موجود خواهد بود + این ویژگی کاملا حذف خواهد شد،شما قادر به اجرا از شبکه نخواهید بود + این ویژگی از حالت اجرا از شبکه به حالت زمانیکه نیازباشد نصب شود تغییر خواهد کرد + این ویژگی از حالت اجرا از شبکه به حالت نصب شده در درایو محلی تغییر خواهد کرد + این ویژگی برای اجرا از شبکه باقی میماند + این ویژگی [1] از درایو محلی را آزاد خواهد کرد. آن [2] از [3] زیر ویژگی های انتخاب شده را دارد. زیرویژگی ها [4] از درایو محلی را آزاد میکند. + این ویژگی [1] از درایو محلی را آزاد خواهد کرد. آن [2] از [3] زیر ویژگی های انتخاب شده را دارد. زیرویژگی ها نیاز به [4] از درایو محلی دارد. + این ویژگی نیاز به [1] از درایو محلی دارد. آن [2] از [3] زیرویژگی های انتخاب شده را دارد. زیرویژگی ها [4] از درایو محلی را ازاد میکند. + این ویژگی نیاز به [1] از درایو محلی دارد. آن [2] از [3] زیرویژگی های انتخاب شده را دارد. زیرویژگی ها نیازبه [4] از درایو محلی دارد. + زمان باقیمانده: {[1] دقیقه }{[2] ثانیه} + دردسترس + اختلاف + موردنیاز + حجم دیسک + درایو + 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 @@ + + + + + + + 1036 + Francais + + &Non + &Oui + &Annuler + &Suivant > + < &Précédent + Parco&urir + O&K + &Vérifier + &Installer + &Enlever + &Terminer + &Réparer + &Précédent + &Réessayer + &Ignorer + Q&uitter + + Personalisé + Installation + + + + Licence + Manuel d'utilisation + + + + Application [ProductName]. + Pilotes USB [ProductName] pour le support de périphériques USB. + Pilotes [ProductName] pour le support réseau. + Pilote [ProductName] pour l'accès réseau par pont. + Pilote de carte réseau virtuelle [ProductName] pour l'accès réseau privé hôte. + [ProductName] driver for NDIS6 Bridged Networking. + [ProductName] virtual network adapter driver for NDIS6 Host-Only Networking. + + Python support for VirtualBox. + + + + Vous ne pouvez pas (dés)installer [ProductName] sans droits d'administrateur! Ce programme d'installation terminera maintenant. + [ProductName] needs the Microsoft Visual C++ 2019 Redistributable Package being installed first. Please install and restart the installation of [ProductName]. + Cette application nécéssite Windows XP ou plus récent. + Cette application ne marche que sur des systèmes Windows 32-bit. Veuillez installer la version 64-bit de [ProductName]! + Cette application ne marche que sur des systèmes Windows 64-bit. Veuillez installer la version 32-bit de [ProductName]! + Vous avez une ancienne installation de innotek VirtualBox sur cette machine. Il vous faudra la désinstaller avant de pouvoir installer [ProductName]. + + + + Voulez vous vraiment abondonner l'installation de [ProductName]? + + + + Bienvenue dans l'assistant d'installation de [ProductName] + Cet assistant installera [ProductName] sur votre ordinateur. Appuyez sur Suivant pour continuer ou sur Annuler pour abondonner l'installation. + + + + Contrat de licence de logiciel + Veuillez lire attentivement le Contrat de licence suivant. + J'&accepte les termes du Contrat de licence + Je &n'accepte pas les termes du Contrat de licence + + + + Numéro de série + 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. + Quand vous avez fini d'entrer le numéro de série, appuyez sur le bouton Vérifier ci-dessous. + + + + Le numéro de série que vous avez entré n'est pas valide! + Veulliez retourner pour réentrer votre numéro de série. + N'oubliez pas que le numéro de série doit être entré exactement comme il est imprimé sur l'autocollant. + + + + Avertissement: + Etat sauvegardé incompatible! + 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. + Poursuivre avec l'installation? + + + + Interfaces réseau hôte + 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. + + + + Location: + &Espace disque + Choisissez les fonctionnalités que vous souhaiter installer. + Cliquez sur les icônes dans l'arborescence ci-dessous pour choisir les fonctionnalités qui seront installés. + Installation personalisée + Description de l'entrée sélectionnée en plusieurs lignes. + La taille de l'entrée sélectionnée. + <Chemin de l'entrée sélectionnée> + + + + Personaliser + Veuillez choisir une des options suivantes: + Créer des éléments dans le menu démarrer + Créer un raccourci sur le bureau + Créer un raccourci dans la barre de lancement rapide + Inscription des associations de fichiers + + + + Veuillez choisir le type de pilotes réseau à utiliser : + NDIS5 network drivers. +This is default for older versions of Windows (pre-Vista). + NDIS6 network drivers. +This is default for newer versions of Windows (Vista and newer). + Utiliser pilotes réseau NDIS5. + Utiliser pilotes réseau NDIS6. + + + + Avertissement + Interfaces réseau + L'installation de la fonctionnalité réseau de [ProductName] réinitialisera votre connection réseau et vous déconnectera temporairement du réseau. + Désirez-vous poursuivre l'installation maintenant? + + + + Missing Dependencies + Python Core / win32api + Installing the [ProductName] Python bindings requires the Python Core package and the win32api bindings to be installed first. + 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. + Proceed with installation now? + + + + L'espace disque requise pour l'installation des fonctionnalités sélectionnées. + 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. + Espace disque requise + {120}{70}{70}{70}{70} + + + + Choisissez un dossier pour l'installation + Changer le dossier d'installation + Dossier parent + Créer un nouveau dossier + &Chercher dans: + &Nom du dossier: + + + + L'assistant est prêt à commencer l'installation [InstallMode]. + 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. + Prêt à installer + + + + Veuillez appuyez sur Terminer pour quitter l'assistant d'installation. + L'installation de [ProductName] est terminé. + Démarrer [ProductName] après l'installation + + + + L'assistant d'installation [ProductName] a terminé anormalement + 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. + Appuyez sur Terminer pour quitter l'assistant d'installation. + + + + 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. + Certains fichiers devant être mis à jour sont en cours d'utilisation. + Fichiers en cours d'utilisation + + + + L'assistant d'installation [ProductName] a été interrompu + 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. + Appuyez sur Terminer pour quitter l'assistant d'installation. + + + + Veuillez patienter pendant que l'assistant installe [ProductName]. Ceci peut durer plusieurs minutes. + + + + Continuant l'assistant d'installation [ProductName] + L'assistant d'installation completera l'installation de [ProductName] sur votre ordinateur. Appuyez sur Installer pour continuer ou sur Annuler pour abondonner l'assistant. + + + + Modifier, réparer ou supprimer une installation + Choisissez l'opération que vous désirer effectuer. + Ré&parer + 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. + Reparer installation + Repare + repare + &Désinstaller + Supprime [ProductName] de votre ordinateur. + Suprimer installation + Suprime + suprime + + + + Bienvenue dans l'assistant d'installation [ProductName] + 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. + + + + L'espace disque disponible est insuffisant pour l'installation. + 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. + Espace disque insuffisant + + + + L'espace disque disponible est insuffisant pour l'installation. + 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. + Espace disque épuisé + 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. + + + + Supprimer [ProductName] + Vous avez choisi de supprimer l'application de votre ordinateur. + 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. + + + + Réparer [ProductName] + L'assistant d'installation est prêt à commencer la réparation de [ProductName]. + 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. + + + + Veuillez patienter pendant que le programme d'installation découvre l'espace disque requis. + + + + 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. + Certains fichiers devant être mis à jour sont en cours d'utilisation. + Fichiers en cours d'utilisation + &Fermer les applications et essayer de les redémarrer. + &Ne pas fermer les applications. Un redémarrage sera nécessaire. + + + {{Erreur irrécupérable : }} + {{Erreur [1]. }} + Avertissement [1]. + Informations [1]. + 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]}} + {{Disque plein : }} + Action [Time] : [1]. [2] + [ProductName] + {[2]}{, [3]}{, [4]} + Type de message : [1], Argument : [2] + === Début de l'écriture dans le journal : [Date] [Time] === + === Fin de l'écriture dans le journal : [Date] [Time] === + Début de l'action [Time] : [1]. + Fin de l'action [Time] : [1]. Valeur renvoyée : [2]. + Durée restante : {[1] minute(s) }{[2] secondes} + Mémoire insuffisante. Fermez les autres applications avant de recommencer. + Le programme d'installation ne répond plus. + L'exécution du programme d'installation a pris fin prématurément. + Veuillez patienter pendant que Windows configure le logiciel "[ProductName]" + Collecte des informations nécessaires en cours... + Suppression des versions précédentes de cette application... + Préparation de la suppression des versions précédentes de cette application... + L'installation du logiciel "[ProductName]" s'est terminée correctement. + Échec de l'installation du logiciel "[ProductName]". + 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. + 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. + Insérez le disque : [2] + 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. + Erreur lors de l'écriture dans le fichier : [2]. Vérifiez que vous êtes autorisé à accéder à ce répertoire. + 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. + Une autre application dispose d'un droit d'accès exclusif au fichier '[2]'. Fermez toutes les autres applications, puis cliquez sur Réessayer. + 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. + Fichier source introuvable : [2]. Vérifiez que le fichier existe et que vous êtes autorisé à y accéder. + 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. + Erreur lors de l'écriture dans le fichier : [3]. {{ Erreur système [2].}} Vérifiez que vous êtes autorisé à accéder à ce répertoire. + Fichier source introuvable {{(cabinet)}} : [2]. Vérifiez que le fichier existe et que vous êtes autorisé à y accéder. + 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. + Le volume [2] est actuellement indisponible. Veuillez en sélectionner un autre. + Le chemin d'accès spécifié '[2]' n'est pas disponible. + Impossible d'écrire dans le dossier spécifié : [2]. + Une erreur réseau s'est produite lors de la tentative de lecture à partir du fichier : [2] + Erreur lors de la tentative de création du répertoire : [2] + Une erreur réseau s'est produite lors de la tentative de création du répertoire : [2] + Une erreur réseau s'est produite lors de la tentative d'ouverture du fichier CAB du fichier source : [2]. + Le chemin d'accès spécifié est trop long : [2] + Le programme d'installation ne dispose pas des privilèges nécessaires pour modifier ce fichier : [2]. + 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. + Le chemin d'accès au dossier '[2]' contient des mots non valides. + Le chemin d'accès au dossier '[2]' contient un caractère non valide. + Le nom de fichier court '[2]' n'est pas valide. + Erreur lors de l'obtention des informations sur la sécurité du fichier [3] GetLastError : [2] + Lecteur non valide : [2] + 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]}} + 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é. + 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.}} + Échec de la copie du fichier [2] : erreur CRC. + Échec du déplacement du fichier [2] : erreur CRC. + Échec de la modification du fichier [2] : erreur CRC. + 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. + 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. + 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]}} + 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. + 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. + 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. + 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. + 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. + 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. + 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. + 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. + 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. + 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. + Une autre installation est en cours d'exécution. Vous devez la terminer avant de poursuivre cette installation. + Erreur lors de l'accès aux données protégées. Vérifiez que Windows Installer est correctement configuré, puis recommencez l'installation. + 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. + 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. + Espace disque insuffisant -- Volume : '[2]' ; espace nécessaire : [3] Ko ; espace disponible : [4] Ko. Libérez de l'espace sur le disque, puis recommencez. + Voulez-vous vraiment annuler ? + 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. + Le produit '[2]' est déjà installé. Impossible d'installer ce produit, car il est incompatible avec celui déjà installé. + 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. + Impossible d'accéder à l'emplacement réseau [2]. + Fermez les applications suivantes avant de poursuivre l'installation : + Impossible de trouver un produit compatible précédemment installé permettant l'installation de ce produit sur cet ordinateur. + 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]}} + La clé [2] n'est pas valide. Vérifiez que vous avez entré la clé correcte. + 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. + 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. + L'installation de [2] est interrompue. Vous devez annuler les modifications apportées par cette installation pour continuer. Voulez-vous annuler les modifications ? + 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 ? + 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]'. + Installation terminée. + Échec de l'installation. + Produit : [2] -- [3] + Vous pouvez restaurer l'état antérieur de votre ordinateur ou poursuivre l'installation ultérieurement. Voulez-vous restaurer votre ordinateur ? + 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. + Impossible de trouver un ou plusieurs des fichiers requis pour restaurer l'état antérieur de votre ordinateur. Impossible de procéder à la restauration. + [2] ne peut pas installer un des produits nécessaires. Contactez votre service de support technique. {{Erreur système : [3].}} + Impossible de supprimer la version antérieure de [2]. Contactez votre service de support technique. {{Erreur système [3].}} + [2] installé + [2] configuré + [2] supprimé + Le fichier [2] a été rejeté par la stratégie de signature numérique. + 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. + 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] }} + 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] }} + 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] }} + 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] }} + Suppression effectuée. + Échec de la suppression. + Annonce effectuée. + Échec de l'annonce. + Configuration effectuée. + Échec de la configuration. + 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. + 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]'. + 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 ? + Le chemin d'accès [2] n'est pas valide. Spécifiez un chemin d'accès valide. + Mémoire insuffisante. Fermez les autres applications avant de recommencer. + 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. + 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. + Le dossier [2] n'existe pas. Entrez un chemin d'accès à un dossier existant. + Vous ne disposez pas des privilèges nécessaires pour lire le contenu de ce dossier. + Impossible de trouver un dossier de destination valide pour l'installation. + Une erreur s'est produite lors de la tentative de lecture de la base de données d'installation source : [2]. + Planification du redémarrage : Le fichier [2] est renommé [3]. Pour terminer l'opération, votre système doit être redémarré. + Planification du redémarrage : Suppression du fichier [2]. Pour terminer l'opération, votre système doit être redémarré. + Impossible d'inscrire le module [2]. HRESULT [3]. Contactez votre service de support technique. + Impossible d'annuler l'inscription du module [2]. HRESULT [3]. Contactez votre service de support technique. + Impossible de placer le package [2] dans le cache. Erreur : [3]. Contactez votre Support technique. + 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. + Impossible d'annuler l'inscription de la police [2]. Vérifiez que vous disposez des autorisations requises pour supprimer des polices. + Impossible de créer le raccourci [2]. Vérifiez que le dossier de destination existe et que vous êtes autorisé à y accéder. + Impossible de supprimer le raccourci [2]. Vérifiez que le fichier de raccourcis existe et que vous êtes autorisé à y accéder. + Impossible d'inscrire la bibliothèque de types pour le fichier [2]. Contactez votre service de support technique. + Impossible d'annuler l'inscription de la bibliothèque de types pour le fichier [2]. Contactez votre service de support technique. + Impossible de mettre à jour le fichier ini [2][3]. Vérifiez que ce fichier existe et que vous êtes autorisé à y accéder. + 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]. + Erreur lors de la suppression du gestionnaire de pilotes ODBC. Erreur ODBC [2] : [3]. Contactez votre Support technique. + Erreur lors de l'installation du gestionnaire de pilotes ODBC. Erreur ODBC [2] : [3]. Contactez votre Support technique. + 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. + 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. + 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. + É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. + 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. + Impossible de supprimer le service '[2]' ([3]). Vérifiez que vous disposez des privilèges nécessaires pour supprimer les services système. + Impossible d'installer le service'[2]' ([3]). Vérifiez que vous disposez des privilèges nécessaires pour installer des services système. + 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. + 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. + 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. + 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. + Erreur lors de l'inscription de l'application COM+. Contactez votre service de support technique pour plus d'informations. + Erreur lors de l'annulation de l'inscription de l'application COM+. Contactez votre service de support technique pour plus d'informations. + La description du service '[2]' ([3]) n'a pas pu être modifiée. + 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]}} + 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]}} + 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]}} + Les installations utilisateurs sont désactivées par la stratégie en vigueur sur cet ordinateur. + 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]}} + 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]}} + 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]}} + 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]}} + + + L'application "[2]" doit être fermée pour que l'installation puisse continuer. + + Validation de l'installation + Copie des nouveaux fichiers + Fichier : [1], Répertoire : [9], Taille : [6] + Copie des fichiers d'installation réseau + Fichier : [1], Répertoire : [9], Taille : [6] + Calcul de l'espace nécessaire + Calcul de l'espace nécessaire + Calcul de l'espace nécessaire + Création des raccourcis + Raccourci : [1] + Publication des composants qualifiés + Identificateur du composant : [1], qualificateur : [2] + Publication des composants du produit + Composant : [1] + Publication des informations sur le produit + Inscription des serveurs de classes + Identificateur de classe : [1] + Inscription des extensions serveur + Extension : [1] + Inscription des informations MIME + Type de contenu MIME : [1], extension : [2] + Inscription des identificateurs de programmes + Identificateur du programme : [1] + Allocation de l'espace du Registre + Espace libre : [1] + Recherche des applications déjà installées + Propriété : [1], Signature : [2] + Liaison des exécutables + Fichier : [1] + Recherche des produits éligibles + Création des dossiers + Dossier : [1] + Suppression des services + Service : [1] + Création de fichiers dupliqués + Fichier : [1], Répertoire : [9], Taille : [6] + Recherche des applications associées + Application trouvée : [1] + Installation des composants ODBC + Installation des nouveaux services + Service : [2] + Évaluation des conditions de lancement + Migration de l'état des composants à partir des applications associées + Application : [1] + Déplacement des fichiers + Fichier : [1], Répertoire : [9], Taille : [6] + Fichiers de correction + Fichier : [1], Répertoire : [2], Taille : [3] + Mise à jour de l'inscription des composants + Inscription des composants et applications COM+ + Id application : [1]{{, Type application : [2], Utilisateurs : [3], RSN : [4]}} + Inscription des polices + Police : [1] + Inscription du produit + [1] + Inscription des bibliothèques de type + Identificateur de la bibliothèque : [1] + Inscription de l'utilisateur + [1] + Suppression des fichiers dupliqués + Fichier : [1], Répertoire : [9] + Mise à jour des chaînes d'environnement + Nom : [1], valeur : [2], action : [3] + Suppression des applications + Application : [1], Ligne de commande : [2] + Suppression des fichiers + Fichier : [1], Répertoire : [9] + Suppression des dossiers + Dossier : [1] + Suppression des entrées des fichiers INI + Fichier : [1] ; section : [2] ; clé : [3] ; valeur : [4] + Suppression des composants ODBC + Suppression des valeurs du Registre système + Clé : [1], Nom : [2] + Suppression des raccourcis + Raccourci : [1] + Recherche des produits éligibles + Inscription des modules + Fichier : [1] ; dossier : [2] + Annulation de l'inscription des modules + Fichier : [1] ; dossier : [2] + Initialisation des répertoires ODBC en cours + Démarrage des services + Service : [1] + Arrêt des services + Service : [1] + Annulation de la publication des composants qualifiés + Identificateur du composant : [1], qualificateur : [2] + Annulation de la publication des composants du produit + Composant : [1] + Annulation de l'inscription des serveurs de classes + Identificateur de classe : [1] + Annulation de l'inscription des composants et applications COM+ + Id application : [1]{{, AppType : [2]}} + Annulation de l'inscription des extensions serveur + Extension : [1] + Annulation de l'inscription des polices + Police : [1] + Annulation de l'inscription des informations MIME + Type de contenu MIME : [1], extension : [2] + Annulation de l'inscription des identificateurs de programmes + Identificateur du programme : [1] + Annulation de l'inscription des bibliothèques de type + Identificateur de la bibliothèque : [1] + Mise à jour des chaînes d'environnement + Nom : [1], valeur : [2], action : [3] + Écriture des valeurs des fichiers INI + Fichier : [1] ; section : [2] ; clé : [3] ; valeur : [4] + Écriture des valeurs du Registre système + Clé : [1], Nom : [2], Valeur : [3] + Publication d'informations sur l'application + Génération de scripts pour l'action : + [1] + Installation du catalogue système + Fichier : [1], dépendances : [2] + Publication des informations de modules + Contexte de l'application : [1], nom de l'assembly : [2] + Dépublication des informations sur l'assembly + Contexte de l'application : [1], nom de l'assembly : [2] + Annulation de l'action : + [1] + Suppression des fichiers de sauvegarde + Fichier : [1] + Suppression des fichiers déplacés + Fichier : [1], Répertoire : [9] + Annulation de la publication des informations sur le produit + + octets + Go + Ko + Mo + Ce composant ne sera pas disponible. + Ce composant sera installé à la demande. + Ce composant sera installé en totalité pour être exécuté à partir du CD + Ce composant sera installé en totalité sur le disque dur local + Ce composant sera installé en totalité pour être exécuté à partir du réseau + Installation pour une exécution à partir du CD + Installation sur le disque dur local + Installation pour une exécution à partir du réseau + Collecte des informations nécessaires en cours... + Ce composant ne sera pas installé + Ce composant sera configuré pour être installé à la demande + Ce composant sera installé pour être exécuté à partir du CD + Ce composant sera installé sur le disque dur local + Ce composant sera installé pour être exécuté à partir du réseau + Ce composant ne sera plus disponible + Installation à la demande + Ce composant sera disponible pour être exécuté à partir du CD + Ce composant sera installé sur votre disque dur local + Ce composant sera disponible pour être exécuté à partir du réseau + Ce composant sera désinstallé en totalité et ne pourra plus être exécuté à partir du CD + Ce composant ne pourra plus être exécuté à partir du CD et sera configuré pour être installé à la demande + Ce composant sera conservé pour être exécuté à partir du CD + Ce composant ne pourra plus être exécuté à partir du CD et sera installé sur le disque dur local + Ce composant libère [1] sur votre disque dur. + Ce composant nécessite la présence de [1] sur votre disque dur. + Calcul de l'espace nécessaire pour ce composant... + Ce composant sera supprimé en totalité + Ce composant sera supprimé du disque dur local, mais sera configuré pour être installé à la demande + Ce composant sera supprimé du disque dur local, mais pourra encore être exécuté à partir du CD + Ce composant sera conservé sur le disque dur local + Ce composant sera supprimé de votre disque dur local, mais sera toujours disponible pour être exécuté à partir du réseau + Ce composant sera désinstallé en totalité et ne pourra plus être exécuté à partir du réseau + Ce composant ne pourra plus être exécuté à partir du réseau et sera configuré pour être installé à la demande + Ce composant ne pourra plus être exécuté à partir du réseau et sera installé sur le disque dur local + Ce composant sera conservé pour être exécuté à partir du réseau + 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. + 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. + 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. + 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. + Durée restante : {[1] minute(s) }{[2] secondes} + Disponible + Différences + Nécessaire + Taille du disque + Volume + + 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 @@ + + + + + + + 1040 + Italiano + + &No + &Sì + A&nnulla + &Avanti > + < &Indietro + S&foglia + O&K + &Controlla + &Installa + &Rimuovi + &Fine + &Ripara + &Ritorna + Ri&prova + I&gnora + E&sci + Personalizzato + Installazione + + Licenza + Manuale utente + + Applicazione [ProductName]. + Driver di [ProductName] per il supporto di dispositivi USB. + Driver di [ProductName] per il supporto di rete. + Driver di [ProductName] per la rete con bridge. + Driver di [ProductName] per la scheda di rete virtuale per la rete solo host. + Driver di [ProductName] per la rete con bridge NDIS6. + Driver di [ProductName] per la scheda di rete virtuale per la rete solo host NDIS6. + + Supporto Python per VirtualBox. + + Devi avere diritti di amministrazione per (dis)installare [ProductName]! L'installazione sarà interrotta immediatamente. + [ProductName] needs the Microsoft Visual C++ 2019 Redistributable Package being installed first. Please install and restart the installation of [ProductName]. + Questa applicazione può essere eseguita solo su Windows XP o superiori. + Questa applicazione può essere eseguita solo su sistemi Windows a 32 bit. Installa la versione a 64 bit di [ProductName]! + Questa applicazione può essere eseguita solo su sistemi Windows a 64 bit. Installa la versione a 32 bit di [ProductName]! + Una vecchia installazione di Sun VirtualBox è stata trovata su questa macchina. Disinstalla prima questo pacchetto e poi installa [ProductName]! + Una vecchia installazione di innotek VirtualBox è stata trovata su questa macchina. Disinstalla prima questo pacchetto e poi installa [ProductName]! + + Sei sicuro di voler annullare l'installazione di [ProductName]? + + Benvenuti nella procedura guidata di installazione di [ProductName] + La procedura guidata installerà [ProductName] sul tuo computer. Fai clic su Avanti per continuare o su Annulla per uscire dalla procedura guidata. + + Accordo di licenza con l'utente finale + Leggi attentamente il seguente accordo di licenza. + &Accetto i termini dell'accordo di licenza + &Non accetto i termini dell'accordo di licenza + + Numero di serie + Digita il numero di serie nel campo seguente. Troverai il numero sull'adesivo all'interno della custodia del CD di VirtualBox. + Una volta digitato il numero di serie, premi il pulsante "Controlla" in basso. + + Il numero di serie digitato non era valido! + Torna indietro per digitare nuovamente il numero di serie. + Ricorda che il numero seriale deve essere scritto esattamente come è stampato sull'adesivo. + + Avviso: + Stati salvati non compatibili! + Quando aggiorni [ProductName], tutti gli stati salvati dalle macchine già esistenti non funzioneranno più! Dopo l'installazione, dovrai scartarli manualmente. + Procedere subito con l'installazione? + + Interfacce host + Se hai utilizzato interfacce host per le tue macchine nella versione precedente, devi ricrearle manualmente dopo questa installazione. + + La seguente applicazione dovrebbe essere chiusa prima di procedere con l'installazione: "[2]" + + Posizione: + &Utilizzo del disco + Seleziona la modalità di installazione delle funzionalità. + Fai clic sulle icone dell'albero seguente per cambiare la modalità di installazione delle funzionalità. + Installazione personalizzata + CustomizeDlgItemDescription-CustomizeDlgItemDescription + CustomizeDlgItemSize-CustomizeDlgItemSize + CustomizeDlgLocation-CustomizeDlgLocation + + Personalizza + Scegli dalle opzioni seguenti: + Crea voci del menu di avvio + Crea una scorciatoia sul desktop + Crea una scorciatoia nella barra di avvio veloce + Registrati associazioni di file + + Scegli quale tipo di driver di rete utilizzerai: + Driver di rete NDIS5. +Questo è il tipo predefinito per le vecchie versioni di Windows (pre-Vista). + Driver di rete NDIS6. +Questo è il tipo predefinito per le nuove versioni di Windows (Vista e successivi). + Usa driver di rete NDIS5. + Usa driver di rete NDIS6. + + Avviso: + Interfacce di rete + L'installazione delle funzionalità di rete di [ProductName] ripristinerà la connessione di rete causando una disconnessione temporanea dalla rete. + Vuoi procedere subito con l'installazione? + + Missing Dependencies + Python Core / win32api + Installing the [ProductName] Python bindings requires the Python Core package and the win32api bindings to be installed first. + 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. + Proceed with installation now? + + Lo spazio su disco richiesto per l'installazione delle funzionalità selezionate. + 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. + Requisiti di spazio disco + {120}{70}{70}{70}{70} + + Spostati nella cartella di destinazione + Cambia la cartella di destinazione attuale + Livello superiore + Crea una nuova cartella + &Cerca in: + &Nome della cartella: + + La procedura guidata è pronta per iniziare l'installazione di [InstallMode]. + 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. + Pronto per l'installazione + + Fai clic sul pulsante Fine per uscire dalla procedura guidata. + L'installazione di [ProductName] è completa. + Avvia [ProductName] dopo l'installazione + + La procedura guidata di [ProductName] è stata terminata in anticipo + 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. + Fai clic sul pulsante Fine per uscire dalla procedura guidata. + + Le seguenti applicazioni stanno utilizzando file che devono essere aggiornati da questa installazione. Chiudi queste applicazioni e poi fai clic su &Riprova per continuare l'installazione o Esci per abbandonarla. + Alcuni file che devono essere aggiornati sono attualmente utilizzati. + File in uso + + La procedura guidata di [ProductName] è stata interrotta + L'installazione di [ProductName] è stata interrotta. Il sistema non è stato modificato. Per installare questo programma successivamente, esegui nuovamente questa installazione. + Fai clic sul pulsante Fine per uscire dalla procedura guidata. + + Attendi che la procedura guidata installi [ProductName]. Potrebbe richiedere qualche minuto. + + Ripristino della procedura guidata di installazione di [ProductName] + La procedura guidata completerà l'installazione di [ProductName] sul tuo computer. Fai clic su Installa per continuare o Annulla per uscire dalla procedura guidata. + + Modifica, ripara o rimuovi l'installazione + Seleziona l'operazione che desideri eseguire. + Ri&para + Ripara gli errori nello stato di installazione più recente - corregge i file, le scorciatoie e le voci di registro mancanti o danneggiate. + Ripara l'installazione + Riparazione + ripara + &Rimuovi + Rimuove [ProductName] dal tuo computer. + Rimuovi l'installazione + Rimozione + rimuove + + Benvenuti nella procedura guidata di installazione di [ProductName] + 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. + + Lo spazio su disco richiesto per l'installazione supera lo spazio disponibile. + 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. + Spazio su disco insufficiente + + Lo spazio su disco richiesto per l'installazione supera lo spazio disponibile. + 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. + Spazio su disco insufficiente + 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. + + Rimuovi [ProductName] + Hai scelto di rimuovere il programma dal tuo computer. + 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. + + Ripara [ProductName] + La procedura guidata di installazione è pronta per iniziare la riparazione di [ProductName]. + 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. + + Attendi che l'installatore termini il calcolo dei requisiti di spazio sul disco. + + 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. + Alcuni file che devono essere aggiornati sono attualmente utilizzati. + File in uso + &Chiudi le applicazioni e prova a riavviarle. + &Non chiudere le applicazioni. Sarà necessario un riavvio. + + {{Errore grave: }} + {{Errore [1]. }} + Avviso [1]. + + Info [1]. + 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]}} + + {{Disco pieno: }} + Azione [Time]: [1]. [2] + [ProductName] + {[2]}{, [3]}{, [4]} + Tipo di messaggio: [1], Argomento: [2] + === Registrazione iniziata: [Date] [Time] === + === Registrazione fermata: [Date] [Time] === + Avvio azione [Time]: [1]. + Azione terminata [Time]: [1]. Valore restituito [2]. + Tempo rimanente: {[1] minuti }{[2] secondi} + Memoria insufficiente. Chiudi le altre applicazione prima di riprovare. + L'installazione non risponde più. + L'installatore si è fermato prematuramente. + Attendi mentre Windows configura [ProductName] + Raccolta delle informazioni necessarie in corso... + Rimozione delle vecchie versioni di questa applicazione... + Preparazione della rimozione delle vecchie versioni di questa applicazione... + {[ProductName] }Installazione completata correttamente. + {[ProductName] }Installazione non riuscita. + Errore durante la lettura dal file: [2]. {{ Errore di sistema [3].}} Verifica che il file esista e che sia accessibile. + Impossibile creare il file '[2]'. Una cartella con questo nome esiste già. Annulla l'installazione o prova ad installare in una posizione diversa. + Inserisci il disco: [2] + 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. + Errore durante la scrittura del file: [2]. Verifica di avere l'accesso a tale cartella. + Errore durante la lettura del file [2]. {{ Errore di sistema [3].}} Verifica che il file esista e sia accessibile. + Un'altra applicazione ha accesso esclusivo al file '[2]'. Termina le altre applicazioni e fai clic su Riprova. + 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. + File di origine non trovato: [2]. Verifica che il file esista e che sia accessibile. + Errore durante la lettura del file: [3]. {{ Errore di sistema [2].}} Verifica che il file esista e sia accessibile. + Errore durante la scrittura del file: [3]. {{ Errore di sistema [2].}} Verifica di avere l'accesso a tale cartella. + File di origine non trovato{{(cabinet)}}: [2]. Verifica che il file esista e sia accessibile. + 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. + Il volume [2] è attualmente indisponibile. Selezionane un altro. + Il percorso specificato '[2]' non è disponibile. + Impossibile scrivere nella cartella specificata: [2]. + Si è verificato un errore di rete durante il tentativo di leggere dal file: [2] + Si è verificato un errore durante il tentativo di creare la cartella: [2] + Si è verificato un errore di rete durante il tentativo di creare la cartella: [2] + Si è verificato un errore di rete durante il tentativo di aprire il cabinet del file sorgente: [2] + Il percorso specificato è troppo lungo: [2] + L'installatore ha privilegi insufficienti per modificare questo file: [2]. + Una parte del percorso della cartella '[2]' non è valida. È vuota o eccede la lunghezza consentita dal sistema. + Il percorso '[2]' contiene parole non valide nei percorsi delle cartelle. + Il percorso della cartella '[2]' contiene un carattere non valido. + '[2]' non è un nome breve valido. + Errore durante il recupero della protezione del file: [3] GetLastString: [2] + Disco non valido: [2] + 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]}} + Un file richiesto non può essere installato poiché il file cabinet [2] non è firmato digitalmente. Questo potrebbe indicare che il file cabinet è danneggiato. + 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.}} + Impossibile copiare correttamente il file [2]: errore CRC. + Impossibile spostare correttamente il file [2]: errore CRC. + Impossibile applicare correttamente il file di patch [2]: errore CRC. + 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. + 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. + 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]}} + Impossibile creare la chiave: [2]. {{ Errore di sistema [3].}} Verifica di avere accesso alla chiave, o contatta il tuo personale di supporto. + Impossibile aprire la chiave: [2]. {{ Errore di sistema [3].}} Verifica di avere accesso alla chiave, o contatta il tuo personale di supporto. + 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. + Impossibile eliminare la chiave [2]. {{ Errore di sistema [3].}} Verifica di avere accesso alla chiave, o contatta il tuo personale di supporto. + 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. + 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. + 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. + 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. + 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. + Impossibile incrementare lo spazio disponibile per il registro. [2] KB di spazio libero per il registro sono richiesti per l'installazione di questa applicazione. + Un'altra installazione è in corso. Devi completare quella installazione prima di continuare con questa. + Errore durante l'accesso ai dati protetti. Assicurati che Windows Installer sia installato correttamente e prova nuovamente l'installazione. + 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. + L'utente '[2]' ha iniziato precedentemente un'installazione del prodotto '[3]'. Quell'utente dovrà eseguire nuovamente l'installazione prima che possa utilizzare il prodotto. + Spazio su disco insufficiente -- Volume: '[2]'; spazio richiesto: [3] KB; spazio disponibile: [4] KB. Libera spazio sul disco e riprova. + Sei sicuro di voler annullare? + Il file [2][3] è in uso { dal processo seguente: Nome: [4], Id: [5], Titolo finestra: '[6]'}. Chiudi l'applicazione e riprova. + Il prodotto '[2]' è già installato, e impedisce l'installazione di questo prodotto. I due prodotti sono incompatibili. + 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. + Impossibile accedere al percorso di rete [2]. + Le seguenti applicazioni dovrebbero essere chiuse prima di continuare l'installazione: + Impossibile trovare alcun prodotto compatibile precedentemente installato sulla macchina per l'installazione di questo prodotto. + 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]}} + La chiave [2] non è valida. Verifica di aver digitato la chiave corretta. + 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. + 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. + Un'installazione di [2] è attualmente sospesa. Devi annullare le modifiche fatte da quell'installazione per continuare. Vuoi annullare tali modifiche? + Una precedente installazione di questo prodotto è in corso. Devi annullare le modifiche fatte da quell'installazione per continuare. Vuoi annullare tali modifiche? + Un pacchetto di installazione per il prodotto [2] non è disponibile. Prova nuovamente l'installazione utilizzando una copia valida del pacchetto di installazione '[3]'. + Installazione completata correttamente. + Installazione non riuscita. + Prodotto: [2] -- [3] + Puoi sia ripristinare il tuo computer al suo stato precedente, sia continuare l'installazione successivamente. Vuoi ripristinare? + 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. + Uno o più file richiesti per ripristinare il tuo computer al suo stato precedente non possono essere trovati. Il ripristino non sarà possibile. + [2] non è in grado di installare uno dei prodotti richiesti. Contatta il tuo supporto tecnico. {{Stringa di sistema: [3].}} + La vecchia versione di [2] non può essere rimossa. Contatta il tuo supporto tecnico. {{Stringa di sistema [3].}} + Installato [2] + Configurato [2] + Rimosso [2] + Il file [2] è stato rifiutata dal criterio di firma digitale. + 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. + 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] }} + 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] }} + 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] }} + 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] }} + Rimozione completata correttamente. + Rimozione non riuscita. + Pubblicazione completata correttamente. + Pubblicazione non riuscita. + Configurazione completata correttamente. + Configurazione non riuscita. + 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. + Il percorso [2] non è valido. Specifica un percorso valido. + Memoria insufficiente. Chiudi le altre applicazioni prima di riprovare. + 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. + 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. + La cartella [2] non esiste. Digita un percorso a una cartella esistente. + Non hai i permessi di lettura su questa cartella. + Non è possibile determinare una cartella di destinazione valida per l'installazione. + Errore durante il tentativo di leggere dal database di installazione di origine: [2]. + Pianificazione dell'operazione di riavvio: rinomina del file [2] in [3]. Necessario il riavvio per completare l'operazione. + Pianificazione dell'operazione di riavvio: eliminazione del file [2]. È necessario il riavvio per completare l'operazione. + La registrazione del modulo [2] non è riuscita. HRESULT [3]. Contatta il tuo personale di supporto. + La de-registrazione del modulo [2] non è riuscita. HRESULT [3]. Contatta il tuo personale di supporto. + Memorizzazione in cache del pacchetto [2] non riuscita. Errore: [3]. Contatta il tuo personale di supporto. + Impossibile registrare il carattere [2]. Verifica di avere permessi sufficienti per installare i caratteri, e che il sistema supporti questo carattere. + Impossibile de-registrare il carattere [2]. Verifica di avere permessi sufficienti per rimuovere i caratteri. + Impossibile creare la scorciatoia [2]. Verifica che la cartella di destinazione esista e che sia accessibile. + Impossibile rimuovere la scorciatoia [2]. Verifica che il file della scorciatoia esista e che sia accessibile. + Impossibile registrare la libreria dei tipi per il file [2]. Contatta il tuo personale di supporto. + Impossibile de-registrare la libreria dei tipi per il file [2]. Contatta il tuo personale di supporto. + Impossibile aggiornare il file ini [2][3]. Verifica che il file esista e che sia accessibile. + Impossibile pianificare la sostituzione del file [3] con il file [2] all riavvio. Verifica di avere i permessi di scrittura sul file [3]. + Errore durante la rimozione del gestore dei driver ODBC, errore ODBC [2]: [3]. Contatta il tuo personale di supporto. + Errore durante l'installazione del gestore dei driver ODBC, errore ODBC [2]: [3]. Contatta il tuo personale di supporto. + Errore durante la rimozione del driver ODBC: [4], errore ODBC [2]: [3]. Verifica di aver privilegi sufficienti per rimuovere i driver ODBC. + Errore durante l'installazione del driver ODBC: [4], errore ODBC [2]: [3]. Verifica che il file [4] esista e che sia accessibile. + Errore durante la Configurazione dell'origine dati ODBC: [4], errore ODBC [2]: [3]. Verifica che il file [4] esista e che sia accessibile. + Il servizio '[2]' ([3]) non può essere avviato. Verifica di aver privilegi sufficienti per avviare i servizi di sistema. + Il servizio '[2]' ([3]) non può essere fermato. Verifica di aver privilegi sufficienti per fermare i servizi di sistema. + Il servizio '[2]' ([3]) non può essere eliminato. Verifica di aver privilegi sufficienti per rimuovere i servizi di sistema. + Il servizio '[2]' ([3]) non può essere installato. Verifica di aver privilegi sufficienti per installare i servizi di sistema. + Impossibile aggiornare la variabile d'ambiente '[2]'. Verifica di avere privilegi sufficienti per modificare le variabili d'ambiente. + Non hai privilegi sufficienti per completare questa installazione per tutti gli utenti sulla macchina. Accedi come amministratore e riprova questa installazione. + Impossibile impostare la sicurezza del file '[3]'. Errore: [2]. Verifica di avere privilegi sufficienti per modificare i permessi di protezione per questo file. + 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. + Errore durante la registrazione dell'applicazione COM+. Contatta il tuo personale di supporto per ulteriori informazioni. + Errore durante la de-registrazione dell'applicazione COM+. Contatta il tuo personale di supporto per ulteriori informazioni. + La descrizione del servizio '[2]' ([3]) non può essere cambiata. + 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]}} + Il servizio Windows Installer non può aggiornare il file protetto di Windows [2]. {{Versione pacchetto: [3], Versione protetta OS: [4], Errore SFP: [5]}} + Il servizio Windows Installer non può aggiornare uno o più file protetti di Windows. {{Stringa SFP: [2]. Elenco dei file protetti:\r\n[3]}} + Le installazioni utente sono disabilitate tramite policy sulla macchina. + Si è verificato un errore durante l'installazione del componente assembly [2]. HRESULT: [3]. {{interfaccia assembly: [4], funzione: [5], nome assembly: [6]}} + + L'applicazione "[2]" deve essere chiusa affinché l'installazione possa continuare. + Convalida dell'installazione + Copia dei nuovi file + File: [1], Cartella: [9], Dimensione: [6] + Copia dei file di installazione da rete + File: [1], Cartella: [9], Dimensione: [6] + Calcolo dei requisiti di spazio + Calcolo dei requisiti di spazio + Calcolo dei requisiti di spazio + Creazione delle scorciatoie + Scorciatoia: [1] + Pubblicazione componenti qualificate + ID componente: [1], Qualificatore: [2] + Pubblicazione funzionalità del prodotto + Funzionalità: [1] + Pubblicazione delle informazioni sul prodotto + Registrazione dei server delle classi + ID classe: [1] + Registrazione dei server delle estensioni + Estensione: [1] + Registrazione informazioni MIME + Tipo di contenuto MIME: [1], Estensione: [2] + Registrazione degli identificatori di programma + ProgId: [1] + Allocazione spazio di registro + Spazio disponibile: [1] + Ricerca delle applicazioni installate + Proprietà: [1], Firma: [2] + Associazione eseguibili + File: [1] + Ricerca dei prodotti qualificanti + Creazione delle cartelle + Cartella: [1] + Eliminazione dei servizi + Servizio: [1] + Creazione dei file duplicati + File: [1], Cartella: [9], Dimensione: [6] + Ricerca della applicazioni correlate + Trovata applicazione: [1] + Installazione dei componenti ODBC + Installazione dei nuovi servizi + Servizio: [2] + Valutazione delle condizioni di avvio + Migrazione degli stati delle funzionalità dalle applicazioni correlate + Applicazione: [1] + Spostamento dei file + File: [1], Cartella: [9], Dimensione: [6] + Applicazione patch ai file + File: [1], Cartella: [2], Dimensione: [3] + Aggiornamento registrazione dei componenti + Registrazione applicazioni COM+ e componenti + AppId: [1]{{, AppType: [2], Utenti: [3], RSN: [4]}} + Registrazione dei caratteri + Carattere: [1] + Registrazione del prodotto + [1] + Registrazione delle librerie dei tipi + LibID: [1] + Registrazione utente + [1] + Rimozione dei file duplicati + File: [1], Cartella: [9] + Aggiornamento stringhe d'ambiente + Nome: [1], Valore: [2], Azione [3] + Rimozione delle applicazioni + Applicazione: [1], Riga di comando: [2] + Rimozione dei file + File: [1], Cartella: [9] + Rimozione delle cartelle + Cartella: [1] + Rimozione voci dei file INI + File: [1], Sezione: [2], Chiave: [3], Valore: [4] + Rimozione componenti ODBC + Rimozione dei valori del registro di sistema + Chiave: [1], Nome: [2] + Rimozione delle scorciatoie + Scorciatoia: [1] + Ricerca dei prodotti qualificanti + Registrazione dei moduli + File: [1], Cartella: [2] + De-registrazione dei moduli + File: [1], Cartella: [2] + Inizializzazione delle cartelle ODBC + Avvio dei servizi + Servizio: [1] + Interruzione dei servizi + Servizio: [1] + Rimozione pubblicazione dei componenti qualificati + ID componente: [1], Qualificatore: [2] + Rimozione della pubblicazione delle funzionalità di prodotto + Funzionalità: [1] + De-registrazione server delle classi + ID classe: [1] + De-registrazione applicazioni COM+ e componenti + AppId: [1]{{, AppType: [2]}} + De-registrazione server delle estensioni + Estensione: [1] + De-registrazione dei caratteri + Carattere: [1] + De-registrazione informazioni MIME + Tipi di contenuto MIME: [1], Estensione: [2] + De-registrazione degli identificatori di programma + ProgId: [1] + De-registrazione delle librerie dei tipi + LibID: [1] + Aggiornamento stringhe d'ambiente + Nome: [1], Valore: [2], Azione [3] + Scrittura valori dei file INI + File: [1], Sezione: [2], Chiave: [3], Valore: [4] + Scrittura valori registro di sistema + Chiave: [1], Nome: [2], Valore: [3] + Pubblicazione dell'applicazione + Generazione di operazioni di script per l'azione: + [1] + Installazione del catalogo di sistema + File: [1], Dipendenze: [2] + Pubblicazione informazioni assembly + Contesto dell'applicazione:[1], Nome assembly:[2] + Rimozione pubblicazione informazioni assembly + Contesto dell'applicazione:[1], Nome assembly:[2] + Azione di rollback: + [1] + Rimozione dei file di backup + File: [1] + Rimozione dei file spostati + File: [1], Cartella: [9] + Rimozione della pubblicazione delle informazioni sul prodotto + byte + GB + KB + MB + La funzionalità completa non sarà disponibile + La funzionalità sarà installata quando richiesto + La funzionalità completa sarà installata per essere eseguita da CD + La funzionalità completa sarà installata sul disco fisso locale + La funzionalità completa sarà installata per essere eseguita dalla rete + Sarà installata per essere eseguita da CD + Sarà installata sul disco fisso locale + Sarà installata per essere eseguita dalla rete + Raccolta delle informazioni necessarie in corso... + Questa funzionalità rimarrà disinstallata + Questa funzionalità sarà impostata per essere installata quando necessario + Questa funzionalità sarà installata per essere eseguita da CD + Questa funzionalità sarà installata sul disco fisso locale + Questa funzionalità sarà installata per essere eseguita dalla rete + Questa funzionalità diventerà indisponibile + Sarà installata quando richiesto + Questa funzionalità sarà disponibile per essere eseguita da CD + Questa funzionalità sarà installata sul disco fisso locale + Questa funzionalità sarà disponibile per essere eseguita dalla rete + Questa funzionalità sarà disinstallata completamente, non potrai eseguirla da CD + Questa funzionalità cambierà dallo stato di esecuzione da CD a impostazione per essere installata quando necessario + Questa funzionalità continuerà ad essere eseguibile da CD + Questa funzionalità cambierà dallo stato di esecuzione da CD a impostazione per essere installata sul disco fisso locale + Questa funzionalità libera [1] sul tuo disco fisso. + Questa funzionalità richiede [1] del tuo disco fisso. + Costo di compilazione per questa funzionalità... + Questa funzionalità sarà rimossa completamente + Questa funzionalità sarà rimossa dal tuo disco fisso locale, ma sarà impostata per essere installata quando necessario + Questa funzionalità sarà rimossa dal tuo disco fisso locale, ma sarà ancora disponibile per l'esecuzione da CD + Questa funzionalità rimarrà sul tuo disco fisso locale + Questa funzionalità sarà rimossa dal tuo disco fisso locale, ma sarà ancora disponibile per essere eseguita dalla rete + Questa funzionalità sarà disinstallata completamente, non potrai eseguirla dalla rete + Questa funzionalità cambierà dallo stato di esecuzione da rete a impostazione per essere installata quando necessario + Questa funzionalità cambierà dallo stato di esecuzione da rete a essere installata sul disco fisso locale + Questa funzionalità continuerà ad essere eseguibile dalla rete + Questa funzionalità libera [1] sul tuo disco fisso. Ha [2] di [3] sotto-funzionalità selezionate. Le sotto-funzionalità liberano [4] sul tuo disco fisso.. + Questa funzionalità libera [1] sul tuo disco fisso. Ha [2] di [3] sotto-funzionalità selezionate. Le sotto-funzionalità richiedono [4] sul tuo disco fisso. + Questa funzionalità richiede [1] sul tuo disco fisso. Ha [2] di [3] sotto-funzionalità selezionate. Le sotto-funzionalità liberano [4] sul tuo disco fisso. + Questa funzionalità richiede [1] sul tuo disco fisso. Ha [2] di [3] sotto-funzionalità selezionate. Le sotto-funzionalità richiedono [4] sul tuo disco fisso. + Tempo rimanente: {[1] minuti }{[2] secondi} + Disponibile + Differenza + Richiesto + Dimensione disco + Volume + 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 @@ + + + + + + + 1033 + English + + &No + &Yes + &Cancel + &Next > + < &Back + Br&owse + O&K + &Check + &Install + &Remove + &Finish + &Repair + &Return + Re&try + I&gnore + E&xit + + Custom + Setup + + + + License + User manual + + + + [ProductName] application. + [ProductName] USB device drivers for USB device support. + [ProductName] network device drivers for networking support. + [ProductName] driver for Bridged Networking. + [ProductName] virtual network adapter driver for Host-Only Networking. + [ProductName] driver for NDIS6 Bridged Networking. + [ProductName] virtual network adapter driver for NDIS6 Host-Only Networking. + + Python support for VirtualBox. + + + + You need to have administrator rights to (un)install [ProductName]! This setup will abort now. + [ProductName] needs the Microsoft Visual C++ 2019 Redistributable Package being installed first. Please install and restart the installation of [ProductName]. + This application only runs on Windows XP or above. + This application only runs on 32-bit Windows systems. Please install the 64-bit version of [ProductName]! + This application only runs on 64-bit Windows systems. Please install the 32-bit version of [ProductName]! + An old Sun VirtualBox installation has been found on this machine. Please uninstall this package first and then install [ProductName]! + An old innotek VirtualBox installation has been found on this machine. Please uninstall this package first and then install [ProductName]! + + + + Are you sure you want to cancel [ProductName] installation? + + + + Welcome to the [ProductName] Setup Wizard + The Setup Wizard will install [ProductName] on your computer. Click Next to continue or Cancel to exit the Setup Wizard. + + + + End-User License Agreement + Please read the following license agreement carefully. + I &accept the terms in the License Agreement + I &do not accept the terms in the License Agreement + + + + Serial Number + Please enter your serial number in the fields below. You'll find it on the sticker inside the VirtualBox CD case. + When done entering the serial number, press the "Check" button below. + + + + Entered serial number was invalid! + Please go back to enter your serial number again. + Keep in mind that the serial number must be spelled exactly like printed on the sticker. + + + + Warning: + Incompatible Saved States! + When upgrading [ProductName], all saved states from your already existing machines won't work anymore! After the installation, you have to discard them manually. + Proceed with installation now? + + + + Host Interfaces + If you used some host interfaces for your machines in the previous version, you have to recreate them manually after this installation. + + + + The following application should be closed before continuing the install: "[2]" + + + + Location: + Disk &Usage + Select the way you want features to be installed. + Click on the icons in the tree below to change the way features will be installed. + Custom Setup + CustomizeDlgItemDescription-CustomizeDlgItemDescription + CustomizeDlgItemSize-CustomizeDlgItemSize + CustomizeDlgLocation-CustomizeDlgLocation + + + + Customize + Please choose from the options below: + Create start menu entries + Create a shortcut on the desktop + Create a shortcut in the Quick Launch Bar + Register file associations + + + + Please choose which type of network drivers you will use: + NDIS5 network drivers. +This is default for older versions of Windows (pre-Vista). + NDIS6 network drivers. +This is default for newer versions of Windows (Vista and newer). + Use NDIS5 network drivers. + Use NDIS6 network drivers. + + + + Warning: + Network Interfaces + Installing the [ProductName] Networking feature will reset your network connection and temporarily disconnect you from the network. + Proceed with installation now? + + + + Missing Dependencies + Python Core / win32api + Installing the [ProductName] Python bindings requires the Python Core package and the win32api bindings to be installed first. + 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. + Proceed with installation now? + + + + The disk space required for the installation of the selected features. + 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). + Disk Space Requirements + {120}{70}{70}{70}{70} + + + + Browse to the destination folder + Change current destination folder + Up one level + Create a new folder + &Look in: + &Folder name: + + + + The Setup Wizard is ready to begin the [InstallMode] installation. + 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. + Ready to Install + + + + Click the Finish button to exit the Setup Wizard. + [ProductName] installation is complete. + Start [ProductName] after installation + + + + [ProductName] Setup Wizard ended prematurely + [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. + Click the Finish button to exit the Setup Wizard. + + + + The following applications are using files that need to be updated by this setup. Close these applications and then click &Retry to continue the installation or Exit to exit it. + Some files that need to be updated are currently in use. + Files in Use + + + + [ProductName] Setup Wizard was interrupted + [ProductName] setup was interrupted. Your system has not been modified. To install this program at a later time, please run the installation again. + Click the Finish button to exit the Setup Wizard. + + + + Please wait while the Setup Wizard installs [ProductName]. This may take several minutes. + + + + Resuming the [ProductName] Setup Wizard + The Setup Wizard will complete the installation of [ProductName] on your computer. Click Install to continue or Cancel to exit the Setup Wizard. + + + + Modify, Repair or Remove installation + Select the operation you wish to perform. + Re&pair + Repairs errors in the most recent installation state - fixes missing or corrupt files, shortcuts and registry entries. + Repair installation + Repairing + repairs + &Remove + Removes [ProductName] from your computer. + Remove installation + Removing + removes + + + + Welcome to the [ProductName] Setup Wizard + 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. + + + + Disk space required for the installation exceeds available disk space. + 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). + Out of Disk Space + + + + Disk space required for the installation exceeds available disk space. + 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). + Out of Disk Space + 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. + + + + Remove [ProductName] + You have chosen to remove the program from your computer. + 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. + + + + Repair [ProductName] + The Setup Wizard is ready to begin the repair of [ProductName]. + 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. + + + + Please wait while the installer finishes determining your disk space requirements. + + + + 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. + Some files that need to be updated are currently in use. + Files in Use + &Close the applications and attempt to restart them. + &Do not close applications. A reboot will be required. + + + {{Fatal error: }} + {{Error [1]. }} + Warning [1]. + + Info [1]. + 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]}} + + {{Disk full: }} + Action [Time]: [1]. [2] + [ProductName] + {[2]}{, [3]}{, [4]} + Message type: [1], Argument: [2] + === Logging started: [Date] [Time] === + === Logging stopped: [Date] [Time] === + Action start [Time]: [1]. + Action ended [Time]: [1]. Return value [2]. + Time remaining: {[1] minutes }{[2] seconds} + Out of memory. Shut down other applications before retrying. + Installer is no longer responding. + Installer stopped prematurely. + Please wait while Windows configures [ProductName] + Gathering required information... + Removing older versions of this application... + Preparing to remove older versions of this application... + {[ProductName] }Setup completed successfully. + {[ProductName] }Setup failed. + Error reading from file: [2]. {{ System error [3].}} Verify that the file exists and that you can access it. + Cannot create the file '[2]'. A directory with this name already exists. Cancel the install and try installing to a different location. + Please insert the disk: [2] + The installer has insufficient privileges to access this directory: [2]. The installation cannot continue. Log on as administrator or contact your system administrator. + Error writing to file: [2]. Verify that you have access to that directory. + Error reading from file [2]. {{ System error [3].}} Verify that the file exists and that you can access it. + Another application has exclusive access to the file '[2]'. Please shut down all other applications, then click Retry. + There is not enough disk space to install this file: [2]. Free some disk space and click Retry, or click Cancel to exit. + Source file not found: [2]. Verify that the file exists and that you can access it. + Error reading from file: [3]. {{ System error [2].}} Verify that the file exists and that you can access it. + Error writing to file: [3]. {{ System error [2].}} Verify that you have access to that directory. + Source file not found{{(cabinet)}}: [2]. Verify that the file exists and that you can access it. + 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. + The volume [2] is currently unavailable. Please select another. + The specified path '[2]' is unavailable. + Unable to write to the specified folder: [2]. + A network error occurred while attempting to read from the file: [2] + An error occurred while attempting to create the directory: [2] + A network error occurred while attempting to create the directory: [2] + A network error occurred while attempting to open the source file cabinet: [2] + The specified path is too long: [2] + The Installer has insufficient privileges to modify this file: [2]. + A portion of the folder path '[2]' is invalid. It is either empty or exceeds the length allowed by the system. + The folder path '[2]' contains words that are not valid in folder paths. + The folder path '[2]' contains an invalid character. + '[2]' is not a valid short file name. + Error getting file security: [3] GetLastString: [2] + Invalid Drive: [2] + 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]}} + 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. + 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.}} + Failed to correctly copy [2] file: CRC error. + Failed to correctly move [2] file: CRC error. + Failed to correctly patch [2] file: CRC error. + 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. + 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. + There was an error creating a temporary file that is needed to complete this installation.{{ Folder: [3]. System error code: [2]}} + Could not create key: [2]. {{ System error [3].}} Verify that you have sufficient access to that key, or contact your support personnel. + Could not open key: [2]. {{ System error [3].}} Verify that you have sufficient access to that key, or contact your support personnel. + 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. + Could not delete key [2]. {{ System error [3].}} Verify that you have sufficient access to that key, or contact your support personnel. + 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. + 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. + 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. + 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. + 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. + Could not increase the available registry space. [2] KB of free registry space is required for the installation of this application. + Another installation is in progress. You must complete that installation before continuing this one. + Error accessing secured data. Please make sure the Windows Installer is configured properly and try the install again. + 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. + 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. + Out of disk space -- Volume: '[2]'; required space: [3] KB; available space: [4] KB. Free some disk space and retry. + Are you sure you want to cancel? + 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. + The product '[2]' is already installed, preventing the installation of this product. The two products are incompatible. + 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. + Could not access network location [2]. + The following applications should be closed before continuing the install: + Could not find any previously installed compliant products on the machine for installing this product. + 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]}} + The key [2] is not valid. Verify that you entered the correct key. + 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. + 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. + 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? + 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? + An installation package for the product [2] cannot be found. Try the installation again using a valid copy of the installation package '[3]'. + Installation completed successfully. + Installation failed. + Product: [2] -- [3] + You may either restore your computer to its previous state or continue the install later. Would you like to restore? + 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. + One or more of the files required to restore your computer to its previous state could not be found. Restoration will not be possible. + [2] cannot install one of its required products. Contact your technical support group. {{System String: [3].}} + The older version of [2] cannot be removed. Contact your technical support group. {{System String [3].}} + Installed [2] + Configured [2] + Removed [2] + File [2] was rejected by digital signature policy. + 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. + 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] }} + 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] }} + 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] }} + 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] }} + Removal completed successfully. + Removal failed. + Advertisement completed successfully. + Advertisement failed. + Configuration completed successfully. + Configuration failed. + 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. + The path [2] is not valid. Please specify a valid path. + Out of memory. Shut down other applications before retrying. + There is no disk in drive [2]. Please insert one and click Retry, or click Cancel to go back to the previously selected volume. + 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. + The folder [2] does not exist. Please enter a path to an existing folder. + You have insufficient privileges to read this folder. + A valid destination folder for the install could not be determined. + Error attempting to read from the source install database: [2]. + Scheduling reboot operation: Renaming file [2] to [3]. Must reboot to complete operation. + Scheduling reboot operation: Deleting file [2]. Must reboot to complete operation. + Module [2] failed to register. HRESULT [3]. Contact your support personnel. + Module [2] failed to unregister. HRESULT [3]. Contact your support personnel. + Failed to cache package [2]. Error: [3]. Contact your support personnel. + Could not register font [2]. Verify that you have sufficient permissions to install fonts, and that the system supports this font. + Could not unregister font [2]. Verify that you that you have sufficient permissions to remove fonts. + Could not create Shortcut [2]. Verify that the destination folder exists and that you can access it. + Could not remove Shortcut [2]. Verify that the shortcut file exists and that you can access it. + Could not register type library for file [2]. Contact your support personnel. + Could not unregister type library for file [2]. Contact your support personnel. + Could not update the ini file [2][3]. Verify that the file exists and that you can access it. + Could not schedule file [2] to replace file [3] on reboot. Verify that you have write permissions to file [3]. + Error removing ODBC driver manager, ODBC error [2]: [3]. Contact your support personnel. + Error installing ODBC driver manager, ODBC error [2]: [3]. Contact your support personnel. + Error removing ODBC driver: [4], ODBC error [2]: [3]. Verify that you have sufficient privileges to remove ODBC drivers. + Error installing ODBC driver: [4], ODBC error [2]: [3]. Verify that the file [4] exists and that you can access it. + Error configuring ODBC data source: [4], ODBC error [2]: [3]. Verify that the file [4] exists and that you can access it. + Service '[2]' ([3]) failed to start. Verify that you have sufficient privileges to start system services. + Service '[2]' ([3]) could not be stopped. Verify that you have sufficient privileges to stop system services. + Service '[2]' ([3]) could not be deleted. Verify that you have sufficient privileges to remove system services. + Service '[2]' ([3]) could not be installed. Verify that you have sufficient privileges to install system services. + Could not update environment variable '[2]'. Verify that you have sufficient privileges to modify environment variables. + 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. + Could not set file security for file '[3]'. Error: [2]. Verify that you have sufficient privileges to modify the security permissions for this file. + 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. + Error registering COM+ Application. Contact your support personnel for more information. + Error unregistering COM+ Application. Contact your support personnel for more information. + The description for service '[2]' ([3]) could not be changed. + 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]}} + The Windows Installer service cannot update the protected Windows file [2]. {{Package version: [3], OS Protected version: [4], SFP Error: [5]}} + The Windows Installer service cannot update one or more protected Windows files. {{SFP String: [2]. List of protected files:\r\n[3]}} + User installations are disabled via policy on the machine. + An error occured during the installation of assembly component [2]. HRESULT: [3]. {{assembly interface: [4], function: [5], assembly name: [6]}} + + + The application "[2]" needs to be closed for the installation to continue. + + Validating install + Copying new files + File: [1], Directory: [9], Size: [6] + Copying network install files + File: [1], Directory: [9], Size: [6] + Computing space requirements + Computing space requirements + Computing space requirements + Creating shortcuts + Shortcut: [1] + Publishing Qualified Components + Component ID: [1], Qualifier: [2] + Publishing Product Features + Feature: [1] + Publishing product information + Registering Class servers + Class Id: [1] + Registering extension servers + Extension: [1] + Registering MIME info + MIME Content Type: [1], Extension: [2] + Registering program identifiers + ProgId: [1] + Allocating registry space + Free space: [1] + Searching for installed applications + Property: [1], Signature: [2] + Binding executables + File: [1] + Searching for qualifying products + Creating folders + Folder: [1] + Deleting services + Service: [1] + Creating duplicate files + File: [1], Directory: [9], Size: [6] + Searching for related applications + Found application: [1] + Installing ODBC components + Installing new services + Service: [2] + Evaluating launch conditions + Migrating feature states from related applications + Application: [1] + Moving files + File: [1], Directory: [9], Size: [6] + Patching files + File: [1], Directory: [2], Size: [3] + Updating component registration + Registering COM+ Applications and Components + AppId: [1]{{, AppType: [2], Users: [3], RSN: [4]}} + Registering fonts + Font: [1] + Registering product + [1] + Registering type libraries + LibID: [1] + Registering user + [1] + Removing duplicated files + File: [1], Directory: [9] + Updating environment strings + Name: [1], Value: [2], Action [3] + Removing applications + Application: [1], Command line: [2] + Removing files + File: [1], Directory: [9] + Removing folders + Folder: [1] + Removing INI files entries + File: [1], Section: [2], Key: [3], Value: [4] + Removing ODBC components + Removing system registry values + Key: [1], Name: [2] + Removing shortcuts + Shortcut: [1] + Searching for qualifying products + Registering modules + File: [1], Folder: [2] + Unregistering modules + File: [1], Folder: [2] + Initializing ODBC directories + Starting services + Service: [1] + Stopping services + Service: [1] + Unpublishing Qualified Components + Component ID: [1], Qualifier: [2] + Unpublishing Product Features + Feature: [1] + Unregister Class servers + Class Id: [1] + Unregistering COM+ Applications and Components + AppId: [1]{{, AppType: [2]}} + Unregistering extension servers + Extension: [1] + Unregistering fonts + Font: [1] + Unregistering MIME info + MIME Content Type: [1], Extension: [2] + Unregistering program identifiers + ProgId: [1] + Unregistering type libraries + LibID: [1] + Updating environment strings + Name: [1], Value: [2], Action [3] + Writing INI files values + File: [1], Section: [2], Key: [3], Value: [4] + Writing system registry values + Key: [1], Name: [2], Value: [3] + Advertising application + Generating script operations for action: + [1] + Installing system catalog + File: [1], Dependencies: [2] + Publishing assembly information + Application Context:[1], Assembly Name:[2] + Unpublishing assembly information + Application Context:[1], Assembly Name:[2] + Rolling back action: + [1] + Removing backup files + File: [1] + Removing moved files + File: [1], Directory: [9] + Unpublishing product information + + bytes + GB + KB + MB + Entire feature will be unavailable + Feature will be installed when required + Entire feature will be installed to run from CD + Entire feature will be installed on local hard drive + Entire feature will be installed to run from network + Will be installed to run from CD + Will be installed on local hard drive + Will be installed to run from network + Gathering required information... + This feature will remain uninstalled + This feature will be set to be installed when required + This feature will be installed to run from CD + This feature will be installed on the local hard drive + This feature will be installed to run from the network + This feature will become unavailable + Will be installed when required + This feature will be available to run from CD + This feature will be installed on your local hard drive + This feature will be available to run from the network + This feature will be uninstalled completely, you won't be able to run it from CD + This feature will change from run from CD state to set to be installed when required + This feature will remain to be run from CD + This feature will change from run from CD state to be installed on the local hard drive + This feature frees up [1] on your hard drive. + This feature requires [1] on your hard drive. + Compiling cost for this feature... + This feature will be completely removed + This feature will be removed from your local hard drive, but will be set to be installed when required + This feature will be removed from your local hard drive, but will be still available to run from CD + This feature will remain on you local hard drive + This feature will be removed from your local hard drive, but will be still available to run from the network + This feature will be uninstalled completely, you won't be able to run it from the network + This feature will change from run from network state to set to be installed when required + This feature will change from run from network state to be installed on the local hard drive + This feature will remain to be run from the network + 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. + This feature frees up [1] on your hard drive. It has [2] of [3] subfeatures selected. The subfeatures require [4] on your hard drive. + This feature requires [1] on your hard drive. It has [2] of [3] subfeatures selected. The subfeatures free up [4] on your hard drive. + This feature requires [1] on your hard drive. It has [2] of [3] subfeatures selected. The subfeatures require [4] on your hard drive. + Time remaining: {[1] minutes }{[2] seconds} + Available + Difference + Required + Disk Size + Volume + + 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 @@ + + + + + + + 1055 + Türkçe + + &Hayır + &Evet + İ&ptal + İ&leri > + < &Geri + &Gözat + &TAMAM + &Denetle + &Yükle + K&aldır + &Bitir + &Onar + Geri &Dön + Yeniden De&ne + Yok&say + Çı&kış + + Özel + Kur + + + + Lisans + Kullanım kılavuzu + + + + [ProductName] uygulaması. + USB aygıtı desteği için [ProductName] USB aygıtı sürücüleri. + Ağ oluşturma desteği için [ProductName] ağ aygıtı sürücüleri. + Köprü Ağı Oluşturma için [ProductName] sürücüsü. + Yalnızca-Anamakine Ağı Oluşturma için [ProductName] sanal ağ bağdaştırıcısı sürücüsü. + NDIS6 Köprü Ağı Oluşturma için [ProductName] sürücüsü. + NDIS6 Yalnızca-Anamakine Ağı Oluşturma için [ProductName] sanal ağ bağdaştırıcısı sürücüsü. + + VirtualBox için Python desteği. + + + + [ProductName] uygulamasını yüklemek(kaldırmak) için yönetici haklarına sahip olmanız gerekir! Bu kur şimdi iptal edilecek. + [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. + Bu uygulama yalnızca Windows XP veya üzerinde çalışır. + Bu uygulama yalnızca 32-bit Windows sistemlerinde çalışır. Lütfen [ProductName] 64-bit sürümünü yükleyin! + Bu uygulama yalnızca 64-bit Windows sistemlerinde çalışır. Lütfen [ProductName] 32-bit sürümünü yükleyin! + Bu makinede eski bir Sun VirtualBox kurulumu bulundu. Lütfen önce bu paketi kaldırın ve sonra [ProductName] yükleyin! + Bu makinede eski bir innotek VirtualBox kurulumu bulundu. Lütfen önce bu paketi kaldırın ve sonra [ProductName] yükleyin! + + + + [ProductName] kurulumunu iptal etmek istediğinize emin misiniz? + + + + [ProductName] Kur Sihirbazına Hoş Geldiniz + 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. + + + + Son Kullanıcı Lisans Sözleşmesi + Lütfen aşağıdaki lisans sözleşmesini dikkatlice okuyun. + Lisans Sözleşmesi içindeki şartları kabul e&diyorum + Lisans Sözleşmesi içindeki şartları kabul e&tmiyorum + + + + Seri Numarası + Lütfen aşağıdaki alana seri numaranızı girin. VirtualBox CD kutusu içerisindeki etikette bulacaksınız. + Seri numarasını girmeniz bittiğinde, aşağıdaki "Denetle" düğmesine basın". + + + + Girilen seri numarası geçersiz! + Seri numaranızı tekrar girmek için lütfen geri gidin. + Seri numarasını etiket üzerine basıldığı gibi aynen hecesi hecesine yazılmak zorunda olduğunu aklınızdan çıkarmayın. + + + + Uyarı: + Uyumsuz Kaydedildi Durumları! + [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. + Şimdi kuruluma devam edilsin mi? + + + + Anamakine Arayüzleri + Ö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. + + + + Şurada belirtilen uygulama yüklemeye devam etmeden önce kapatılmalıdır: "[2]" + + + + Konum: + Disk &Kullanımı + Yüklenmesini istediğiniz özellikler için yolu seçin. + Yüklenecek özelliklerin yolunu değiştirmek için aşağıda ağaçtaki simgelere tıklayın. + Özel Kurulum + CustomizeDlgItemDescription-CustomizeDlgItemDescription + CustomizeDlgItemSize-CustomizeDlgItemSize + CustomizeDlgLocation-CustomizeDlgLocation + + + + Özelleştir + Lütfen aşağıdaki seçeneklerden seçin: + Başlangıç menüsü girişlerini oluştur + Masaüstünde kısayol oluştur + Hızlı Başlat Çubuğunda kısayol oluştur + Dosya ilişkilendirmelerini kaydettir + + + + Lütfen hangi tür ağ sürücülerini kullanacağınızı seçin: + NDIS5 ağ sürücüleri. +Bu, Windows'un (Vista öncesi) daha eski sürümleri için varsayılandır. + NDIS6 ağ sürücüleri. +Bu, Windows'un (Vista ve daha yenisi) daha yeni sürümleri için varsayılandır. + NDIS5 ağ sürücülerini kullan. + NDIS6 ağ sürücülerini kullan. + + + + Uyarı: + Ağ Arayüzleri + [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. + Şimdi kuruluma devam edilsin mi? + + + + Eksik Bağımlılıklar + Python Çekirdeği / win32api + [ProductName] Python bağlamalarının yüklenmesi, önce Python Çekirdek paketinin ve win32api bağlamalarının yüklenmesini gerektirir. + [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. + Kuruluma şimdi devam edilsin mi? + + + + Seçilen özelliklerin kurulumu için gereken disk alanı. + 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. + Disk Alanı Gereksinimleri + {120}{70}{70}{70}{70} + + + + Hedef klasöre gözatın + Şu anki hedef klasörü değiştirin + Bir seviye yukarı + Yeni bir klasör oluştur + &Bakılan yer: + &Klasör adı: + + + + Kur Sihirbazı, [InstallMode] kuruluma başlamak için hazır. + 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. + Yüklemek için hazır + + + + Kur Sihirbazından çıkmak için Bitir düğmesine tıklayın. + [ProductName] kurulumu tamamlandı. + Kurulumdan sonra [ProductName] uygulamasını başlat + + + + [ProductName] Kur Sihirbazı zamansız sonlandı + [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. + Kur Sihirbazından çıkmak için Bitir düğmesine tıklayın. + + + + 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 &Yeniden Dene'ye veya çıkmak için İptal'e tıklayın. + Şu anda kullanımda olan bazı dosyaların güncellenmesi gerek. + Kullanımda olan Dosyalar + + + + [ProductName] Kur Sihirbazı yarıda kesildi + [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. + Kur Sihirbazından çıkmak için Bitir düğmesine tıklayın. + + + + Kur Sihirbazı, [ProductName] uygulamasını yüklerken lütfen bekleyin. Bu birkaç dakika alabilir. + + + + [ProductName] Kur Sihirbazına Devam Ediliyor + 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. + + + + Kurulumu Değiştir, Onar veya Kaldır + Uygulanmasını istediğiniz işlemi seçin. + &Onar + En son kurulum durumundaki hataları onarır - eksik veya bozuk dosyaları, kısayolları ve kayıt defteri girişlerini düzeltir. + Kurulumu onar + Onarılıyor + onarma + &Kaldır + [ProductName] uygulamasını bilgisayarınızdan kaldırır. + Kurulumu kaldır + Kaldırılıyor + kaldırma + + + + [ProductName] Kur Sihirbazına Hoş Geldiniz + 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. + + + + Kurulum için gereken disk alanı mevcut disk alanını aşıyor. + 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. + Yetersiz Disk Alanı + + + + Kurulum için gereken disk alanı mevcut disk alanını aşıyor. + 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. + Yetersiz Disk Alanı + 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. + + + + [ProductName] Kaldır + Programı bilgisayarınızdan kaldırmayı seçmektesiniz. + [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. + + + + [ProductName] Onar + Kur Sihirbazı [ProductName] uygulamasının onarılmasına başlamak için hazır. + [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. + + + + Yükleyici disk alanı gereksinimlerinizi belirlemeyi tamamlarken lütfen bekleyin. + + + + 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. + Şu anda kullanımda olan bazı dosyaların güncellenmesi gerek. + Kullanımda olan Dosyalar + Uygulamaları &kapat ve bunları yeniden başlatmayı dene. + Uygulamaları kapat&ma. Yeniden başlatma gerekecektir. + + + {{Önemli hata: }} + {{Hata [1]. }} + Uyarı [1]. + + Bilgi [1]. + 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]}} + + {{Disk dolu: }} + Eylem [Time]: [1]. [2] + [ProductName] + {[2]}{, [3]}{, [4]} + İleti türü: [1], Bağımsız değişken: [2] + === Günlükleme başlama: [Date] [Time] === + === Günlükleme durma: [Date] [Time] === + Eylem başlama [Time]: [1]. + Eylem bitiş [Time]: [1]. Dönen değer [2]. + Kalan süre: {[1] dakika }{[2] saniye} + Yetersiz bellek. Yeniden denemeden önce diğer uygulamaları kapatın. + Yükleyici artık yanıt vermiyor. + Yükleyici zamansız durdu. + Windows, [ProductName] uygulamasını yapılandırırken lütfen bekleyin + Gereken bilgiler toplanıyor... + Bu uygulamanın eski sürümleri kaldırılıyor... + Bu uygulamanın eski sürümleri kaldırmak için hazırlanıyor... + {[ProductName] }Kur başarılı olarak tamamlandı. + {[ProductName] }Kur başarısız oldu. + Dosyadan okurken hata oldu: [2]. {{ Sistem hatası [3].}} Dosyanın mevcut olduğunu ve erişebildiğinizi doğrulayın. + '[2]' dosyası oluşturulamıyor. Bu isimle bir dizin zaten mevcut. Yüklemeyi iptal edin ve farklı bir yere yüklemeyi deneyin. + Lütfen şu diski takın: [2] + 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. + Dosyaya yazarken hata oldu: [2]. Bu dizine erişebildiğinizi doğrulayın. + [2] dosyasından okurken hata oldu. {{ Sistem hatası [3].}} Dosyanın mevcut olduğunu ve erişebildiğinizi doğrulayın. + 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. + Ş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. + Kaynak dosya bulunamadı: [2]. Dosyanın mevcut olduğunu ve erişebildiğinizi doğrulayın. + Dosyadan okurken hata oldu: [3]. {{ Sistem hatası [2].}} Dosyanın mevcut olduğunu ve erişebildiğinizi doğrulayın. + Dosyaya yazarken hata oldu: [3]. {{ Sistem hatası [2].}} Bu dizine erişebildiğinizi doğrulayın. + Kaynak dosya bulunamadı{{(kabin)}}: [2]. Dosyanın mevcut olduğunu ve erişebildiğinizi doğrulayın. + '[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. + Birim [2] şu anda kullanılamaz. Lütfen başka birini seçin. + Belirtilen yol '[2]' kullanılamaz. + Belirtilen klasöre yazılamıyor: [2]. + Şu dosyadan okuma denenirken bir ağ hatası meydana geldi: [2] + Şu dizinin oluşturulması denenirken bir hata meydana geldi: [2] + Şu dizinin oluşturulması denenirken bir ağ hatası meydana geldi: [2] + Şu kaynak dosya kabininin açılması denenirken bir ağ hatası meydana geldi: [2] + Belirtilen yol çok uzun: [2] + Yükleyici şu dosyayı değiştirmek için yetersiz yetkilere sahip: [2]. + '[2]' klasör yolunun bir kısmı geçersiz. Ya boş ya da sistem tarafından izin verilen uzunluğu aşıyor. + '[2]' klasör yolu, klasör yollarında geçerli olmayan kelimeler içeriyor. + '[2]' klasör yolu geçersiz bir karakter içeriyor. + '[2]' geçerli bir kısa dosya adı değil. + Dosya güvenliği sağlanırken hata oldu: [3] SonDizeyiAl: [2] + Geçersiz Sürücü: [2] + [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]}} + [2] kabin dosyası sayısal olarak imzalanmadığından gereken dosya yüklenemez. Bu kabin dosyasının bozuk olduğunu gösterebilir. + [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ü.}} + Doğru olarak [2] dosyasını kopyalama başarısız oldu: CRC hatası. + Doğru olarak [2] dosyasını taşıma başarısız oldu: CRC hatası. + Doğru olarak [2] dosyasını yamalama başarısız oldu: CRC hatası. + 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. + 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. + Bu kurulumu tamamlamak için gereken bir geçici dosya oluşturulurken bir hata oldu.{{ Klasör: [3]. Sistem hatası kodu: [2]}} + Anahtar oluşturulamadı: [2]. {{ Sistem hatası [3].}} Bu anahtara yeterli erişiminiz olduğunu doğrulayın ya da destek personelinize başvurun. + Anahtar açılamadı: [2]. {{ Sistem hatası [3].}} Bu anahtara yeterli erişiminiz olduğunu doğrulayın ya da destek personelinize başvurun. + [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. + [2] anahtarı silinemedi. {{ Sistem hatası [3].}} Bu anahtara yeterli erişiminiz olduğunu doğrulayın ya da destek personelinize başvurun. + [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. + [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. + [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. + [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. + [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. + Mevcut kayıt defteri alanı attırılamadı. Bu uygulamanın kurulumu için [2] KB boş kayıt defteri alanı gerekli. + Başka bir kurulum sürmekte. Buna devam etmeden önce bu kurulumu tamamlamak zorundasınız. + 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. + 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. + 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. + Yetersiz disk alanı -- Birim: '[2]'; gereken alan: [3] KB; kullanılabilir alan: [4] KB. Biraz disk alanı açın ve yeniden deneyin. + İptal etmek istediğinize emin misiniz? + [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. + '[2]' ürünü zaten yüklü, bu ürünün kurulumu önleniyor. İki ürün uyumsuz. + 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. + [2] ağ konumuna erişilemedi. + Aşağıdaki uygulamalar yüklemeye devam etmeden önce kapatılmalıdır: + Bu ürünün yüklenmesi için makinede önceden yüklenmiş herhangi bir uyumlu ürün bulunamadı. + 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]}} + Anahtar [2] geçerli değil. Doğru anahtarı girdiğinizi doğrulayın. + 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. + [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. + [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? + 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? + [2] ürünü için bir kurulum paketi bulunamaz. '[3]' kurulum paketinin geçerli bir kopyasını kullanarak tekrar kurulumu deneyin. + Kurulum başarılı olarak tamamlandı. + Kurulum başarısız oldu. + Ürün: [2] -- [3] + Ya bilgisayarınızı önceki durumuna geri yükleyebilir ya da daha sonra yüklemeye devam edebilirsiniz. Geri yüklemek ister misiniz? + 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. + 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. + [2] gerektirdiği ürünlerden birini yükleyemiyor. Teknik destek grubunuza başvurun. {{Sistem Dizesi: [3].}} + [2] uygulamasının eski sürümü kaldırılamaz. Teknik destek grubunuza başvurun. {{Sistem Dizesi [3].}} + [2] Yüklendi + [2] Yapılandırıldı + [2] Kaldırıldı + Dosya [2], sayısal imza ilkesi tarafından reddedildi. + 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. + 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] }} + 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] }} + 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] }} + 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] }} + Kaldırma başarılı olarak tamamlandı. + Kaldırma başarısız oldu. + Duyurma başarılı olarak tamamlandı. + Duyurma başarısız oldu. + Yapılandırma başarılı olarak tamamlandı. + Yapılandırma başarısız oldu. + 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. + Yol [2] geçerli değil. Lütfen geçerli bir yol belirleyin. + Yetersiz bellek. Yeniden denemeden önce diğer uygulamaları kapatın. + [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. + [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. + Klasör [2] mevcut değil. Lütfen mevcut bir klasör için yol girin. + Bu klasörü okumak için yeterli yetkilere sahip değilsiniz. + Yükleme için geçerli bir hedef klasör belirlenemedi. + Kaynak yükleme veritabanından okumaya çalışırken hata oldu: [2]. + 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. + Yeniden başlatma işlemi zamanlanıyor: [2] dosyası siliniyor. İşlemi tamamlamak için yeniden başlatmak zorundasınız. + Kaydettirmek için [2] modülü başarısız oldu. HRESULT [3]. Destek personelinize başvurun. + Kaydını kaldırmak için [2] modülü başarısız oldu. HRESULT [3]. Destek personelinize başvurun. + [2] paketini önbellekleme başarısız oldu. Hata: [3]. Destek personelinize başvurun. + [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. + [2] yazı tipi kaydı kaldırılamadı. Yazı tiplerini kaldırmak için yeterli izinlere sahip olduğunuzu doğrulayın. + [2] Kısayolu oluşturulamadı. Hedef klasörün mevcut olduğunu ve erişebildiğinizi doğrulayın. + [2] Kısayolu kaldırılamadı. Kısayol dosyasının mevcut olduğunu ve erişebildiğinizi doğrulayın. + [2] dosyası için tür kütüphanesi kaydettirilemedi. Destek personelinize başvurun. + [2] dosyası için tür kütüphanesi kaydı kaldırılamadı. Destek personelinize başvurun. + [2][3] ini dosyası güncellenemedi. Dosyanın mevcut olduğunu ve erişebildiğinizi doğrulayın. + 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. + ODBC sürücü yöneticisi kaldırılırken hata oldu, ODBC hatası [2]: [3]. Destek personelinize başvurun. + ODBC sürücü yöneticisi yüklenirken hata oldu, ODBC hatası [2]: [3]. Destek personelinize başvurun. + 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. + 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. + 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. + 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. + '[2]' ([3]) hizmeti durdurulamadı. Sistem hizmetlerini durdurmak için yeterli yetkilere sahip olduğunuzu doğrulayın. + '[2]' ([3]) hizmeti silinemedi. Sistem hizmetlerini kaldırmak için yeterli yetkilere sahip olduğunuzu doğrulayın. + '[2]' ([3]) hizmeti yüklenemedi. Sistem hizmetlerini yüklemek için yeterli yetkilere sahip olduğunuzu doğrulayın. + '[2]' ortam değişkeni güncellenemedi. Ortam değişkenlerini değiştirmek için yeterli yetkilere sahip olduğunuzu doğrulayın. + 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. + '[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. + 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. + COM+ Uygulaması kaydettirilirken hata oldu. Daha fazla bilgi için destek personelinize başvurun. + COM+ Uygulamasının kaydı kaldırılırken hata oldu. Daha fazla bilgi için destek personelinize başvurun. + '[2]' ([3]) hizmeti tanımı değiştirilemedi. + 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]}} + 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]}} + 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]}} + Kullanıcı kurulumları makinedeki ilke yoluyla etkisizleştirildi. + [2] derleme bileşeninin kurulumu sırasında bir hata meydana geldi. HRESULT: [3]. {{derleme arayüzü: [4], işlev: [5], derleme adı: [6]}} + + + "[2]" uygulamasının kuruluma devam etmesi için kapatılması gerekiyor. + + Yükleme doğrulanıyor + Yeni dosyalar kopyalanıyor + Dosya: [1], Dizin: [9], Boyut: [6] + Ağ yükleme dosyaları kopyalanıyor + Dosya: [1], Dizin: [9], Boyut: [6] + Alan gereksinimleri hesaplanıyor + Alan gereksinimleri hesaplanıyor + Alan gereksinimleri hesaplanıyor + Kısayollar oluşturuluyor + Kısayol: [1] + Nitelikli Bileşenler yayınlanıyor + Bileşen Kimliği: [1], Niteleyici: [2] + Ürün Özellikleri yayınlanıyor + Özellik: [1] + Ürün bilgisi yayınlanıyor + Sınıf sunucuları kaydettiriliyor + Sınıf Kimliği: [1] + Uzantı sunucuları kaydettiriliyor + Uzantı: [1] + MIME bilgisi kaydettiriliyor + MIME İçerik Türü: [1], Uzantı: [2] + Program tanımlayıcıları kaydettiriliyor + ProgKimliği: [1] + Kayıt defteri alanı ayrılıyor + Boş alan: [1] + Yüklü uygulamalar aranıyor + Özellik: [1], İmza: [2] + Çalıştırılabilirler bağlanıyor + Dosya: [1] + Niteleyici ürünler aranıyor + Klasörler oluşturuluyor + Klasör: [1] + Hizmetler siliniyor + Hizmet: [1] + Kopya dosyalar oluşturuluyor + Dosya: [1], Dizin: [9], Boyut: [6] + İlgili uygulamalar aranıyor + Bulunan uygulama: [1] + ODBC bileşenleri yükleniyor + Yeni hizmetler yükleniyor + Hizmet: [2] + Başlatma şartları değerlendiriliyor + İlgili uygulamalardan özellik durumları geçiriliyor + Uygulama: [1] + Dosyalar taşınıyor + Dosya: [1], Dizin: [9], Boyut: [6] + Dosyalar yamalanıyor + Dosya: [1], Dizin: [2], Boyut: [3] + Bileşen kaydı güncelleniyor + COM+ Uygulamaları ve Bileşenleri kaydettiriliyor + UygKimliği: [1]{{, UygTürü: [2], Kullanıcı: [3], RSN: [4]}} + Yazı tipleri kaydettiriliyor + Yazı Tipi: [1] + Ürün kaydettiriliyor + [1] + Tür kütüphaneleri kaydettiriliyor + KtphKimliği: [1] + Kullanıcı kaydettiriliyor + [1] + Çoğaltılmış dosyalar kaldırılıyor + Dosya: [1], Dizin: [9] + Ortam dizeleri güncelleniyor + Adı: [1], Değer: [2], Eylem [3] + Uygulamalar kaldırılıyor + Uygulama: [1], Komut satırı: [2] + Dosyalar kaldırılıyor + Dosya: [1], Dizin: [9] + Klasörler kaldırılıyor + Klasör: [1] + INI dosyaları girişleri kaldırılıyor + Dosya: [1], Bölüm: [2], Anahtar: [3], Değer: [4] + ODBC bileşenleri kaldırılıyor + Sistem kayıt defteri değerleri kaldırılıyor + Anahtar: [1], Adı: [2] + Kısayollar kaldırılıyor + Kısayol: [1] + Niteleyici ürünler aranıyor + Modüller kaydettiriliyor + Dosya: [1], Klasör: [2] + Modüllerin kaydı kaldırılıyor + Dosya: [1], Klasör: [2] + ODBC dizinleri başlatılıyor + Hizmetler başlatılıyor + Hizmet: [1] + Hizmetler durduruluyor + Hizmet: [1] + Nitelikli Bileşenler yayından kaldırılıyor + Bileşen Kimliği: [1], Niteleyici: [2] + Ürün Özellikleri yayından kaldırılıyor + Özellik: [1] + Sınıf sunucularının kaydını kaldır + Sınıf Kimliği: [1] + COM+ Uygulamalarının ve Bileşenlerinin kaydı kaldırılıyor + UygKimliği: [1]{{, UygTürü: [2]}} + Uzantı sunucularının kaydı kaldırılıyor + Uzantı: [1] + Yazı tiplerinin kaydı kaldırılıyor + Yazı Tipi: [1] + MIME bilgisinin kaydı kaldırılıyor + MIME İçerik Türü: [1], Uzantı: [2] + Program tanımlayıcılarının kaydı kaldırılıyor + ProgKimliği: [1] + Tür kütüphanelerinin kaydı kaldırılıyor + KtphKimliği: [1] + Ortam dizeleri güncelleniyor + Adı: [1], Değer: [2], Eylem [3] + INI dosyaları değerleri yazılıyor + Dosya: [1], Bölüm: [2], Anahtar: [3], Değer: [4] + Sistem kayıt defteri değerleri yazılıyor + Anahtar: [1], Adı: [2], Değer: [3] + Uygulama duyuruluyor + Şu eylem için betik işlemleri üretiliyor: + [1] + Sistem kataloğu yükleniyor + Dosya: [1], Bağımlılar: [2] + Derleme bilgisi yayınlanıyor + Uygulama Bağlamı:[1], Derleme Adı:[2] + Derleme bilgisi yayından kaldırılıyor + Uygulama Bağlamı:[1], Derleme Adı:[2] + Geri alma eylemi: + [1] + Yedekleme dosyaları kaldırılıyor + Dosya: [1] + Taşınan dosyalar kaldırılıyor + Dosya: [1], Dizin: [9] + Ürün bilgisi yayından kaldırılıyor + + bayt + GB + KB + MB + Bütün özellik kullanılamaz olacaktır + Özellik gerektiğinde yüklenecektir + Bütün özellik CD'den çalıştırmak için yüklenecektir + Bütün özellik yerel sabit sürücüye yüklenecektir + Bütün özellik ağdan çalıştırmak için yüklenecektir + CD'den çalıştırmak için yüklenecektir + Yerel sabit sürücüye yüklenecektir + Ağdan çalıştırmak için yüklenecektir + Gereken bilgiler toplanıyor... + Bu özellik kaldırıldı olarak kalacaktır + Bu özellik gerektiğinde yüklenmesi için ayarlanacaktır + Bu özellik CD'den çalıştırmak için yüklenecektir + Bu özellik yerel sabit sürücüye yüklenecektir + Bu özellik ağdan çalıştırmak için yüklenecektir + Bu özellik kullanılamaz olacaktır + Gerektiğinde yüklenecektir + Bu özellik CD'den çalıştırmak için kullanılabilir olacaktır + Bu özellik yerel sabit sürücünüze yüklenecektir + Bu özellik ağdan çalıştırmak için kullanılabilir olacaktır + Bu özellik tamamen kaldırılacaktır, CD'den çalıştıramayacaksınız + Bu özellik CD'den çalıştır durumundan, gerektiğinde yüklenecek durumuna değiştirilecektir + Bu özellik CD'den çalıştır olarak kalacaktır + Bu özellik CD'den çalıştır durumundan, yerel sabit sürücüye yüklenecek durumuna değiştirilecektir + Bu özellik sabit sürücünüzde [1] yer kazandırır. + Bu özellik sabit sürücünüzde [1] gerektirir. + Bu özellik için gerekenler belirleniyor... + Bu özellik tamamen kaldırılacaktır + Bu özellik yerel sabit sürücünüzden kaldırılacaktır, ancak gerektiğinde yüklenecek durumuna ayarlanacaktır + 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 + Bu özellik yerel sabit sürücünüzde kalacaktır + 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 + Bu özellik tamamen kaldırılacaktır, ağdan çalıştıramayacaksınız + Bu özellik ağdan çalıştır durumundan, gerektiğinde yüklenecek durumuna değiştirilecektir + Bu özellik ağdan çalıştır durumundan, yerel sabit sürücüye yüklenecek durumuna değiştirilecektir + Bu özellik ağdan çalıştır olarak kalacaktır + 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. + 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. + 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. + 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. + Kalan süre: {[1] dakika }{[2] saniye} + Kullanılabilir + Fark + Gereken + Disk Boyutu + Birim + + 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 @@ + + + + + + +2052 +简体中文 + +否(&N) +是(&Y) +取消(&C) +下一步(&N) > +< 上一步(&B) +浏览(&O) +确定(&K) +检查(&C) +安装(&I) +删除(&R) +完成(&F) +修复(&R) +返回(&R) +重试(&T) +忽略(&G) +结束(&X) + +自定 +设置 + + + +软件许可 +用户手册 + + + +[ProductName] 应用程序。 +[ProductName] USB 设备驱动程序针对 USB 设备支持。 +[ProductName] 网络设备驱动程序针对网络支持。 +[ProductName] 驱动程序针对桥接网络。 +[ProductName] 虚拟网络界面卡针对“仅主机”网络。 +[ProductName] driver for NDIS6 Bridged Networking. +[ProductName] virtual network adapter driver for NDIS6 Host-Only Networking. + +VirtualBox 的 Python 支持。 + + + +需要系统管理员权限安装 (或卸载)[ProductName]!此安装程序现在将中止。 +[ProductName] needs the Microsoft Visual C++ 2019 Redistributable Package being installed first. Please install and restart the installation of [ProductName]. +此应用程序只能运行在 Windows XP 或以上。 +此应用程序只能运行在 32 位 Windows 系统。 请安装 [ProductName] 的 64 位版本! +此应用程序只能运行在 64 位 Windows 系统。 请安装 [ProductName] 的 32 位版本! +在此计算机发现旧的 Sun VirtualBox 安装。 请先卸载此组件然后安装 [ProductName]! +在此计算机发现旧的 innotek VirtualBox 安装。 请先卸载此组件然后安装 [ProductName]! + + + +确定要取消 [ProductName] 安装吗? + + + +欢迎使用 [ProductName] 安装向导 +安装向导将在你的计算机安装 [ProductName]。 单击"下一步"继续或"取消"结束安装向导。 + + + +最终用户授权协议 +请仔细阅读以下授权协议。 +我接受授权协议中条款(&A) +我不接受授权协议中条款(&D) + + + +序号 +请在以下字段输入你的序号。 你可以在 VirtualBox CD 盒内的贴纸找到。 +序号输入完成时,单击以下"检查"按钮。 + + + +输入的序号无效! +请返回再次输入你的序号。 +请记得,序号必须和印在贴纸上的拼写完全一样。 + + + +警告: +已经的存储状态不兼容! +升级 [ProductName] 时,所有来自已经存在机器的存储状态不再能动作!安装后,你必须手动舍弃。 +立即进行安装吗? + + + +主机界面 +如果你的机器在先前版本使用某些主机界面。 在此安装后你必须重新创建它们。 + + + +继续安装前,必须关闭以下应用程序:"[2]" + + + +位置: +磁盘空间(&U) +选择你要安装的功能。 +单击以下树状中图示选择安装的功能。 +自定安装 +CustomizeDlgItemDescription-CustomizeDlgItemDescription +CustomizeDlgItemSize-CustomizeDlgItemSize +CustomizeDlgLocation-CustomizeDlgLocation + + + +自定 +请选择以下选项: +添加系统菜单条目 +在桌面创建快捷方式 +在快速启动栏创建快捷方式 +注册文件关联 + + + +Please choose which type of network drivers you will use: +NDIS5 network drivers. +This is default for older versions of Windows (pre-Vista). +NDIS6 network drivers. +This is default for newer versions of Windows (Vista and newer). +Use NDIS5 network drivers. +Use NDIS6 network drivers. + + + +警告: +网络界面 +安装 [ProductName] 网络功能将重置网络连接并暂时中断网络连接。 +立即安装吗? + + + +Missing Dependencies +Python Core / win32api +Installing the [ProductName] Python bindings requires the Python Core package and the win32api bindings to be installed first. +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. +Proceed with installation now? + + + +安装选择功能所需的磁盘空间。 +高亮的磁盘区(如果有)对于当前选择的功能没有足够的磁盘空间可以使用。 可以从高亮的磁盘区删除一些文件,或选择安装较少功能在本机磁盘,或选择其他磁盘。 +磁盘空间需求 +{120}{70}{70}{70}{70} + + + +浏览目的地文件夹 +更改当前目的文件夹 +上一层 +创建新文件夹 +浏览(&L): +文件夹名称(&F): + + + +安装向导准备好进行 [InstallMode] 安装。 +单击"安装"开始安装。 如果你要检查或更改任何安装设置,单击"上一步"。 单击"取消"结束向导。 +准备好安装 + + + +单击"完成"按钮结束安装向导。 +[ProductName] 安装完成。 +安装后运行 [ProductName] + + + +[ProductName] 安装向导太早结束 +[ProductName] 安装因为错误太早结束。 你的系统未做修改。 若要稍后安装此程序,请再次执行安装。 +单击"完成"按钮结束安装向导。 + + + +以下应用程序使用此安装需要更新的文件。 关闭这些应用程序接著单击"重试(&R)"以继续安装或"取消"结束向导。 +某些需要更新的文件当前使用中。 +文件使用中 + + + +[ProductName] 安装向导中断 +[ProductName] 安装中断。 你的系统未做修改。 若要稍后安装此程序,请再次执行安装。 +单击"完成"按钮结束安装向导。 + + + +在安装向导安装 [ProductName] 时请稍候。 这需要几分钟时间。 + + + +正在继续 [ProductName] 安装向导 +安装向导将在你的计算机完成 [ProductName] 的安装。 单击"安装"以继续或"取消"结束安装向导。 + + + +修改、修复或删除安装 +选择你希望执行的操作。 +修复(&P) +修复在最近安装状态的错误 - 修复缺少或毁坏的文件、快捷方式和注册档项目。 +修复安装 +正在修复 +repairs +删除(&R) +从计算机删除 [ProductName]。 +删除安装 +正在删除 +removes + + + +欢迎使用 [ProductName] 安装向导 +安装向导将允许你修复当前的安装或从你的计算机删除 [ProductName]。 单击"下一步"以继续或"取消"结束安装向导。 + + + +安装所需的磁盘空间超过可用的磁盘空间。 +高亮的磁盘区对于当前选择的功能没有足够的磁盘空间可以使用。 你可以从高亮的磁盘区删除一些文件,或选择安装较少功能在本机磁盘机,或选择不同目的地磁盘机。 +磁盘空间不足 + + + +安装所需的磁盘空间超过可用的磁盘空间。 +高亮的磁盘区对于当前选择的功能没有足够的磁盘空间可以使用。 你可以从高亮的磁盘区删除一些文件,或选择安装较少功能在本机磁盘机,或选择不同目的地磁盘机。 +磁盘空间不足 +或者,你可以选择停用安装程序的恢复功能。 这允许安装程序在任何方式中断安装时撤消你计算机的原始状态。 单击"是"如果你希望承担停用恢复功能的风险。 + + + +删除 [ProductName] +你已经选择从你的计算机删除程序。 +单击"删除"以从你的计算机删除 [ProductName]。 如果你要检查或更改任何安装设置,单击"上一步"。 单击"取消"结束向导。 + + + +修复 [ProductName] +安装向导准备好开始修复 [ProductName]。 +单击"修复"以修复 [ProductName] 的安装。 如果你要检查或更改任何安装设置,单击"上一步"。 单击"取消"结束向导。 + + + +在安装程序完成判断你的磁盘空间需求时请稍候。 + + + +以下应用程序使用此安装需要更新的文件。 你可以让安装向导关闭并尝试重新引导这些应用程序或稍后重新引导计算机。 +某些需要更新的文件当前使用中。 +文件使用中 +关闭应用程序并尝试重新引导它们。 (&C) +不要关闭应用程序,将需要重新开机。 (&D) + + +{{严重错误:}} +{{错误 [1]。}} +警告 [1]。 + +信息 [1]。 +安装程序安装这个封装时发生未预期的错误。 这可能表示这个封装的问题。 错误码 [1]。 {{引数:[2], [3], [4]}} + +{{磁盘已满:}} +动作 [Time]:[1]. [2] +[ProductName] +{[2]}{, [3]}{, [4]} +消息类型:[1], 引数:[2] +=== 打开记录时间:[Date] [Time] === +=== 停止记录时间:[Date] [Time] === +动作开始 [Time]:[1]。 +动作结束 [Time]:[1]。 返回值 [2]。 +剩下时间:{[1] 分 }{[2] 秒} +内存不足,重试之前先关闭其它应用程序。 +安装程序不再有响应。 +安装程序已经永久中止。 +在 Windows 组态 [ProductName] 时请稍候 +正在收集所需的信息... +正在删除此应用程序的旧版本... +正在准备删除此应用程序的旧版本... +{[ProductName] } 安装成功完成。 +{[ProductName] } 安装失败。 +读入文件错误:[2]。{{ 系统错误 [3]。}} 检查文件是否存在,并且可以访问。 +不能创建目录 '[2]'。 同名的目录已经存在。 取消安装并尝试安装到不同位置。 +请插入磁盘:[2] +安装程序的权限不足,不能访问这个目录:[2],安装不能继续,以系统管理员的身份登录或是连络你的系统管理员。 +写入至文件时发生错误:[2]。请检查你可以访问那个目录。 +读入文件时发生错误:[2]。{{ 系统错误 [3]。}} 请检查文件是否存在,并且可以访问。 +另一个应用程序独占访问文件 '[2]'。 请关闭所有其它应用程序,然后单击"重试"。 +磁盘空间不足,不能安装这个文件:[2]。释放一些磁盘空间然后单击"重试",或单击"取消"结束。 +找不到源文件案:[2]。 请验证文件存在并且你可以访问它。 +读入文件错误:[3]。{{ 系统错误 [2]。}} 请检查文件是否存在,并且可以访问。 +写入至文件时发生错误:[3]。{{ 系统错误 [2]。}} 请检查你可以访问那个目录。 +找不到源文件案 {{(cabinet)}}:[2]。 请检查文件存在并且可以访问。 +不能创建目录 '[2]'。 同名的文件已经存在。 请重新命名或删除文件并单击"重试",或单击"取消"结束。 +磁盘区 [2] 当前不可使用。 请选择另一个。 +指定的路径 '[2]' 不可使用。 +不能写入指定的文件夹:[2]。 +尝试从文件读入时发生网络错误:[2] +尝试创建目录时发生错误:[2] +尝试创建目录时发生网络错误:[2] +尝试打开源文件案时发生网络错误:[2] +指定的路径太长:[2] +Installer 的权限不足以修改这个文件:[2]。 +文件夹路径的部份 '[2]' 无效。其为空或超过系统允许的长度。 +文件夹路径 '[2]' 包含无效的字在文件夹路径。 +文件夹路径 '[2]' 包含无效字符。 +'[2]' 不是有效的短文件名。 +取得文件安全性错误:[3] GetLastString:[2] +无效的磁盘机:[2] +套用修正档到文件 [2] 错误。 可能已由其它主机更新,且这个修正档不再能修改。 更多信息请联络你的修正档供应商。 {{系统错误:[3]}} +不能安装所需的文件,因为 cabinet 文件 [2] 没有数字签名。 这表示 cabinet 文件已经毁坏。 +不能安装所需的文件,因为 cabinet 文件 [2] 有无效的数字签名。 这表示 cabinet 文件已经毁坏。 {{ WinVerifyTrust 返回错误 [3]。}} +修正复制 [2] 文件失败:CRC 错误。 +修正移动 [2] 文件失败:CRC 错误。 +修正路径 [2] 文件失败:CRC 错误。 +不能安装 '[2]' 因为在 cainet 文件 '[3]' 中找不到文件。 这表示网络错误、从 CD-ROM 读入错误、或此安装包问题。 +此安装所需的 cabinet 文件 '[2]' 已经毁坏且不能使用。 这表示网络错误、从 CD-ROM 读入错误、或此安装包问题。 +完成这个安装所需的临时文件案创建错误。 {{ 文件夹:[3]。 系统错误码:[2]}} +不能创建机码:[2]。{{ 系统错误 [3]。}} 检查你是有足够的权限访问该机码,或是连络你的支持人员。 +不能打开机码:[2]。{{ 系统错误 [3]。}} 检查你是有足够的权限访问该机码,或是连络你的支持人员。 +不能从机码 [3] 删除值:[2]。{{ 系统错误 [4]。}} 检查你是有足够的权限访问该机码,或是连络你的支持人员。 +不能删除机码:[2]。{{ 系统错误 [3]。}} 检查你是有足够的权限访问该机码,或是连络你的支持人员。 +不能从机码 [3] 读入值 [2]。{{ 系统错误 [4]。}} 检查你是有足够的权限访问该机码,或是连络你的支持人员。 +不能写入值 [2] 至机码 [3]。{{ 系统错误 [4]。}} 检查你是有足够的权限访问该机码,或是连络你的支持人员。 +不能取得机码 [2] 的值名称。{{ 系统错误 [3]。}} 检查你是有足够的权限访问该机码,或是连络你的支持人员。 +不能取得机码 [2] 的子机码名称。{{ 系统错误 [3]。}} 检查你是有足够的权限访问该机码,或是连络你的支持人员。 +不能读入机码 [2] 的安全信息。{{ 系统错误 [3]。}} 检查你是有足够的权限访问该机码,或是连络你的支持人员。 +不能增加可用的注册空间。 此应用程序须要 [2] KB 以上的空间。 +其它的安装正在进行中,你必须完成该项安装之后才能继续。 +访问保全数据时发生错误,请确定 Windows Installer 是否正确组态,然后再试一次。 +用户 '[2]' 先前已经引导产品 '[3]' 的安装。 该用户在可以使用该产品前需要再次执行安装。你当前的安装现在将继续。 +用户 '[2]' 先前已经引导产品 '[3]' 的安装。 该用户在可以使用该产品前需要再次执行安装。 +磁盘空间不足 -- 磁盘区:'[2]',所需空间:[3] KB; 可用空间:[4] KB。 释放一些磁盘空间并重试。 +你确定要取消吗? +文件 [2][3] 正在由 { 以下处理程序:名称:[4],Id:[5],窗口标题:'[6]'} 使用中。 关闭该应用程序并重试。 +已经安装产品 '[2]',此产品防止安装。 两个产品不兼容。 +磁盘区 '[2]' 没有足够的磁盘空间以启用恢复的安装继续。 需要 [3] KB,但只有 [4] KB 可以使用。 单击"忽略"以不存储恢复信息继续安装,单击"重试"以再次检查可用空间,或单击"取消"以离开安装。 +不能访问网络位置 [2]。 +继续安装前应该关闭以下应用程序: +不能在本机中找到任何先前已安装的合格版本。 +套用安全性设置时发生错误。 [2] 不是有效的用户或群组。 这会是安装包的问题或连接到网络上网域控制站的问题。 检查你的网络连接并单击"重试",或"取消"以结束安装。 {{找不到用户的 SID,系统错误 [3]}} +金钥 [2] 是无效的,检查你输入的金钥是否正确。 +要继续设置 [2] 之前,Installer 必须重新引导你的系统,按"是"将立即重新引导;如果你想要稍后手动重新引导请按"否"。 +你必须重新引导你的系统,对 [2] 所做的组态更改才会生效,按"是"立即重新引导;如果你想要稍后手动重新引导请按"否"。 +安装 [2] 当前已经暂停,你必须恢复该安装所做的更改才能继续,你要恢复这些更改吗? +另一个安装这个产品的程序正在进行中,你必须恢复该安装所做的更改才能继续,你要恢复这些更改吗? +找不到产品 [2] 的安装包。 尝试使用安装包 '[3]' 的有效副本尝试再次安装。 +安装成功完成。 +安装失败。 +产品:[2] -- [3] +你可以将计算机撤消成先前的状态或稍后继续安装,你希望撤消吗? +写入安装信息至磁盘时发生错误,确定磁盘的空间足够,并按"重试",或按"取消"来结束安装。 +撤消你的计算机成之前的状态所需的一个或数个文件找不到。 不能撤消。 +[2] 不能安装其所需的产品之一。 请联络你的技术支持小组。 {{系统符串:[3]。}} +不能删除 [2] 的旧版本。 请联络你的技术支持小组。 {{系统符串 [3]。}} +已经安装 [2] +已经组态 [2] +已经删除 [2] +数字签名原则拒绝文件 [2] 。 +不能访问 Windows Installer 服务。 如果你正执行在 Windows 安全模式,这将会发生。 请联络你的技术支持人员以取得协助。 +这个 Windows Installer 封装有问题。 完成这个安装需要的指令码不能执行。 联络你的支持人员或封装供应商。 {{自定动作 [2] 指令码错误 [3],[4]:[5] 行 [6],栏 [7],[8] }} +这个 Windows Installer 封装有问题。 完成这个安装需要的程序不能执行。 联络你的支持人员或封装供应商。 {{动作 [2],位置:[3],命令:[4] }} +这个 Windows Installer 封装有问题。 以 setup 部分执行的程序不能如预期完成。 联络你的支持人员或封装供应商。 {{动作 [2],位置:[3],命令:[4] }} +这个 Windows Installer 封装有问题。 完成这个安装需要的 DLL 不能执行。 联络你的支持人员或封装供应商。 {{动作 [2],项目:[3],库:[4] }} +删除成功完成。 +删除失败。 +宣告成功完成。 +宣告失败。 +组态成功完成。 +组态失败。 +你必须是管理器以删除这个应用程序。 要删除这个应用程序,你可以使用系统管理员登录或联络你的技术支持群组取得协助。 +路径 [2] 无效。 请指定有效的路径。 +内存不足,重试之前先关闭其它应用程序。 +磁盘机 [2] 中没有磁片,请插入磁片然后重试,或按"取消"回到上次选择的磁盘区。 +磁盘机 [2] 中没有磁片,请插入磁片然后按"重试",或按"取消"回到浏览对话框,并选择不同的磁盘区。 +文件夹 [2] 不存在,请输入一个现有的文件夹路径。 +你的权限不足,不能读入这个文件夹。 +不能决定合法的目的文件夹。 +尝试读入来源安装数据库时发生错误:[2]。 +正在排定重新开机作业:正在更改文件名称 [2] 成 [3],必须重新开机才能完成作业。 +正在排定重新开机作业:正在删除文件 [2],必须重新开机才能完成作业。 +注册模块 [2] 失败。HRESULT [3]。连络你的支持人员。 +取消注册模块 [2] 失败。HRESULT [3]。连络你的支持人员。 +不能预存封装 [2]。错误:[3]。请连络支持人员。 +不能注册字体 [2]。 请确认是否有足够的权限及系统支持。 +不能解除注册字体 [2]。 请确认你有足够的权限来删除字体。 +不能创建快捷方式 [2]。 请确认目地文件夹是否存在及你的访问权。 +不能删除快捷方式 [2]。 请确认目地文件夹是否存在及你的访问权。 +不能注册文件 [2] 的类型库。 请连络系统支持人员。 +不能解除注册文件 [2] 的 type library。 请连络系统支持人员。 +不能更新 ini 档 [2][3]。 请确认文件是否存在及你的访问权。 +不能预定在重开机时将文件 [2] 取代 [3]。 请确认你有 [3] 的访问权。 +删除 ODBC 驱动程序管理员错误,ODBC 错误 [2]:[3]。请连络系统支持人员。 +安装 ODBC 驱动程序管理员错误,ODBC 错误 [2]:[3]。请连络系统支持人员。 +删除 ODBC 驱动程序管理员错误:[4],ODBC 错误 [2]:[3]。请确认你有足够权限。 +安装 ODBC 驱动程序管理员错误:[4],ODBC 错误 [2]:[3]。请确认文件[4]存在并可访问。 +设置 ODBC 数据来源错误:[4],ODBC 错误 [2]:[3]。请确认文件[4]存在并可访问。 +引导服务 '[2]' ([3]) 失败。 请确认你有权限以引导系统服务。 +停止服务 '[2]' ([3]) 失败。 请确认你有权限以引导系统服务。 +删除服务 '[2]' ([3]) 失败。 请确认你有权限以引导系统服务。 +不能安装服务 '[2]' ([3]) 。 请确认你有权限以引导系统服务。 +不能更新环境变量 '[2]'。 请确认你有权限以修改环境变量。 +你没有权限使计算机的所有用户都完成此安装。请以系统管理员权限登录,接著再重试此安装。 +不能配置文件案 '[3]' 的文件安全性。 错误:[2]。 请确认你有权限以修改此文件的安全性权限。 +这台计算机并未安装 Component Services (COM+ 1.0)。这项安装需要有 Component Services 才能进行。Component Services 包含在 Windows XP 中。 +注册 COM+ 应用程序时发生错误。请联络你的支持人员以取得其它信息。 +解除 COM+ 应用程序注册时发生错误。请联络你的支持人员以取得其它信息。 +不能更改服务 '[2]' ([3]) 的描述。 +Windows Installer 服务不能更新系统文件 [2] 因为文件受 Windows 保护。 你可能需要更新你的作业系统使这个程序正确动作。 {{{封装版本:[3],受 OS 保护的版本:[4]}} +Windows Installer 服务不能更新受保护的 Windows 文件 [2]。 {{封装版本:[3],受 OS 保护的版本:[4],SFP 错误:[5]}} +Windows Installer 服务不能更新一个或数个受保护的 Windows 文件。 {{SFP 符串:[2]。 受保护的文件清单:\r\n[3]}} +计算机的原则停用用户安装。 +组件组件 [2] 的安装期间发生错误。 HRESULT:[3]。 {{组件界面:[4],函数:[5],组件名称:[6]}} + + +需要关闭应用程序 "[2]" 以继续关闭。 + +正在验证安装 +正在复制新文件 +文件:[1], 目录:[9], 尺寸:[6] +正在复制网络安装文件 +文件:[1], 目录:[9], 尺寸:[6] +正在计算空间需求 +正在计算空间需求 +正在计算空间需求 +正在创建快捷方式 +快捷方式:[1] +正在发布合格的组件 +组件 ID:[1], 公布者:[2] +正在发布产品功能 +功能:[1] +正在发布产品信息 +正在注册类型服务器 +类型 Id:[1] +正在注册扩展服务器 +扩展名 [1] +正在注册 MIME 信息 +MIME 内容类型:[1],扩展名:[2] +正在注册程序辨识字符 +ProgId: [1] +正在分配注册空间 +可用空间:[1] +正在寻找已安装的应用程序 +内容:[1], 签章:[2] +正在系结执行档 +文件:[1] +正在寻找查询产品 +正在创建文件夹 +文件夹:[1] +正在删除服务 +服务:[1] +正在创建重复文件 +文件:[1], 目录:[9], 尺寸:[6] +正在寻找相关的应用程序 +找到应用程序:[1] +正在安装 ODBC 组件 +正在安装新服务 +服务:[2] +正在评估引导条件 +正在从相关的应用程序迁移功能状态 +应用程序:[1] +正在移动文件 +文件:[1], 目录:[9], 尺寸:[6] +正在修补文件 +文件:[1], 目录:[2], 尺寸:[3] +正在更新组件注册 +正在注册 COM+ 应用程序和组件 +AppId:[1]{{, AppType:[2],用户:[3],RSN:[4]}} +正在注册字体 +字体:[1] +正在注册产品 +[1] +正在注册类型库 +LibID: [1] +正在注册用户 +[1] +正在删除重复的文件 +文件:[1], 目录:[9] +正在更新环境符串 +名称:[1], 数值:[2], 动作:[3] +正在删除应用程序 +应用程序:[1], 命令列:[2] +正在删除文件 +文件:[1], 目录:[9] +正在删除文件夹 +文件夹:[1] +正在删除 INI 文件项目 +文件:[1], 区段:[2], 机码:[3], 数值:[4] +正在删除 ODBC 组件 +正在删除系统注册档数值 +机码:[1], 名称:[2] +正在删除快捷方式 +快捷方式:[1] +正在寻找查询产品 +正在注册模块 +文件:[1], 文件夹:[2] +正在解除模块注册 +文件:[1], 文件夹:[2] +正在初始化 ODBC 目录 +正在引导服务 +服务:[1] +正在停止服务 +服务:[1] +正在取消组件公布 +组件 ID:[1], 公布者:[2] +正在取消功能公布 +功能:[1] +解除类型服务器注册 +类型 Id:[1] +正在解除 COM+ 应用程序和组件注册 +AppId: [1]{{, AppType: [2]}} +正在解除扩充服务器注册 +扩展名 [1] +正在解除字体注册 +字体:[1] +正在解除 MIME 信息注册 +MIME 内容类型:[1],扩展名:[2] +正在解除程序标识码注册 +ProgId: [1] +正在解除类型库注册 +LibID: [1] +正在更新环境符串 +名称:[1], 数值:[2], 动作:[3] +正在写入 INI 文件数值 +文件:[1], 区段:[2], 机码:[3], 数值:[4] +正在写入系统注册表 +机码:[1],名称:[2],值:[3] +正在宣告应用程序 +正在产生动作的 script 操作: +[1] +正在安装系统目录 +文件:[1],依存关系:[2] +正在发布组件信息 +应用程序内容:[1],组件名称:[2] +正在取消信息公布 +应用程序内容:[1],组件名称:[2] +恢复动作: +[1] +正在删除备份文件 +文件:[1] +正在删除移动的文件 +文件:[1], 目录:[9] +正在取消发布产品信息 + +字节 +GB +KB +MB +整个功能将不可用 +需要时将安装的功能 +整个功能将会安装成从 CD 上执行 +整个功能将会安装到本机硬盘 +整个功能将会安装成从网络上执行 +将会安装成从 CD 上执行 +将会安装到本机硬盘 +将会安装成从网络执行 +正在收集所需的信息... +这个功能将保持未安装的状态 +这个功能会设置成视需要进行安装 +这个功能将会安装成从 CD 执行 +这个功能将会安装在本机硬盘中 +这个功能将会安装成从网络执行 +这个功能将不能使用 +将会视需要进行安装 +这个功能可以从 CD 上执行 +这个功能将安装在你的本机硬盘 +这个功能可以从网络执行 +这个功能将完整卸载,你将不能从 CD 执行 +这个功能会从 CD 执行更改成视需要进行安装 +这个功能仍将从 CD 执行 +这个功能将会从 CD 执行更改为安装在本机硬盘中 +这个功能会在你的硬盘释放 [1] 。 +这个功能要求 [1] 在你的硬盘上。 +正在编译这个功能的花费... +这个功能将会完整删除 +这个功能会从你的本机硬盘上删除,但是会设置成视需要进行安装 +这个功能将会从你的本机硬盘中删除,但是仍然可以从 CD 执行 +这个功能将会保留在你的本机硬盘中 +这个功能将会从你的本机硬盘中删除,但是仍然可从网络上执行 +这个功能将完整卸载,你将不能从网络执行 +这个功能将会从网络执行更改成视需要进行安装 +这个功能将会从网络执行更改为安装在本机硬盘中。 +这个功能仍将保留成从网络执行 +这个功能在你的硬盘释放 [1]。 它已选择 [2] 之 [3] 子功能。 子功能在你的硬盘释放 [4] 。 +这个功能在你的硬盘释放 [1]。 它已选择 [2] 之 [3] 子功能。 子功能在你的硬盘需要 [4] 。 +这个功能在你的硬盘需要 [1]。 它已选择 [2] 之 [3] 子功能。 子功能在你的硬盘释放 [4] 。 +这个功能在你的硬盘需要 [1]。 它已选择 [2] 之 [3] 子功能。 子功能在你的硬盘需要 [4] 。 +剩下时间:{[1] 分 }{[2] 秒} +可用 +差异 +需求 +磁盘空间 +分区 + + 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 @@ + + + + + + + 1028 + 正體中文 + + 否(&N) + 是(&Y) + 取消(&C) + 下一步(&N) > + < 上一步(&B) + 瀏覽(&O) + 確定(&K) + 檢查(&C) + 安裝(&I) + 移除(&R) + 完成(&F) + 修理(&R) + 返回(&R) + 重試(&T) + 忽略(&G) + 結束(&X) + + 自訂 + 設定 + + + + 授權 + 使用者手冊 + + + + [ProductName] 應用程式。 + [ProductName] USB 裝置驅動程式針對 USB 裝置支援。 + [ProductName] 網路裝置驅動程式針對網路支援。 + [ProductName] 驅動程式針對橋接網路。 + [ProductName] 虛擬網路介面卡針對「僅限主機」網路。 + [ProductName] 驅動程式針對 NDIS6 橋接網路。 + [ProductName] 虛擬網路介面卡針對 NDIS6 「僅限主機」網路。 + + VirtualBox 的 Python 支援。 + + + + 您需要有系統管理員特殊權限以安裝 (或解除安裝)[ProductName]!此安裝程式現在將中止。 + [ProductName] 需要先安裝 Microsoft Visual C++ 2019 可分發套件。 請安裝並重新啟動 [ProductName] 安裝。 + 此應用程式只能執行在 Windows XP 或以上。 + 此應用程式只能執行在 32 位元的 Windows 系統。 請安裝 [ProductName] 的 64 位元版本! + 此應用程式只能執行在 64 位元的 Windows 系統。 請安裝 [ProductName] 的 32 位元版本! + 在此電腦發現舊的 Sun VirtualBox 安裝。 請先解除安裝此套件然後安裝 [ProductName]! + 在此電腦發現舊的 innotek VirtualBox 安裝。 請先解除安裝此套件然後安裝 [ProductName]! + + + + 您確定要取消 [ProductName] 安裝嗎? + + + + 歡迎使用 [ProductName] 安裝精靈 + 安裝精靈將在您的電腦安裝 [ProductName]。 按一下「下一步」繼續或「取消」結束安裝精靈。 + + + + 最終使用者授權協議 + 請仔細閱讀以下授權協議。 + 我接受授權協議中條款(&A) + 我不接受授權協議中條款(&D) + + + + 序號 + 請在以下欄位輸入您的序號。 您可以在 VirtualBox CD 盒內的貼紙找到。 + 序號輸入完成時,按一下以下「檢查」按鈕。 + + + + 輸入的序號無效! + 請返回再次輸入您的序號。 + 請記得,序號必須和印在貼紙上的拼字完全一樣。 + + + + 警告: + 已經的儲存狀態不相容! + 升級 [ProductName] 時,所有來自已經存在機器的儲存狀態不再能動作!安裝後,您必須手動捨棄。 + 立即進行安裝嗎? + + + + 主機介面 + 如果您的機器在先前版本使用某些主機介面。 在此安裝後您必須重新建立它們。 + + + + 繼續安裝前,必須關閉以下應用程式: "[2]" + + + + 位置: + 磁碟使用量(&U) + 選取您要安裝功能的方式。 + 按一下以下樹狀中圖示以變更安裝功能的方式。 + 自訂安裝 + CustomizeDlgItemDescription-CustomizeDlgItemDescription + CustomizeDlgItemSize-CustomizeDlgItemSize + CustomizeDlgLocation-CustomizeDlgLocation + + + + 自訂 + 請選擇以下選項: + 建立 [開始] 功能表項目 + 在桌面建立捷徑 + 在快速啟動列建立捷徑 + 註冊檔案關聯 + + + + 請選擇您將使用的網路驅動程式類型: + NDIS5 網路驅動程式。 +這是舊版 Windows 的預設值 (Vista 前)。 + NDIS6 網路驅動程式。 +這是新版 Windows 的預設值 (Vista 和以上)。 + 使用 NDIS5 網路驅動程式。 + 使用 NDIS6 網路驅動程式。 + + + + 警告: + 網路介面 + 安裝 [ProductName] 網路功能將重設您的網路連線並暫時中斷網路連線。 + 立即進行安裝嗎? + + + + 缺少相依項 + Python 核心 / win32api + 安裝 [ProductName] Python 綁定需要先安裝 Python 核心包和 win32api 綁定。 + 現在繼續安裝 [ProductName] Python 綁定時,需要稍後手動設定這些綁定。 有關詳細資訊,請參閱 [ProductName] SDK 手冊。 + 立即進行安裝嗎? + + + + 安裝選取功能所需的磁碟空間。 + 反白的磁碟區 (如果有) 對於目前選取的功能沒有足夠的磁碟空間可以使用。 您可以從反白的磁碟區移除一些檔案,或選擇安裝較少功能在本機磁碟機,或選取不同目的地磁碟機。 + 磁碟空間需求 + {120}{70}{70}{70}{70} + + + + 瀏覽目的地資料夾 + 變更目前目的地資料夾 + 上一層 + 建立新的資料夾 + 瀏覽(&L): + 資料夾名稱(&F): + + + + 安裝精靈準備好進行 [InstallMode] 安裝。 + 按一下「安裝」開始安裝。 如果您要檢閱或變更任何安裝設定,按一下「上一步」。 按一下「取消」結束精靈。 + 準備好安裝 + + + + 按一下「完成」按鈕結束安裝精靈。 + [ProductName] 安裝完成。 + 安裝後啟動 [ProductName] + + + + [ProductName] 安裝精靈太早結束 + [ProductName] 安裝因為錯誤太早結束。 您的系統未做修改。 若要稍後安裝此程式,請再次執行安裝。 + 按一下「完成」按鈕結束安裝精靈。 + + + + 以下應用程式使用此安裝需要更新的檔案。 關閉這些應用程式接著按一下「重試(&R)」以繼續安裝或「取消」結束精靈。 + 某些需要更新的檔案目前使用中。 + 檔案使用中 + + + + [ProductName] 安裝精靈中斷 + [ProductName] 安裝中斷。 您的系統未做修改。 若要稍後安裝此程式,請再次執行安裝。 + 按一下「完成」按鈕結束安裝精靈。 + + + + 在安裝精靈安裝 [ProductName] 時請稍候。 這需要幾分鐘時間。 + + + + 正在繼續 [ProductName] 安裝精靈 + 安裝精靈將在您的電腦完成 [ProductName] 的安裝。 按一下「安裝」以繼續或「取消」結束安裝精靈。 + + + + 修改、修復或移除安裝 + 選取您希望執行的操作。 + 修復(&P) + 修復在最近安裝狀態的錯誤 - 修復缺少或損毀的檔案、捷徑和登錄檔項目。 + 修復安裝 + 正在修復 + 修復 + 移除(&R) + 從電腦移除 [ProductName]。 + 移除安裝 + 正在移除 + 移除 + + + + 歡迎使用 [ProductName] 安裝精靈 + 安裝精靈將允許您修復目前的安裝或從您的電腦移除 [ProductName]。 按一下「下一步」以繼續或「取消」結束安裝精靈。 + + + + 安裝所需的磁碟空間超過可用的磁碟空間。 + 反白的磁碟區對於目前選取的功能沒有足夠的磁碟空間可以使用。 您可以從反白的磁碟區移除一些檔案,或選擇安裝較少功能在本機磁碟機,或選取不同目的地磁碟機。 + 磁碟空間不足 + + + + 安裝所需的磁碟空間超過可用的磁碟空間。 + 反白的磁碟區對於目前選取的功能沒有足夠的磁碟空間可以使用。 您可以從反白的磁碟區移除一些檔案,或選擇安裝較少功能在本機磁碟機,或選取不同目的地磁碟機。 + 磁碟空間不足 + 或者,您可以選擇停用安裝程式的回復功能。 這允許安裝程式在任何方式中斷安裝時還原您電腦的原始狀態。 按一下「是」如果您希望承擔停用回復功能的風險。 + + + + 移除 [ProductName] + 您已經選擇從您的電腦移除程式。 + 按一下「移除」以從您的電腦移除 [ProductName]。 如果您要檢閱或變更任何安裝設定,按一下「上一步」。 按一下「取消」結束精靈。 + + + + 修復 [ProductName] + 安裝精靈準備好開始修復 [ProductName]。 + 按一下「修復」以修復 [ProductName] 的安裝。 如果您要檢閱或變更任何安裝設定,按一下「上一步」。 按一下「取消」結束精靈。 + + + + 在安裝程式完成判斷您的磁碟空間需求時請稍候。 + + + + 以下應用程式使用此安裝需要更新的檔案。 您可以讓安裝精靈關閉並嘗試重新啟動這些應用程式或稍後重新啟動電腦。 + 某些需要更新的檔案目前使用中。 + 檔案使用中 + 關閉應用程式並嘗試重新啟動它們。 (&C) + 不要關閉應用程式,將需要重新開機。 (&D) + + + {{嚴重錯誤: }} + {{錯誤 [1]。}} + 警告 [1]。 + + 資訊 [1]。 + 安裝程式安裝這個封裝時發生未預期的錯誤。 這可能表示這個封裝的問題。 錯誤碼 [1]。 {{引數: [2], [3], [4]}} + + {{磁碟已滿: }} + 動作 [Time]: [1]. [2] + [ProductName] + {[2]}{, [3]}{, [4]} + 訊息類型: [1], 引數: [2] + === 開啟記錄時間: [Date] [Time] === + === 停止記錄時間: [Date] [Time] === + 動作開始 [Time]: [1]。 + 動作結束 [Time]: [1]。 傳回值 [2]。 + 剩餘時間: {[1] 分 }{[2] 秒} + 記憶體不足,重試之前先關閉其它應用程式。 + 安裝程式不再有回應。 + 安裝程式已經永久中止。 + 在 Windows 組態 [ProductName] 時請稍候 + 正在收集所需的資訊... + 正在移除此應用程式的舊版本... + 正在準備移除此應用程式的舊版本... + {[ProductName] } 安裝成功完成。 + {[ProductName] } 安裝失敗。 + 讀取檔案錯誤: [2]。{{ 系統錯誤 [3]。}} 檢查檔案是否存在,並且可以存取。 + 無法建立目錄 '[2]'。 同名的目錄已經存在。 取消安裝並嘗試安裝到不同位置。 + 請插入磁碟: [2] + 安裝程式的權限不足,無法存取這個目錄: [2],安裝無法繼續,以系統管理員的身份登入或是連絡您的系統管理員。 + 寫入至檔案時發生錯誤: [2]。請檢查您可以存取那個目錄。 + 讀取檔案時發生錯誤:[2]。{{ 系統錯誤 [3]。}} 請檢查檔案是否存在,並且可以存取。 + 另一個應用程序獨占存取檔案 '[2]'。 請關閉所有其它應用程式,然後按一下「重試」。 + 磁碟空間不足,無法安裝這個檔案: [2]。釋放一些磁碟空間然後按一下「重試」,或按一下「取消」結束。 + 找不到來源檔案: [2]。 請驗證檔案存在並且您可以存取它。 + 讀取檔案錯誤: [3]。{{ 系統錯誤 [2]。}} 請檢查檔案是否存在,並且可以存取。 + 寫入至檔案時發生錯誤: [3]。{{ 系統錯誤 [2]。}} 請檢查您可以存取那個目錄。 + 找不到來源檔案 {{(cabinet)}}: [2]。 請檢查檔案存在並且可以存取。 + 無法建立目錄 '[2]'。 同名的檔案已經存在。 請重新命名或移除檔案並按一下「重試」,或按一下「取消」結束。 + 磁碟區 [2] 目前不可使用。 請選取另一個。 + 指定的路徑 '[2]' 不可使用。 + 無法寫入指定的資料夾: [2]。 + 嘗試從檔案讀取時發生網路錯誤: [2] + 嘗試建立目錄時發生錯誤: [2] + 嘗試建立目錄時發生網路錯誤: [2] + 嘗試開啟來源檔案時發生網路錯誤: [2] + 指定的路徑太長: [2] + Installer 的權限不足以修改這個檔案: [2]。 + 資料夾路徑的部份 '[2]' 無效。其為空或超過系統允許的長度。 + 資料夾路徑 '[2]' 包含無效的字在資料夾路徑。 + 資料夾路徑 '[2]' 包含無效字元。 + '[2]' 不是有效的短檔名。 + 取得檔案安全性錯誤: [3] GetLastString: [2] + 無效的磁碟機: [2] + 套用修正檔到檔案 [2] 錯誤。 可能已由其他主機更新,且這個修正檔不再能修改。 更多資訊請聯絡您的修正檔供應商。 {{系統錯誤: [3]}} + 無法安裝所需的檔案,因為 cabinet 檔案 [2] 沒有數位簽章。 這表示 cabinet 檔案已經損毀。 + 無法安裝所需的檔案,因為 cabinet 檔案 [2] 有無效的數位簽章。 這表示 cabinet 檔案已經損毀。 {{ WinVerifyTrust 返回錯誤 [3]。}} + 修正複製 [2] 檔案失敗: CRC 錯誤。 + 修正移動 [2] 檔案失敗: CRC 錯誤。 + 修正路徑 [2] 檔案失敗: CRC 錯誤。 + 無法安裝 '[2]' 因為在 cainet 檔案 '[3]' 中找不到檔案。 這表示網路錯誤、從 CD-ROM 讀取錯誤、或此安裝包問題。 + 此安裝所需的 cabinet 檔案 '[2]' 已經損毀且無法使用。 這表示網路錯誤、從 CD-ROM 讀取錯誤、或此安裝包問題。 + 完成這個安裝所需的暫存檔案建立錯誤。 {{ 資料夾: [3]。 系統錯誤碼: [2]}} + 無法建立機碼: [2]。{{ 系統錯誤 [3]。}} 檢查您是有足夠的權限存取該機碼,或是連絡您的支援人員。 + 無法開啟機碼: [2]。{{ 系統錯誤 [3]。}} 檢查您是有足夠的權限存取該機碼,或是連絡您的支援人員。 + 無法從機碼 [3] 刪除值:[2]。{{ 系統錯誤 [4]。}} 檢查您是有足夠的權限存取該機碼,或是連絡您的支援人員。 + 無法刪除機碼:[2]。{{ 系統錯誤 [3]。}} 檢查您是有足夠的權限存取該機碼,或是連絡您的支援人員。 + 無法從機碼 [3] 讀取值 [2]。{{ 系統錯誤 [4]。}} 檢查您是有足夠的權限存取該機碼,或是連絡您的支援人員。 + 無法寫入值 [2] 至機碼 [3]。{{ 系統錯誤 [4]。}} 檢查您是有足夠的權限存取該機碼,或是連絡您的支援人員。 + 無法取得機碼 [2] 的值名稱。{{ 系統錯誤 [3]。}} 檢查您是有足夠的權限存取該機碼,或是連絡您的支援人員。 + 無法取得機碼 [2] 的子機碼名稱。{{ 系統錯誤 [3]。}} 檢查您是有足夠的權限存取該機碼,或是連絡您的支援人員。 + 無法讀取機碼 [2] 的安全資訊。{{ 系統錯誤 [3]。}} 檢查您是有足夠的權限存取該機碼,或是連絡您的支援人員。 + 無法增加可用的登錄空間。 此應用程式須要 [2] KB 以上的空間。 + 其它的安裝正在進行中,您必須完成該項安裝之後才能繼續。 + 存取保全資料時發生錯誤,請確定 Windows Installer 是否正確組態,然後再試一次。 + 使用者 '[2]' 先前已經啟動產品 '[3]' 的安裝。 該使用者在可以使用該產品前需要再次執行安裝。您目前的安裝現在將繼續。 + 使用者 '[2]' 先前已經啟動產品 '[3]' 的安裝。 該使用者在可以使用該產品前需要再次執行安裝。 + 磁碟空間不足 -- 磁碟區: '[2]',所需空間: [3] KB; 可用空間: [4] KB。 釋放一些磁碟空間並重試。 + 您確定要取消嗎? + 檔案 [2][3] 正在由 { 以下處理程序: 名稱: [4],Id: [5],視窗標題: '[6]'} 使用中。 關閉該應用程式並重試。 + 已經安裝產品 '[2]',此產品防止安裝。 兩個產品不相容。 + 磁碟區 '[2]' 沒有足夠的磁碟空間以啟用復原的安裝繼續。 需要 [3] KB,但只有 [4] KB 可以使用。 按一下「忽略」以不儲存復原資訊繼續安裝,按一下「重試」以再次檢查可用空間,或按一下「取消」以離開安裝。 + 無法存取網路位置 [2]。 + 繼續安裝前應該關閉以下應用程式: + 無法在本機中找到任何先前已安裝的合格版本。 + 套用安全性設定時發生錯誤。 [2] 不是有效的使用者或群組。 這會是安裝包的問題或連線到網路上網域控制站的問題。 檢查您的網路連線並按一下「重試」,或「取消」以結束安裝。 {{找不到使用者的 SID,系統錯誤 [3]}} + 金鑰 [2] 是無效的,檢查您輸入的金鑰是否正確。 + 要繼續設定 [2] 之前,Installer 必須重新啟動您的系統,按「是」將立即重新啟動;如果您想要稍後手動重新啟動請按「否」。 + 您必須重新啟動您的系統,對 [2] 所做的組態變更才會生效,按「是」立即重新啟動;如果您想要稍後手動重新啟動請按「否」。 + 安裝 [2] 目前已經暫停,您必須復原該安裝所做的變更才能繼續,您要復原這些變更嗎? + 另一個安裝這個產品的程式正在進行中,您必須復原該安裝所做的變更才能繼續,您要復原這些變更嗎? + 找不到產品 [2] 的安裝包。 嘗試使用安裝包 '[3]' 的有效副本嘗試再次安裝。 + 安裝成功完成。 + 安裝失敗。 + 產品: [2] -- [3] + 您可以將電腦還原成先前的狀態或稍後繼續安裝,您希望還原嗎? + 寫入安裝資訊至磁碟時發生錯誤,確定磁碟的空間足夠,並按「重試」,或按「取消」來結束安裝。 + 還原您的電腦成之前的狀態所需的一個或數個檔案找不到。 無法還原。 + [2] 無法安裝其所需的產品之一。 請聯絡您的技術支援小組。 {{系統字串: [3]。}} + 無法移除 [2] 的舊版本。 請聯絡您的技術支援小組。 {{系統字串 [3]。}} + 已經安裝 [2] + 已經組態 [2] + 已經移除 [2] + 數位簽章原則拒絕檔案 [2] 。 + 無法存取 Windows Installer 服務。 如果您正執行在 Windows 安全模式,這將會發生。 請聯絡您的技術支援人員以取得協助。 + 這個 Windows Installer 封裝有問題。 完成這個安裝需要的指令碼無法執行。 聯絡您的支援人員或封裝供應商。 {{自訂動作 [2] 指令碼錯誤 [3],[4]: [5] 行 [6],欄 [7],[8] }} + 這個 Windows Installer 封裝有問題。 完成這個安裝需要的程式無法執行。 聯絡您的支援人員或封裝供應商。 {{動作 [2],位置: [3],命令: [4] }} + 這個 Windows Installer 封裝有問題。 以 setup 部分執行的程式無法如預期完成。 聯絡您的支援人員或封裝供應商。 {{動作 [2],位置: [3],命令: [4] }} + 這個 Windows Installer 封裝有問題。 完成這個安裝需要的 DLL 無法執行。 聯絡您的支援人員或封裝供應商。 {{動作 [2],項目: [3],程式庫: [4] }} + 移除成功完成。 + 移除失敗。 + 宣告成功完成。 + 宣告失敗。 + 組態成功完成。 + 組態失敗。 + 您必須是管理者以移除這個應用程式。 要移除這個應用程式,您可以使用系統管理員登入或聯絡您的技術支援群組取得協助。 + 路徑 [2] 無效。 請指定有效的路徑。 + 記憶體不足,重試之前先關閉其它應用程式。 + 磁碟機 [2] 中沒有磁片,請插入磁片然後重試,或按「取消」回到上次選取的磁碟區。 + 磁碟機 [2] 中沒有磁片,請插入磁片然後按「重試」,或按「取消」回到瀏覽對話方塊,並選取不同的磁碟區。 + 資料夾 [2] 不存在,請輸入一個現有的資料夾路徑。 + 您的權限不足,無法讀取這個資料夾。 + 無法決定合法的目的資料夾。 + 嘗試讀取來源安裝資料庫時發生錯誤: [2]。 + 正在排定重新開機作業: 正在更改檔案名稱 [2] 成 [3],必須重新開機才能完成作業。 + 正在排定重新開機作業: 正在刪除檔案 [2],必須重新開機才能完成作業。 + 註冊模組 [2] 失敗。HRESULT [3]。連絡您的支援人員。 + 取消註冊模組 [2] 失敗。HRESULT [3]。連絡您的支援人員。 + 無法預存封裝 [2]。錯誤: [3]。請連絡支援人員。 + 無法註冊字型 [2]。 請確認是否有足夠的權限及系統支援。 + 無法解除註冊字型 [2]。 請確認您有足夠的權限來移除字型。 + 無法建立捷徑 [2]。 請確認目地資料夾是否存在及您的存取權。 + 無法移除捷徑 [2]。 請確認目地資料夾是否存在及您的存取權。 + 無法註冊檔案 [2] 的類型程式庫。 請連絡系統支援人員。 + 無法解除註冊檔案 [2] 的 type library。 請連絡系統支援人員。 + 無法更新 ini 檔 [2][3]。 請確認檔案是否存在及您的存取權。 + 無法預定在重開機時將檔案 [2] 取代 [3]。 請確認您有 [3] 的存取權。 + 移除 ODBC 驅動程式管理員錯誤,ODBC 錯誤 [2]: [3]。請連絡系統支援人員。 + 安裝 ODBC 驅動程式管理員錯誤,ODBC 錯誤 [2]: [3]。請連絡系統支援人員。 + 移除 ODBC 驅動程式管理員錯誤: [4],ODBC 錯誤 [2]: [3]。請確認您有足夠權限。 + 安裝 ODBC 驅動程式管理員錯誤: [4],ODBC 錯誤 [2]: [3]。請確認檔案[4]存在並可存取。 + 設定 ODBC 資料來源錯誤: [4],ODBC 錯誤 [2]: [3]。請確認檔案[4]存在並可存取。 + 啟動服務 '[2]' ([3]) 失敗。 請確認您有足夠的特殊權限以啟動系統服務。 + 停止服務 '[2]' ([3]) 失敗。 請確認您有足夠的特殊權限以啟動系統服務。 + 刪除服務 '[2]' ([3]) 失敗。 請確認您有足夠的特殊權限以啟動系統服務。 + 無法安裝服務 '[2]' ([3]) 。 請確認您有足夠的特殊權限以啟動系統服務。 + 無法更新環境變數 '[2]'。 請確認您有足夠的特殊權限以修改環境變數。 + 您沒有足夠的特殊權限使電腦的所有使用者都完成此安裝。請以系統管理員權限登入,接著再重試此安裝。 + 無法設定檔案 '[3]' 的檔案安全性。 錯誤: [2]。 請確認您有足夠的特殊權限以修改此檔案的安全性權限。 + 這台電腦並未安裝 Component Services (COM+ 1.0)。這項安裝需要有 Component Services 才能進行。Component Services 包含在 Windows XP 中。 + 登錄 COM+ 應用程式時發生錯誤。請聯絡您的支援人員以取得其他資訊。 + 解除 COM+ 應用程式登錄時發生錯誤。請聯絡您的支援人員以取得其他資訊。 + 無法變更服務 '[2]' ([3]) 的描述。 + Windows Installer 服務無法更新系統檔案 [2] 因為檔案受 Windows 保護。 您可能需要更新您的作業系統使這個程式正確動作。 {{{封裝版本: [3],受 OS 保護的版本: [4]}} + Windows Installer 服務無法更新受保護的 Windows 檔案 [2]。 {{封裝版本: [3],受 OS 保護的版本: [4],SFP 錯誤: [5]}} + Windows Installer 服務無法更新一個或數個受保護的 Windows 檔案。 {{SFP 字串: [2]。 受保護的檔案清單: \r\n[3]}} + 電腦的原則停用使用者安裝。 + 組件元件 [2] 的安裝期間發生錯誤。 HRESULT: [3]。 {{組件介面: [4],函數: [5],組件名稱: [6]}} + + + 需要關閉應用程式 "[2]" 以繼續關閉。 + + 正在驗證安裝 + 正在複製新檔案 + 檔案: [1], 目錄: [9], 大小: [6] + 正在複製網路安裝檔案 + 檔案: [1], 目錄: [9], 大小: [6] + 正在計算空間需求 + 正在計算空間需求 + 正在計算空間需求 + 正在建立捷徑 + 捷徑: [1] + 正在發佈合格的元件 + 元件 ID: [1], 公佈者: [2] + 正在發佈產品功能 + 功能: [1] + 正在發佈產品資訊 + 正在登錄類別伺服器 + 類別 Id: [1] + 正在登錄擴充伺服器 + 副檔名 [1] + 正在登錄 MIME 資訊 + MIME 內容類型: [1],副檔名: [2] + 正在登錄程式辨識字元 + ProgId: [1] + 正在配置登錄空間 + 可用空間: [1] + 正在搜尋已安裝的應用程式 + 內容: [1], 簽章: [2] + 正在繫結執行檔 + 檔案: [1] + 正在搜尋查詢產品 + 正在建立資料夾 + 資料夾: [1] + 正在刪除服務 + 服務: [1] + 正在建立重複檔案 + 檔案: [1], 目錄: [9], 大小: [6] + 正在搜尋相關的應用程式 + 找到應用程式: [1] + 正在安裝 ODBC 元件 + 正在安裝新服務 + 服務: [2] + 正在評估啟動條件 + 正在從相關的應用程式遷移功能狀態 + 應用程式: [1] + 正在移動檔案 + 檔案: [1], 目錄: [9], 大小: [6] + 正在修補檔案 + 檔案: [1], 目錄: [2], 大小: [3] + 正在更新元件註冊 + 正在註冊 COM+ 應用程式和元件 + AppId: [1]{{, AppType: [2],使用者: [3],RSN: [4]}} + 正在註冊字型 + 字型: [1] + 正在註冊產品 + [1] + 正在登錄類別程式庫 + LibID: [1] + 正在登錄使用者 + [1] + 正在移除重複的檔案 + 檔案: [1], 目錄: [9] + 正在更新環境字串 + 名稱: [1], 數值: [2], 動作: [3] + 正在移除應用程式 + 應用程式: [1], 命令列: [2] + 正在移除檔案 + 檔案: [1], 目錄: [9] + 正在移除資料夾 + 資料夾: [1] + 正在移除 INI 檔案項目 + 檔案: [1], 區段: [2], 機碼: [3], 數值: [4] + 正在移除 ODBC 元件 + 正在移除系統登錄檔數值 + 機碼: [1], 名稱: [2] + 正在移除捷徑 + 捷徑: [1] + 正在搜尋查詢產品 + 正在註冊模組 + 檔案: [1], 資料夾: [2] + 正在解除模組登錄 + 檔案: [1], 資料夾: [2] + 正在初始化 ODBC 目錄 + 正在啟動服務 + 服務: [1] + 正在停止服務 + 服務: [1] + 正在取消元件公佈 + 元件 ID: [1], 公佈者: [2] + 正在取消功能公佈 + 功能: [1] + 解除類別伺服器登錄 + 類別 Id: [1] + 正在解除 COM+ 應用程式和元件登錄 + AppId: [1]{{, AppType: [2]}} + 正在解除擴充伺服器登錄 + 副檔名 [1] + 正在解除字型登錄 + 字型: [1] + 正在解除 MIME 資訊登錄 + MIME 內容類型: [1],副檔名: [2] + 正在解除程式識別碼登錄 + ProgId: [1] + 正在解除類別程式庫登錄 + LibID: [1] + 正在更新環境字串 + 名稱: [1], 數值: [2], 動作: [3] + 正在寫入 INI 檔案數值 + 檔案: [1], 區段: [2], 機碼: [3], 數值: [4] + 正在寫入系統登錄檔數值 + 機碼: [1],名稱: [2],值: [3] + 正在宣告應用程式 + 正在產生動作的 script 操作: + [1] + 正在安裝系統目錄 + 檔案: [1],依存關係: [2] + 正在發佈組件資訊 + 應用程式內容:[1],組件名稱:[2] + 正在取消資訊公佈 + 應用程式內容:[1],組件名稱:[2] + 回復動作: + [1] + 正在移除備份檔案 + 檔案: [1] + 正在移除移動的檔案 + 檔案: [1], 目錄: [9] + 正在取消發佈產品資訊 + + 位元組 + GB + KB + MB + 整個功能將不可用 + 需要時將安裝的功能 + 整個功能將會安裝成從 CD 上執行 + 整個功能將會安裝到本機硬碟 + 整個功能將會安裝成從網路上執行 + 將會安裝成從 CD 上執行 + 將會安裝到本機硬碟 + 將會安裝成從網路執行 + 正在收集所需的資訊... + 這個功能將保持未安裝的狀態 + 這個功能會設定成視需要進行安裝 + 這個功能將會安裝成從 CD 執行 + 這個功能將會安裝在本機硬碟中 + 這個功能將會安裝成從網路執行 + 這個功能將無法使用 + 將會視需要進行安裝 + 這個功能可以從 CD 上執行 + 這個功能將安裝在您的本機硬碟 + 這個功能可以從網路執行 + 這個功能將完整解除安裝,您將不能從 CD 執行 + 這個功能會從 CD 執行變更成視需要進行安裝 + 這個功能仍將從 CD 執行 + 這個功能將會從 CD 執行變更為安裝在本機硬碟中 + 這個功能會在您的硬碟釋放 [1] 。 + 這個功能要求 [1] 在您的硬碟上。 + 正在編譯這個功能的花費... + 這個功能將會完整移除 + 這個功能會從您的本機硬碟上移除,但是會設定成視需要進行安裝 + 這個功能將會從您的本機硬碟中移除,但是仍然可以從 CD 執行 + 這個功能將會保留在您的本機硬碟中 + 這個功能將會從您的本機硬碟中移除,但是仍然可從網路上執行 + 這個功能將完整解除安裝,您將不能從網路執行 + 這個功能將會從網路執行變更成視需要進行安裝 + 這個功能將會從網路執行變更為安裝在本機硬碟中 + 這個功能仍將保留成從網路執行 + 這個功能在您的硬碟釋放 [1]。 它已選取 [2] 之 [3] 子功能。 子功能在您的硬碟釋放 [4] 。 + 這個功能在您的硬碟釋放 [1]。 它已選取 [2] 之 [3] 子功能。 子功能在您的硬碟需要 [4] 。 + 這個功能在您的硬碟需要 [1]。 它已選取 [2] 之 [3] 子功能。 子功能在您的硬碟釋放 [4] 。 + 這個功能在您的硬碟需要 [1]。 它已選取 [2] 之 [3] 子功能。 子功能在您的硬碟需要 [4] 。 + 剩餘時間: {[1] 分 }{[2] 秒} + 可用 + 差異 + 需求 + 磁碟大小 + 分割區 + + 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 @@ + + + + + + + + + + + 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 @@ + + + + + + + + + + + + + + + + + + + + + + + + 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 . +# +# 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 . + * + * SPDX-License-Identifier: GPL-3.0-only + */ + +#include +#include +#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 . + * + * SPDX-License-Identifier: GPL-3.0-only + */ + +#include + +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 . + * + * 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 . +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 . +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 . +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 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 . +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 . +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 . +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 . +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 . +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 . +; +; 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 . +; +; 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 . +# +# 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 . + * + * SPDX-License-Identifier: GPL-3.0-only + */ + + +/********************************************************************************************************************************* +* Header Files * +*********************************************************************************************************************************/ +#include +#include +#include +#include +#include +#include + +#include + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#ifndef IPRT_NO_CRT +# include +# include +#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 ".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 \n" + " Sets MSI logging to \n" + "--msiparams \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 \n" + " Adds = 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 : ""); + RTPrintf("Logging to file : %s\n", szMSILogFile[0] ? szMSILogFile : ""); + } + + /* + * 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 . + * + * 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 @@ + + + +VirtualBox Windows Installer + + + + + + + + true + PerMonitorV2 + + + 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 . + * + * SPDX-License-Identifier: GPL-3.0-only + */ + +#include +#include +#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 . + * + * SPDX-License-Identifier: GPL-3.0-only + */ + + +/********************************************************************************************************************************* +* Header Files * +*********************************************************************************************************************************/ +#include +#include + +#include +#include +#include +#include + + +/** + * 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 . + * + * 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 . +; +; 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 . +; +; 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 . + * + * 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 . +; +; 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 . +; +; 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 . +; +; 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 . +# +# 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 . + * + * SPDX-License-Identifier: GPL-3.0-only + */ + + +/********************************************************************************************************************************* +* Header Files * +*********************************************************************************************************************************/ +#include +#include +#include + +#include +#include + +#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 -stub [-target-all ] [-target- ]\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 . + * + * 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 +#include + +/**/ +#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 @@ + + + + + + + + + + 1 + + + 1 + + + !(loc.CancelDlg_Question) + + + + + + + + + + + + {\DlgVerdanaBold13}!(loc.WelcomeDlg_Header) + + + + + !(loc.WelcomeDlg_Body) + + + + + + + + [Version_text] $(var.Property_Version) + + + + + + + 1 + + + + + + + + + + + + + + + + + [DlgTitleFont]!(loc.LicenseAgreementDlg_Header) + + + + !(loc.LicenseAgreementDlg_Body) + + + + + + + + + + + + + + + + + [Version_text] $(var.Property_Version) + + + + + + "Yes"]]> + + + + + + 1 + + + + + + + + + {\DlgVerdanaBold13}!(loc.CheckSerialDlg_Header) + + + + + !(loc.CheckSerialDlg_Body) + + + + + + + + + + + + + + + + + + + + !(loc.CheckSerialDlg_Footer) + + + + + + 1 + + + + + + + + [Version_text] $(var.Property_Version) + + + + + + + + + + + + {\DlgInvalidSerial}!(loc.WrongSerialDlg_Header) + + + + + !(loc.WrongSerialDlg_Desc1) + + + + !(loc.WrongSerialDlg_Desc2) + + + + + + + + [Version_text] $(var.Property_Version) + + + + + + + 1 + + + + + + + + + + [DlgTitleFont]!(loc.CustomizeDlg_CustomSetup) + + + !(loc.CustomizeDlg_SelFeatures) + + + !(loc.CustomizeDlg_IconTree) + + + + 1 + Installed + + + !(loc.CustomizeDlg_DiskUsage) + 1 + + + + + !(loc.CustomizeDlg_SelItemDesc) + + + + !(loc.CustomizeDlg_SelItemSize) + + + + !(loc.CustomizeDlg_SelItemPath) + + + Installed + + + + Installed + + + + + + + + 1 + + + + + + [Version_text] $(var.Property_Version) + + + + + + + + + + + + + + [DlgTitleFont]!(loc.CustomizeDlg_CustomSetup) + + + !(loc.CustomizeDlg_SelFeatures) + + + + !(loc.SelectionNetworkTypeDlg_CommonDescription) + + + + + + + + !(loc.SelectionNetworkTypeDlg_DescriptionNDIS5) + NETWORKTYPE = "NDIS6" + NETWORKTYPE = "NDIS5" + + + !(loc.SelectionNetworkTypeDlg_DescriptionNDIS6) + NETWORKTYPE = "NDIS5" + NETWORKTYPE = "NDIS6" + + + + + + 1 + + + + + + [Version_text] $(var.Property_Version) + + + + + + + + [DlgTitleFont]!(loc.CustomizeDlg_CustomSetup) + + + !(loc.CustomizeDlg_SelFeatures) + + + !(loc.Customize2Dlg_Desc) + + + + + !(loc.Customize2Dlg_CreateStartMenuEntries) + + + !(loc.Customize2Dlg_CreateDesktopShortcut) + + + !(loc.Customize2Dlg_CreateQuickLaunch) + + + !(loc.Customize2Dlg_RegisterFileExtensions) + + + + + + + + + [Version_text] $(var.Property_Version) + + + + + + + + + + + {\DlgWarnDisconNetIfaces}!(loc.WarnDisconNetIfacesDlg_Title) + + + + {\DlgWarnDisconNetIfaces}!(loc.WarnDisconNetIfacesDlg_Title2) + + + + + !(loc.WarnDisconNetIfacesDlg_Desc) + + + + !(loc.WarnDisconNetIfacesDlg_Question) + + + + + + + + [Version_text] $(var.Property_Version) + + + + + 1 + + + + + + + + + + + + {\DlgWarnPython}!(loc.WarnPythonDlg_Title) + + + + {\DlgWarnPython}!(loc.WarnPythonDlg_Title2) + + + + + !(loc.WarnPythonDlg_Desc) + + + + !(loc.WarnPythonDlg_Desc2) + + + + !(loc.WarnPythonDlg_Question) + + + + + + + + [Version_text] $(var.Property_Version) + + + + + 1 + + + + + + + 1 + + + + !(loc.DiskCostDlg_SpaceRequired) + + + !(loc.DiskCostDlg_NotEnoughSpace) + + + + [DlgTitleFont]!(loc.DiskCostDlg_SpaceRequirements) + + + + !(loc.DiskCostDlg_VolumeList) + + + + + + + + 1 + 1 + + + 1 + 1 + + + + + + + 1 + + + 1 + + + + + + !(loc.BrowseDlg_BrowseDestFolder) + + + + [DlgTitleFont]!(loc.BrowseDlg_ChangeCurFolder) + + + + + + + 1 + + + + + + + + + [DlgTitleFont]!(loc.VerifyReadyDlg_ReadyToInstall) + + + !(loc.VerifyReadyDlg_ReadyToBegin) + + + !(loc.VerifyReadyDlg_ClickInstall) + + + + 1]]> + + + + + + + + 1 + + + + + [Version_text] $(var.Property_Version) + + + + + + + + + + 1 + + + + + [Version_text] $(var.Property_Version) + + + + + + + !(loc.ExitDlg_ClickFinish) + + + + + + + !(loc.ExitDlg_StartVBox) + + + + + + + + {\DlgVerdanaBold13}!(loc.ExitDlg_InstComplete) + + + + + + + + + 1 + + + 1 + + + 1 + + + + 1 + + + 1 + + + 1 + + + 1 + + + + + + + 1 + + + + + + + + + [Version_text] $(var.Property_Version) + + + + + + 1 + + + + 1 + + + + + + + + + + + + + + 1 + + + + [Version_text] $(var.Property_Version) + + + + + + + + {\DlgVerdanaBold13}!(loc.UserExitDlg_Header) + + + !(loc.UserExitDlg_Desc) + + + !(loc.UserExitDlg_Footer) + + + + + + + 1 + + + + + [Version_text] $(var.Property_Version) + + + + + + + + + + !(loc.ProgressDlg_PleaseWait) + + + + [DlgTitleFont][Progress1] [ProductName] + + + + + + + + + + + CostingComplete = 1 + 1]]> + + + + + + + + + + + + + 1 + + + + + {\DlgVerdanaBold13}!(loc.ResumeDlg_Header) + + + !(loc.ResumeDlg_Desc) + + + + [Version_text] $(var.Property_Version) + + + + + + + [DlgTitleFont]!(loc.MaintenanceTypeDlg_Repair) + + + 1 + 1 + 1 + 1 + + + [DlgTitleFont]!(loc.MaintenanceTypeDlg_Remove) + + + 1 + 1 + 1 + 1 + + + + + [Version_text] $(var.Property_Version) + + + + 1 + + + + 1 + + + + !(loc.MaintenanceTypeDlg_SelOption) + + + + [DlgTitleFont]!(loc.MaintenanceTypeDlg_Header) + + + + !(loc.MaintenanceTypeDlg_RemoveText) + + + !(loc.MaintenanceTypeDlg_RepairText) + + + + + + + {\DlgVerdanaBold13}!(loc.MaintenanceWelcomeDlg_Header) + + + + + [Version_text] $(var.Property_Version) + + + + CostingComplete = 1 + 1 + + + 1 + + + + + !(loc.MaintenanceWelcomeDlg_Desc) + + + + + + + + + + [Version_text] $(var.Property_Version) + + + + 1 + + + + !(loc.OutOfDiskDlg_InstallationExceeds) + + + !(loc.OutOfDiskDlg_NotEnoughDiskSpace) + + + + [DlgTitleFont]!(loc.OutOfDiskDlg_OutOfDiskSpace) + + + + {120}{70}{70}{70}{70} + + + + + + 1 + + + 1 + 1 + + + + !(loc.OutOfRbDiskDlg_InstallationExceeds) + + + !(loc.OutOfRbDiskDlg_NotEnoughDiskSpace) + + + + [DlgTitleFont]!(loc.OutOfRbDiskDlg_OutOfDiskSpace) + + + + {120}{70}{70}{70}{70} + + + !(loc.OutOfRbDiskDlg_Desc) + + + + + + + + [Version_text] $(var.Property_Version) + + + + 1 + + + 1]]> + 1]]> + + + + + + + 1 + + + + !(loc.VerifyRemoveDlg_Desc) + + + !(loc.VerifyRemoveDlg_ClickRemove) + + + + [DlgTitleFont]!(loc.VerifyRemoveDlg_Header) + + + + + + + 1]]> + 1]]> + 1]]> + + + + + + + + + [Version_text] $(var.Property_Version) + + + + 1 + + + + 1 + + + !(loc.VerifyRepairDlg_ReadyToBegin) + + + !(loc.VerifyRepairDlg_ClickRepair) + + + + [DlgTitleFont]!(loc.VerifyRepairDlg_Header) + + + + + + + 1 + + + !(loc.WaitForCostingDlg_PleaseWait) + + + + + + + + + DlgFont8 + + + + + + + + + !(loc.ProgressTextCostFinalize) + !(loc.ProgressTextCostInitialize) + !(loc.ProgressTextFileCost) + !(loc.ProgressTextInstallValidate) + !(loc.ProgressTextInstallFiles) + !(loc.ProgressTextInstallAdminPackage) + !(loc.ProgressTextCreateShortcuts) + !(loc.ProgressTextPublishComponents) + !(loc.ProgressTextPublishFeatures) + !(loc.ProgressTextPublishProduct) + !(loc.ProgressTextRegisterClassInfo) + !(loc.ProgressTextRegisterExtensionInfo) + !(loc.ProgressTextRegisterMIMEInfo) + !(loc.ProgressTextRegisterProgIdInfo) + !(loc.ProgressTextAllocateRegistrySpace) + !(loc.ProgressTextAppSearch) + !(loc.ProgressTextBindImage) + !(loc.ProgressTextCCPSearch) + !(loc.ProgressTextCreateFolders) + !(loc.ProgressTextDeleteServices) + !(loc.ProgressTextDuplicateFiles) + !(loc.ProgressTextFindRelatedProducts) + !(loc.ProgressTextInstallODBC) + !(loc.ProgressTextInstallServices) + !(loc.ProgressTextLaunchConditions) + !(loc.ProgressTextMigrateFeatureStates) + !(loc.ProgressTextMoveFiles) + !(loc.ProgressTextPatchFiles) + !(loc.ProgressTextProcessComponents) + !(loc.ProgressTextRegisterComPlus) + !(loc.ProgressTextRegisterFonts) + !(loc.ProgressTextRegisterProduct) + !(loc.ProgressTextRegisterTypeLibraries) + !(loc.ProgressTextRegisterUser) + !(loc.ProgressTextRemoveDuplicateFiles) + !(loc.ProgressTextRemoveEnvironmentStrings) + !(loc.ProgressTextRemoveExistingProducts) + !(loc.ProgressTextRemoveFiles) + !(loc.ProgressTextRemoveFolders) + !(loc.ProgressTextRemoveIniValues) + !(loc.ProgressTextRemoveODBC) + !(loc.ProgressTextRemoveRegistryValues) + !(loc.ProgressTextRemoveShortcuts) + !(loc.ProgressTextRMCCPSearch) + !(loc.ProgressTextSelfRegModules) + !(loc.ProgressTextSelfUnregModules) + !(loc.ProgressTextSetODBCFolders) + !(loc.ProgressTextStartServices) + !(loc.ProgressTextStopServices) + !(loc.ProgressTextUnpublishComponents) + !(loc.ProgressTextUnpublishFeatures) + !(loc.ProgressTextUnregisterClassInfo) + !(loc.ProgressTextUnregisterComPlus) + !(loc.ProgressTextUnregisterExtensionInfo) + !(loc.ProgressTextUnregisterFonts) + !(loc.ProgressTextUnregisterMIMEInfo) + !(loc.ProgressTextUnregisterProgIdInfo) + !(loc.ProgressTextUnregisterTypeLibraries) + !(loc.ProgressTextWriteEnvironmentStrings) + !(loc.ProgressTextWriteIniValues) + !(loc.ProgressTextWriteRegistryValues) + !(loc.ProgressTextAdvertise) + !(loc.ProgressTextGenerateScript) + !(loc.ProgressTextInstallSFPCatalogFile) + !(loc.ProgressTextMsiPublishAssemblies) + !(loc.ProgressTextMsiUnpublishAssemblies) + !(loc.ProgressTextRollback) + !(loc.ProgressTextRollbackCleanup) + !(loc.ProgressTextUnmoveFiles) + !(loc.ProgressTextUnpublishProduct) + + !(loc.UITextbytes) + !(loc.UITextGB) + !(loc.UITextKB) + !(loc.UITextMB) + + !(loc.UITextMenuAbsent) + !(loc.UITextMenuAdvertise) + !(loc.UITextMenuAllCD) + !(loc.UITextMenuAllLocal) + !(loc.UITextMenuAllNetwork) + !(loc.UITextMenuCD) + !(loc.UITextMenuLocal) + !(loc.UITextMenuNetwork) + !(loc.UITextScriptInProgress) + !(loc.UITextSelAbsentAbsent) + !(loc.UITextSelAbsentAdvertise) + !(loc.UITextSelAbsentCD) + !(loc.UITextSelAbsentLocal) + !(loc.UITextSelAbsentNetwork) + !(loc.UITextSelAdvertiseAbsent) + !(loc.UITextSelAdvertiseAdvertise) + !(loc.UITextSelAdvertiseCD) + !(loc.UITextSelAdvertiseLocal) + !(loc.UITextSelAdvertiseNetwork) + !(loc.UITextSelCDAbsent) + !(loc.UITextSelCDAdvertise) + !(loc.UITextSelCDCD) + !(loc.UITextSelCDLocal) + !(loc.UITextSelChildCostNeg) + !(loc.UITextSelChildCostPos) + !(loc.UITextSelCostPending) + !(loc.UITextSelLocalAbsent) + !(loc.UITextSelLocalAdvertise) + !(loc.UITextSelLocalCD) + !(loc.UITextSelLocalLocal) + !(loc.UITextSelLocalNetwork) + !(loc.UITextSelNetworkAbsent) + !(loc.UITextSelNetworkAdvertise) + !(loc.UITextSelNetworkLocal) + !(loc.UITextSelNetworkNetwork) + !(loc.UITextSelParentCostNegNeg) + !(loc.UITextSelParentCostNegPos) + !(loc.UITextSelParentCostPosNeg) + !(loc.UITextSelParentCostPosPos) + !(loc.UITextTimeRemaining) + !(loc.UITextVolumeCostAvailable) + !(loc.UITextVolumeCostDifference) + !(loc.UITextVolumeCostRequired) + !(loc.UITextVolumeCostSize) + !(loc.UITextVolumeCostVolume) + + + !(loc.Error25001) + + + Version + + + {&DlgFontBold8} + + + No + + + + + + + + + + + + + + + + infoico + exclico + removico + repairic + dlgjpg + bannerjpg + folderupico + foldernewico + + + + + + + + 1 + + + + 1 + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + 1 + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + + 1 + 1 + + + + 1 + + + + + + + + + + + + + + 1 + 1 + + 1 + + + + + NOT Installed + Installed AND (RESUME OR Preselected) + Installed AND (NOT RESUME) AND (NOT Preselected) + 1 + + + + + + + + + + + + + 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 @@ + + + + + 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 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + = 601)]]> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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 @@ + + + + + + + + + + + + + + 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 @@ + + + + + + + + 1 + + + 1 + + + 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 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + 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 @@ + + + + + + + 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 @@ + + + + + + + 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 @@ + + + + + + + + + + + + + + + + + + + + + + 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 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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 @@ + + + + + + + + + + + + + + + + + + + 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 @@ + + + + + + + + + + + = 600) AND ($cp_NetAdp6Driver=3)]]> + + = 600) AND ($cp_NetAdp6Driver=3)]]> + + + + + = 600) AND ($cp_NetAdp6Driver=3)]]> + + = 600) AND ($cp_NetAdp6Driver=3)]]> + + + + + + + + + + + + + + + + + + + + + + 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 @@ + + + + + + + + + + + + + + + + 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 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + 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 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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 @@ + + + + + + + + + + + + + + + + + + + + + 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 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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 @@ + + + + + + + + + + + + + + + + + + + + + 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 @@ + + + + + + + + + + = 600) AND $cp_NetLwfDriver=3 AND (NOT Installed)]]> + + = 600) AND $cp_NetLwfDriver=3 AND (NOT Installed)]]> + + + + + = 600) AND $cp_NetLwfDriver=3 AND (NOT Installed)]]> + + = 600) AND $cp_NetLwfDriver=3 AND (NOT Installed)]]> + + + + + = 600) AND $cp_NetLwfDriver=3 AND (NOT Installed)]]> + + = 600) AND $cp_NetLwfDriver=3 AND (NOT Installed)]]> + + + + + = 600) AND $cp_NetLwfDriver=3 AND (NOT Installed)]]> + + = 600) AND $cp_NetLwfDriver=3 AND (NOT Installed)]]> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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 @@ + + + + + + + + + + + + + + + + + + + + + + + + + VBOX_PYTHON_IS_INSTALLED + + + 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 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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 @@ + + + + + + + + + + + + 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 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + 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 @@ + + + + + + + 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 @@ + + + + + + + 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 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + IconVirtualBox + http://www.virtualbox.org + http://www.virtualbox.org + + + + + + + + + + + + + + + + + + + + + + + + + + + VersionNT64 + + + + NOT VersionNT64 + + + + NOT VersionNT=500 AND NOT Version9X AND NOT VersionNT64 + + + + + + Privileged + + + + + + Installed OR (VBOX_MSCRT_INSTALLED) + + + + + + + + + + NOT VBOXINNOTEK + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + NOT (VBOXDEPENDENCY AND UPGRADINGPRODUCTCODE) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + VBOX_INSTALLSTARTMENUENTRIES + + + + + + + + VBOX_INSTALLDESKTOPSHORTCUT + + + + + + + + VBOX_INSTALLQUICKLAUNCHSHORTCUT + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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 @@ + + + + + + + + + + + +all + + + + + + + + +/* + * 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= + */ + + + + + + + + + + + yes + + + 0 + + msm_VBoxApplicationFolder + + + + + + + + + + + + + + + + + + + + + Application + + + + + + + + + + + + + + + + + + + + + + + + Class + + + + InprocServer32 + LocalServer32 + LocalServer32 + + + + module context + + is invalid! + + + + + + + + + apartment + free + both + neutral + single + rental + + + + class (or module) threading model + + is invalid! + + + + + + + + + + Class + + + + + Class + + + + + + + + + + + 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 @@ + + + + + + + + + + + +all + +{0BB3B78C-1807-4249-5BA5-EA42D66AF0BF} + + + + + + + + + + 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= + a_sProxyStubClsid= + + + + + + + + + + + + + + + + + + + + + + + yes + + + 0 + + msm_VBoxApplicationFolder + + + + + + + + + + + + + Application + + + + + + + + + + + + + + + + + + + + + + + + + + Class + + + VBoxClient_x86 + + + + + + InprocServer32 + LocalServer32 + LocalServer32 + + + + module context + + is invalid! + + + + + + + + + apartment + free + both + neutral + single + rental + + + + class (or module) threading model + + is invalid! + + + + + + + + + + Class + + + + + Class + + + + + + + + + + + + { + + } + + + + + + + + + + + + + + + + + + + + 0 + + + + + + 0 + + + + + + + + + + + + + + + + Couldn't find parent () to + + + + + + + + + + + + + + + + Debug: cMethods= + cReadOnlyAttributes= + cReadWriteAttributes= + cReservedMethods= + cReservedAttributes= + cParent= + name= + parent= + + + + +Fatal xidl error: Interface + has + ! 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. + + + + + + + + + + + + + + + + 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 @@ + + + + + + + + + + + + + + + + + + + \ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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 @@ + + + + + + + + + + + + + + + + + + + \ + + + + + + + + + + \ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -- cgit v1.2.3