Skip to content

Bugfix/version windows integration improve install #8178

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

mgallien
Copy link
Collaborator

No description provided.

goal is to bump specifically this version number only when needed

Signed-off-by: Matthieu Gallien <[email protected]>
shoudl enable replacing files during install happen only when needed
instead of always

will need to take care of migration from older releases

Signed-off-by: Matthieu Gallien <[email protected]>
Copy link

Artifact containing the AppImage: nextcloud-appimage-pr-8178.zip

SHA256 checksum: 959a15cf5cdeecd64c0733797a93c0af18f2e598d3333ec085d0a1644962bb5d

To test this change/fix you can download the above artifact file, unzip it, and run it.

Please make sure to quit your existing Nextcloud app and backup your data.

@@ -45,7 +45,7 @@
https://www.joyofsetup.com/2010/01/16/major-upgrades-now-easier-than-ever/
-->
<MajorUpgrade Schedule="afterInstallInitialize" AllowDowngrades="yes" />
<Property Id="REINSTALLMODE" Value="amus" />
<Property Id="REINSTALLMODE" Value="omus" />
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hmm, I wonder if this shouldn't be dmus instead

if I understand the REINSTALLMODE flags correctly:

  • o replaces files if they are an older version (might make downgrades difficult?)
  • d replaces files if the version is different
  • e replaces files if the version is the same as the current one or older
  • a replaces all files regardless

@@ -7,6 +7,8 @@ set(MIRALL_VERSION_PATCH 50)
set(MIRALL_VERSION_YEAR 2025)
set(MIRALL_SOVERSION 0)
set(MIRALL_PREVERSION_HUMAN "3.17.0 alpha") # For preversions where PATCH>=50. Use version + alpha, rc1, rc2, etc.
set(WINDOWS_INTEGRATION_VERSION 4)
set(WINDOWS_INTEGRATION_SOVERSION 4)
Copy link
Member

@nilsding nilsding Apr 17, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

where does the 4 come from?

NCExt/Version.h defines the NCEXT_BUILD_NUM constant with 47 that is part of the NCEXT_VERSION constant

and how does setting these as target properties differ from having it be defined in the .rc files? e.g.

FILEVERSION NCEXT_VERSION
PRODUCTVERSION NCEXT_VERSION

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants