diff --git a/cura/ApplicationMetadata.py b/cura/ApplicationMetadata.py index 3a345cca26..fd8f3c704c 100644 --- a/cura/ApplicationMetadata.py +++ b/cura/ApplicationMetadata.py @@ -64,7 +64,7 @@ try: if CuraAppDisplayName == "": CuraAppDisplayName = DEFAULT_CURA_DISPLAY_NAME if IsEnterpriseVersion: - CuraAppDisplayName = CuraAppDisplayName + " Enterprise" + CuraAppDisplayName = CuraAppDisplayName except ImportError: CuraAppDisplayName = DEFAULT_CURA_DISPLAY_NAME diff --git a/packaging/msi/CustomizeCuraDlg.wxs b/packaging/msi/CustomizeCuraDlg.wxs index a9f1d7c462..9214ae7693 100644 --- a/packaging/msi/CustomizeCuraDlg.wxs +++ b/packaging/msi/CustomizeCuraDlg.wxs @@ -6,7 +6,7 @@ - + 1 Installed @@ -16,7 +16,7 @@ 1 - + 1 @@ -33,14 +33,14 @@ - - + + - + diff --git a/packaging/msi/UltiMaker-Cura.wxs.jinja b/packaging/msi/UltiMaker-Cura.wxs.jinja index 44a45297c2..88c3d902cc 100644 --- a/packaging/msi/UltiMaker-Cura.wxs.jinja +++ b/packaging/msi/UltiMaker-Cura.wxs.jinja @@ -1,26 +1,28 @@ - + Comments="Copyright (c) {{ year }} {{ company }}" /> - + - - - {% if "Enterpise" in app_name %} + {% if "Enterprise" in app_name %} - - - + + - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - + + 127.0.0.1 + + + + - - - - - - - - - - - - - - - - - - - - - - + + 127.0.0.1 + + @@ -140,7 +150,7 @@ - + diff --git a/packaging/msi/create_windows_msi.py b/packaging/msi/create_windows_msi.py index a13238f836..3527c39392 100644 --- a/packaging/msi/create_windows_msi.py +++ b/packaging/msi/create_windows_msi.py @@ -40,6 +40,7 @@ def generate_wxs(source_path: Path, dist_path: Path, filename: Path, app_name: s company="UltiMaker", web_site="https://ultimaker.com", year=datetime.now().year, + product_code=str(uuid.uuid5(uuid.NAMESPACE_DNS, app_name + os.environ.get("CURA_VERSION_MAJOR") + os.environ.get("CURA_VERSION_MINOR"))), upgrade_code=str(uuid.uuid5(uuid.NAMESPACE_DNS, app_name)), shortcut_uuid=str(uuid.uuid5(uuid.NAMESPACE_DNS, f"Shortcut {app_name}")), cura_license_file=str(source_loc.joinpath("packaging", "msi", "cura_license.rtf")), @@ -96,6 +97,8 @@ def build(dist_path: Path, filename: Path): link_command = ["light", f"{build_loc.joinpath(wxs_loc.name).with_suffix('.wixobj')}", f"{build_loc.joinpath(heat_loc.name).with_suffix('.wixobj')}", f"{build_loc.joinpath(manageoldcuradlg_loc.name).with_suffix('.wixobj')}", + "-sw1076", + "-dcl:high", "-ext", "WixUIExtension", "-ext", "WixFirewallExtension", "-out", f"{work_loc.joinpath(filename.name)}"]