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

CreateRegistrySet problems


3 replies to this topic

dalkema

dalkema
  • Full Members
  • 9 posts

Posted 03 December 2002 - 16:26

In OnMaintUIAfter, I am calling CreateRegistrySet("MyRegistry").  The return value is 0 (success), but the entries are not being added to the registry.  Has anyone else seen this?  It is occurring on 95A, 95B, 95C, and Win2k boxes.  Is there a workaround other than calling RegDBCreateKeyEx() for every key?

Thanks,
David

Taco Bell

Taco Bell

    IS6 Expert

  • Moderators
  • 1,281 posts

Posted 03 December 2002 - 18:44

I only have one registry set, so I simply call CreateRegistrySet("") under IS 6.31 to have all of them added.  Never tried explicitly adding one, but I know the help file says that possible.

I'd suggest trying "" as the parameter and seeing if that at least adds something.


user posted image

Xitch13

Xitch13
  • Members
  • 134 posts

Posted 03 December 2002 - 22:44

Something that occured to me reading your question:  You state that you make your CreateRegistrySet("MyRegistry") in OnMaintUIAfter().  Did you want to maybe call it it OnFirstUIAfter()?  That way it will be run with your installation, not in maintenance mode.
There is great chaos under heaven, and the situation is excellent. (Mao Tse Tung)

Taco Bell

Taco Bell

    IS6 Expert

  • Moderators
  • 1,281 posts

Posted 03 December 2002 - 23:18

Ah, yes good point Xitch13.  I read that this morning and overlooked that fact.
user posted image