locked
install util error RRS feed

  • Question

  • User-278624196 posted

    Hi Expert,

    I am getting error for installing windows service

    D:\windowPart1Service>InstallUtil.exe  windowPart1Service.exe
    Microsoft (R) .NET Framework Installation utility Version 4.0.30319.18408
    Copyright (C) Microsoft Corporation.  All rights reserved.


    Running a transacted installation.

    Beginning the Install phase of the installation.
    See the contents of the log file for the D:\windowPart1Service\windowPart1Service.exe assembly's progress.
    The file is located at D:\windowPart1Service\windowPart1Service.InstallLog.
    Installing assembly 'D:\windowPart1Service\windowPart1Service.exe'.
    Affected parameters are:
       logtoconsole =
       assemblypath = D:\windowPart1Service\windowPart1Service.exe
       logfile = D:\windowPart1Service\windowPart1Service.InstallLog

    An exception occurred during the Install phase.
    System.ArgumentException:
    *** ERROR: You must specify '/env=<filename>' as a parameter to the InstallUtil.exe command ***


    The Rollback phase of the installation is beginning.
    See the contents of the log file for the D:\windowPart1Service\windowPart1Service.exe assembly's progress.
    The file is located at D:\windowPart1Service\windowPart1Service.InstallLog.
    Rolling back assembly 'D:\windowPart1Service\windowPart1Service.exe'.
    Affected parameters are:
       logtoconsole =
       assemblypath = D:\windowPart1Service\windowPart1Service.exe
       logfile = D:\windowPart1Service\windowPart1Service.InstallLog
    An exception occurred during the Rollback phase of the windowPart1Service.windowPart1ServiceInstaller installer.
    System.ArgumentException: The savedState dictionary does not contain the expected values and might have been corrupted.
    An exception occurred during the Rollback phase of the installation. This exception will be ignored and the rollback will continue. However, the machine might not fully revert to its initial state after the rollback is complete.

    The Rollback phase completed successfully.

    The transacted install has completed.
    The installation failed, and the rollback has been performed.

    D:\windowPart1Service>

    Wednesday, March 24, 2021 5:54 AM

All replies