Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do I remove an old version Start Menu item during in
Message
General information
Forum:
Visual FoxPro
Category:
Installation, Setup and Configuration
Miscellaneous
Thread ID:
00522162
Message ID:
00522169
Views:
9
>I am installing an upgraded VFP program with a new name, but the old Start Menu entry remains with the odl name, so now I have two. How do I programmatically remove an old entry from the start menu when I install a new program with a different name and/or icon?

The way I handle this is in the actual app. When the users install an upgrade to the program, 1 of the files I install is called cleanup.app. In my main PRG, I check for the existence of this file. If it exists, I issue:

DO ("CLEANUP.APP") && in quotes and parens so ProgMgr does not pick it up

After it runs, I erase the file.
Mark McCasland
Midlothian, TX USA
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform