Changes

Eraser

309 bytes removed, 10:34, 19 October 2011
5.88: Moved comments out from package into prose section
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">
path="%PROGRAMFILES%\Eraser\eraser.exe" />
<!-- Uninstall Eraser 5.86a (InstallAware installer) first otherwise it remains in Add/Remove 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 -->
<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 "%SOFTWARE%\eraser\Eraser 5.8.8.exe" /SILENT /NORESTART' />
<!-- Uninstall Eraser 5.86a (InstallAware installer) first otherwise it remains in Add/Remove 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 -->
<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' />
577
edits