I am new to programming and Visual Basic .NET so please bear with me.
I am given a project to write an utility which will enable you to install, uninstall, start, and stop an existing application as a service. I figured out how to stop and start the service but cannot figure out how to code to install/uninstall. I know you can do it manually using InstallUtil in DOS (which I was able to do) but I would like to be able to click a button that will install/uninstall the app as a service in VB.NET.
Is there a way to do this?
I am given a project to write an utility which will enable you to install, uninstall, start, and stop an existing application as a service. I figured out how to stop and start the service but cannot figure out how to code to install/uninstall. I know you can do it manually using InstallUtil in DOS (which I was able to do) but I would like to be able to click a button that will install/uninstall the app as a service in VB.NET.
Is there a way to do this?