Go Back   Winamp Forums > Developer Center > NSIS Discussion

Reply
Thread Tools Search this Thread Display Modes
Old 31st May 2004, 02:27   #1
mattdisaster
Junior Member
 
Join Date: May 2004
Location: branford, ct
Posts: 10
Send a message via AIM to mattdisaster
Gathering Information and Writing it to a file

Hey all-
Well again Ive run into a few snags setting up my installer. I'm still working with a multi language .net section of it, but thats not what is causing me trouble. Once the installer is finished installing all the files for the application, I need it to ask a few questions. I very easily made these and spread them over 2 screens. The desired effect would be the installer asks the paths to a persons music directory, and various program exes, then takes that info and places it into an xml file (installed and formated along with all the other files). I've searched and searched and I dont really know what to do. I know there are most likely a bunch of ways to do it, but my question is what would be the best, most clean/efficiant way to achieve this? I've been playing around with replacing lines of txt and have been able to do it, but I havent been able to write info from a field on any of the screens. Plus the format of the xml file needs to have the infomation collected from a specific field to be placed between its label similiar to: <audioplayerexe>link</audioplayerexe> I'll include the .xml file as well as my script file for anyone to take a look at and hopefully point me in the right direction. Thanks in advance.

-matt

edit: Here's the link to the script for the interested:
http://sfu.astounded.net/xlobbyskin/xlobby2.nsi
Attached Files
File Type: xml xlobby.xml (737 Bytes, 45 views)
mattdisaster is offline   Reply With Quote
Old 31st May 2004, 10:05   #2
Joost Verburg
NSIS MUI Dev
 
Join Date: Nov 2001
Posts: 3,717
If you know all the values in the XML file I think the easist way is to use the NSIS file commands to write everything to the file. Then you won't need an XML parser.
Joost Verburg is offline   Reply With Quote
Reply
Go Back   Winamp Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump