70 Commits

Author SHA1 Message Date
Jelle Spijker
38b4d8f2c4 Ignore self reg warning 2023-01-06 20:59:32 +01:00
Jelle Spijker
127b4b7976 fix typing 2023-01-06 13:31:12 +01:00
Jelle Spijker
eddbc799ac Merge remote-tracking branch 'origin/main' into CURA-9157_msi_installer 2023-01-06 10:57:39 +01:00
sree
b118a1b1b5 Use ARGV0 to invoke other binaries inside AppImage 2023-01-03 20:51:56 -05:00
Casper Lamboo
a5b0542f8a Merge remote-tracking branch 'origin/CURA-9157_msi_installer' into CURA-9157_msi_installer 2023-01-02 22:34:07 +01:00
Remco Burema
5b8bac6a61 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
2022-12-29 18:06:53 +01:00
Jelle Spijker
ddd7ac58b0 Register file extension
CURA-9157
2022-12-28 09:40:54 +01:00
Jelle Spijker
a4e9a685ef Clean-up build artifacts
Contributes to CURA-9157
2022-12-27 16:29:46 +01:00
Jelle Spijker
6aa6786535 Exclude executables when running heat
This allows for fine-grained control of our executables later on.

Contributes to CURA-9157
2022-12-27 16:29:08 +01:00
Jelle Spijker
e99387d067 Point shortcut towards the correct executable
Contributes to CURA-9157
2022-12-20 16:51:40 +01:00
Casper Lamboo
d69daf4e70 Merge remote-tracking branch 'origin/CURA-9157_msi_installer' into CURA-9157_msi_installer 2022-12-20 15:43:28 +01:00
Jelle Spijker
f686123bc7 Add CustomizeCuraDlg
Contributes to CURA-9157
2022-12-20 15:43:08 +01:00
Casper Lamboo
b8788333d2 Merge remote-tracking branch 'origin/CURA-9157_msi_installer' into CURA-9157_msi_installer 2022-12-19 16:48:11 +01:00
Casper Lamboo
bb41de3865 Only uninstall previous Cura versions for enter prise by default
For non-enterprise version this can still be disabled through the settings

CURA-9157
2022-12-19 15:51:07 +01:00
Lorenzo Romagnoli
dec4270d46 Updated MSI images 2022-12-19 09:43:17 +01:00
Lorenzo Romagnoli
918fb6ab81
Delete banner_top.png 2022-12-19 09:40:47 +01:00
Lorenzo Romagnoli
61adfeeaa3
Delete banner_side.png 2022-12-19 09:40:38 +01:00
Lorenzo Romagnoli
654975753a
Add files via upload 2022-12-19 09:39:09 +01:00
Jelle Spijker
8d4b7f4f26 Add CustomizeCuraDlg dialog
CURA-9157
2022-12-16 16:53:57 +01:00
Casper Lamboo
bd66872d77 Uninstall previously installed versions on install
- For enterprise versions all Cura-Enterprise versions older than 4.13 are removed.
- All Cura versions >= 4.13 are removed optionally with a setting in the custom dialog.

CURA-9157
2022-12-16 16:21:01 +01:00
Jelle Spijker
042e05d6d5 Initial msi installer
Contributes to CURA-9157
2022-12-14 16:02:24 +01:00
jspijker
ac8549cc14 Updated macos installer background
Contributes to CURA-9808
2022-11-28 16:26:06 +01:00
jspijker
8280abd420 Updated macos installer background
Contributes to CURA-9808
2022-11-28 14:51:35 +01:00
jspijker
c3b596b517 Updated cura banner NSIS installer
Contributes to CURA-9808
2022-11-28 14:50:19 +01:00
jspijker
14eb9371f6 Update AppImage scripts using UltiMaker
Contributes to CURA-9808
2022-11-28 11:12:37 +01:00
jspijker
a727228a12 Update dmg scripts using UltiMaker
Contributes to CURA-9808
2022-11-28 11:05:59 +01:00
jspijker
3be5581243 Update NSIS scripts using UltiMaker
Contributes to CURA-9808
2022-11-28 11:03:45 +01:00
Remco Burema
7e2062feec
Merge pull request #13542 from Ultimaker/CURA-9670
Fix correct version number in uninstaller for patch releases
2022-10-12 15:01:50 +02:00
Jelle Spijker
547d801209 Add VERSION to REG_APP_PATH and UNINSTALL_PATH
This should ensure that updating a patch doesn't override
the uninstaller in the settings->Installed apps

Fixes: #13337

CURA-9670 Correct the version number in the uninstaller
2022-10-12 11:48:10 +02:00
Jelle Spijker
e28e25281c Ensure the complete install folder is removed
Fixes: CURA-9526 Uninstalling main build doesn't remove all files
2022-10-12 10:42:44 +02:00
Tim
a51b03b9f4 Fix startup on Zorin OS
First unset QT_STYLE_OVERRIDE then start Cura

