Keepass
KeePass is a free open source password manager, which helps you to manage your passwords in a secure way. You can put all your passwords in one database, which is locked with one master key or a key file. So you only have to remember one single master password or select the key file to unlock the whole database. The databases are encrypted using AES and Twofish.
Headline text
Install Type: InnoSetup
http://unattended.sourceforge.net/InnoSetup_Switches_ExitCodes.html
WPKG Package - Version 2.38
Inno setup uninstaller is unins000.exe
<?xml version="1.0" encoding="UTF-8"?>
<packages:packages xmlns:packages="http://www.wpkg.org/packages"
xmlns:wpkg="http://www.wpkg.org/wpkg" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.wpkg.org/packages xsd/packages.xsd">
<!--
DATE USR EDIT
-->
<package
id="keepass"
name="Keepass"
revision="%version%"
reboot="false"
priority="10">
<variable name="version" value="2.38" />
<variable name="PKG_DESTINATION" value="%ProgramFiles%\KeePass Password Safe 2" architecture="x86" />
<variable name="PKG_DESTINATION" value="%ProgramFiles(x86)%\KeePass Password Safe 2" architecture="x64" />
<check type="uninstall" condition="exists" path="KeePass Password Safe %version%" />
<!-- if the program is running, quit -->
<install cmd='%COMSPEC% /c if exist "%PKG_DESTINATION%\KeePass.exe" "%PKG_DESTINATION%\KeePass.exe" --exit-all' >
<exit code='any' />
</install>
<install cmd='"%SOFTWARE%\keepass\KeePass-%version%-Setup.exe" /sp- /verysilent /suppressmsgboxes /norestart' />
<upgrade include="install" />
<remove cmd='"%PKG_DESTINATION%\unins000.exe" /sp- /verysilent /suppressmsgboxes /norestart' />
</package>
</packages:packages>
WPKG Package - Version 2.29
<?xml version="1.0" encoding="UTF-8"?>
<packages:packages xmlns:packages="http://www.wpkg.org/packages"
xmlns:wpkg="http://www.wpkg.org/wpkg" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.wpkg.org/packages xsd/packages.xsd">
<!--
DATE USR EDIT
-->
<package
id="keepass"
name="KeePass"
revision="%version%"
reboot="false"
priority="10">
<variable name="version" value="2.29" />
<variable name="PKG_DESTINATION" value="%ProgramFiles%\KeePass Password Safe 2" architecture="x86" />
<variable name="PKG_DESTINATION" value="%ProgramFiles(x86)%\KeePass Password Safe 2" architecture="x64" />
<check type="uninstall" condition="exists" path="KeePass Password Safe %version%" />
<install cmd='%COMSPEC% /c if exist "%PKG_DESTINATION%\KeePass.exe" --exit-all' >
<exit code='any' />
</install>
<install cmd='"%SOFTWARE%\keepass\KeePass-%version%-Setup.exe" /sp- /silent /norestart' />
<upgrade include="install" />
<remove cmd='"%PKG_DESTINATION%\uninstall.exe" /sp- /silent /norestart' />
</package>
</packages:packages>
WPKG Package - Version 2.23
<?xml version="1.0" encoding="UTF-8"?>
<packages:packages xmlns:packages="http://www.wpkg.org/packages" xmlns:wpkg="http://www.wpkg.org/wpkg" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.wpkg.org/packages xsd/packages.xsd">
<package
id="keepass"
name="KeePass"
revision="%PKG_VERSION%"
reboot="false"
priority="1">
<variable name="PKG_VERSION" value="2.23" />
<variable name="PKG_EXE" value="KeePass-%PKG_VERSION%-Setup.exe" />
<variable name="PKG_SOURCE" value="%SOFTWARE%\KeePass" />
<variable name="PKG_DESTINATION" value="%ProgramFiles%\KeePass Password Safe 2" architecture="x86" />
<variable name="PKG_DESTINATION" value="%ProgramFiles(x86)%\KeePass Password Safe 2" architecture="x64" />
<variable name="PKG_INSTALL_SWITCH" value="/sp- /silent /norestart" />
<variable name="PKG_REMOVE_SWITCH" value="/sp- /silent /norestart" />
<check type="uninstall" condition="exists" path="KeePass Password Safe %PKG_VERSION%" />
<commands>
<command type="install" cmd='%COMSPEC% /c if exist "%PKG_DESTINATION%\KeePass.exe" --exit-all' >
<exit code='any' />
</command>
<command type="install" cmd='"%PKG_SOURCE%\%PKG_EXE%" %PKG_INSTALL_SWITCH%' />
<command type="install" cmd='%COMSPEC% /c copy /y "%PKG_SOURCE%\*.lngx" "%PKG_DESTINATION%\"' />
<command type="install" cmd='%COMSPEC% /c copy /y "%PKG_SOURCE%\*.plgx" "%PKG_DESTINATION%\"' />
<command type="upgrade" include="install" />
<command type="remove" cmd='"%PKG_DESTINATION%\uninstall.exe" %PKG_REMOVE_SWITCH%' />
</commands>
</package>
</packages:packages>
WPKG Package - Version 2.21
<packages>
<package id="keepass"
name="KeePass"
revision="%PKG_VERSION%"
reboot="false"
priority="1">
<chain package-id="setupkeepass"/>
<variable name="PKG_VERSION" value="2.21" />
<check type="uninstall" condition="exists" path="%PKG_VERSION%" />
<install cmd='%COMSPEC% /c if exist "%PROGRAMFILES%\KeePass Password Safe 2\KeePass.exe" --exit-all' ><exit code='any' /></install>
<install cmd='"%SOFTWARE%\keepass\KeePass-%PKG_VERSION%-Setup.exe" /sp- /silent /norestart' />
<upgrade cmd='%COMSPEC% /c if exist "%PROGRAMFILES%\KeePass Password Safe 2\KeePass.exe" --exit-all' ><exit code='any' /></upgrade>
<upgrade cmd='"%SOFTWARE%\keepass\KeePass-%PKG_VERSION%-Setup.exe" /sp- /silent /norestart' />
<remove cmd='"%PROGRAMFILES%\KeePass Password Safe 2\unins000.exe" /sp- /silent /norestart' />
</package>
<package id="setupkeepass"
name="Setup KeePass Config and install plugins"
revision="%version%"
reboot="false">
<variable name="version" value="2" />
<depends package-id="keepass" />
<check type="registry" condition="exists" path="HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Active Setup\Installed Components\SetupKeePassConfig.xml" />
<install cmd='%systemroot%\system32\xcopy /E /y /q "%SOFTWARE%\keepass\plugins\*.*" "%ProgramFiles%\KeePass Password Safe 2"' />
<install cmd='%systemroot%\system32\reg.exe add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Active Setup\Installed Components\SetupKeePassConfig.xml" /v "Version" /d "%version%" /t REG_SZ /f'/>
<install cmd='%systemroot%\system32\reg.exe add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Active Setup\Installed Components\SetupKeePassConfig.xml" /v "StubPath" /d "cmd /c %SOFTWARE%\KeePass\Config\CurUsrInstall.bat" /f'/>
<remove cmd='%systemroot%\system32\reg.exe delete "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Active Setup\Installed Components\SetupKeePassConfig.xml" /va /f' >
<exit code="any"/>
</remove>
</package>
</packages>
WPKG Package - Version 1.24
<?xml version="1.0" encoding="UTF-8"?>
<!--
Download Location: http://sourceforge.net/projects/keepass/files/
Install Type: InnoSetup
http://unattended.sourceforge.net/InnoSetup_Switches_ExitCodes.html
-->
<packages>
<package id="keepass"
name="KeePass"
revision="00124"
reboot="false"
priority="1">
<check type="uninstall" condition="exists" path="KeePass Password Safe 1.24" />
<install cmd='"%SOFTWARE%\keepass\KeePass-1.24-Setup.exe" /sp- /silent /norestart' />
<upgrade cmd='"%PROGRAMFILES%\KeePass Password Safe\KeePass.exe" --exit-all' ><exit code='any' /></upgrade>
<upgrade cmd='"%SOFTWARE%\keepass\KeePass-1.24-Setup.exe" /sp- /silent /norestart' />
<remove cmd='"%PROGRAMFILES%\KeePass Password Safe\unins000.exe" /sp- /silent /norestart' />
</package>
</packages>