NewsArchive
02-02-2010, 02:40 AM
Hi Friedrich,
I've found an suspect behaviour. Look at this code snippet:
===================
Set Variable %DLLFILE% to "%TMPDIR%\IsupBtrL.dll"
Text File: Insert Line "0" to "%LOGFILE%" -- Lade %DLLFILE%
Set Variable %ISUPBTRDLLHANDLE% to FUNCTION:Load DLL("%DLLFILE%")
Text File: Insert Line "0" to "%LOGFILE%" -- Fertig. Handle =
%_SB_ERRORCODE%)
Set Variable %AIDAREGISTRY% to ""
Set Variable %AIDAREGISTRY% to FUNCTION:Get Registry SubKey("0") from
"HKEY_LOCAL_MACHINE\SOFTWARE\Aida Orga"
Set Variable %ISCLIENT% to FUNCTION:Get Registry Key Value("isClient")
from "HKEY_LOCAL_MACHINE\SOFTWARE\Aida Orga"
If %AIDAREGISTRY% Greater Than "0" And %ISCLIENT% Does Not Equal (Ignore
Case) "Yes" Then
Text File: Insert Line "0" to "%LOGFILE%" -- Teile einer
AIDA-Installation gefunden. Weise Nutzer darauf hin und beende Setup.
AIDAREGISTRY = %AIDAREGISTRY%; isClient = %ISCLIENT%; ErrorCode =
%_SB_ERRORCODE%
Display Message Box "Auf diesem Rechner scheint bereits eine
AIDA-Insta..." -- "AIDA bereits vorhanden"
Exit Installation(0)
End
===================
And now look at this logfile snippet:
===================
Lade
C:\Users\Orga1\AppData\Local\Temp\c7356070-ae7c-11de-4823-002be5f90029\IsupBtrL.dll
Fertig. Handle = 71892992)
Teile einer AIDA-Installation gefunden. Weise Nutzer darauf hin und
beende Setup. AIDAREGISTRY = 71892992; isClient = No; ErrorCode = 0
===================
Th registry Key "HKLM\Software\Aida Orga" does not exist. So I expect,
that AIDAREGISTRY is "0", but it contains the PREVIOUS value of the
%_SB_ERRORCODE% variable. This doesn't happen every time on every
machine, but at the moment, I have a virtual machine, which produces the
error constantly.
Here are some informations about the machine:
Starte Client-Installation AIDA Client; PVSW V10.0 (2010-02-01T11:53:12)
aus Ordner "\\192.168.20.223\aida6\Client".
Datum = 20091001 Uhrzeit = 125248
Commandline:
Computer name: WIN-6DBM3GV7HAG
Machine GUID: a6e63dad-2771-428f-9523-514fbe6162b9
Java-Version: 1.6
Speicherausbau: 7166 MByte
Speicherauslastung: 3583 MByte (50 Prozent)
Prozessor: Intel(R) Core(TM)2 Quad CPU @ 2.40GHz
Taktfrequenz: 2400 MHz
registrierte Firma: Microsoft
registrierter Nutzer: Microsoft
Nutzerkontext: Administrator
VMWare-Flag: 0
MS Virtual PC-Flag: 0
Windows-Version: 6.1 SP 0
ISWOW64 = 1
Do you have an idea, what is goiung wrong?
Thanks in advance.
Markus
I've found an suspect behaviour. Look at this code snippet:
===================
Set Variable %DLLFILE% to "%TMPDIR%\IsupBtrL.dll"
Text File: Insert Line "0" to "%LOGFILE%" -- Lade %DLLFILE%
Set Variable %ISUPBTRDLLHANDLE% to FUNCTION:Load DLL("%DLLFILE%")
Text File: Insert Line "0" to "%LOGFILE%" -- Fertig. Handle =
%_SB_ERRORCODE%)
Set Variable %AIDAREGISTRY% to ""
Set Variable %AIDAREGISTRY% to FUNCTION:Get Registry SubKey("0") from
"HKEY_LOCAL_MACHINE\SOFTWARE\Aida Orga"
Set Variable %ISCLIENT% to FUNCTION:Get Registry Key Value("isClient")
from "HKEY_LOCAL_MACHINE\SOFTWARE\Aida Orga"
If %AIDAREGISTRY% Greater Than "0" And %ISCLIENT% Does Not Equal (Ignore
Case) "Yes" Then
Text File: Insert Line "0" to "%LOGFILE%" -- Teile einer
AIDA-Installation gefunden. Weise Nutzer darauf hin und beende Setup.
AIDAREGISTRY = %AIDAREGISTRY%; isClient = %ISCLIENT%; ErrorCode =
%_SB_ERRORCODE%
Display Message Box "Auf diesem Rechner scheint bereits eine
AIDA-Insta..." -- "AIDA bereits vorhanden"
Exit Installation(0)
End
===================
And now look at this logfile snippet:
===================
Lade
C:\Users\Orga1\AppData\Local\Temp\c7356070-ae7c-11de-4823-002be5f90029\IsupBtrL.dll
Fertig. Handle = 71892992)
Teile einer AIDA-Installation gefunden. Weise Nutzer darauf hin und
beende Setup. AIDAREGISTRY = 71892992; isClient = No; ErrorCode = 0
===================
Th registry Key "HKLM\Software\Aida Orga" does not exist. So I expect,
that AIDAREGISTRY is "0", but it contains the PREVIOUS value of the
%_SB_ERRORCODE% variable. This doesn't happen every time on every
machine, but at the moment, I have a virtual machine, which produces the
error constantly.
Here are some informations about the machine:
Starte Client-Installation AIDA Client; PVSW V10.0 (2010-02-01T11:53:12)
aus Ordner "\\192.168.20.223\aida6\Client".
Datum = 20091001 Uhrzeit = 125248
Commandline:
Computer name: WIN-6DBM3GV7HAG
Machine GUID: a6e63dad-2771-428f-9523-514fbe6162b9
Java-Version: 1.6
Speicherausbau: 7166 MByte
Speicherauslastung: 3583 MByte (50 Prozent)
Prozessor: Intel(R) Core(TM)2 Quad CPU @ 2.40GHz
Taktfrequenz: 2400 MHz
registrierte Firma: Microsoft
registrierter Nutzer: Microsoft
Nutzerkontext: Administrator
VMWare-Flag: 0
MS Virtual PC-Flag: 0
Windows-Version: 6.1 SP 0
ISWOW64 = 1
Do you have an idea, what is goiung wrong?
Thanks in advance.
Markus