(cherry picked from commit 6989aabff5d9902e9587a26bd0d2c037c2ee22af)
2022-10-11 16:30:45 +02:00
Remco Burema
e2e626f530 Windows: Registry root should be the local machine one.
So that uninstall is properly linked in the 'programs and features' again.

CURA-9696
2022-10-06 12:46:56 +02:00
Jelle Spijker
cee219f65b Merge branch 'main' into GH-12582_fix_uninstall_by_other
# Conflicts:
#	packaging/NSIS/Ultimaker-Cura.nsi.jinja
2022-07-21 15:24:57 +02:00
Jelle Spijker
470bb7300c
Update documentation
Clarify why the last two items are removed from the list
2022-07-18 10:35:55 +02:00
j.spijker@ultimaker.com
b896f1124a Use Ultimaker Cura as default start menu folder
Contributes to CURA-9459
2022-07-15 14:11:16 +02:00
j.spijker@ultimaker.com
b7316f4503 Use full version in app_name
This should ensure that each Cura version, either release, prerelease or development
Will be installed completely separate from earlier versions

Contributes to CURA-9459
2022-07-15 13:25:03 +02:00
j.spijker@ultimaker.com
82c6035754 Remove the InstallDirRegKey
This should ensure that the default directory will always falls back to
`"$PROGRAMFILES64\${APP_NAME}"` where `APP_NAME` is:
`{{ app_name }} {{ version_major }}.{{ version_minor }}.{{ version_patch }}.{{ version_build }}`

Contributes to CURA-9459
2022-07-15 13:07:21 +02:00
j.spijker@ultimaker.com
f1a6c54414 Fixed nsis build script
Contributes to CURA-9365
2022-07-15 12:03:51 +02:00
j.spijker@ultimaker.com
409c079d8f
Simplified nsis script
Contributes to CURA-9365
2022-07-14 14:47:58 +02:00
j.spijker@ultimaker.com
b0f9c6bb28
Use the full app name
I believe this should ensure that specific
folders and location will then have a unique
path for this app in the registry, which
should make the install path version specific

Contributes to CURA-9365
2022-07-14 12:47:39 +02:00
c.lamboo
19d62da737 Possible fix for Cura crashing on Zorin OS 16
Appearently the `QT_STYLE_OVERRIDE` variable is set for some users, crashing Cura. Unset variable `QT_STYLE_OVERRIDE` as a precaution

https://github.com/Ultimaker/Cura/issues/12343
2022-07-11 00:05:15 +02:00
Remco Burema
562184166e Make it possible for another user to uninstall.
Users other than the original installer, can't easily uninstall, even if they have the rights. This should be possible. Users without the rights can still try to start the program, but would then need permission and get kicked out. 'HKCU' is a shorthand referring _only_ to the current user. 'HKCR' is a shorthand that refers _both_ to the current user _and_ the local machine. Most (except one) of the registry keys in the old setup (with CPack) where 'installed' to the latter, only one, which doesn't even seem to exist anymore in the new setup, refrered to the former. In short: This commit should restore the ability to uninstall Cura from any sufficiently elevated account to do such action, as was done by the 'old' buildsystem.

should fix Ultimaker/Cura#12582
2022-07-08 15:59:04 +02:00
jellespijker
bfd1c6eea5 Use correct env variable MAC_NOTARIZE_PASS
Contributes to CURA-9365
2022-07-06 11:37:11 +02:00
jellespijker
4344ef066f Fixed paths for the dmg_sign_notarize script
Contributes to CURA-9365
2022-07-06 10:50:01 +02:00
j.spijker@ultimaker.com
feebf6d003 uniform name on macos
Contributes to CURA-9365
2022-07-06 08:32:05 +02:00
j.spijker@ultimaker.com
bee2b22edf uniform name on linux
Contributes to CURA-9365
2022-07-06 07:51:24 +02:00
jellespijker
67d840f505 Revert "Deal with missing build version number"
This reverts commit d91b93b3d7916f1472f3a33a65d0d85781c65f80.
2022-07-05 14:13:42 +02:00
Ghostkeeper
d91b93b3d7
Deal with missing build version number
Makes it a bit more messy and weird, but that's what you get when your script has 16 parameters, I guess.

Contributes to issue CURA-9365.
2022-07-05 11:51:44 +02:00
j.spijker@ultimaker.com
5e8b137926 Moved AppImage result parallel to Ultimaker-Cura
Contributes to CURA-9365
2022-07-01 14:15:07 +02:00
j.spijker@ultimaker.com
8a3d94d2b9 Install and use the appimagetool
Can be set as an env variable in the script

Contributes to CURA-9365
2022-07-01 13:01:16 +02:00