[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [Bug 256372] Add a DigiKam installer based on nsis
From:       Laurent Espitallier <laurent.espitallier () laposte ! net>
Date:       2010-12-09 23:52:29
Message-ID: 20101209235229.7DDE376B43 () immanuel ! kde ! org
[Download RAW message or body]

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


Laurent Espitallier <laurent.espitallier@laposte.net> 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 watching all bug changes.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic