Difference between revisions of "Eraser"
(Retained previous info (but maybe that can go), and added info for 5.86a (useful background info when trying to wade through various installer options mentioned elsewhere), 5.88 and 6.0.x) |
(→5.88: Moved comments out from package into prose section) |
||
Line 9: | Line 9: | ||
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). | 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). | ||
+ | |||
+ | When installing and upgrading, first uninstall Eraser 5.86a (InstallAware installer) first otherwise it remains in Add/Remove Programs as 'Eraser' and we get "eraser.exe - Entry Point Not Found - The procedure entry point ?IsProcessElevated@@YA_NPAX@Z could not be located in the dynamic link library Eraser.dll". No error code is given for the missing uninstaller hence we use IF EXIST. | ||
<source lang="xml"> | <source lang="xml"> | ||
Line 23: | Line 25: | ||
path="%PROGRAMFILES%\Eraser\eraser.exe" /> | path="%PROGRAMFILES%\Eraser\eraser.exe" /> | ||
− | |||
<install | <install | ||
cmd='cmd /c "IF EXIST "%ALLUSERSPROFILE%\Application Data\{A25FEDC1-F6D7-440C-BCE2-B71F595F6646}\EraserSetup32.exe" "%ALLUSERSPROFILE%\Application Data\{A25FEDC1-F6D7-440C-BCE2-B71F595F6646}\EraserSetup32.exe"" /s REMOVE=TRUE' /> | cmd='cmd /c "IF EXIST "%ALLUSERSPROFILE%\Application Data\{A25FEDC1-F6D7-440C-BCE2-B71F595F6646}\EraserSetup32.exe" "%ALLUSERSPROFILE%\Application Data\{A25FEDC1-F6D7-440C-BCE2-B71F595F6646}\EraserSetup32.exe"" /s REMOVE=TRUE' /> | ||
Line 30: | Line 31: | ||
cmd='cmd /C "%SOFTWARE%\eraser\Eraser 5.8.8.exe" /SILENT /NORESTART' /> | cmd='cmd /C "%SOFTWARE%\eraser\Eraser 5.8.8.exe" /SILENT /NORESTART' /> | ||
− | |||
<upgrade | <upgrade | ||
cmd='cmd /c "IF EXIST "%ALLUSERSPROFILE%\Application Data\{A25FEDC1-F6D7-440C-BCE2-B71F595F6646}\EraserSetup32.exe" "%ALLUSERSPROFILE%\Application Data\{A25FEDC1-F6D7-440C-BCE2-B71F595F6646}\EraserSetup32.exe"" /s REMOVE=TRUE' /> | cmd='cmd /c "IF EXIST "%ALLUSERSPROFILE%\Application Data\{A25FEDC1-F6D7-440C-BCE2-B71F595F6646}\EraserSetup32.exe" "%ALLUSERSPROFILE%\Application Data\{A25FEDC1-F6D7-440C-BCE2-B71F595F6646}\EraserSetup32.exe"" /s REMOVE=TRUE' /> |
Revision as of 10:34, 19 October 2011
Eraser, from http://www.heidi.ie/eraser/, is 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.
6.0.x
Currently the 6.x series (6.0.8 so far) doesn't yet have a silent install option.
5.88
Available from http://sourceforge.net/projects/eraser/files/Eraser%205/5.8.8/
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).
When installing and upgrading, first uninstall Eraser 5.86a (InstallAware installer) first otherwise it remains in Add/Remove Programs as 'Eraser' and we get "eraser.exe - Entry Point Not Found - The procedure entry point ?IsProcessElevated@@YA_NPAX@Z could not be located in the dynamic link library Eraser.dll". No error code is given for the missing uninstaller hence we use IF EXIST.
<package
id="eraser"
name="Eraser"
revision="7"
reboot="false"
priority="20">
<check
type="file"
condition="exists"
path="%PROGRAMFILES%\Eraser\eraser.exe" />
<install
cmd='cmd /c "IF EXIST "%ALLUSERSPROFILE%\Application Data\{A25FEDC1-F6D7-440C-BCE2-B71F595F6646}\EraserSetup32.exe" "%ALLUSERSPROFILE%\Application Data\{A25FEDC1-F6D7-440C-BCE2-B71F595F6646}\EraserSetup32.exe"" /s REMOVE=TRUE' />
<install
cmd='cmd /C "%SOFTWARE%\eraser\Eraser 5.8.8.exe" /SILENT /NORESTART' />
<upgrade
cmd='cmd /c "IF EXIST "%ALLUSERSPROFILE%\Application Data\{A25FEDC1-F6D7-440C-BCE2-B71F595F6646}\EraserSetup32.exe" "%ALLUSERSPROFILE%\Application Data\{A25FEDC1-F6D7-440C-BCE2-B71F595F6646}\EraserSetup32.exe"" /s REMOVE=TRUE' />
<upgrade
cmd='cmd /C "%SOFTWARE%\eraser\Eraser 5.8.8.exe" /SILENT /NORESTART' />
<remove
cmd="%PROGRAMFILES%\Eraser\unins000.exe /SILENT /LOG /NORESTART" />
</package>
5.86a
<package
id="eraser"
name="Eraser"
revision="5"
reboot="false"
priority="3">
<check
type="file"
condition="exists"
path="%PROGRAMFILES%\Eraser\eraser.exe" />
<install
cmd="cmd /C %SOFTWARE%\eraser\EraserSetup32.exe /S" />
<upgrade
cmd="cmd /C %SOFTWARE%\eraser\EraserSetup32.exe /S" />
<remove
cmd='msiexec /uninstall %SOFTWARE%\eraser\EraserSetup32.msi /qn /norestart' />
</package>
An alternative package that may or may not be redundant
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).
<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>