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

Setting Registry through CustomAction


2 replies to this topic

ramu

ramu
  • Full Members
  • 15 posts

Posted 16 February 2007 - 07:59

Hi all

I am using IS12 Professional.. Basic MSI (NO kind of Scripts)

Can i be able to write some registry values through CA (i dont want VB script or Jscript CAs)

Or from the dialog can i be able to write Registry values.(I believe from events or subscriptions or what ever)

The CA/Dialog need to write one registry value in HKLM

Is it possible ??

Thanks
Ramu

Glytzhkof

Glytzhkof
  • Moderators
  • 1,447 posts

Posted 16 February 2007 - 11:39

The easiest way to write registry values is by adding the entries to a windows installer component. You can make the value dynamic by setting the registry value equal to a windows installer Property. For example to write the machine name to a registry value set the registry component entry to have the value [ComputerName].
Regards
-Stein Åsmul

ramu

ramu
  • Full Members
  • 15 posts

Posted 19 February 2007 - 16:38

thanks