[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] New: Add a DigiKam installer based on nsis

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

           Summary: Add a DigiKam installer based on nsis
           Product: digikam
           Version: unspecified
          Platform: Unlisted Binaries
        OS/Version: MS Windows
            Status: NEW
          Severity: wishlist
          Priority: NOR
         Component: Portability
        AssignedTo: [hidden email]
        ReportedBy: [hidden email]


Version:           unspecified
OS:                MS Windows

Here is an example of an nsis script which could be used as a start for
building a windows installer for DigiKam.

Reproducible: Didn't try

--
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
https://bugs.kde.org/show_bug.cgi?id=256372





--- Comment #1 from Julien Narboux <Julien narboux fr>  2010-11-08 15:31:32 ---
Created an attachment (id=53246)
 --> (http://bugs.kde.org/attachment.cgi?id=53246)
nsis script file a first try not tested

--
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 #2 from Julien Narboux <Julien narboux fr>  2010-11-08 15:32:19 ---
Created an attachment (id=53247)
 --> (http://bugs.kde.org/attachment.cgi?id=53247)
icon needed for the windows installer

--
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 #3 from Julien Narboux <Julien narboux fr>  2010-11-08 15:32:50 ---
Created an attachment (id=53248)
 --> (http://bugs.kde.org/attachment.cgi?id=53248)
another icon needed by the installer

--
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
----------------------------------------------------------------------------
                 CC|                            |[hidden email]
            Version|unspecified                 |1.6.0




--
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
----------------------------------------------------------------------------
  Attachment #53246|0                           |1
        is obsolete|                            |




--- Comment #4 from Julien Narboux <Julien narboux fr>  2010-11-08 23:11:52 ---
Created an attachment (id=53259)
 --> (http://bugs.kde.org/attachment.cgi?id=53259)
new version of the nsis script

This version install Digikam in the right directory, add items in start menu,
and register uninstaller in windows.
Running Digikam does not work, this should be an ioslave problem.
Gilles, is your 7zip .exe distribution of DigiKam supposed to work in a fixed
directory ?

To compile this script, you need to have in the directory:
- the digikam.nsi file,
- the two icons files,
- the COPYING file from digikam sources and
- the kde4 directory from Gille's 7zip:
http://digikam3rdparty.free.fr/misc.tarballs/digikam1.6.0-kde4.4.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 #5 from Gilles Caulier <caulier gilles gmail com>  2010-11-09 09:21:43 ---
my archive can be installed where you want. It work as well.

I tested this archive on a fresh WinXP computer, without any KDE4 installation,
and it's work. I uncompress the archive into D:/KDE4 (D:/ is an empty
partition)

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

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





--- Comment #6 from Gilles Caulier <caulier gilles gmail com>  2010-11-09 11:32:49 ---
SVN commit 1194542 by cgilles:

add nsis windows script to package windows installation
CCBUGS: 256372


 A             nsis (directory)  
 A             nsis/COPYING  
 A             nsis/digikam.nsi  
 AM            nsis/digikam_header.bmp  
 AM            nsis/digikam_welcome.bmp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1194542

--
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
----------------------------------------------------------------------------
                 CC|                            |[hidden email]




--- Comment #7 from Gilles Caulier <caulier gilles gmail com>  2010-11-10 10:49:11 ---
Julien,

I can reproduce the problem of kioslave which are not started when digiKam is
launched.

I suspect a problem to registery KDE4 install path /bin in windows PATH. Look
like KDE windows installer do it automatically (at end of installation, KDE
windows installer said "updating windows registery")

We need to know :

- what's KDE windows installer do exactly in windows registery.
- How to reproduce it with NSIS installer.

Patrick, can you point us at the right place for this windows registery problem
? 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

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





--- Comment #8 from Gilles Caulier <caulier gilles gmail com>  2010-11-10 11:02:30 ---
SVN commit 1195064 by cgilles:

adapt LZMA compressin settings to perform a better ratio, as 7Zip Utra mode.
Archive size is now 230Mb instead 320Mb. More than 100Mb !
CCBUGS: 256372


 M  +10 -3     digikam.nsi  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1195064

--
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 #9 from Julien Narboux <Julien narboux fr>  2010-11-10 11:18:43 ---
Gilles,

I did not install DigiKam with kdewin installer but only using your 7zip
archive.
I noticed that when you launch DigiKam installed by the 7zip archive, ms
windows ask if it can run two kde utilities. These tools creates a start menu
entry "Kde 4.4.4".
I don't know why it does not run these utilities when installed using nsis.
Does the 7zip archive contains a script ?
I also noticed that the start menu item for Digikam in Kde 4.4.4 installed by
7zip starts DigiKam inside the kde4/bin directory, this may be the reason it
can find other binaries in the current directory...

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

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





--- Comment #10 from Patrick Spendrin <ps_ml gmx de>  2010-11-10 11:26:57 ---
Hm, neither registry nor PATH should be the problem.
In the registry only settings for the installer itself are stored, e.g. its
last install path etc. (We tried to keep KDE on Windows away from that).
The PATH shouldn't normally be the problem as we tried to avoid conflicts there
too.
This must be tried out though.
So start a cmd.exe, enter 'set
PATH=C:\Path\to\Digikam\Installation\bin;C:\Path\to\Digikam\Installation\lib;%PATH%'
(without the ') and if that works, then you really have a PATH problem. Please
check that you don't have any dlls under lib folder, except plugins under
lib\kde4.

One more thing I just read now: you cannot move digikam out of the bin folder!
This is hardcoded and assumed everywhere...

--
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 #11 from Gilles Caulier <caulier gilles gmail com>  2010-11-29 15:31:31 ---
Julien,

7ZIP archive of my KDE 4.4.4 install dir including current code from svn trunk
of digiKam, Kipi-plugins and kdegraphics/libs is available :

http://digikam3rdparty.free.fr/misc.tarballs/digikam-install.exe

Please, try to run nsis from your computer to package it as installer.

Also, look if after to install this new nsis package, you only find one
subfolder on destination dir (typically "kde4"). if not this can be the source
of the problem with NSIS packaging. On my computer, i can find 2 other
subfolder which must not created here.

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

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





--- Comment #12 from Gilles Caulier <caulier gilles gmail com>  2010-11-29 15:32:08 ---
Patrick,

Thanks for you tips. i will take a look...

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 #13 from Julien Narboux <Julien narboux fr>  2010-12-01 22:35:42 ---
Gilles,

I created this installer, and now it seems to work... I don't know why.

If someone can test on different versions of windows it would be nice:

http://dpt-info.u-strasbg.fr/~narboux/digiKam-installer-1.7svn.exe

In the future, it would be nice to sign the applications to prevent windows
from asking always the permission to execute the programs.

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 #14 from Gilles Caulier <caulier gilles gmail com>  2010-12-01 22:42:27 ---
Julien,

When you install this self installer, do you see only the same contents created
in target place that the 7zip archive contents ?

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 #15 from Julien Narboux <Julien narboux fr>  2010-12-02 08:01:56 ---
Gilles,

Yes I see the same content: the whole kde4 directory. I noticed there is a bug
in the uninstaller, it does not delete the files and some shortcuts. I will fix
that.

I also noticed while deleting by hand some test installations, that windows
complains that some programs are running, maybe the kioslave problem is related
to that: if you install one version of digikam, then run it, then install
another version in a different directory then the kioslave in memory is the
wrong one ?
We need to investigate more.

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 #16 from Gilles Caulier <caulier gilles gmail com>  2010-12-03 15:56:50 ---
SVN commit 1203299 by cgilles:

Know bugs under windows.
Julien, can you add a new page in installer to display this contents.
Of course, feel free to add new entries in this file.


 A             KNOWBUGS

--
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|1.6.0                       |1.7.0




--- Comment #17 from Gilles Caulier <caulier gilles gmail com>  2010-12-03 16:12:32 ---
Julien,

new zip archive including KDE4 system setings:

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

Next week, i plan to make new 7zip archive with digikam compiled without debug
symbols, to optimize space on disk.

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

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





--- Comment #18 from Gilles Caulier <caulier gilles gmail com>  2010-12-05 16:58:20 ---
Julien,

I updated my 7Zip archive at usual place :

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

Last code from svn trunk is now used. All is compiled using "relwithdebinfo"
option (Release with Debug Information) intead "debugfull" :

http://techbase.kde.org/Development/Tutorials/CMake#Command_Line_Variables

Other stuff : with digiKam 1.7.0 will be released, we must upload this nsis
installer to sourceforge.net repository. Julien, do you have an account to
sf.net ?

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
12