leandrosa81 / taskbar-monitor

monitoring tool with graphs (CPU, memory, disk and network) for Windows taskbar.
https://lugarinho.tech/tools/taskbar-monitor
GNU General Public License v3.0
305 stars 24 forks source link

Error when install #48

Closed hungtrieu07 closed 11 months ago

hungtrieu07 commented 1 year ago

I just downloaded the exe file and run, but it response to me an error like this:

Installing taskbar-monitor on your computer, please wait.
Copying TaskbarMonitor.dll... OK.
Copying Newtonsoft.Json.dll... OK.
Copying TaskbarMonitorWindows11.exe... OK.
Copying TaskbarMonitorInstaller.exe...
Unhandled Exception: System.IO.IOException: The process cannot access the file 'C:\Program Files (x86)\TaskbarMonitor\TaskbarMonitorInstaller.exe' because it is being used by another process.
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
   at System.IO.File.InternalWriteAllBytes(String path, Byte[] bytes, Boolean checkHost)
   at System.IO.File.WriteAllBytes(String path, Byte[] bytes)
   at TaskbarMonitorInstaller.Program.<>c__DisplayClass3_0.<Install>b__0()
   at TaskbarMonitorInstaller.BLL.RestartExplorer.Execute(Action action)
   at TaskbarMonitorInstaller.Program.Install(InstallInfo info)
   at TaskbarMonitorInstaller.Program.Main(String[] args)

After that the command prompt window closed unexpected and the explorer.exe process has been killed.

sengiv commented 1 year ago

... because it is being used by another process. 2 instance is running, check hidden taskbar

RuriYoshinova commented 1 year ago

got the same problen.

... because it is being used by another process. 2 instance is running, check hidden taskbar

what hidden taskbar?