This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Processing custom table in custom action........
Started by
mayur_bm
, Dec 28 2006 13:39
3 replies to this topic
Posted 28 December 2006 - 13:39
I have a requirement like: I need to create a custom table called TextInfo and have to replace many variables inside product configuration files with variable values. This has to be done for around 15 files. Table should have Config file Name, file variable to search for and replacement value.
This I done easily, but I am blank implementing it in custom action………………., I meant, how do I read the table and go ahead with value replacement? please somebody give some clue on implementing it…………
Thanks,
Mayur
Posted 29 December 2006 - 05:57
I wouldn't use MSI tables for this, but rather XML files that you read with an XML DOM compatible parser and do all the magic you need to do from within a single custom action.
Regards
-Stein Åsmul
-Stein Åsmul
Posted 29 December 2006 - 09:46
Thank you sir,
iam not well aware of XML DOM compatible parser technology........
i will try to learn it and implement................
in this method: do XMl files has to have information about the files,changes need to be done???
how exactly this can be done...........................
cheers,
Mayur
iam not well aware of XML DOM compatible parser technology........
i will try to learn it and implement................
in this method: do XMl files has to have information about the files,changes need to be done???
how exactly this can be done...........................
cheers,
Mayur
Posted 04 January 2007 - 12:43
A custom table sample is available at http://www.installsi...stBox/index.htm
Stefan Krüger
InstallSite.org twitter facebook