Difference between revisions of "Eraser"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
(MSI installer package.xml: Use '/silent /norestart' everywhere rather than '/s')
Line 23: Line 23:
  
 
  <install
 
  <install
   cmd="%SOFTWARE%\eraser\EraserSetup32.exe /s" />
+
   cmd="%SOFTWARE%\eraser\EraserSetup32.exe /silent /norestart" />
  
 
  <upgrade
 
  <upgrade
Line 29: Line 29:
 
 
 
  <upgrade
 
  <upgrade
   cmd="%SOFTWARE%\eraser\EraserSetup32.exe /s" />
+
   cmd="%SOFTWARE%\eraser\EraserSetup32.exe /silent /norestart" />
  
 
  <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" /silent /norestart REMOVE=TRUE' />
  
 
</package>
 
</package>
 
</source>
 
</source>
 
[[Category:Silent Installers]]
 
[[Category:Silent Installers]]

Revision as of 08:24, 5 October 2011

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.


We 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 we're 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 /silent /norestart" />

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

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

</package>