Changes

Jump to: navigation, search

GPG4win

1,083 bytes added, 09:59, 25 August 2011
GPG4win: Tidyup; update for 2.1; replaced German language installer options section with English and expanded
[http://www.gpg4win.org/ GPG4win Project Homepage]
== GPG4win 2.x Package ==
<source lang="xml">
<?xml version="1.0" encoding="UTF-8"?>
<packages>
<package
id="GPG4Win"
name="GPG4Win"
revision="20042"
priority="35"
reboot="true">
<check type="uninstall" condition="existsversiongreaterorequal" path="Gpg4win (" value="2.01.4)0"/>
<install cmd='%SOFTWARE%\GPG4Win\gpg4win-2.01.40.exe /S'/>
<upgrade cmd='%SOFTWARE%\GPG4Win\gpg4win-2.01.40.exe /S'/>
<remove cmd='%ProgramFilesPROGRAMFILES%\GNU\GnuPG\gpg4win-uninstall.exe /S'/>
</package>
</packages>
</source>
Ãœber eine Steuerungsdatei lassen sich die Installationseinstellungen vorgeben==Installer Options==From the 'README file for Gpg4win': The default installation path can be speficied with the /D=PATHoption, which must be last on the command line. The installersupports the options /S for unattended installation, and the option/C=INIFILE to specify an .ini file which should contain exactly onesection "[gpg4win]". This section contains various installer settingsand absolute file paths to configuration files that should bepreinstalled. Most options just set a different default value.Excetions are documented below. Here is an example file which showsDer Inhalt der Steuerungsdatei sieht wie folgt ausall possible keys:
<source lang="ini">
[gpg4win]
; InstallationseinstellungenInstaller settings. Do not define or leave empty for defaults. Weg- oder leerlassen für ; Voreinstellung
inst_gpgol = true
inst_gpgex = true
inst_man_novice_en = true
; Die Stellen, an denen Verknüpfungen erzeugt werden sollenWhere to install short-cuts.
inst_start_menu = true
inst_desktop = false
inst_quick_launch_bar = false
; Im Gegensatz zu den anderen Optionen überschreibt diese OptionContrary to other settings in this file, the start menu folder ; die Einstellung des Benutzers im Installationsassistentensetting here will override the user selection at installation ; time.
inst_start_menu_folder = Gpg4win
; Standard-KonfigurationsdateienAdditional configuration files to install.
gpg.conf = D:\config\gpg-site.conf
gpg-agent.conf = D:\config\gpg-agent-site.conf
scdaemon.conf = D:\config\scdaemon-site.txt
gpa.conf = D:\config\gpa-site.conf
 
</source>
Der Installationsbefehl wäre hierbei entsprechend abzuändernAn example command for unattended installation could look like this gpg4win.exe /S /C=C:\TEMP\gpg4win.ini /D=D:\Programme\Gpg4win
gpg4win.exe /S For the MSI installer, the above also holds, with the followingchanges: Unattended installation is achieved as usual with the /C=%SOFTWARE%\GPG4Win\qb-option to msiexec. The control file must be called gpg4win.ini /D=Dandreside in the system directory (C:\Programme\Gpg4winWINDOWS). It is foundautomatically by the installer. The installation directory can bespecified with an entry for "instdir". Also, each entry can be givenin uppercase at the command line through INSTDIR=... andINST_GPA=FALSE etc. (the control file takes precedence, though). Thedefault config files as well as start menu directory and optionalinstallation of short cuts are currently not supported through the MSIinstaller.
[[category:Silent Installers]]
577
edits

Navigation menu