Commit graph

25 commits

Author SHA1 Message Date
saumya.jain
5769fcba50 Deleting the register key for url scheme
CURA-11288
2023-12-19 13:26:19 +01:00
saumya.jain
ddfd7d6a06 Use of APP_ASSOCIATE in url_scheme
CURA-11288
2023-12-19 10:50:56 +01:00
c.lamboo
a7a4e4bd29 Revert "Update nsi installer"
This reverts commit 4b4b8b3514.
2023-12-06 06:06:08 +01:00
c.lamboo
4b4b8b3514 Update nsi installer
CURA-11288
2023-12-01 13:03:40 +01:00
c.lamboo
1f9e0e2dee Add url protocol support for msi, nsis, dmg and pkg installers
CURA-11288
2023-11-28 15:15:39 +01:00
jspijker
c3b596b517 Updated cura banner NSIS installer
Contributes to CURA-9808
2022-11-28 14:50:19 +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
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
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