Jump to content


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.
Photo

placing property values in web.config file


2 replies to this topic

asrinivas

asrinivas
  • Full Members
  • 36 posts

Posted 27 April 2007 - 14:53

Hi all,

I want to place the value property in add key=.. value=...
When i use writeline function it is replacing the whole line..... but i want to write it in value="..." .and how can i use the PROPERTY VALUES Enered at the time of installation...?

Please give solution very soon..it is very urgent task to me....

Regards,
A.Srinivas

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 30 April 2007 - 16:58

In InstallScript or DLL you caould call MsiGetProperty to get the property value. Then you could read the existing line, modify as required, and write it back to the file. (assuming that your file is NOT in standard INI format)

asrinivas

asrinivas
  • Full Members
  • 36 posts

Posted 30 April 2007 - 17:37

QUOTE (Stefan Krueger @ 2007-04-30 16:58)
In InstallScript or DLL you caould call MsiGetProperty to get the property value. Then you could read the existing line, modify as required, and write it back to the file. (assuming that your file is NOT in standard INI format)

Hi,

Thank you very much for Your support.I got it.

Regards,
A.Srinivas