Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How-To Update File In Use - Launcher
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00815995
Message ID:
00816086
Views:
27
Thanks George

I ended up creating a batch file that does the renaming that I put on the update server. Then I modfied the main exe that is updated from the launcher to check version(5) and if it is less than 800, I create a short cut on their desktop to the batch file, put up a messagebox for the user that tells them the program is going to close and they need to click on the new shortcut. The shortcut runs the batch file which deletes the old launcher, renames the new launcher, and then relaunches the program. I hate having a step the user has to perform, but it seems to be the only way right now. I'm still going to play some more and see if I should modify my launcher somehow (I'm thinking about this same problem when I move to VFP9!!).

Kirk

P.S. I think I ended up using some code you put out here for creating a shortcut, thanks again.
Previous
Reply
Map
View

Click here to load this message in the networking platform