Disable Overwrite for windows 8

This commit is contained in:
Mario Fetka 2014-01-09 10:29:09 +01:00
parent e818c67963
commit 11da9dbef6

View File

@ -138,9 +138,9 @@ taskkill /IM iptray.exe
net start immunetprotect
[Winbatch_install_32]
reg.exe Add "HKCU\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers" /v "$Install32Exe$" /d "WINXPSP3"
#reg.exe Add "HKCU\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers" /v "$Install32Exe$" /d "WINXPSP3"
"$Install32Exe$" /S
reg.exe Delete "HKCU\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers" /v "$Install32Exe$" /f
#reg.exe Delete "HKCU\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers" /v "$Install32Exe$" /f
[Files_install_32]
; copy the ini file to the InstallDir
@ -151,9 +151,9 @@ copy "$IniCfgFile$" "$InstallDir32$"
; copy -s "%ScriptPath%\files\*.*" "$InstallDir32$"
[Winbatch_install_64]
reg.exe Add "HKCU\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers" /v "$Install64Exe$" /d "WINXPSP3"
#reg.exe Add "HKCU\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers" /v "$Install64Exe$" /d "WINXPSP3"
"$Install64Exe$" /S
reg.exe Delete "HKCU\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers" /v "$Install64Exe$" /f
#reg.exe Delete "HKCU\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers" /v "$Install64Exe$" /f
[Files_install_64]
; copy the ini file to the InstallDir