What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [suggestion] Remove all files before import option in ScriptInfo.xml

[suggestion] Remove all files before import option in ScriptInfo.xml
Author: Message:
L. Coyote
Senior Member
****

Avatar
Captain Obvious

Posts: 981
Reputation: 49
38 / Male / Flag
Joined: Aug 2004
Status: Away
RE: [suggestion] Remove all files before import option in ScriptInfo.xml
I suggested this months ago, and since I don't think it got a good response (I can't really remember), I made my own extra script for that.

Basically, I remove all files and sub-folders that are not in two lists (one for files another for folders), plus I use a "lock" file for Polygamy compatibility.

The problem with the XML file, which I can now see, is that you have to think of all version upgrades. If you changed files in version 1.0, then in version 2.0 and finally settled for another file in version 3.0, you have to make sure the commands in the XML file don't mess different upgrades.

Instead of setting a "RemoveFile", I think the idea is to have a flag tag like "RemoveNonListed" (or some similar name, to express that the engine must remove all files that are not listed in the package being imported). That way, you don't have to write down each filename, you won't miss one and you won't misspell one.

Hack, hack, hack!
Finally became a Systems Analyst! :spam:

04-08-2008 06:46 PM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
[suggestion] Remove all files before import option in ScriptInfo.xml - by roflmao456 on 04-07-2008 at 03:34 AM
RE: [suggestion] Remove all files before import option in ScriptInfo.xml - by -dt- on 04-07-2008 at 04:20 AM
RE: [suggestion] Remove all files before import option in ScriptInfo.xml - by markee on 04-07-2008 at 11:18 AM
RE: [suggestion] Remove all files before import option in ScriptInfo.xml - by -dt- on 04-07-2008 at 11:29 AM
RE: [suggestion] Remove all files before import option in ScriptInfo.xml - by markee on 04-07-2008 at 11:35 AM
RE: [suggestion] Remove all files before import option in ScriptInfo.xml - by roflmao456 on 04-08-2008 at 02:11 AM
RE: [suggestion] Remove all files before import option in ScriptInfo.xml - by Spunky on 04-08-2008 at 11:30 AM
RE: [suggestion] Remove all files before import option in ScriptInfo.xml - by roflmao456 on 04-08-2008 at 12:44 PM
RE: [suggestion] Remove all files before import option in ScriptInfo.xml - by mynetx on 04-08-2008 at 03:46 PM
RE: [suggestion] Remove all files before import option in ScriptInfo.xml - by L. Coyote on 04-08-2008 at 06:46 PM
RE: RE: [suggestion] Remove all files before import option in ScriptInfo.xml - by CookieRevised on 07-26-2010 at 08:17 AM
RE: [suggestion] Remove all files before import option in ScriptInfo.xml - by mynetx on 04-08-2008 at 10:15 PM
RE: [suggestion] Remove all files before import option in ScriptInfo.xml - by felipEx on 04-08-2008 at 10:49 PM
RE: [suggestion] Remove all files before import option in ScriptInfo.xml - by markee on 04-09-2008 at 09:03 AM
RE: [suggestion] Remove all files before import option in ScriptInfo.xml - by Matti on 04-09-2008 at 01:31 PM
RE: [suggestion] Remove all files before import option in ScriptInfo.xml - by roflmao456 on 07-23-2010 at 07:00 PM
RE: [suggestion] Remove all files before import option in ScriptInfo.xml - by whiz on 07-23-2010 at 07:32 PM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On