From 003fc6dc0665e6066b0e7aca8c17975d8d5c963f Mon Sep 17 00:00:00 2001 From: Peter Singer Date: Mon, 29 Apr 2013 16:36:45 +0200 Subject: [PATCH] Workaround fpr Windows 8 --- CLIENT_DATA/local.xml | 5 ++++- CLIENT_DATA/setup3264.ins | 10 +++++++--- builder-product.cfg | 2 +- 3 files changed, 12 insertions(+), 5 deletions(-) diff --git a/CLIENT_DATA/local.xml b/CLIENT_DATA/local.xml index 35589fa..a3bb4e0 100644 --- a/CLIENT_DATA/local.xml +++ b/CLIENT_DATA/local.xml @@ -52,7 +52,10 @@ 0 - + + + 1 + diff --git a/CLIENT_DATA/setup3264.ins b/CLIENT_DATA/setup3264.ins index 95c09c3..baa90b7 100644 --- a/CLIENT_DATA/setup3264.ins +++ b/CLIENT_DATA/setup3264.ins @@ -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$" diff --git a/builder-product.cfg b/builder-product.cfg index c41c380..9bb279a 100644 --- a/builder-product.cfg +++ b/builder-product.cfg @@ -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}"