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

Need some advice creating a registry key value


2 replies to this topic

Holger_G

Holger_G
  • Full Members
  • 155 posts

Posted 12 December 2007 - 11:54

Hi.

Basic MSI project:
Here is what I need to achieve:
-Install a .txt file
-Read a value (line) during setup from that installed .txt file and store it into a property
-Write that property value to the registry

How can I do that?

thanks for help
-nick


Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 12 December 2007 - 15:11

Installing files and writing the registry both happen during the install transaction. Yu can't set properties in between. So you would have to set the property before the transaction starts.

Holger_G

Holger_G
  • Full Members
  • 155 posts

Posted 12 December 2007 - 16:09

Thanks Stefan.