WINAMP.COM | Forums : Powered by vBulletin version 2.3.9 WINAMP.COM | Forums > Developer Center > NSIS Discussion > XML plugin
Pages (3): « 1 2 [3]   Last Thread   Next Thread
Author
Thread Post New Thread    Post A Reply
ChocJunkie
Senior Member

Registered: Oct 2009
From: Germany

I have a problem in understanding the xml::unload function. What exactly does it do?
Does it unload the plugin or the loaded xml file?
If it unloads the plugin, how can I unload the loaded file?

Thanks.

CJ

Quick Link | Report this post to a moderator | IP: Logged

ChocJunkie is offline Old Post 01-07-2010 10:13 AM
Click Here to See the Profile for ChocJunkie Click here to Send ChocJunkie a Private Message Find more posts by ChocJunkie Add ChocJunkie to your buddy list Edit/Delete Message Reply w/Quote
pengyou
Senior Member

Registered: Mar 2003
From:

From the XML plugin documentation

quote:
${xml::Unload}
Unload plugin

Quick Link | Report this post to a moderator | IP: Logged

pengyou is offline Old Post 01-07-2010 03:27 PM
Click Here to See the Profile for pengyou Click here to Send pengyou a Private Message Find more posts by pengyou Add pengyou to your buddy list Edit/Delete Message Reply w/Quote
ChocJunkie
Senior Member

Registered: Oct 2009
From: Germany

quote:
If it unloads the plugin, how can I unload the loaded file?

Quick Link | Report this post to a moderator | IP: Logged

ChocJunkie is offline Old Post 01-07-2010 04:08 PM
Click Here to See the Profile for ChocJunkie Click here to Send ChocJunkie a Private Message Find more posts by ChocJunkie Add ChocJunkie to your buddy list Edit/Delete Message Reply w/Quote
pengyou
Senior Member

Registered: Mar 2003
From:

Why do you want to "unload" the file?

If you have used the XML plugin to modify the file then use the plugin's "SaveFile" command.

Quick Link | Report this post to a moderator | IP: Logged

pengyou is offline Old Post 01-07-2010 04:20 PM
Click Here to See the Profile for pengyou Click here to Send pengyou a Private Message Find more posts by pengyou Add pengyou to your buddy list Edit/Delete Message Reply w/Quote
ChocJunkie
Senior Member

Registered: Oct 2009
From: Germany

I just want to read the file, I don't need it to be in memory any more, if I've got what I was looking for. So I would like to erase/unload the file from the memory.

Quick Link | Report this post to a moderator | IP: Logged

ChocJunkie is offline Old Post 01-08-2010 08:05 AM
Click Here to See the Profile for ChocJunkie Click here to Send ChocJunkie a Private Message Find more posts by ChocJunkie Add ChocJunkie to your buddy list Edit/Delete Message Reply w/Quote
xbarns
Senior Member

Registered: Aug 2007
From: Frankfurt, Germany

Hi all,

i am trying to use the plugin with the Unicode Version of NSIS but it won't even open the file correctly.

Am i just stupid or does it not work correctly with Unicode NSIS? (2.45)

I use the following script to test....

code:
Name TestSetupSmall OutFile TestSetupSmall.exe ;Request application privileges for Windows Vista RequestExecutionLevel highest !include "XML.nsh" ShowInstDetails Show Page Instfiles Function .onInit InitPluginsDir FunctionEnd Section TEST SetOutPath $TEMP File test.xml ${xml::LoadFile} "$TEMP\test.xml" $0 DetailPrint "-$0-" SectionEnd


The provided example does not work either.

Any help would be much appreciated.

Thanks.

Quick Link | Report this post to a moderator | IP: Logged

xbarns is offline Old Post 01-25-2010 02:23 PM
Click Here to See the Profile for xbarns Click here to Send xbarns a Private Message Find more posts by xbarns Add xbarns to your buddy list Edit/Delete Message Reply w/Quote
All times are GMT. The time now is 09:36 PM. Post New Thread    Post A Reply
Pages (3): « 1 2 [3]   Last Thread   Next Thread
WINAMP.COM | Forums : Powered by vBulletin version 2.3.9 WINAMP.COM | Forums > Developer Center > NSIS Discussion > XML plugin
Show Printable Version
 | 
Email this Page
 | 
Subscribe to this Thread

Forum Jump:
 

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is off
vB code is ON
Smilies are ON
[IMG] code is ON