Workaround fpr Windows 8
This commit is contained in:
@@ -52,7 +52,10 @@
|
||||
</cloud>
|
||||
<fmd>
|
||||
<enabled>0</enabled>
|
||||
</fmd>
|
||||
</fmd>
|
||||
<nfm>
|
||||
<enable>1</enable>
|
||||
</nfm>
|
||||
</agent>
|
||||
<ui>
|
||||
<notification>
|
||||
|
||||
@@ -153,7 +153,7 @@ Set $MinimumSpace$ = "100 MB"
|
||||
Set $InstallDir32$ = "%ProgramFiles32Dir%\Immunet"
|
||||
Set $InstallDir64$ = "%ProgramFiles64Dir%\Immunet"
|
||||
Set $IniCfgFile$ = "%ScriptPath%\opsi-" + $ProductId$ + ".ini"
|
||||
Set $LicenseRequired$ = "true"
|
||||
Set $LicenseRequired$ = "false"
|
||||
Set $LicensePool$ = "p_" + $ProductId$
|
||||
; ----------------------------------------------------------------
|
||||
|
||||
@@ -390,7 +390,7 @@ net start immunetprotect
|
||||
|
||||
[Dosbatch_config_agent_license_key_32]
|
||||
copy "$InstallDir32$\local.xml" "$InstallDir32$\local.xml.old"
|
||||
xml ed -O -u "/config/agent/license/key" -v $LicenseKey$ "$InstallDir32$\local.xml.old" > "$InstallDir32$\local.xml"
|
||||
; xml ed -O -u "/config/agent/license/key" -v $LicenseKey$ "$InstallDir32$\local.xml.old" > "$InstallDir32$\local.xml"
|
||||
|
||||
[Dosbatch_agent_scansettings_clamav_devInit_32]
|
||||
copy "$InstallDir32$\local.xml" "$InstallDir32$\local.xml.old"
|
||||
@@ -481,7 +481,7 @@ xml ed -O -u "/config/ui/notification/cloud" -v $ui_notification_cloud$ "$Instal
|
||||
|
||||
[Dosbatch_config_agent_license_key_64]
|
||||
copy "$InstallDir64$\local.xml" "$InstallDir64$\local.xml.old"
|
||||
xml ed -O -u "/config/agent/license/key" -v $LicenseKey$ "$InstallDir64$\local.xml.old" > "$InstallDir64$\local.xml"
|
||||
; xml ed -O -u "/config/agent/license/key" -v $LicenseKey$ "$InstallDir64$\local.xml.old" > "$InstallDir64$\local.xml"
|
||||
|
||||
[Dosbatch_agent_scansettings_clamav_devInit_64]
|
||||
copy "$InstallDir64$\local.xml" "$InstallDir64$\local.xml.old"
|
||||
@@ -568,14 +568,18 @@ copy "$InstallDir64$\local.xml" "$InstallDir64$\local.xml.old"
|
||||
xml ed -O -u "/config/ui/notification/cloud" -v $ui_notification_cloud$ "$InstallDir64$\local.xml.old" > "$InstallDir64$\local.xml"
|
||||
|
||||
[Winbatch_install_32]
|
||||
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
|
||||
|
||||
[Files_install_32]
|
||||
copy "$IniCfgFile$" "$InstallDir32$"
|
||||
copy -s "%ScriptPath%\*.xml" "$InstallDir32$"
|
||||
|
||||
[Winbatch_install_64]
|
||||
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
|
||||
|
||||
[Files_install_64]
|
||||
copy "$IniCfgFile$" "$InstallDir64$"
|
||||
|
||||
Reference in New Issue
Block a user