summaryrefslogtreecommitdiffstats
path: root/src/VBox/Installer/win/VBoxMergeAppCA.wxi
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-16 22:55:46 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-16 22:55:46 +0000
commit96647a898d62d699808316238dfb933d960413f2 (patch)
tree0138491ada40b7b3fcb80d4b219fa7922ae8f512 /src/VBox/Installer/win/VBoxMergeAppCA.wxi
parentAdding debian version 7.0.14-dfsg-4. (diff)
downloadvirtualbox-96647a898d62d699808316238dfb933d960413f2.tar.xz
virtualbox-96647a898d62d699808316238dfb933d960413f2.zip
Merging upstream version 7.0.16-dfsg.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/VBox/Installer/win/VBoxMergeAppCA.wxi')
-rw-r--r--src/VBox/Installer/win/VBoxMergeAppCA.wxi6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/VBox/Installer/win/VBoxMergeAppCA.wxi b/src/VBox/Installer/win/VBoxMergeAppCA.wxi
index ddc29f5e..2a3eef7f 100644
--- a/src/VBox/Installer/win/VBoxMergeAppCA.wxi
+++ b/src/VBox/Installer/win/VBoxMergeAppCA.wxi
@@ -35,5 +35,11 @@
<CustomAction Id="ca_IsWindows10" BinaryKey="VBoxInstallHelper"
DllEntry="IsWindows10" Execute="immediate" Return="ignore" Impersonate="no" />
+ <!-- Makes sure we check if the chosen target directory is valid before allowing to install. See @bugref{10616} -->
+ <CustomAction Id="ca_CheckTargetDirPre" BinaryKey="VBoxInstallHelper"
+ DllEntry="CheckTargetDir" Execute="immediate" Return="ignore" Impersonate="no" />
+ <!-- Makes sure that the target directory we installed into still is valid. Rollback if it isn't. See @bugref{10616} -->
+ <CustomAction Id="ca_CheckTargetDirPost" BinaryKey="VBoxInstallHelper"
+ DllEntry="CheckTargetDir" Execute="immediate" Return="check" Impersonate="no" />
</Include>