Bug 469224

Summary: DigiKam V 8.0.0 update not possible
Product: [Applications] digikam Reporter: cat75
Component: Bundle-WindowsAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: caulier.gilles, metzpinguin
Priority: NOR    
Version: 8.0.0   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed In: 8.1.0
Sentry Crash Report:
Attachments: screenshot

Description cat75 2023-05-01 08:29:56 UTC
Created attachment 158593 [details]
screenshot

Hi, 

Windows 10 64 bit build 22H2 19045.2913
Microsoft Defender SmartScreen Version 1.387 2827.0 Created 01/05/2023 02:52

Never encountered with earlier versions of DigiKam.

After accepting the update from version 7.10.0 to 8.0.0 and even by manual download followed by a request to keep the file digiKam-8.0.0-Win64.exe impossible to execute it.

Microsoft Defender SmartScreen, after validating the administrator mode blocks the installation of version 8.0.0.

Complete removal of the Digikam directory containing version 7.10.0 reinstallation attempt from an original archive on my PC of digiKam-8.0.0-Win64.exe or digiKam-7.10.0-Win64.exe: Blocking by Microsoft Defender SmartScreen.

Copying the backup of the Digikam directory, I found a perfectly functional version 7.10.0…

It is therefore imperative to stop Microsoft Defender SmartScreen.

Best regards
Comment 1 Maik Qualmann 2023-05-01 15:31:01 UTC
This also happened with previous versions. You can respond in the dialogue to continue. Microsoft only learns when several users have given their ok, then this message does not appear. The installer is not signed.

Maik
Comment 2 Maik Qualmann 2023-05-01 15:32:18 UTC

*** This bug has been marked as a duplicate of bug 398582 ***
Comment 3 cat75 2023-05-01 15:51:20 UTC
Thanks Maik !

"You can respond in the dialog to continue."

That's what I did but after that nothing happened.

This problem appeared after a requested update in version 7.10.0 which was discontinued...

Since impossible to use the installer even the digiKam-8.0.0-Win64-debug.exe

Even by disabling windows defender!

in the father fire windows no blocking on digikam...
Comment 4 caulier.gilles 2023-05-01 16:04:04 UTC
The virus is windows, not digiKam. This last one is fully cross compiled under Linux. there is no windows at all build the installer.

More seriously, Windows Defender is a waste of time. It claim that digiKam is not recognized because the installer is not compiled and registered with the Microsoft tool and a developer account (you must pay as Apple). So no way i refuse to pay to provide an open source application to this $$$ proprietary operating system.

You can try instead the M$ Visual C++ compiled version here, not official and lack few important features as the Mysql/mariadb support.

https://binary-factory.kde.org/view/Windows%2064-bit/job/Digikam_Nightly_win64/

Gilles Caulier
Comment 5 cat75 2023-05-03 13:27:31 UTC
Thank you for the Visual C++ version which installs and runs smoothly…

I nevertheless tested digiKam-8.0.0-Win64.exe on a different PC but also using Windows 10. The latter installed correctly. It is true that the installation from a previous version of DigiKam in service has not been interrupted.

Does the installation program leave information in the Registry or in temporary directories which would remain in the state after a sudden stop?
On the PC whose installation was impossible, I deleted DigiKam from the Programs folder.

Then I did a Copy / Paste of the DigiKam directory of the PC whose installer digiKam-8.0.0-Win64.exe in the recalcitrant PC … and version 8.0.0 seems to work perfectly.

Windows and its locks are the cause. Like you, I find it abnormal to have to pay to provide an open source application to this proprietary operating system. There may be another solution: Propose a compressed file without an installer from the directory…

I let you decide.

Best Regard,

Jean-Paul Eby
Comment 6 caulier.gilles 2023-05-04 02:42:54 UTC
Thank you for the Visual C++ version which installs and runs smoothly…

>I nevertheless tested digiKam-8.0.0-Win64.exe on a different PC but also using Windows 10. The latter installed correctly. It is true that the >installation from a previous version of DigiKam in service has not been interrupted.

fine

>Does the installation program leave information in the Registry or in temporary directories which would remain in the state after a sudden stop?
>On the PC whose installation was impossible, I deleted DigiKam from the Programs folder.

There is nothing in database registry, but probably some temporary files stored by the installer.

>Then I did a Copy / Paste of the DigiKam directory of the PC whose installer digiKam-8.0.0-Win64.exe in the recalcitrant PC … and version 8.0.0 >seems to work perfectly.

Yes. this is what's the installer do in background.

>Windows and its locks are the cause. Like you, I find it abnormal to have to pay to provide an open source application to this proprietary operating >system. There may be another solution: Propose a compressed file without an installer from the directory…

Well the stand alone compressed archive of digiKam binary for Windows already exists and is published with the release. Look these files:

digiKam-8.0.0-Win64.tar.xz
digiKam-8.0.0-Win64-debug.tar.xz

... from the official download url

 https://download.kde.org/stable/digikam/8.0.0/

Gilles Caulier
Comment 7 cat75 2023-05-04 18:52:49 UTC
I suspected that it was a compressed but proprietary file in the Lunix world that I know but do not master!

A nice discovery thanks to you in the Windows world since it is enough to use a well-known 7-zip freeware program. First we obtain a *.tar file then in second decompression the Digikam directory directly usable!

1000 Thanks Gilles for this discovery !

Sorry for this inconvenience ! subject closed.

Congratulations to you and to all the team working on this application for your responsiveness in fixing bugs and its final quality !

Best regards,

Jean-Paul