InstallUtil | Port of InstallUtil.exe to dotnet core

 by   flamencist C# Version: Current License: MIT

kandi X-RAY | InstallUtil Summary

kandi X-RAY | InstallUtil Summary

InstallUtil is a C# library. InstallUtil has no bugs, it has no vulnerabilities, it has a Permissive License and it has low support. You can download it from GitHub.

InstallUtil (global tool) (version for DotNetCore. Based on Core.System.Configuration.Install (
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              InstallUtil has a low active ecosystem.
              It has 7 star(s) with 2 fork(s). There are 1 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              InstallUtil has no issues reported. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of InstallUtil is current.

            kandi-Quality Quality

              InstallUtil has no bugs reported.

            kandi-Security Security

              InstallUtil has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.

            kandi-License License

              InstallUtil is licensed under the MIT License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              InstallUtil releases are not available. You will need to build from source code and install.
              Installation instructions are not available. Examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of InstallUtil
            Get all kandi verified functions for this library.

            InstallUtil Key Features

            No Key Features are available at this moment for InstallUtil.

            InstallUtil Examples and Code Snippets

            No Code Snippets are available at this moment for InstallUtil.

            Community Discussions

            QUESTION

            Why is WLP installUtility not able obtain assets from feature repo?
            Asked 2021-May-07 at 12:30

            I am running docker build with following Dockerfile, with main idea to use feature repo as described https://github.com/WASdev/ci.docker#installing-liberty-features-from-local-repository-19008:

            ...

            ANSWER

            Answered 2021-May-07 at 12:30

            Using different image (ibmcom/websphere-liberty:some21.0.0.3version) and pointing FEATURE_REPO_URL to place where 21.0.0.3 repo is hosted works.

            So whoever prepared 19.0.0.3 image for me and said which feature repo to use, pointed me to some incompatible artefacts.

            What is interesting, when I combined different versions of image vs repo, configure.sh was nicely verbose (it explained there is incompatibility), but this error CWWKF1259E: Unable to obtain the following assets is really unhelpful.

            Source https://stackoverflow.com/questions/67404506

            QUESTION

            Azure Devops: installing a Windows Service
            Asked 2021-Apr-22 at 05:29

            I am trying to automate installing windows service using Azure DevOps pipeline. I installed Windows Service Manager from here: https://marketplace.visualstudio.com/items?itemName=MDSolutions.WindowsServiceManagerWindowsServiceManager and added it to the pipeline as a task. The windows service should be installed on the virtual machine where the pipeline is, so I provided "LocalSystem" as Run As Username, and nothing for password. The service was not installed with the following error: Service ' (MyServiceName)' cannot be created due to the following error: The account name is invalid or does not exist, or the password is invalid for the account name specified

            I tried also the credentials I use to get to the virtual machine, but it gave the same error. How can this be solved? Added: The service can be installed without problems using installutil.

            ...

            ANSWER

            Answered 2021-Apr-22 at 05:29

            Azure Devops: installing a Windows Service

            You could try to use deployment groups to test, if you are using the private agent:

            As the document state:

            Service Name - The name of the Windows Service installed on the Deployment Group Target.

            You could also refer to the similar thread for some more details.

            Source https://stackoverflow.com/questions/67195865

            QUESTION

            Why can't InstallUtil.exe find the manifest file?
            Asked 2021-Mar-20 at 19:06

            I am trying to create a Windows service following this tutorial:

            https://www.c-sharpcorner.com/UploadFile/8a67c0/create-and-install-windows-service-step-by-step-in-C-Sharp/

            I am using batch code to install the service:

            ...

            ANSWER

            Answered 2021-Mar-20 at 19:06

            I changed the DOTNET path to %SystemRoot%\Microsoft.NET\Framework64\v4.0.30319 and made sure to run as administrator every time. This seemed to do the trick.

            Source https://stackoverflow.com/questions/66629141

            QUESTION

            Jenkinsci/Jenkins helm chart - jenkins container stucks at Beginning extraction from war file
            Asked 2020-Dec-08 at 09:46

            I am trying to deploy jenkins to IBM Cloud Kubernetes Service using persistent volume. Jenkins container stucks at Beginning extraction from war file.

            I have tried without persistence and it is deployed as expected.

            ...

            ANSWER

            Answered 2020-Dec-08 at 09:46

            The solution was installing the IBM Cloud Block Storage plug-in.

            On IBM Cloud Kubernetes Service, I think, Jenkins cannot be installed on file-storage

            Source https://stackoverflow.com/questions/65024634

            QUESTION

            Pod fails to start up after installing Jenkins on Kubernetes
            Asked 2020-Nov-06 at 08:26

            I install Jenkins via Helm charts on my Kubernetes Cluster. I follow the rules described in: https://www.jenkins.io/doc/book/installing/kubernetes/

            When I look at the pods, I get the following error:

            ...

            ANSWER

            Answered 2020-Nov-06 at 08:26

            If you use the default settings from the documentation, ensure that the PVC are correctly set and ensure that all objects are in the same namespace.

            The solution to my problem was:

            • getting everything under the same namespace
            • reverting to standard values
            • when using an ingress resource, set the corresponding path in the helm config (jenkinsUriPrefix: "/yourpath") and not the jenkinsOpts: "--prefix=/yourpath"

            Source https://stackoverflow.com/questions/64664503

            QUESTION

            How can i delete a windows service by the "Path to executable" not the "Service Name"?
            Asked 2020-Aug-13 at 08:39

            I have a windows service installed.

            I have tried to delete by using sc delete or by InstallUtil.exe /u "C:\Dev\myservice.exe"

            But these are command line . I was trying to do it using c# But is there a command i can use to delete it via the "Path to executable" ?

            The reason is i want to write a dll which can be used to do this, as the service name is saved in a config file and the dll wont have any access to the file to get the name , but the path to executable will be the same, or maybe i can delete by just the .exe file ?

            Can this be done ?

            ...

            ANSWER

            Answered 2020-Aug-13 at 08:39

            There are a few complications here

            1. You can't retrieve the service start executable via a C# API
            2. Multiple service instances can be started from a single executable

            But fear not! You can get all that you need (with a bit of effort)

            Step 1 - get the list of services

            Source https://stackoverflow.com/questions/63390934

            QUESTION

            unable to start windows service after installing using msi
            Asked 2020-Jul-14 at 14:15

            I've created a windows service project. In the post build event, I am copying the output to outside one common directory along with one more project. I am generating a MSI using heat task to copy both directories inside MSI. I'm trying to start service after installation.

            Both projects use serilog.configuration to load json file which has logger configuration.

            If I install service with the help of installutil, service is installed successfully and starts afterwards perfectly. but when I try to install using MSI, I get below error and installation never finishes.

            ...

            ANSWER

            Answered 2020-Jul-14 at 13:00

            In your csproj file add:

            Source https://stackoverflow.com/questions/62894654

            QUESTION

            Retrieving exit status of InstallUtil with ERRORLEVEL
            Asked 2020-Jul-01 at 21:42

            UPDATE.

            When writing this question I was assuming wrongly that InstallUtil stores its status in the %ERRORLEVEL% variable rather than the internal value ERRORLEVEL, due to its unexpected behavior. I rephrased the title since it could be misleading. See This answer and my comment below it for more details.

            (As a side note, Microsoft doesn't document the exit status codes, nor does it specify if there is more than one error status.)

            I'm writing installation and uninstallation scripts for a Windows Service. I use InstallUtil provided with the .NET Framework.

            In a SO answer, I noticed this piece of code:

            ...

            ANSWER

            Answered 2020-Jun-30 at 01:07

            Since you've stated that installutil returns -1 if it fails, if errorlevel 1 goto error will never get picked up because if errorlevel 1 means "if %errorlevel% is 1 or higher," and -1 is less than 1.

            if not '%errorlevel%'=='0' works because -1 is not 0.

            Source https://stackoverflow.com/questions/62648723

            QUESTION

            CreateEventSource doesn't create event log entry and windows service can't be launched
            Asked 2020-Jun-12 at 06:26

            I'm developing a new windows service and I follow the steps provided in this instruction.

            In the service class, I do pretty much the same things as the article

            ...

            ANSWER

            Answered 2020-Jun-12 at 06:26

            It seems the service does create an event log by default. I should probably set AutoLog property of Service to false before generate the Installer.

            Find the EventLogInstaller insides the ServiceInstaller and modify the log and source fixed my problem(also remember to remove the eventlog entry creation in service ctor).

            Source https://stackoverflow.com/questions/62317051

            QUESTION

            Exe installation throwing error The module was expected to contain an assembly manifest .Net Core
            Asked 2020-Jun-04 at 11:30

            I have implemented windows service using .Net Core worker service. When installing service from command prompt, getting error

            ...

            ANSWER

            Answered 2020-Jun-04 at 11:30

            To install service need to follow below steps

            open cmd as admin and switch to output/publish dir of project. Then type

            Source https://stackoverflow.com/questions/62192900

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install InstallUtil

            You can download it from GitHub.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/flamencist/InstallUtil.git

          • CLI

            gh repo clone flamencist/InstallUtil

          • sshUrl

            git@github.com:flamencist/InstallUtil.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link