Hi,
I Want to write the value of a property( like Username and organization entered at the time of installation ) in to a file at some location.
like in the file the format is
key1=
key2= i want to concat the values after =
please tell me how to concat in to a file with the properties
Please it is very urgent task to me
Regards,
A.Srinivas
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.
placing text in to a file
Started by
asrinivas
, Apr 24 2007 11:48
4 replies to this topic
Posted 24 April 2007 - 14:07
This is exactly what INI files are for. Try to add an INI file entry to your setup and just fill in the properties as follows:
key1=[Username]
key2=[Organization]
key1=[Username]
key2=[Organization]
Regards
-Stein Åsmul
-Stein Åsmul
Posted 24 April 2007 - 18:06
You can add INI entires in the "INI File Changes" view of the IDE. As "Data Value" you can enter properties in square brackets, even multiple if you need to concatenate them.
Stefan Krüger
InstallSite.org twitter facebook
Posted 25 April 2007 - 05:15
QUOTE (Stefan Krueger @ 2007-04-24 18:06) |
You can add INI entires in the "INI File Changes" view of the IDE. As "Data Value" you can enter properties in square brackets, even multiple if you need to concatenate them. |
Thanks a lot for Your support.
But i want to enter the values into a web.config file. can we have a chance to enter the values it to web.config file?
Regards,
A.Srinivas
Posted 25 April 2007 - 10:12
If the web.config file is formatted as an INI file you should still be able to use the INI file feature of MSI. If it is formatted as XML you need to write your own custom action to do the update.
Regards
-Stein Åsmul
-Stein Åsmul