Trying to install a Windows application created using C #

I am trying to install the Windows service that I did with the following command:

C: \ $ (MyFiles) \ Projects \ Win Service \ C # \ filechecker \ filechecker \ bin \ Debug> InstallU til.exe filechecker.exe

but I get the following message:

Starting a transactional installation.

Beginning of the installation phase. See The contents of the log file for the build process C: \ $ (MyFiles) \ Projects \ Win Service \ C # \ filechecker \ filechecker \ bin \ Debug \ filechecker.exe. The file is located in the folder C: \ $ (MyFiles) \ Projects \ Win Service \ C # \ filechecker \ filechecker \ bin \ Debug \ filechecker.InstallLog.

An exception occurred during the installation phase. System.ArgumentException: A value must be specified for the source.

Beginning of the rollback phase of the installation. See The contents of the log file for the build process C: \ $ (MyFiles) \ Projects \ Win Service \ C # \ filechecker \ filechecker \ bin \ Debug \ filechecker.exe. The file is located in the folder C: \ $ (MyFiles) \ Projects \ Win Service \ C # \ filechecker \ filechecker \ bin \ Debug \ filechecker.InstallLog.

The rollback phase completed successfully.

Completed transaction completed.

Starting a transactional installation.

Beginning of the installation phase. See The contents of the log file for the build process C: \ $ (MyFiles) \ Projects \ Win Service \ C # \ filechecker \ filechecker \ bin \ Debug \ filechecker.exe. The file is located in the folder C: \ $ (MyFiles) \ Projects \ Win Service \ C # \ filechecker \ filechecker \ bin \ Debug \ filechecker.InstallLog.

An exception occurred during the installation phase. System.ArgumentException: A value must be specified for the source.

Beginning of the rollback phase of the installation. See The contents of the log file for the build process C: \ $ (MyFiles) \ Projects \ Win Service \ C # \ filechecker \ filechecker \ bin \ Debug \ filechecker.exe. The file is located in the folder C: \ $ (MyFiles) \ Projects \ Win Service \ C # \ filechecker \ filechecker \ bin \ Debug \ filechecker.InstallLog.

The rollback phase completed successfully.

Completed transaction completed.

How can I solve this problem?

+5
1

A ServiceInstaller always 1 Source ServiceName. , ServiceName ServiceInstaller ( ).


1 . / EventLogInstaller - , , ( ) -, .

+9

All Articles