From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search

Silent installer for PFBackup (Outlook Backup Addin).

WPKG Package[edit]

 <package id="pfbackup" name="Outlook Backup" revision="4" reboot="false" priority="6">
  <check type="uninstall" condition="exists" path="Microsoft Outlook Personal Folders Backup" />
  <install cmd='msiexec /qn /i "%SOFTWARE%\utilities\pfbackup.msi" ALLUSERS=1' />
  <install cmd='regedit /s "%SOFTWARE%\utilities\outlook_backup.reg"' />
  <upgrade cmd='msiexec /qn /i "%SOFTWARE%\utilities\pfbackup.msi" ALLUSERS=1' />
  <upgrade cmd='regedit /s "%SOFTWARE%\utilities\outlook_backup.reg"' />
  <remove cmd='msiexec /qn /x {C63E7C60-25EB-11D3-8EDA-00A0C911E8E5}' />

Reg File[edit]

PFBackup creates registry entries for the current user, even when installed for all users (ALLUSERS=1, above). The following reg file was created by exporting the corresponding HKCU key, and replacing HKEY_CURRENT_USER with HKEY_LOCAL_MACHINE. It will not be appropriate for 64bit machines.

Windows Registry Editor Version 5.00

"FileName"="C:\\Program Files\\Microsoft Office\\Office12\\Addins\\outbak.dll"
"FriendlyName"="Outlook Backup Addin"