Spice Posted July 24, 2006 Posted July 24, 2006 (edited) Hello All Has anybody found a way to detect the dreaded lack of SP2 on Windows? I have a runtime application which I'm obliged to distribute with warning messages about the erratic behaviour when SP2 is absent from their system. If Filemaker could detect the presence of SP2, a startup script could be included to warn users of the problem. The runtime simply refusing to run would be preferable to it running with errors! My last nightmare on a Windows SP1 machine was when runtime suddenly decided that the keyboard was AZERTY making it impossible to input data! Shouldn't this function be automatically included by Filemaker when it generates runtimes? The fact the Filemaker installer refuses to run when PS2 is absent leads me to think that the solution might be in an installer program. Any ideas? Thanks. Edited July 24, 2006 by Guest Typos...
StooJ Posted July 24, 2006 Posted July 24, 2006 (edited) Not a very elegant solution, but you could use something like AutoIt to test this. A simple script compiled as an executable that calls your Installation program only if Service Pack 2 is installed If @OSVersion = "WIN_XP" & @OSServicePack = "Service Pack 2" Then RunWait(@ScriptDir & "AssetsClientSetup.exe") Else MsgBox(0,"SP2 Not Detected","This program requires Service Pack 2, which can be downloaded from www.microsoft.com") EndIf I use an AutoIt executable (eg. Setup.exe) to call the actual install files that are buried in the Assets file (reduces chance of end users executing them directly). Then I can test for all sorts of things and have different installers running accordingly (eg. ClientSetup.exe or ServerSetup.exe) Sorry it's not a purely Filemaker Solution, but AutoIt is an answer to my AppleScript-less Windows prayers :) Edited July 24, 2006 by Guest
Recommended Posts
This topic is 6695 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now