Go Back   PackageDeploy Application Packaging Forums > Package Development > Application Packaging > Platformsdk MSI

Reply
 
LinkBack Thread Tools Display Modes
Old 11-10-2010, 09:01 PM   #1 (permalink)
Andrew Deakins
Guest
 
Posts: n/a
Default Re: Windows Service not showing in list after using msi Installation

Just to extend on Phils answer if you are wondering where things are,

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 Thursday, August 30, 2007 4:53 AM samz1uk200 wrote:


> Hi,
>
> 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



>> 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]
>>
>> <samz1uk2004@yahoo.co.uk> wrote in message
>> news:1188464014.656984.244580@r34g2000hsd.googlegr oups.com...



>> Submitted via EggHeadCafe
>> ASP.NET 4.0 browser capabilities
>> http://www.eggheadcafe.com/tutorials...abilities.aspx

  Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 11:04 PM.


vBulletin, Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
2007 - 2012 PackageDeploy.com