Disable Overwrite for windows 8

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

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