Workaround fpr Windows 8

This commit is contained in:
Peter Singer 2013-04-29 16:36:45 +02:00
parent c5496f1efe
commit 003fc6dc06
3 changed files with 12 additions and 5 deletions

View File

@ -52,7 +52,10 @@
</cloud>
<fmd>
<enabled>0</enabled>
</fmd>
</fmd>
<nfm>
<enable>1</enable>
</nfm>
</agent>
<ui>
<notification>

View File

@ -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$"

View File

@ -34,7 +34,7 @@ DL_WINST_NAME[2]=Install64Exe
ICON_DL_INDEX=0
WINST_NAME[0]="uVersion"
WINST_VALUE[0]="3.0.8"
WINST_VALUE[0]="3.1.0"
WINST_NAME[1]="MsiId32"
WINST_VALUE[1]="{A6EE99EA-420C-4FA6-8A7C-FDB60D278855}"