Heidi Computers Eraser

Views: 1.3k  |  Created: 01/31/2007

Average Rating: 0
Eraser has 3 inventory records, 0 Questions, 0 Blogs and 0 links. Please help add to this by sharing more!

Deployment Tips (5)

Most Common Setup Type
Not Determined
Average Package Difficulty Rating
Rated 0 / 5 (Not Rated) based on 0 ratings
Most Commonly Reported Deployment Method
Not Determined
or cancel
118
Command Line
Silent Install:

/s

Change default app folder:

TARGETDIR="%ProgramFiles%\whereever"

Change default location of shortcuts:

SHORTCUTFOLDER="..."

Prevent reboot:

REBOOT=ReallySuppress

All of these have good chances to work with all InstallAware-created packages, though developers might configure variables such that e.g. TARGETDIR could not be overridden.

Provided via email from Robert Heinig
Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
Please log in to comment
1
Note
I repackaged the stuff as I (and my company) prefer an msi without a wrapper. There was a request that the "temporary internet files" should be incorporated into a scheduled deletion event.

I took the default.ers, modified the plain text part with a user based custom action in execute deferred:

Const ForReading = 1
Const ForWriting = 2
Const HKEY_CURRENT_USER = &H80000001
strComputer="."
Set objFSO = CreateObject("Scripting.FileSystemObject")

Set objReg=GetObject("winmgmts:{impersonationLevel=impersonate}!\\"& strComputer "\root\default:StdRegProv")
objReg.GetStringValue HKEY_CURRENT_USER,"Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders", "Local AppData", strLocalAppData
If right(strLocalAppData,1) <> "\" Then
strLocalAppData = strLocalAppData & "\"
end if

objReg.GetStringValue HKEY_CURRENT_USER,"Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders", "Cache", strCache
if right(strCache,1) <> "\" then
strCache = strCache & "\"
end if

If objFSO.FileExists(strLocalAppData & "Eraser\default.ers") Then
Set objTextFile = objFSO.OpenTextFile(strLocalAppData & "Eraser\default.ers", ForReading)
Find = "ToBeReplacedByProfile\"
ReplaceWith = strCache
FileName = strLocalAppData & "Eraser\default.ers"
FileContents = GetFile(FileName)
dFileContents = replace(FileContents, Find, ReplaceWith, 1, -1, 1)
If dFileContents <> FileContents Then
WriteFile FileName, dFileContents
End If
End If
function GetFile(FileName)
If FileName<>"" Then
Dim FS, FileStream
Set FS = CreateObject("Scripting.FileSystemObject")
on error resume Next
Set FileStream = FS.OpenTextFile(FileName)
GetFile = FileStream.ReadAll
End If
End Function

function WriteFile(FileName, Contents)
Dim OutStream, FS

on error resume Next
Set FS = CreateObject("Scripting.FileSystemObject")
Set OutStream = FS.OpenTextFile(FileName, 2, True)
OutStream.Write Contents
End Function
Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
Please log in to comment
1
Command Line

At least Eraser 5.8.7 wants "/silent" as commandline option for unattended install

Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
Please log in to comment
1
Command Line

You can do a silent install with Eraser. Eraser is nothing else that a zip file which contains dotnet3.5 and 2 msi files (32&64bits) which can be deployed with the usual /quiet /passive

Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
Please log in to comment
0
Command Line
Eraser 6.0.6.1376.exe ("Eraser 6.0 Final") appears to be broken WRT silent install; neither /S /SILENT /VERYSILENT appears to work, so I didn't fuss around with it very long but wrote the following AutoIt-Script which does the install:
---begin---
Run("Eraser_6.0.6.1376.exe")
WinWaitActive("Eraser 6.0.6.1376 Setup")
Send("{ENTER}")
Send("{SPACE}")
Send("{ENTER}")
Send("!o")
Send("!I")
WinWaitActive("Eraser 6.0.6.1376 Setup","Completed")
Send("{ENTER}")
---end---
Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
Please log in to comment

Inventory Records (3)

View inventory records anonymously contributed by opt-in users of the K1000 Systems Management Appliance.

Eraser

Version

5.7

Uninstall String

"C:\Program Files\Eraser\unins000.exe" "C:\Program Files (x86)\Eraser\unins000.exe"

Questions & Answers (0)

Questions & Answers related to Heidi Computers Eraser

Blogs (0)

Blog posts related to Heidi Computers Eraser

Reviews (0)

Reviews related to Heidi Computers Eraser