Shoutbox

Problem Packing - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: Messenger Plus! for Live Messenger (/forumdisplay.php?fid=4)
+---- Forum: Scripting (/forumdisplay.php?fid=39)
+----- Thread: Problem Packing (/showthread.php?tid=95596)

Problem Packing by matoja on 10-12-2010 at 05:27 PM

Hi i have problem packaging my program. It is not finished but program work normal and all xml are  Validate. I folowed all instructions on http://mpscripts.net/docs/script_packaging.php
search on forum for solution but nothing found . When i try to activate .plsc it sad : The file you tried to load does not appear to be valid Messanger Plus! script pack.

:S

I use 7zip , do .zip , rename to plsc. and this come.

ScriptInfo.xml


code:
<ScriptInfo>
    <Information>
        <Name>Testsc MSN</Name>
        <Description>under con</Description>
        <AboutUrl>no url</AboutUrl>
        <Version>1.0 beta</Version>
    </Information>
</ScriptInfo>

RE: Problem Packing by matty on 10-12-2010 at 05:52 PM

Make sure all the XML files are saved as Unicode. I assume 7zip would create a proper zip archive. You can also try using the built in Zip Wizard in Windows.

Here is an example of a ScriptInfo.xml file

XML code:
<?xml version="1.0" encoding="UTF-16"?>
<ScriptInfo xmlns="urn:msgplus:scripts" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:msgplus:scripts PlusScripts.xsd">
    <Information>
        <Name>Screenshot Sender</Name>
        <Description>Allows you to easily send screenshots to your contacts.</Description>
        <Author>matty, Mattias &amp; Dempsey</Author>
        <AboutUrl>http://beta.screenshotsender.com</AboutUrl>
        <Version>5</Version>
        <UpdateId>SS5</UpdateId>
        <Build>0062</Build>
    </Information>
</ScriptInfo>


Also make sure that the files are in the root of the Zip archive not in a sub folder.

You can also post the PLSC here and we can have a look at it.
RE: Problem Packing by whiz on 10-14-2010 at 06:37 PM

Also (although this shouldn't affect it being valid), if there isn't an about URL, you should just leave that tag out, as opposed to writing "no URL", which might still cause it to make a link in the import window...


RE: Problem Packing by foaly on 10-14-2010 at 07:55 PM

I always 7zip to pack scripts, so that shouldn't be the problem...


RE: Problem Packing by CookieRevised on 10-15-2010 at 02:06 AM

PS: Remember to save your files as Unicode (little endian) text files, not as simple Ascii textfiles.


RE: Problem Packing by matty on 10-15-2010 at 11:14 AM

quote:
Originally posted by matty
Make sure all the XML files are saved as Unicode.
quote:
Originally posted by CookieRevised
PS: Remember to save your files as Unicode (little endian) text files, not as simple Ascii textfiles.
Beat you too it... long ago :P
RE: Problem Packing by matoja on 10-30-2010 at 10:30 PM

Thank you very much for your help, I used altovaXML I had a couple of files which were not
UCS-2 Little Endian, when I opened in notepad + + I have seen it :)