correct name of winbatch section

This commit is contained in:
Mario Fetka
2013-03-21 05:02:52 +01:00
parent e1bc6579eb
commit 386da32757
2 changed files with 12 additions and 8 deletions

View File

@@ -75,7 +75,8 @@ else
ChangeDirectory "%SCRIPTPATH%"
Winbatch_install_32
Sub_check_exitcode
Winbatch_install_32
comment "Replace Notepad with npp"
Winbatch_replace_32
comment "Copy files"
Files_install_32 /32Bit
comment "Patch Registry"
@@ -90,7 +91,8 @@ else
ChangeDirectory "%SCRIPTPATH%"
Winbatch_install_64
Sub_check_exitcode
Winbatch_install_64
comment "Replace Notepad with npp"
Winbatch_replace_64
comment "Copy files"
Files_install_64 /64Bit
comment "Patch Registry"
@@ -105,7 +107,7 @@ endif
[Winbatch_install_32]
"$InstallExe$" /S
[Winbatch_install_32]
[Winbatch_replace_32]
pendmove %Systemroot%\notepad.exe %Systemroot%\notepad.exe.orig
pendmove %Systemroot%\system32\notepad.exe %Systemroot%\system32\notepad.exe.orig
@@ -127,7 +129,7 @@ copy "$IniCfgFile$" "$InstallDir32$"
[Winbatch_install_64]
"$InstallExe$" /S
[Winbatch_install_64]
[Winbatch_replace_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