Forum Discussion

Shree2280's avatar
Shree2280
Brass Contributor
Mar 24, 2021

Install Util.exe error

Hi Expert,

 

I am getting error in installing exe files

 

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>

Resources