Checking for Quicktime - bug in script
Hi,
I've used the check for Quicktime version scriptf from the archive, and it appeared to work well. However during my testing I discovered that even though i'd uninstalled QT, the script still thought it was installed and the correct version.
After a little digging in the registry it would appear that the QT uninstaller does not remove the registry keys but sets a new item called 'installstate' to 00 00 00 00 (REG_BINARY)
so in the script doing
ReadRegDWord $R0 HKLM "SOFTWARE\Apple Computer, Inc.\QuickTime" Version
Will return a version for QT even though it no longer exists. I've coded up a workaround by following the acrobat version check script using
ReadRegStr $R5 HKLM "Software\Microsoft\Windows\CurrentVersion\App Paths\QuickTimePlayer.exe" ""
As this registry entry is deleted by the QT uninstaller. So if it doesn't exist i'm assuming QT is not installed.
I have two questions.
1. Is there a way to read the installstate entry binary? That might be a more elegant solution.
2. Is it safe to use the second check? I mean is there a better registry key to check for? Will QT always be given an entry in 'App paths'?
cheers