No, im trying to install a windows service. I want to load the service name from a config file. For example:
Dim serializer As New XMLSerializeHelper(Of ServiceConfig)(My.Settings.LocalConfigFile)
Dim svcCfg As New ServiceConfig
svcCfg = serializer.DeserializeFromFile()
Me.ServiceInstaller.DisplayName = svcCfg.DisplayName
Me.ServiceInstaller.ServiceName = svcCfg.DisplayName
If I do this, the installer crasches.