now hide the notepad.exe replace work in a winbatch
This commit is contained in:
@@ -75,7 +75,7 @@ else
|
||||
ChangeDirectory "%SCRIPTPATH%"
|
||||
Winbatch_install_32
|
||||
Sub_check_exitcode
|
||||
Dosbatch_install_32
|
||||
Winbatch_install_32
|
||||
comment "Copy files"
|
||||
Files_install_32 /32Bit
|
||||
comment "Patch Registry"
|
||||
@@ -90,7 +90,7 @@ else
|
||||
ChangeDirectory "%SCRIPTPATH%"
|
||||
Winbatch_install_64
|
||||
Sub_check_exitcode
|
||||
Dosbatch_install_64
|
||||
Winbatch_install_64
|
||||
comment "Copy files"
|
||||
Files_install_64 /64Bit
|
||||
comment "Patch Registry"
|
||||
@@ -105,7 +105,7 @@ endif
|
||||
[Winbatch_install_32]
|
||||
"$InstallExe$" /S
|
||||
|
||||
[Dosbatch_install_32]
|
||||
[Winbatch_install_32]
|
||||
pendmove %Systemroot%\notepad.exe %Systemroot%\notepad.exe.orig
|
||||
pendmove %Systemroot%\system32\notepad.exe %Systemroot%\system32\notepad.exe.orig
|
||||
|
||||
@@ -127,7 +127,7 @@ copy "$IniCfgFile$" "$InstallDir32$"
|
||||
[Winbatch_install_64]
|
||||
"$InstallExe$" /S
|
||||
|
||||
[Dosbatch_install_64]
|
||||
[Winbatch_install_64]
|
||||
pendmove %Systemroot%\notepad.exe %Systemroot%\notepad.exe.orig
|
||||
pendmove %Systemroot%\system32\notepad.exe %Systemroot%\system32\notepad.exe.orig
|
||||
pendmove %Systemroot%\SysWOW64\notepad.exe %Systemroot%\SysWOW64\notepad.exe.orig
|
||||
|
||||
Reference in New Issue
Block a user