[Bug 256372] New: Add a DigiKam installer based on nsis

classic Classic list List threaded Threaded
39 messages Options
12
Reply | Threaded
Open this post in threaded view
|

[Bug 256372] Add a DigiKam installer based on nsis

Bugzilla from Julien@narboux.fr
https://bugs.kde.org/show_bug.cgi?id=256372





--- Comment #19 from Julien Narboux <Julien narboux fr>  2010-12-05 18:48:19 ---
Gilles,

I don't have an account on sf, do you want me to ask for an account ?
We also need to simplify the download page on DigiKam's website, I have an
account I will do it when I have free time.


Julien

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 256372] Add a DigiKam installer based on nsis

Gilles Caulier-4
In reply to this post by Bugzilla from Julien@narboux.fr
https://bugs.kde.org/show_bug.cgi?id=256372





--- Comment #20 from Gilles Caulier <caulier gilles gmail com>  2010-12-05 23:18:18 ---
>I don't have an account on sf, do you want me to ask for an account ?

Yes, sure...

Gilles

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 256372] Add a DigiKam installer based on nsis

Gilles Caulier-4
In reply to this post by Bugzilla from Julien@narboux.fr
https://bugs.kde.org/show_bug.cgi?id=256372





--- Comment #21 from Gilles Caulier <caulier gilles gmail com>  2010-12-06 08:59:27 ---
Julien,

I renamed KNOWNBUGS file to RELEASENOTES. It will be better to display this
file insead to embed contents as will on nsi project file.

Look here to know how to do it :

http://nsis.sourceforge.net/Docs/Modern%20UI/Readme.html

... into "Custom pages" section. There is a macro to display a text file :

!insertmacro MUI_INSTALLOPTIONS_DISPLAY "ioFile.ini"

Gilles

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 256372] Add a DigiKam installer based on nsis

Bugzilla from Julien@narboux.fr
In reply to this post by Bugzilla from Julien@narboux.fr
https://bugs.kde.org/show_bug.cgi?id=256372





--- Comment #22 from Julien Narboux <Julien narboux fr>  2010-12-08 22:42:15 ---
Gilles and all,

A new version of the installer based on latest 7zip by Gilles is  available
here:
http://dpt-info.u-strasbg.fr/~narboux/digiKam-installer-1.7svn.exe

Julien

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 256372] Add a DigiKam installer based on nsis

Gilles Caulier-4
In reply to this post by Bugzilla from Julien@narboux.fr
https://bugs.kde.org/show_bug.cgi?id=256372





--- Comment #23 from Gilles Caulier <caulier gilles gmail com>  2010-12-09 13:27:54 ---
Julien,

The installer work perfectly. digiKam run perfectly too.

Just one point : if some previous KDE4 process have been used previously (as
dbus service), the installer will crying that it cannot install some shared dll
from the archive.

In this case, you must kill KDE4 process before to run installer.

I know that KDE windows installer post a message to user in this case.

Another point is to optimize again archive size.
Before official 1.7.0, i plan to remove KDE-edu package (including marble
widget) from my KDE4 install, and recompile/install myself marble for digiKam.
This will limit the kdeedu bin files installed which are not used by digiKam of
course.

Also, when 1.7.0 release will be done, will will create archive including
translations files.

Gilles Caulier

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 256372] Add a DigiKam installer based on nsis

Laurent Espitallier
In reply to this post by Bugzilla from Julien@narboux.fr
https://bugs.kde.org/show_bug.cgi?id=256372


Laurent Espitallier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |laurent.espitallier@laposte
                   |                            |.net




--- Comment #24 from Laurent Espitallier <laurent espitallier laposte net>  2010-12-10 00:52:26 ---
Excellent setup.

Maybe with :

Setcompressor /SOLID lzma

you could get an even smaller installer :

http://nsis.sourceforge.net/Docs/Chapter4.html

"If /SOLID is used, all of the installer data is compressed in one block. This
results in greater compression ratios."

about "dbus-daemon" i'd manage it like this (not tried) :

!include LogicLib.nsh

LangString DESC_KillDbus ${LANG_ENGLISH} 'You need to close "Dbus-daemon" to
install ${MY_PRODUCT} properly. Would you like this setup to do it now ?'
LangString DESC_KillDbus ${LANG_FRENCH} 'Vous devez quitter "Dbus-daemon" pour
installer correctement ${MY_PRODUCT}. Voulez vous que ce programme
d'installation s'en charge maintenant ?'

Processes::FindProcess "dbus-dameon"
Pop $R0

${If} $R0 > 0
  MessageBox MB_YES "${DESC_KillDbus}" IDNO abort_setup
  Processes::KillProcess "process_name"
  Goto skip_kill

  abort_setup:
  Abort

${Else}

${EndIf}

NSIS Processes plugin : http://nsis.sourceforge.net/Processes_plug-in

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 256372] Add a DigiKam installer based on nsis

Bugzilla from Julien@narboux.fr
In reply to this post by Bugzilla from Julien@narboux.fr
https://bugs.kde.org/show_bug.cgi?id=256372





--- Comment #25 from Julien Narboux <Julien narboux fr>  2010-12-10 08:07:25 ---
Laurent,

Thank you for the code to manage process !
For the compression we already use SOLID.

Gilles,

Another point: what about deleting the components page ? as we have only one
component: digiKam this page is useless, and it would simlify i18n not to have
langage strings.

Julien

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 256372] Add a DigiKam installer based on nsis

Gilles Caulier-4
In reply to this post by Bugzilla from Julien@narboux.fr
https://bugs.kde.org/show_bug.cgi?id=256372





