Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Commercial app, future updates downloaded from web
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00319864
Message ID:
00319989
Vues:
11
>>For our applications here we have developed a web install for the whole Naval Base. Once installed the exe checks for any updates when it starts (updates like a new EXE build).
>
>Hi Bret,
>thanks for description... this is very similar to what we had in mind. How do you determine a new exe build?

I build some cab files on our network and the networked exe will check the users exe date with the date of the cab file build. See below:

* Lets check to see to the user's exe is older than the CAB file that they install
* from, if it is then the users application needs to be reinstalled
LOCAL lcSetupDirectory, lcLocalExe, aMyLocalCopy, aNetCopy
DIMENSION aMyLocalCopy(1)
DIMENSION aNetCopy(1)
=ADIR(aMyLocalCopy,'.\CODE40.EXE')
* This is the location on the network where we keep the Net setup files
=ADIR(aTheNetCopy,'\\402FS1\DATA\VFAPPS\VFPCODE40SETUP\NETSETUP\SETUP1.CAB')
IF DTOS(aTheNetCopy[1,3])+aTheNetCopy[1,4] > DTOS(aMyLocalCopy[1,3])+ aMyLocalCopy[1,4]
* Net copy is more recent
* We will set flag then the main program can handle informing the user
.lAppNeedsReinstalled = .T.
ENDIF

Hope this is of some value...
Bret Hobbs

"We'd have been called juvenile delinquents only our neighborhood couldn't afford a sociologist." Bob Hope
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform