Commit graph

14 commits

Author SHA1 Message Date
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
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
67d840f505 Revert "Deal with missing build version number"
This reverts commit d91b93b3d7.
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
085868d692 Copy the packaging scripts/resources and set GH env
Contributes to CURA-9365
2022-07-01 10:32:12 +02:00
j.spijker@ultimaker.com
5b771e39d7 Install start menu shortcuts globally
Use "SetShellVarContext all" so that NSIS installs windows start menu shortcuts globally.
Docs: https://nsis.sourceforge.io/Docs/Chapter4.html#setshellvarcontext

Fixes #12449
Closes Ultimaker/cura-build-environment#147

Contributes to CURA-9365

Co-authored-by: KeenRivals <6865789+KeenRivals@users.noreply.github.com>
2022-07-01 08:19:27 +02:00
j.spijker@ultimaker.com
721aff4255 Ported nsis scripts and resource from cura-build-environment
Contributes to CURA-9365
2022-07-01 06:18:43 +02:00