GnuPG4Win
From Altiris Wiki
Contents |
Application
Name: GnuPG 4 Win
Version: 1.0.6
Vendor: ---
OS
Captured: Windows XP Pro SP2 (German)
Tested: Windows XP Pro SP2 (German)
Capture Method
Single Program Capture & Data-Layer
VSA-Import tested
Yes. Runs well on my notebook and my workstation.
Capture Hints
1. Start Single Capture Mode
2. Execute the installer and follow the instruction.
2.1 Exclude "directory only": [APPDATA]\winpt
2.2 Exclude "directory only": [APPDATA]\gnupg
2.3 Exclude "directory only": [TEMP]
3. Create a new Data-Layer.
3.1. Capture "directory only": [APPDATA]\winpt
3.2. Capture "directory only": [APPDATA]\gnupg
4. Now activate both layers and create your secure and public keys via WinPT.
Things to watch for
The Data-Layer should now contain the public and secure keyring with possible backups and also configs of WinPT.
Now whenever you edit the keys, everything is written to your data-layer. Export it to a secure media (eg.CD) if you want.
If you install other tools except WinPT and GnuPG, don't forget to exclude their directories aswell, else eMails or saved (en/de-crypted) files from them will be captured, too ;)
I installed GnuPG and WinPT only, so don't blame me for possible harddisc-crashes :P
Suggested/Optional package edits
To AUTOMATICALLY start and stop the Data-Layer as soon as you activate the Program-Layer, follow these steps:
1. Start REGEDIT
2. Go to HKLM\SYSTEM\ALTIRIS\FSL\
3. Scan through the numbers until you find the key "Name" with your Program-Layer name ONLY (without "_FSLPEERFSL" suffix !)
The Tool SVSCMD.EXE can (de)activate layers via batch. Usage is "SVSCMD.EXE <LAYER> A" (activate) or "SVSCMD.EXE <LAYER> D" (deactivate)
4. Add the following keys to it:
4.1 OnPreActivate (REG_MULTI_SZ) "%PROGRAMFILES%\<path_to_your_SVSCMD.EXE_file>" "<DATA_LAYER_NAME>" A
4.2 OnPostDeactivate (REG_MULTI_SZ) "%PROGRAMFILES%\<path_to_your_SVSCMD.EXE_file>" "<DATA_LAYER_NAME>" D
On my system SVSCMD.EXE is located on "C:\Program Files\Altiris\Software Virtualization Agent\" so I use "%PROGRAMFILES%\Altiris\Software Virtualization Agent\SVSCMD.exe"
The Data-Layer is called "GnuPG v1.0.6 PGP-Keys". Now my OnPreActivate Key looks like this:
"%PROGRAMFILES%\Altiris\Software Virtualization Agent\SVSCMD.exe" "GnuPG v1.0.6 PGP-Keys" A
If you don't want to mess up your registry, don't touch it !! Just activate the Data-Layer by hand before starting GnuPG.
