[Digikam-devel] [Bug 256372] Add a DigiKam installer based on nsis

Laurent Espitallier laurent.espitallier at laposte.net
Thu Dec 9 23:52:29 GMT 2010


https://bugs.kde.org/show_bug.cgi?id=256372


Laurent Espitallier <laurent.espitallier at laposte.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |laurent.espitallier at 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.



More information about the Digikam-devel mailing list