n = ADIR(laLocal, "MyProg.Exe") && find local copy IF n > 0 n = ADIR(laRemote, lcCSSPath + MAINPROGRAM) && find remote copy to compare * compare name and date/time stamp IF (laLocal[1,3] == laRemote[1,3]) and (laLocal[1,4] == laRemote[1,4]) * they are equal ELSE * different, inform user and update local copy ENDIF ENDIF2) Keep workstation's mapping data in local Config.fpw (requires recompile of local laucher.exe?). Or use Registry (using registry.vcx or sfregistry.vcx or similar). Or an INI. Maybe a local Setup.XML file instead of a setup.INI?
oReg = CREATEOBJECT("SFRegistry") lcDataPath = ADDBS(oReg.GetKey(lcSubkey, lcDataKeyName)) * or lcDataPath = loWshShell.RegRead("HKCU\" + ADDBS(lcSubkey) + lcDataKeyName)SFRegistry has
oReg.IsKey()
while WSH does not have a direct way to query if a key exists (that I can see).