O.P. Rename a script upon updating it
Current situation:
the user has installed a script in its, let's say, "SomeName", v1.0.
That script has an auto-update function downloading a plsc from a web-stored xml update file.
For some reason, the script author wants to change the script name in the new version. Normally, the new script would import and run next to the old, because the name is different, so no overwrite would take place.
Question:
How to implement a replacement of the old script that had a different name than the new?
Surely, the new script could check for the old's existence and set it to registry>Enabled=0, wait for the next messenger reload and then kill all its data. But, is there a "clean", yet automatic, solution? (Firefox's extensions use guids... as idea only.)
This post was edited on 01-04-2008 at 06:55 PM by mynetx.
|