From 5b8bac6a619bd4e7ec6b4e03832c93b518b8a2e3 Mon Sep 17 00:00:00 2001 From: Remco Burema Date: Thu, 29 Dec 2022 18:06:53 +0100 Subject: [PATCH] Attempt to set file associations and fire-wall exceptions. The fire-wall exceptions work, but the device needs to be restarted. Is that worth it? A more important problem is that windows overhauled the file associations a few years ago. The approach here doesn't work (but is at least consistent with how it worked before, so it might work for Windows < 10 or unupdated). The current go-to approach is the one used by firefox, and it happens after the installer, at first start-up of the program. part of CURA-9157 --- packaging/msi/CustomizeCuraDlg.wxs | 2 +- packaging/msi/UltiMaker-Cura.wxs.jinja | 59 +++++++++++++++++--------- packaging/msi/create_windows_msi.py | 14 +++--- 3 files changed, 48 insertions(+), 27 deletions(-) diff --git a/packaging/msi/CustomizeCuraDlg.wxs b/packaging/msi/CustomizeCuraDlg.wxs index aed5af8055..a9f1d7c462 100644 --- a/packaging/msi/CustomizeCuraDlg.wxs +++ b/packaging/msi/CustomizeCuraDlg.wxs @@ -27,7 +27,6 @@ 1 - @@ -41,6 +40,7 @@ + diff --git a/packaging/msi/UltiMaker-Cura.wxs.jinja b/packaging/msi/UltiMaker-Cura.wxs.jinja index a4dcb0b2ef..124443dd7b 100644 --- a/packaging/msi/UltiMaker-Cura.wxs.jinja +++ b/packaging/msi/UltiMaker-Cura.wxs.jinja @@ -1,5 +1,5 @@ - + + Comments="Copyright (c) {{ year }} UltiMaker B.V." /> @@ -86,26 +86,43 @@ - - + + + - + + + + + + - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -113,7 +130,7 @@