diff --git a/WpkgInstaller/WpkgInstaller.cs b/WpkgInstaller/WpkgInstaller.cs index 25cf21326f143b76c2fcef03c06160ba6b8e9b7f..9de8c699fca6fa9c6c16785221e10dad371d90a7 100644 --- a/WpkgInstaller/WpkgInstaller.cs +++ b/WpkgInstaller/WpkgInstaller.cs @@ -132,11 +132,11 @@ namespace WpkgInstaller if(process.ExitCode == 0) { - // notify clients of success + SetClientsState(WpkgMessageState.SUCCESS); } else { - // notify clients of error + SetClientsState(WpkgMessageState.ERROR); } String msg = String.Format("wpkg command finished, with exit code {0}", process.ExitCode); eventLog.WriteEntry(msg, EventLogEntryType.Information); @@ -212,9 +212,11 @@ namespace WpkgInstaller switch (type) { case WpkgMessageRequestType.DO_SYNC: + SetClientsState(WpkgMessageState.SYNCING); RunWpkgSync(); break; case WpkgMessageRequestType.RUN_QUERY: + SetClientsState(WpkgMessageState.QUERYING); RunWpkgQuery(); break;