--- Comment #26 from Gilles Caulier <caulier gilles gmail com>  2010-12-10 09:47:20 ---
Julien,

Yes, i agree to remove component page.

Gilles

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 256372] Add a DigiKam installer based on nsis

Bugzilla from Julien@narboux.fr
In reply to this post by Bugzilla from Julien@narboux.fr
https://bugs.kde.org/show_bug.cgi?id=256372





--- Comment #27 from Julien Narboux <Julien narboux fr>  2010-12-10 14:10:39 ---
Laurent, Gilles, Patrick,

I don't understand the problem about a running daemon while installing, we are
just copying files in a directory. Do you mean that there is a problem if we
try to overwrite a daemon which is already running ?

Which daemons do we need to kill ? I think we need a complete list:
mime_update_database ? kio ? dbus_deamon ? kded ? klauncher ? knotify ? other ?

Julien

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 256372] Add a DigiKam installer based on nsis

Laurent Espitallier
In reply to this post by Bugzilla from Julien@narboux.fr
https://bugs.kde.org/show_bug.cgi?id=256372





--- Comment #28 from Laurent Espitallier <laurent espitallier laposte net>  2010-12-10 15:17:02 ---
I think running processes will be a problem for future releases if digikam has
been run once in a windows user session and the user want to update digikam.

(if you plan to install new releases in the same folder)

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 256372] Add a DigiKam installer based on nsis

Gilles Caulier-4
In reply to this post by Bugzilla from Julien@narboux.fr
https://bugs.kde.org/show_bug.cgi?id=256372





--- Comment #29 from Gilles Caulier <caulier gilles gmail com>  2010-12-10 19:26:40 ---
if dbus run due to an old kde application instance, dbus will open shared libs.
Overwritting this libs will not be permit by windows and installer will crying.

dbus is not open by installer.

Gilles Caulier

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 256372] Add a DigiKam installer based on nsis

Bugzilla from Julien@narboux.fr
In reply to this post by Bugzilla from Julien@narboux.fr
https://bugs.kde.org/show_bug.cgi?id=256372





--- Comment #30 from Julien Narboux <Julien narboux fr>  2010-12-10 22:34:44 ---
Hi,

I tested a new version of the installer which kills some process. It works! I
can install digikam at the same place as a running digiKam.
But we need to test this a lot, I read that some antivirus may detect the
installer as a malware because of the use of the nsis plugin to kill process.

Maybe we could also put digikam by default in a directory name which contains
version number such as digikam-1.7 for instance.

TODO: check for errors and send message to user.

Julien

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 256372] Add a DigiKam installer based on nsis

Gilles Caulier-4
In reply to this post by Bugzilla from Julien@narboux.fr
https://bugs.kde.org/show_bug.cgi?id=256372





--- Comment #31 from Gilles Caulier <caulier gilles gmail com>  2010-12-15 14:07:16 ---
Julien,

new zip archive update. Size have been improved (255 Mb instead 275Mb):

http://digikam3rdparty.free.fr/misc.tarballs/digikam1.7.0-svn.exe

With this version all kde-edu package have been droped. I compiled and
installed marble widget only for digiKam.

Gilles Caulier

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 256372] Add a DigiKam installer based on nsis

Bugzilla from ruedbi@yahoo.de
In reply to this post by Bugzilla from Julien@narboux.fr
https://bugs.kde.org/show_bug.cgi?id=256372


[hidden email] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]




--- Comment #32 from  <ruedbi yahoo de>  2010-12-18 18:32:24 ---
Tried the version linked in #31 under Windows 7; for me the batch processor
produces only pure black images, independent of the tools used.

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 256372] Add a DigiKam installer based on nsis

Gilles Caulier-4
In reply to this post by Bugzilla from Julien@narboux.fr
https://bugs.kde.org/show_bug.cgi?id=256372





--- Comment #33 from Gilles Caulier <caulier gilles gmail com>  2010-12-23 15:44:50 ---
Julien,

I compiled and installed digiKam and kipi-plugins 1.7.0 with KDE 4.4.4 on my
Win7.

7Zip tarballs is available here :

http://digikam3rdparty.free.fr/misc.tarballs/digiKam1.7.0.exe

Please, make a new version of NSIS installer and upload it to SF.net
repository.

After that, this file can be closed...

Thanks in advance

Gilles Caulier

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 256372] Add a DigiKam installer based on nsis

Bugzilla from Julien@narboux.fr
In reply to this post by Bugzilla from Julien@narboux.fr
https://bugs.kde.org/show_bug.cgi?id=256372


Julien Narboux <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




--- Comment #34 from Julien Narboux <Julien narboux fr>  2010-12-23 22:43:45 ---
upload in progress

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 256372] Add a DigiKam installer based on nsis

Gilles Caulier-4
In reply to this post by Bugzilla from Julien@narboux.fr
https://bugs.kde.org/show_bug.cgi?id=256372

Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Version Fixed In|                            |1.8.0

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 256372] Add a DigiKam installer based on nsis

bugzilla_noreply
In reply to this post by Bugzilla from Julien@narboux.fr
https://bugs.kde.org/show_bug.cgi?id=256372

[hidden email] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Platform|Unlisted Binaries           |MS Windows

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 256372] Add a DigiKam installer based on nsis

bugzilla_noreply
In reply to this post by Bugzilla from Julien@narboux.fr
https://bugs.kde.org/show_bug.cgi?id=256372

[hidden email] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|Portability                 |Bundle-Windows

--
You are receiving this mail because:
You are the assignee for the bug.
12