Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Switching to a template system for the output formats
Several corrections Small gui enhancements
- Loading branch information
1 parent
d8413e9
commit 6bd45a8
Showing
31 changed files
with
2,702 additions
and
2,434 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,135 @@ | ||
[$$SETUP$$] | ||
Comment=; | ||
Extension=.au3 | ||
OnlyNewEntries=1 | ||
LogUNLOrder=0 | ||
OutSeparateObjs=0 | ||
NoVals=1 | ||
|
||
[$$HEADER$$] | ||
{{##LINEFEED}} | ||
{{##COMMENT}} ============================================================================================================== | ||
{{##COMMENT}} !!! USE AUTOIT3_64.EXE TO HIT THE CORRECT REGISTRY KEYS !!! | ||
{{##COMMENT}} ============================================================================================================== | ||
{{##LINEFEED}} | ||
#cs | ||
{{##COMMENT}} Maintence.SKT: | ||
{{##LEFTBRACKET}}] | ||
Transaction={{##TITLE}} | ||
TEXT=Regshot's uninstaller for "{{##TITLE}}" | ||
SAP=0 | ||
DeleteReadOnly = {{##DELETEREADONLY}} | ||
DeleteDirRecurse = {{##DELETERECURSE}} | ||
{{##LINEFEED}} | ||
{{##COMMENT}} I18N\SAPGui-Automation.de.lng, SAPGui-Automation.en.lng: | ||
{{##LEFTBRACKET}}{{##TITLE}}] | ||
NAME=Unlock {{##TITLE}} | ||
#ce | ||
{{##LINEFEED}} | ||
AutoItSetOption("MustDeclareVars", 1) | ||
#RequireAdmin | ||
{{##LINEFEED}} | ||
Dim $bSimulation = 0 | ||
Dim $strTitle = "Regshot's uninstaller for ""{{##TITLE}}""" & ($bSimulation ? " (SIMULATION)" : "") | ||
Dim $bLog = 1 | ||
Dim $hOpenFile = -1 | ||
Dim $bAppendLog = 1 ; 1 = Append, 2 = Overwrite | ||
Dim $bReadyMessage = 1 | ||
Dim $LogFileName = @ScriptDir & "\" & "{{##SCRIPTNAME}}.log" | ||
Dim $ret = 1 | ||
If $bReadyMessage = 1 Then MsgBox (65, $strTitle, "Start script """ & @ScriptFullPath & """?", 3) | ||
if $ret = 2 Then exit | ||
{{##LINEFEED}} | ||
{{##TITLE}}() | ||
{{##LINEFEED}} | ||
Local $strLogLine = "Script """ & @ScriptFullPath & """ finished." | ||
_FileWriteLog($hOpenFile, $strLogLine) | ||
If $hOpenFile <> -1 Then FileClose($hOpenFile) | ||
If $bReadyMessage = 1 Then MsgBox (64, $strTitle, $strLogLine) | ||
{{##LINEFEED}} | ||
Func {{##TITLE}}() | ||
{{##BLANK}} Dim $bDeleteReadOnly = {{##DELETEREADONLY}} | ||
{{##BLANK}} Dim $bDeleteDirRecurse = {{##DELETERECURSE}} | ||
{{##BLANK}} If $bLog = 1 Then $hOpenFile = FileOpen($LogFileName, $bAppendLog) | ||
{{##BLANK}} _FileWriteLog($hOpenFile, "") | ||
{{##BLANK}} _FileWriteLog($hOpenFile, "Script """ & @ScriptFullPath & """ started.") | ||
{{##BLANK}} _FileWriteLog($hOpenFile, "--------------------------------------------------------------------------------------------------------------") | ||
{{##BLANK}} _FileWriteLog($hOpenFile, "DeleteReadOnly: " & ($bDeleteReadOnly ? "1" : "0")) | ||
{{##BLANK}} _FileWriteLog($hOpenFile, "DeleteDirRecurse: " & ($bDeleteDirRecurse ? "1" : "0")) | ||
{{##BLANK}} _FileWriteLog($hOpenFile, "Simulation: " & ($bSimulation ? "1" : "0")) | ||
{{##BLANK}} _FileWriteLog($hOpenFile, "--------------------------------------------------------------------------------------------------------------") | ||
|
||
[$$DATALINES$$] | ||
RegDefaultVal="" | ||
VALDELETENormal= {{##BLANK}} _REGVALDEL("{{##WHOLEKEYNAME}}", "{{##VALNAME}}") | ||
VALDELETEShort = {{##BLANK}} _REGVALDEL("{{##WHOLEKEYNAME}}", "{{##VALNAME}}") | ||
KEYDELETENormal= {{##BLANK}} _REGKEYDEL("{{##WHOLEKEYNAME}}") | ||
FILEDELETENormal= {{##BLANK}} _DEL("{{##FILENAME}}", $bDeleteReadOnly) | ||
FILEDELETEDeleteReadOnly={{##BLANK}} _DEL("{{##FILENAME}}", $bDeleteReadOnly) | ||
DIRDELETENormal= {{##BLANK}} _RMDIR("{{##DIRNAME}}", $bDeleteDirRecurse) | ||
DIRDELETEDeleteRecurse= {{##BLANK}} _RMDIR("{{##DIRNAME}}", $bDeleteDirRecurse) | ||
|
||
[$$FOOTER$$] | ||
Endfunc | ||
{{##LINEFEED}} | ||
{{##COMMENT}} -------------------------------------------------------------------------------------------------------------- | ||
{{##COMMENT}} Coding, Routines | ||
{{##COMMENT}} -------------------------------------------------------------------------------------------------------------- | ||
Func _RMDIR($DIR, $RECURSE) | ||
{{##BLANK}} Local $strLogLine = "Directory deleted : " | ||
{{##BLANK}} If Not FileExists($DIR) Then | ||
{{##BLANK}} $strLogLine = "=> Directory doesn't exist: " | ||
{{##BLANK}} Elseif Not $bSimulation = 1 Then | ||
{{##BLANK}} If Not DirRemove($DIR, $RECURSE) Then $strLogLine = "=> Directory couldn't be deleted: " | ||
{{##BLANK}} Endif | ||
{{##BLANK}} $strLogLine = $strLogLine & """" & $DIR & """" | ||
{{##BLANK}} _FileWriteLog($hOpenFile, $strLogLine) | ||
EndFunc | ||
{{##LINEFEED}} | ||
Func _DEL($FILE, $READONLY) | ||
{{##BLANK}} Local $strLogLine = "File(s) deleted : " | ||
{{##BLANK}} If Not FileExists($FILE) Then | ||
{{##BLANK}} $strLogLine = "=> File doesn't exist: " | ||
{{##BLANK}} Elseif Not $bSimulation = 1 Then | ||
{{##BLANK}} If $READONLY = 1 Then FileSetAttrib($FILE, "-R") | ||
{{##BLANK}} If Not FileDelete($FILE) Then $strLogLine = "=> File couldn't be deleted: " | ||
{{##BLANK}} Endif | ||
{{##BLANK}} $strLogLine = $strLogLine & """" & $FILE & """" | ||
{{##BLANK}} _FileWriteLog($hOpenFile, $strLogLine) | ||
EndFunc | ||
{{##LINEFEED}} | ||
Func _REGKEYDEL($KEYNAME) | ||
{{##BLANK}} Local $strLogLine = "Registry key deleted: " | ||
{{##BLANK}} RegEnumKey($KEYNAME, 0) | ||
{{##BLANK}} If @error = 1 Then | ||
{{##BLANK}} $strLogLine="=> Registry key doesn't exist: " | ||
{{##BLANK}} ElseIf Not $bSimulation = 1 Then | ||
{{##BLANK}} If RegDelete($KEYNAME) = 2 Then $strLogLine = "=> Registry key couldn't be deleted: " | ||
{{##BLANK}} Endif | ||
{{##BLANK}} $strLogLine = $strLogLine & """" & $KEYNAME & """" | ||
{{##BLANK}} _FileWriteLog($hOpenFile, $strLogLine) | ||
EndFunc | ||
{{##LINEFEED}} | ||
Func _REGVALDEL($KEYNAME, $VALNAME) | ||
{{##BLANK}} Local $strLogLine = "Registry value deleted: " | ||
{{##BLANK}} RegRead($KEYNAME, $VALNAME) | ||
{{##BLANK}} If @error = -1 or @error = 1 Then | ||
{{##BLANK}} $strLogLine="=> Registry value doesn't exist: " | ||
{{##BLANK}} ElseIf $bSimulation = 0 Then | ||
{{##BLANK}} If RegDelete($KEYNAME, $VALNAME) = 2 Then $strLogLine = "=> Registry value couldn't be deleted: " | ||
{{##BLANK}} Endif | ||
{{##BLANK}} $strLogLine = $strLogLine & """" & $KEYNAME & """, """ & $VALNAME & """" | ||
{{##BLANK}} _FileWriteLog($hOpenFile, $strLogLine) | ||
EndFunc | ||
{{##LINEFEED}} | ||
Func _FileWriteLog($hOpenFile, $sLogMsg ) | ||
{{##BLANK}} Local $sDateNow | ||
{{##BLANK}} Local $sTimeNow | ||
{{##BLANK}} Local $sMsg | ||
{{##LINEFEED}} | ||
{{##BLANK}} $sDateNow = @MDAY & "." & @MON & "." & @YEAR | ||
{{##BLANK}} $sTimeNow = @Hour & ":" & @MIN & ":" & @SEC & "." & @MSEC | ||
{{##BLANK}} $sMsg = $sDateNow & " " & $sTimeNow & " " & $sLogMsg | ||
{{##BLANK}} | ||
{{##BLANK}} If $bLog = 1 Then FileWriteLine($hOpenFile, $sMsg) | ||
EndFunc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
[$$SETUP$$] | ||
Comment=:: | ||
Extension=.cmd | ||
OnlyNewEntries=1 | ||
LogUNLOrder=0 | ||
OutSeparateObjs=0 | ||
NoVals=1 | ||
UseLongRegHead=0 | ||
|
||
[$$DATALINES$$] | ||
RegDefaultVal={{##BS}}{{##BS}}e{{##DEL}} | ||
VALDELETENormal= REG DELETE "{{##WHOLEKEYNAME}}" /f /reg:64 /v "{{##VALNAME}}" | ||
VALDELETEShort = REG DELETE "{{##WHOLEKEYNAME}}" /f /reg:64 /v "{{##VALNAME}}" | ||
KEYDELETENormal= REG DELETE "{{##WHOLEKEYNAME}}" /f /reg:64 | ||
FILEDELETENormal= DEL "{{##FILENAME}}" | ||
FILEDELETEDeleteReadOnly=DEL /F "{{##FILENAME}}" | ||
DIRDELETENormal= RMDIR "{{##DIRNAME}}" | ||
DIRDELETEDeleteRecurse= RMDIR /S /Q "{{##DIRNAME}}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
[$$HEADER$$] | ||
{{##COMMENT}} | ||
{{##COMMENT}} Maintenance-File {{##SCRIPTFILE}} | ||
{{##COMMENT}} @ Patrick (skydive241@gmx.de) | ||
{{##COMMENT}} !!!!!!!! H A N D L E W I T H C A R E !!!!!!!! | ||
{{##COMMENT}} | ||
{{##COMMENT}} {{##VERSION}} | ||
{{##COMMENT}} Kommentar: {{##COMMENTTEXT}} | ||
{{##COMMENT}} Datum und Zeit: {{##DATE1}}, {{##DATE2}} | ||
{{##COMMENT}} Computer: {{##COMPUTER1}}, {{##COMPUTER2}} | ||
{{##COMMENT}} Benutzername: {{##USER1}}, {{##USER1}} | ||
|
||
[$$TABLEHEAD$$] | ||
{{##LINEFEED}} | ||
{{##COMMENT}} -------------------------------------------------------------------------------------------------------------- | ||
{{##COMMENT}} {{##PARTCOUNTTEXT}} {{##PARTCOUNT}} | ||
{{##COMMENT}} -------------------------------------------------------------------------------------------------------------- | ||
|
||
[$$USABLE MACROS$$] | ||
{{##COMMENT}} | ||
{{##BLANK}} | ||
{{##LINEFEED}} | ||
{{##LEFTBRACKET}} | ||
{{##TITLE}} | ||
{{##SCRIPTFILE}} | ||
{{##SCRIPTNAME}} | ||
{{##OUTDIR}} | ||
{{##OUTFILE}} | ||
{{##VERSION}} | ||
{{##DATE1}} | ||
{{##DATE2}} | ||
{{##COMPUTER1}} | ||
{{##COMPUTER2}} | ||
{{##USER1}} | ||
{{##USER1}} | ||
{{##COMMENTTEXT}} | ||
{{##PARTCOUNTTEXT}} | ||
{{##PARTCOUNT}} | ||
{{##DELETERECURSE}} | ||
{{##DELETEREADONLY}} | ||
|
||
{{##ROOTKEYNAME}} | ||
{{##WHOLEKEYNAME}} | ||
{{##KEYNAME}} | ||
{{##VALNAME}} | ||
{{##VALTYPE}} | ||
{{##DIRNAME}} | ||
{{##DIROFFILENAME}} | ||
{{##FILENAME}} | ||
{{##BLANK}} | ||
{{##LINEFEED}} | ||
{{##BS}} | ||
{{##DEL}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
[$$HEADER$$] | ||
{{##COMMENT}} | ||
{{##COMMENT}} Maintenance-File {{##SCRIPTFILE}} | ||
{{##COMMENT}} @ Patrick (skydive241@gmx.de) | ||
{{##COMMENT}} !!!!!!!! H A N D L E W I T H C A R E !!!!!!!! | ||
{{##COMMENT}} | ||
{{##COMMENT}} {{##VERSION}} | ||
{{##COMMENT}} Comments: {{##COMMENTTEXT}} | ||
{{##COMMENT}} Datetime: {{##DATE1}}, {{##DATE2}} | ||
{{##COMMENT}} Computer: {{##COMPUTER1}}, {{##COMPUTER2}} | ||
{{##COMMENT}} Username: {{##USER1}}, {{##USER1}} | ||
|
||
[$$TABLEHEAD$$] | ||
{{##LINEFEED}} | ||
{{##COMMENT}} -------------------------------------------------------------------------------------------------------------- | ||
{{##COMMENT}} {{##PARTCOUNTTEXT}} {{##PARTCOUNT}} | ||
{{##COMMENT}} -------------------------------------------------------------------------------------------------------------- | ||
|
||
[$$USABLE MACROS$$] | ||
{{##COMMENT}} | ||
{{##BLANK}} | ||
{{##LINEFEED}} | ||
{{##LEFTBRACKET}} | ||
{{##TITLE}} | ||
{{##SCRIPTFILE}} | ||
{{##SCRIPTNAME}} | ||
{{##OUTDIR}} | ||
{{##OUTFILE}} | ||
{{##VERSION}} | ||
{{##DATE1}} | ||
{{##DATE2}} | ||
{{##COMPUTER1}} | ||
{{##COMPUTER2}} | ||
{{##USER1}} | ||
{{##USER1}} | ||
{{##COMMENTTEXT}} | ||
{{##PARTCOUNTTEXT}} | ||
{{##PARTCOUNT}} | ||
{{##DELETERECURSE}} | ||
{{##DELETEREADONLY}} | ||
|
||
{{##ROOTKEYNAME}} | ||
{{##WHOLEKEYNAME}} | ||
{{##KEYNAME}} | ||
{{##VALNAME}} | ||
{{##VALTYPE}} | ||
{{##DIRNAME}} | ||
{{##DIROFFILENAME}} | ||
{{##FILENAME}} | ||
{{##BLANK}} | ||
{{##LINEFEED}} | ||
{{##BS}} | ||
{{##DEL}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,105 @@ | ||
[$$SETUP$$] | ||
Extension=.htm | ||
NoVals=0 | ||
Logger=1 | ||
|
||
[$$HEADER$$] | ||
|
||
[$$DATALINES$$] | ||
RegDefaultVal="" | ||
MultiSzStringDivider={break} | ||
;MultiSzStringDivider={break} | ||
;Root: "HKLM"; Subkey: "SOFTWARE\Microsoft\Windows\Windows Error Reporting\TermReason\19476"; ValueName: "Terminator"; Components: registry ; Flags: deletevalue | ||
;Root: "HKCU"; Subkey: "SOFTWARE\Seifert\WinDirStat\Settings"; Flags: deletekey; Components: registry | ||
;Root: "HKU"; Subkey: "S-1-5-19\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\Wpad\34-31-c4-66-c2-38"; ValueType: binary; ValueName: "WpadDecisionTime"; Components: registry ; ValueData: | ||
VALADDNormal= Root: "{{##ROOTKEYNAME}}"; Subkey: "{{##KEYNAME}}"; ValueName: "{{##VALNAME}}"; ValueType: {{##VALTYPE}}; Components: registry; ValueData:{{##BLANK}} | ||
VALADDShort= Root: "{{##ROOTKEYNAME}}"; Subkey: "{{##KEYNAME}}"; ValueName: "{{##VALNAME}}"; ValueType: {{##VALTYPE}}; Components: registry; ValueData:{{##BLANK}} | ||
VALCHANGENormal= Root: "{{##ROOTKEYNAME}}"; Subkey: "{{##KEYNAME}}"; ValueName: "{{##VALNAME}}"; ValueType: {{##VALTYPE}}; Components: registry; ValueData:{{##BLANK}} | ||
VALCHANGEShort= Root: "{{##ROOTKEYNAME}}"; Subkey: "{{##KEYNAME}}"; ValueName: "{{##VALNAME}}"; ValueType: {{##VALTYPE}}; Components: registry; ValueData:{{##BLANK}} | ||
VALDELETENormal= Root: "{{##ROOTKEYNAME}}"; Subkey: "{{##KEYNAME}}"; ValueName: "{{##VALNAME}}"; Components: registry ; Flags: deletevalue | ||
VALDELETEShort = Root: "{{##ROOTKEYNAME}}"; Subkey: "{{##KEYNAME}}"; ValueName: "{{##VALNAME}}"; Components: registry ; Flags: deletevalue | ||
KEYADDNormal= Root: "{{##ROOTKEYNAME}}"; Subkey: "{{##KEYNAME}}"; Components: registry | ||
KEYDELETENormal= Root: "{{##ROOTKEYNAME}}"; Subkey: "{{##KEYNAME}}"; Flags: deletekey; Components: registry | ||
;Type: files; Name: "{{##FILENAME}}"; Components: filesystem | ||
FILEADDNormal= Source: "{{##FILENAME}}"; DestDir:"{{##DIROFFILENAME}}"; Components: filesystem | ||
FILEDELETENormal= Type: files; Name: "{{##FILENAME}}"; Components: filesystem | ||
FILEDELETEDeleteReadOnly=Type: files; Name: "{{##FILENAME}}"; Components: filesystem | ||
DIRADDNormal= Name: "{{##DIRNAME}}"; Components: filesystem | ||
DIRDELETENormal= Type: dirifempty; Name: "{{##DIRNAME}}"; Components: filesystem | ||
DIRDELETEDeleteRecurse= Type: filesandordirs; Name: "{{##DIRNAME}}"; Components: filesystem | ||
|
||
[$$REGPREFS$$] | ||
NameREG_SZ=string | ||
NameREG_EXPAND_SZ=expandsz | ||
NameREG_MULTI_SZ=multisz | ||
NameREG_DWORD_LITTLE_ENDIAN=dword | ||
NameREG_DWORD_BIG_ENDIAN=dword | ||
NameREG_QWORD_LITTLE_ENDIAN=qword | ||
NameREG_NONE=none | ||
NameREG_BINARY=binary | ||
PrefixREG_SZ= | ||
PrefixREG_EXPAND_SZ= | ||
PrefixREG_MULTI_SZ= | ||
PrefixREG_DWORD_LITTLE_ENDIAN= | ||
PrefixREG_DWORD_BIG_ENDIAN= | ||
PrefixREG_QWORD_LITTLE_ENDIAN= | ||
PrefixREG_NONE= | ||
PrefixREG_BINARY= | ||
|
||
[$$TABLEHEAD$$] | ||
<tr class="c"> | ||
{{##BLANK}} <td><a name="c"></a> </td> | ||
</tr> | ||
<tr class="h"> | ||
{{##BLANK}} <td>{{##PARTCOUNTTEXT}} {{##PARTCOUNT}}</td> | ||
</tr> | ||
|
||
[$$STARTREGSECTION$$] | ||
<table id="hive" cellspacing="1"> | ||
|
||
[$$STARTFILEADDPART$$] | ||
|
||
[$$STARTDIRADDPART$$] | ||
|
||
[$$STARTFILEDELPART$$] | ||
|
||
[$$STARTDIRDELPART$$] | ||
|
||
[$$FOOTER$$] | ||
{{##BLANK}} </BODY> | ||
</html> | ||
|
||
[$$CSS$$] | ||
body, table { background-color: #FFFFFF; font-family: Tahoma; font-size: 10pt } | ||
div.m { background-color: #FFFFE0; width: 100%; text-align: center; border: 1px solid #808080; padding-top: 1px; padding-bottom: 3px } | ||
h2 { font-size: 11pt; text-align: center } | ||
td { vertical-align: top; padding-left: 8px; padding-right: 8px; padding-top: 2px; padding-bottom: 2px } | ||
#info { border: 1px solid #E0E0E0; background-color: #F8F8F4 } | ||
#info tr.a { background-color: #FFFFFF } | ||
#info tr.b { background-color: #F0F0EC } | ||
#info tr.h { background-color: #DBE8F0; text-align: center; font-weight: bold } | ||
#info td.a { text-align: left } | ||
#info td.b { text-align: right } | ||
#info td.c { text-align: justify } | ||
#info td.h { text-align: center } | ||
#info span.i { font-style: italic; color: #800000 } | ||
#hive { width: 100% } | ||
#hive tr.a { background-color: #FFFFFF } | ||
#hive tr.b { background-color: #F4F4F4 } | ||
#hive tr.c { background-color: #FFFFFF; font-family: Courier New } | ||
#hive tr.d { background-color: #F0F4F4; font-family: Courier New } | ||
#hive tr.e { background-color: #DAEAD5; font-weight: bold } | ||
#hive tr.f { background-color: #FFFFFF; font-family: Courier New } | ||
#hive tr.g { background-color: #F4F8F4; font-family: Courier New } | ||
#hive tr.h { background-color: #DBE8F0; font-weight: bold } | ||
#hive span.r { color: #FF0000 } | ||
#file { width: 100% } | ||
#file tr.a { background-color: #FFFFFF } | ||
#file tr.b { background-color: #F4F8FC } | ||
#file tr.h { background-color: #DBE8F0; font-weight: bold } | ||
.hash td { font-family: Courier New; font-size: 9pt; padding-top: 0px; padding-bottom: 0px; text-align:right } | ||
a { color: #0000FF } | ||
a:active { color: #FF0000 } | ||
a:hover { color: #FF0000 } | ||
a:link { color: #0000FF } | ||
a:visited { color: #800080 } |
Oops, something went wrong.