Need .VBS to copy info from .INI then write to a .XML file
Hey All,
I’m trying to automate the IBM/Louts Sametime 7.5.1 install so once the app/MSI is installed the user only needs to enter in the password.
I need to copy the full name of the lotus notes user from the Notes.ini and insert it into two separate .xml files. Then I need to just insert or copy over the name of the Sametime server into the same .xml files. Some of the entries in the .xml files are host="Sametime1.acme.com" and name="Sametime1.acme.com:speed racer" Does anyone have a .VBS that will do this?
thanks,
Gage
I’m trying to automate the IBM/Louts Sametime 7.5.1 install so once the app/MSI is installed the user only needs to enter in the password.
I need to copy the full name of the lotus notes user from the Notes.ini and insert it into two separate .xml files. Then I need to just insert or copy over the name of the Sametime server into the same .xml files. Some of the entries in the .xml files are host="Sametime1.acme.com" and name="Sametime1.acme.com:speed racer" Does anyone have a .VBS that will do this?
thanks,
Gage
0 Comments
[ + ] Show comments
Answers (3)
Please log in to answer
Posted by:
anonymous_9363
16 years ago
This post belongs in the 'Scripting' forum. One of the moderators will probably move it.
I have an XML WMC which I've used FOR ONE PURPOSE. I emphasise that because I've not used it in about 3 years and therefore can't vouch for the efficacy of the other functions, nor did I spend a great deal of time working out how to use them.. It should be a trivial task to turn the WSC into a class which you can incorporate into the script.
I've deposited a copy http://senduit.com/b805af here. The link expires in 2 days.
Alternatively, if your environment allows 3rd-party ActiveX controls, you could do worse than this http://www.chilkatsoft.com/xml-activex.asp
Edit:
I meant to add that you can get an INI class for your script (and some other nice classes) here http://www.jsware.net/jsware/scripts.php3
I have an XML WMC which I've used FOR ONE PURPOSE. I emphasise that because I've not used it in about 3 years and therefore can't vouch for the efficacy of the other functions, nor did I spend a great deal of time working out how to use them.. It should be a trivial task to turn the WSC into a class which you can incorporate into the script.
I've deposited a copy http://senduit.com/b805af here. The link expires in 2 days.
Alternatively, if your environment allows 3rd-party ActiveX controls, you could do worse than this http://www.chilkatsoft.com/xml-activex.asp
Edit:
I meant to add that you can get an INI class for your script (and some other nice classes) here http://www.jsware.net/jsware/scripts.php3
Posted by:
rajker
16 years ago
Posted by:
anonymous_9363
16 years ago
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.