mr Anders i monitor NSIS program with Process Monitor...
Results:
1) I test this codes:
ReadRegDWORD $R1 HKLM "SOFTWARE\Sheed\AntiVirus\Update" "lastlastupdate"
DetailPrint "WithoutSetRegView64.1==> $R1" ;Work on x32 x64
ReadRegDWORD $R2 HKLM "SOFTWARE\Wow6432Node\Sheed\AntiVirus\Update" "lastlastupdate"
DetailPrint "WithoutSetRegView64.2==> $R2" ;Work on x64
SetRegView 64
ReadRegDWORD $R3 HKLM "SOFTWARE\Sheed\AntiVirus\Update" "lastlastupdate"
DetailPrint "WithoutSetRegView64.3==> $R3" ;Work on x32
SetRegView 64
ReadRegDWORD $R4 HKLM "SOFTWARE\Wow6432Node\Sheed\AntiVirus\Update" "lastlastupdate"
DetailPrint "WithoutSetRegView64.4==> $R4" ;Work on x64
monitor NSIS program with Process Monitor (When Cant Read Registry NSIS program):
monitor NSIS program with Process Monitor (When Can Read Registry NSIS program):
2) I test this codes:
ReadRegDWORD $R5 HKLM "SOFTWARE\Sheed\AntiVirus\Update" "lastlastupdate"
DetailPrint "WithoutSetRegView32.1==> $R5" ;Work on x32 x64
ReadRegDWORD $R6 HKLM "SOFTWARE\Wow6432Node\Sheed\AntiVirus\Update" "lastlastupdate"
DetailPrint "WithoutSetRegView32.2==> $R6" ;Work on x64
SetRegView 32
ReadRegDWORD $R7 HKLM "SOFTWARE\Sheed\AntiVirus\Update" "lastlastupdate"
DetailPrint "WithoutSetRegView32.3==> $R7" ;Work on x32 x64
SetRegView 32
ReadRegDWORD $R8 HKLM "SOFTWARE\Wow6432Node\Sheed\AntiVirus\Update" "lastlastupdate"
DetailPrint "WithoutSetRegView32.4==> $R8" ;Work on x64
monitor NSIS program with Process Monitor (When Cant Read Registry NSIS program):
monitor NSIS program with Process Monitor (When Can Read Registry NSIS program):
Mr Anders if is possible
download and install AV on windows x64 and end restart computer for start seevices and test that...
codes work:
on x32Bit: At all time
on x64Bit: work some times (At a time when AV updating database) (i think when AV use from registry values i can read whit nsis)
but in all time in x32 x64 bit i can read with CMD command line