Difference between revisions of "Eraser"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
m (formating changes)
m (anal changes)
Line 11: Line 11:
 
<source lang="xml">
 
<source lang="xml">
 
<package
 
<package
id="eraser"
+
  id="eraser"
name="Eraser"
+
  name="Eraser"
revision="4"
+
  revision="4"
reboot="false"
+
  reboot="false"
priority="1">
+
  priority="1">
  
<check
+
<check
type="file"
+
  type="file"
condition="exists"
+
  condition="exists"
path="%PROGRAMFILES%\Eraser\eraser.exe" />
+
  path="%PROGRAMFILES%\Eraser\eraser.exe" />
  
<install
+
<install
cmd="%SOFTWARE%\eraser\EraserSetup32.exe /s" />
+
  cmd="%SOFTWARE%\eraser\EraserSetup32.exe /s" />
  
<upgrade
+
<upgrade
cmd="%PROGRAMFILES%\Eraser\unins000.exe /silent /log /norestart" />
+
  cmd="%PROGRAMFILES%\Eraser\unins000.exe /silent /log /norestart" />
 
 
<upgrade
+
<upgrade
cmd="%SOFTWARE%\eraser\EraserSetup32.exe /s" />
+
  cmd="%SOFTWARE%\eraser\EraserSetup32.exe /s" />
  
<remove
+
<remove
cmd='"%ALLUSERSPROFILE%\Application Data\{A25FEDC1-F6D7-440C-BCE2-B71F595F6646}\EraserSetup32.exe" /s REMOVE=TRUE' />
+
  cmd='"%ALLUSERSPROFILE%\Application Data\{A25FEDC1-F6D7-440C-BCE2-B71F595F6646}\EraserSetup32.exe" /s REMOVE=TRUE' />
</package>
+
 
 +
</package>
 
</source>
 
</source>
 
[[Category:Silent Installers]]
 
[[Category:Silent Installers]]

Revision as of 00:54, 27 February 2008

Eraser: download here

A reliable (and well regarded) security tool (for Windows), which allows you to completely remove sensitive data from your hard drive by overwriting it several times with carefully selected patterns. Works with Windows 95, 98, ME, NT, 2000, XP, Windows 2003 Server and DOS. It is Free software and its source code is released under GNU General Public License.


I had a few issues with this one. Versions from 5.84 onwards change installer from NSIS to Windows Installer. This script will uninstall any previous versions which use the old installer and then install the latest version (tested as working with 5.86a). The uninstaller is a little ugly as it uses the appdata in the 'all users' directory, which means that although I'm using Windows Environment Variables the uninstaller is still english language specific (please do update this page if you find a cleaner or more standard method).

MSI installer package.xml

<package
   id="eraser"
   name="Eraser"
   revision="4"
   reboot="false"
   priority="1">

 <check
   type="file"
   condition="exists"
   path="%PROGRAMFILES%\Eraser\eraser.exe" />

 <install
   cmd="%SOFTWARE%\eraser\EraserSetup32.exe /s" />

 <upgrade
   cmd="%PROGRAMFILES%\Eraser\unins000.exe /silent /log /norestart" />
			
 <upgrade
   cmd="%SOFTWARE%\eraser\EraserSetup32.exe /s" />

 <remove
   cmd='"%ALLUSERSPROFILE%\Application Data\{A25FEDC1-F6D7-440C-BCE2-B71F595F6646}\EraserSetup32.exe" /s REMOVE=TRUE' />

</package>