I have an issue with a Windows Service Installer after creating a
service in VB.net.
When I have created the installer and attempt to run it, it runs
through the steps and appears to install correctly.
Upon browsing the Windows Service list the service isn't there.
I can see where the .msi has put the files, but it doesn't seem to
register the service at all.
If I use "InstallUtil" on the command line the service installs
properly, and appears in the Windows Service list.
If I set the Service to use the User Account and run from InstallUtil,
it asks for a Username/Password for the account as expected and
installs correctly (and appears in the Windows Service list).
If I create the .msi, it doesn't ever ask for a User Account during
installation and then claims that the installation was successful -
once again not appearing in the Windows Service list.
I have tried moving the service to another machine and creating an
installer and running --- the same issue arises.
Any one else had this issue, or any suggestions as to solving this
one?
Kind regards,
Samir
<samz1...@yahoo.co.uk> wrote in message
news:1188464014.6...@r34g2000hsd.googlegroups.com...
in the setup project, right click on the setup project, view -> custom actions
you will see install, uninstall, commit and rollback
select the install, right click and add custom action, double click the application folder and you should see primary output from your service, select this
do the same for all 4 actions and rebuild, it should then work.
hope that helps.
Andrew Deakins.
>> On Friday, August 31, 2007 4:06 PM Phil Wilson wrote:
>> First the obvious question - it looks like you're using a Visual Studio
>> setup project, and they install services with custom action calls to
>> installer classes, so do you have custom action calls to ServiceInstaller
>> classes?
>> --
>> Phil Wilson
>> [MVP Windows Installer]
>>
>> <samz1...@yahoo.co.uk> wrote in message
>> news:1188464014.6...@r34g2000hsd.googlegroups.com...
>> Submitted via EggHeadCafe
>> ASP.NET 4.0 browser capabilities
>> http://www.eggheadcafe.com/tutorials/aspnet/668c15e2-9fe5-4a7a-94ac-001af0bf4d1b/aspnet-40-browser-capabilities.aspx