andrewbb
3/9/2007 6:28:00 PM
A deployment package for a Service application that worked under XP is
failing in Vista with error 2869.
The error occurs when the Installer component runs custom code to
write a registry entry:
SYSTEM\CurrentControlSet\Services\MyServiceName\Group
Code in the Installer component that causes the problem:
-------------------------------------------------
Protected Overrides Sub OnAfterInstall(ByVal savedState As
System.Collections.IDictionary)
MyBase.OnAfterInstall(savedState)
Using key As RegistryKey =
Registry.LocalMachine.OpenSubKey("SYSTEM\CurrentControlSet\Services\"
+ Me.ServiceInstaller.ServiceName, True)
key.SetValue("Group", "UIGroup")
End Using
End Sub
-----------------------------------------------
So how can I get that entry installed under Vista?