now hide the notepad.exe replace work in a winbatch
This commit is contained in:
@@ -32,7 +32,7 @@ if (($INST_SystemType$ = "x86 System") and ($INST_architecture$ = "system specif
|
||||
Winbatch_uninstall_32
|
||||
sub_check_exitcode
|
||||
endif
|
||||
Dosbatch_uninstall_32
|
||||
Winbatch_uninstall_32
|
||||
|
||||
comment "Delete files"
|
||||
Files_uninstall_32 /32Bit
|
||||
@@ -62,7 +62,7 @@ if ($INST_SystemType$ = "64 Bit System") and (($INST_architecture$ = "system spe
|
||||
Winbatch_uninstall_64
|
||||
sub_check_exitcode
|
||||
endif
|
||||
Dosbatch_uninstall_64
|
||||
Winbatch_uninstall_64
|
||||
|
||||
comment "Delete files"
|
||||
Files_uninstall_64 /64Bit
|
||||
@@ -82,7 +82,7 @@ ExitWindows /Reboot
|
||||
[Winbatch_uninstall_32]
|
||||
"$UninstallProgram32$" /S
|
||||
|
||||
[Dosbatch_uninstall_32]
|
||||
[Winbatch_uninstall_32]
|
||||
pendmove %Systemroot%\notepad.exe.orig %Systemroot%\notepad.exe
|
||||
pendmove %Systemroot%\system32\notepad.exe.orig %Systemroot%\system32\notepad.exe
|
||||
|
||||
@@ -97,7 +97,7 @@ delete -sf "$InstallDir32$\"
|
||||
[Winbatch_uninstall_64]
|
||||
"$UninstallProgram64$" /S
|
||||
|
||||
[Dosbatch_uninstall_64]
|
||||
[Winbatch_uninstall_64]
|
||||
pendmove %Systemroot%\notepad.exe.orig %Systemroot%\notepad.exe
|
||||
pendmove %Systemroot%\system32\notepad.exe.orig %Systemroot%\system32\notepad.exe
|
||||
pendmove %Systemroot%\SysWOW64\notepad.exe.orig %Systemroot%\SysWOW64\notepad.exe
|
||||
|
||||
Reference in New Issue
Block a user