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

Registry Entries


1 reply to this topic

sreenathk

sreenathk
  • Full Members
  • 11 posts

Posted 18 June 2007 - 07:27

Hi All,

I have a requirement where in I have to add registry Entries depending on Single User Mode or Multiple User Mode.

For Single User Mode - They Following Path should have registry entries with some String and DWord data.

HKEY_CLASSES_ROOT
HKEY_CURRENT_USER
HKEY_LOCAL_MACHINE

For Multi user mode

HKEY_CLASSES_ROOT
HKEY_USERS
HKEY_LOCAL_MACHINE


Question is : How do I set these registry entries using Basic MSI Project.
I tried writing InstallScript code but the "RegDBSetKeyValueEx" Doesnt seem to work to add String Values, DWord Values or Binary data. InstallShield doesnt display the method at all.


Can anyone help me on this please?

I am using InstallShield 10.0

Thanks,
Sreenath



Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 18 June 2007 - 18:00

You could create duplicate entries in the Registry table with different root keys, and associate them with mutually exclusive components.