Jump to content

Wrong Installation folder


Recommended Posts

  • Administrators

No, there is no config file or registry settings, it's a standard .msi package. It works fine for us and we've tested it on several different configurations.

When you try to install the new .msi file and get to the location selection screen, what is the default location shown in that dialog?

Link to post
Share on other sites
  • Administrators

This is very weird. Basically the msi works well since every person used it to install PCM. I'm very interested in this case. For some reason the msi installer is not performing a normal install.

Here are the steps to perform a manual install:

1. Download PC Monitor files from here.

2. Extract your files in the desired path.

3. Run this .reg file from here (WARNING: Please verify it's contents as it's a public paste, anyone can change it and it can lead to system malfunction).

4. Browse to your .NET 4.0 folder (x86 Default Location: C:\Windows\Microsoft.NET\Framework\v4.0.30319 ; x64: C:\Windows\Microsoft.NET\Framework64\v4.0.30319).

5. Run InstallUtil with the full path of PCMonitorSrv.exe as a parameter.

Example:

InstallUtil.exe "C:\Program Files (x86)\PC Monitor\PCMonitorSrv.exe"

Note: Add brackets if your path contains spaces.

6. Add pcmontask.exe to your startup folder in start menu or create a string value in the registry at path:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run

With any name and in the value put the full path of pcmontask.exe:

Example:

"C:\Program Files (x86)\PC Monitor\pcmontask.exe"

Here is a REG file:


Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run]

"PC Monitor Operations"="C:\\Program Files (x86)\\PC Monitor\\pcmontask.exe"

Note: Add brackets if your path contains spaces.

Now try running PC Monitor Manager and configure it's settings.

I hope this helps and I am looking forward to know if you encounter this problem on other machines.

Paul.

Edited by Paul
Link to post
Share on other sites

Hi Paul,

After point 5 i got:

C:\Windows\Microsoft.NET\Framework64\v4.0.30319>InstallUtil.exe "C:\Program File

s (x86)\PC Monitor\PCMonitorSrv.exe"

Microsoft ® .NET Framework Installation utility Version 4.0.30319.1

Copyright © Microsoft Corporation. All rights reserved.

Exception occurred while initializing the installation:

System.IO.FileLoadException: Could not load file or assembly 'file:///C:\Program

Files (x86)\PC Monitor\PCMonitorSrv.exe' or one of its dependencies. Operation

is not supported. (Exception from HRESULT: 0x80131515).

I did not execute the rest. Help?! ;-)

Ab

Link to post
Share on other sites
  • Administrators

Hello,

Try browsing to the PC Monitor folder (C:\Program Files (x86)\PC Monitor) and right click on PCMonitorSrv.exe and go to Properties. Please click the unblock button if it exists. Try checking the other files in that directory if they are blocked.

Example:

2uhy26o.png

If there is no unblock button please tell me if the computer is part of a domain.

If nothing works let's try to create the service manually:


sc create "PC Monitor" BinPath= "C:\Program Files (x86)\PC Monitor\PCMonitorSrv.exe"

Can you please confirm that your system date is accurate too?

Thank You,

Paul.

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...