



exeThis guide will walk you through how to install BarTender 2022 for the first time. Run the New-Service cmdlet with a service name and your project's output as arguments: New-Service -Name "YourServiceName" -BinaryPathName. If that's the case, use the command sc delete to remove the entry for the service from the registry.įrom the Start menu, select the Windows PowerShell directory, then select Windows PowerShell. exeĪfter the executable for a service is deleted, the service might still be present in the registry. Run InstallUtil.exe from the command prompt with your project's output as a parameter: installutil /u. NET Framework 4 or 4.5 and later, the default path is C:\Windows\Microsoft.NET\Framework64\v9\InstallUtil.exe. NET Framework 4 or 4.5 and later, if your Windows installation directory is C:\Windows, the default path is C:\Windows\Microsoft.NET\Framework\v9\InstallUtil.exe.

NET Framework in %WINDIR%\Microsoft.NET\Framework\. Otherwise, you can add it to the path, or use the fully qualified path to invoke it. If you're using the Developer Command Prompt for Visual Studio, InstallUtil.exe is already on the system path. Run InstallUtil.exe from the command prompt with your project's executable as a parameter: installutil. The Developer Command Prompt for Visual Studio appears.Īccess the directory where your project's compiled executable file is located. Install using InstallUtil.exe utilityįrom the Start menu, select the Visual Studio directory, then select Developer Command Prompt for VS. You can use Server Explorer to verify that you've installed or uninstalled your service.
