Problem mit AVG Free: Antivirenprogramm schlägt an
Verfasst: 14 Sep 2011, 08:27
Hallo,
in einem anderen Thread las ich, dass Ihr von UIB gern wissen wollt, wenn es zu einem Problem mit einem Antivirenprogramm kommt.
Gestern hatte ich folgendes Problem: Ich habe auf einem Rechner das AVG, ebenfalls per Opsi installiert. Danach Microsoft Office - hier gab es keine Probleme. Als ich aber VLC installierte per Opsi kam nach der Installation eine Warnmeldung von AVG (free). AVG erkannte eine _AU.Exe im Temp-Verzeichnis, die bei der Installation von VLC benötigt wurde. Es wurde auch die uninstall.exe beanstandet, was besonders fatal ist, wenn das Programm mal deinstalliert werden muss.
Ich habe AVG nun die Opsi-Dienste als Ausnahmen eingetragen, wenn aber das Installationsprogramm von VLC selbst ein Programm aufruft, kann es hier scheinbar zu Problemen kommen.
Hat jemand Erfahrung damit und ist das Problem vielleicht schon bekannt?
Thomas_H
---
Zum eventuellen Nachvollziehen hier die Installationsdateien:
setup.ins:
uninstall.ins:
delsub.ins:
in einem anderen Thread las ich, dass Ihr von UIB gern wissen wollt, wenn es zu einem Problem mit einem Antivirenprogramm kommt.
Gestern hatte ich folgendes Problem: Ich habe auf einem Rechner das AVG, ebenfalls per Opsi installiert. Danach Microsoft Office - hier gab es keine Probleme. Als ich aber VLC installierte per Opsi kam nach der Installation eine Warnmeldung von AVG (free). AVG erkannte eine _AU.Exe im Temp-Verzeichnis, die bei der Installation von VLC benötigt wurde. Es wurde auch die uninstall.exe beanstandet, was besonders fatal ist, wenn das Programm mal deinstalliert werden muss.
Ich habe AVG nun die Opsi-Dienste als Ausnahmen eingetragen, wenn aber das Installationsprogramm von VLC selbst ein Programm aufruft, kann es hier scheinbar zu Problemen kommen.
Hat jemand Erfahrung damit und ist das Problem vielleicht schon bekannt?
Thomas_H
---
Zum eventuellen Nachvollziehen hier die Installationsdateien:
setup.ins:
Code: Alles auswählen
[Initial]
LogLevel=9
; Log Errors in Logfile but don't abort:
ExitOnError=false
; Show syntax errors in the script:
ScriptErrorMessages=on
; Dont trace step by step through the script:
TraceMode=off
; let started programs run in front of the winst window
StayOnTop=false
[Actions]
requiredWinstVersion >= "4.10.8.6"
DefVar $UninstallProgram$
DefVar $LogDir$
DefVar $ProductId$
DefVar $MinimumSpace$
DefVar $InstallDir$
DefVar $ExitCode$
DefVar $LicenseRequired$
DefVar $LicenseKey$
DefVar $LicensePool$
DefVar $INST_SystemType$
DefVar $INST_architecture$
DefVar $Version$
DefVar $Inst_Cmd$
DefVar $Inst_Prg$
DefVar $Uninst_Prg$
DefVar $Uninst_Cmd$
Set $INST_SystemType$ = GetSystemType
set $INST_architecture$ = GetProductProperty("install_architecture","system specific")
Set $LogDir$ = "%SystemDrive%\tmp"
; ----------------------------------------------------------------
; - Please edit the following values -
; ----------------------------------------------------------------
;$ProductId$ should be the name of the product in opsi
; therefore please: only lower letters, no umlauts,
; no white space use '-' as a seperator
Set $ProductId$ = "vlc"
;Kein Punkt in der Versionsnummer! 4.30 ist 430, 4.40 ist 440 oder 4.51 ist 451!
Set $Version$ = "1.1.11"
Set $MinimumSpace$ = "25 MB"
; the path were we find the product after the installation
Set $InstallDir$ = "%ProgramFiles32Dir%\VideoLAN"
Set $LicenseRequired$ = "false"
Set $LicensePool$ = "p_" + $ProductId$
Set $Inst_Prg$ = "vlc-"+$Version$+"-win32.exe"
Set $Inst_Cmd$ = ' /L=1031 /S'
Set $Uninst_Prg$ = "\vlc\uninstall.exe"
Set $Uninst_Cmd$ = ' /S'
; ----------------------------------------------------------------
if not(HasMinimumSpace ("%SystemDrive%", $MinimumSpace$))
LogError "Not enough space on %SystemDrive%, " + $MinimumSpace$ + " on drive %SystemDrive% needed for " + $ProductId
isFatalError
; Stop process and set installation status to failed
else
comment "Show product picture"
ShowBitmap "%ScriptPath%\" + $ProductId$ + ".png" $ProductId$
if FileExists("%ScriptPath%\delsub.ins")
comment "Start uninstall sub section"
Sub "%ScriptPath%\delsub.ins"
endif
if $LicenseRequired$ = "true"
comment "Licensing required, reserve license and get license key"
Sub_get_licensekey
endif
comment "installing"
if (($INST_SystemType$ = "x86 System") and ($INST_architecture$ = "system specific")) or ($INST_architecture$ = "bot
Message "Installing " + $ProductId$
comment "Start setup program"
Winbatch_install
Sub_check_exitcode
endif
if ($INST_SystemType$ = "64 Bit System") and (($INST_architecture$ = "system specific") or ($INST_architecture$ = "b
Message "Installing " + $ProductId$
comment "Start setup program"
Winbatch_install
Sub_check_exitcode
endif
endif
[Winbatch_install]
; Choose one of the following examples as basis for your installation
; You can use $LicenseKey$ var to pass a license key to the installer
;
; === Nullsoft Scriptable Install System ================================================================
"%ScriptPath%\$Inst_Prg$"+$Inst_Cmd$
[Sub_check_exitcode]
comment "Test for installation success via exit code"
set $ExitCode$ = getLastExitCode
; informations to exit codes see
; http://msdn.microsoft.com/en-us/library/aa372835(VS.85).aspx
; http://msdn.microsoft.com/en-us/library/aa368542.aspx
if ($ExitCode$ = "0")
comment "Looks good: setup program gives exitcode zero"
else
comment "Setup program gives a exitcode unequal zero: " + $ExitCode$
if ($ExitCode$ = "1605")
comment "ERROR_UNKNOWN_PRODUCT 1605 This action is only valid for products that are currently installed.
comment "Uninstall of a not installed product failed - no problem"
else
if ($ExitCode$ = "1641")
comment "looks good: setup program gives exitcode 1641"
comment "ERROR_SUCCESS_REBOOT_INITIATED 1641 The installer has initiated a restart. This message
else
if ($ExitCode$ = "3010")
comment "looks good: setup program gives exitcode 3010"
comment "ERROR_SUCCESS_REBOOT_REQUIRED 3010 A restart is required to complete the instal
else
logError "Fatal: Setup program gives an unknown exitcode unequal zero: " + $ExitCode$
isFatalError
endif
endif
endif
endif
Code: Alles auswählen
[Initial]
LogLevel=9
; Log Errors in Logfile but don't abort:
ExitOnError=false
; Show syntax errors in the script:
ScriptErrorMessages=on
; Dont trace step by step through the script:
TraceMode=off
; let started programs run in front of the winst window
StayOnTop=false
[Actions]
requiredWinstVersion >= "4.10.8.6"
DefVar $UninstallProgram$
DefVar $LogDir$
DefVar $ExitCode$
DefVar $ProductId$
DefVar $InstallDir$
DefVar $LicenseRequired$
DefVar $LicensePool$
DefVar $INST_SystemType$
DefVar $INST_architecture$
DefVar $Uninst_Cmd$
DefVar $Uninst_Prg$
Set $INST_SystemType$ = GetSystemType
set $INST_architecture$ = GetProductProperty("install_architecture","system specific")
Set $LogDir$ = "%SystemDrive%\tmp"
; ----------------------------------------------------------------
; - Please edit the following values -
; ----------------------------------------------------------------
Set $ProductId$ = "vlc"
Set $InstallDir$ = "%ProgramFiles32Dir%\VideoLAN\vlc\"
Set $LicenseRequired$ = "false"
Set $LicensePool$ = "p_" + $ProductId$
Set $Uninst_Cmd$ = ' /S'
; ----------------------------------------------------------------
comment "Show product picture"
ShowBitmap "%ScriptPath%\" + $ProductId$ + ".png" $ProductId$
Message "Uninstalling " + $ProductId$ + " ..."
if FileExists("%ScriptPath%\delsub.ins")
comment "Start uninstall sub section"
Sub "%ScriptPath%\delsub.ins"
endif
if $LicenseRequired$ = "true"
comment "Licensing required, free license used"
Sub_free_license
endif
[Sub_free_license]
comment "License management is enabled and will be used"
comment "Trying to free license used for the product"
DefVar $result$
Set $result$ = FreeLicense($LicensePool$)
; If there is an assignment of a license pool to the product, it is possible to use
; Set $result$ = FreeLicense("", $ProductId$)
;
; If there is an assignment of a license pool to a windows software id, it is possible to use
; DefVar $WindowsSoftwareId$
; $WindowsSoftwareId$ = "..."
; set $result$ = FreeLicense("", "", $WindowsSoftwareId$)
Code: Alles auswählen
Set $UninstallProgram$ = $InstallDir$ + $Uninst_Prg$
if (($INST_SystemType$ = "x86 System") and ($INST_architecture$ = "system specific")) or ($INST_architecture$ = "both") or (
Message "Uninstalling " + $ProductId$
if FileExists($UninstallProgram$)
comment "Uninstall program found, starting uninstall"
Winbatch_uninstall
comment "Removing "+$InstallDir$
Files_uninstall
sub_check_exitcode
endif
Mendif
if ($INST_SystemType$ = "64 Bit System") and (($INST_architecture$ = "system specific") or ($INST_architecture$ = "both") or
Message "Uninstalling " + $ProductId$
if FileExists($UninstallProgram$)
comment "Uninstall program found, starting uninstall"
Winbatch_uninstall
comment "Removing "+$InstallDir$
Files_uninstall
sub_check_exitcode
endif
endif
[Winbatch_uninstall]
"$UninstallProgram$"+$Uninst_Cmd$
[Files_uninstall]
; Example for recursively deleting the installation directory (don't forget the trailing backslash):
;
delete -sf "$InstallDir$\"
[Sub_check_exitcode]
comment "Test for installation success via exit code"
set $ExitCode$ = getLastExitCode
; informations to exit codes see
; http://msdn.microsoft.com/en-us/library/aa372835(VS.85).aspx
; http://msdn.microsoft.com/en-us/library/aa368542.aspx
if ($ExitCode$ = "0")
comment "Looks good: setup program gives exitcode zero"
else
comment "Setup program gives a exitcode unequal zero: " + $ExitCode$
if ($ExitCode$ = "1605")
comment "ERROR_UNKNOWN_PRODUCT 1605 This action is only valid for products that are currently installed.
comment "Uninstall of a not installed product failed - no problem"
else
if ($ExitCode$ = "1641")
comment "looks good: setup program gives exitcode 1641"
comment "ERROR_SUCCESS_REBOOT_INITIATED 1641 The installer has initiated a restart. This message
else
if ($ExitCode$ = "3010")
comment "looks good: setup program gives exitcode 3010"
comment "ERROR_SUCCESS_REBOOT_REQUIRED 3010 A restart is required to complete the instal
else
logError "Fatal: Setup program gives an unknown exitcode unequal zero: " + $ExitCode$
isFatalError
endif
endif
endif
endif