What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » WLM Plus! Help » Activate a script

Activate a script
Author: Message:
CookieRevised
Elite Member
*****

Avatar

Posts: 15517
Reputation: 173
– / Male / Flag
Joined: Jul 2003
Status: Away
RE: Activate a script
quote:
Originally posted by fanatick
When i desactive it , the script stay "enable" in windows registry
You need to refresh the registry window.

quote:
Originally posted by fanatick
and iin C:\Program Files\Messenger Plus! Live\Scripts , when i create a new folder and dezipp the .plsc , and after i go to windows registry the folder dosnt exist
Of course not. Simply unzipping the PLSC is not the same as installing the script via Messenger Plus!. Messenger Plus! does a lot more things than simply making a new script folder. eg: creating a registry entry for that script.

quote:
Originally posted by fanatick
and when i create a new Dword, and i wrote 1 , it don't work.
Because Plus! does not check the registry all the time. It only checks the registry for those flags when it is instructed to do so. eg: when you reload/restart a script, when you enable/disable it from the Preferences Window, when Messenger starts. So, simply changing the registry value does not tell Plus! to read that new registry value.

--------------

fanatick,

It seems you're making things a bit complicated and/or that you don't quite understand what the regisrty is or does.

Plus! already installs and activates the script when you double click on the PLSC (the script pack) file. So what is the exact reason why you need to make you own installer, apparently without the basic knowledge (eg: workings of the registry) you need to know to program one?

Remember that installing a script, in the PROPER way, is not simply unzipping the PLSC file and setting some registry flag. It also involves stopping and disabling the existing script, registering DLLs if there are any defined in the ScriptInfo.xml file. And it also involves instructing Messenger Plus! to reload the scripts.

All this could be done by some program you make yourself, sure, but all this is already done by MPTOOLS.EXE anyways. So why would you want to make another program which does the exact same thing?

PS: If you don't want to double click and want to automate the install process a bit, than simply use this command line:
    MPTools.exe /ImportScript="path/filename of the script package"
This is the exact command line which is executed in Windows when you double click a PLSC script package.

This post was edited on 07-28-2009 at 05:00 PM by CookieRevised.
.-= A 'frrrrrrrituurrr' for Wacky =-.
07-28-2009 04:14 PM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Activate a script - by fanatick on 07-27-2009 at 03:14 PM
RE: Activate a script - by blessedguy on 07-27-2009 at 04:12 PM
RE: Activate a script - by fanatick on 07-27-2009 at 05:26 PM
RE: Activate a script - by ShawnZ on 07-27-2009 at 05:31 PM
RE: Activate a script - by matty on 07-27-2009 at 05:32 PM
RE: RE: Activate a script - by fanatick on 07-27-2009 at 05:38 PM
RE: Activate a script - by blessedguy on 07-27-2009 at 06:10 PM
RE: Activate a script - by fanatick on 07-27-2009 at 06:30 PM
RE: Activate a script - by djdannyp on 07-27-2009 at 06:45 PM
RE: Activate a script - by fanatick on 07-27-2009 at 06:46 PM
RE: Activate a script - by matty on 07-27-2009 at 07:11 PM
RE: Activate a script - by fanatick on 07-27-2009 at 07:20 PM
RE: Activate a script - by djdannyp on 07-27-2009 at 07:50 PM
RE: Activate a script - by CookieRevised on 07-28-2009 at 04:14 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