cancel
Showing results for 
Search instead for 
Did you mean: 

Agent installs into incorrect folder location

Has anyone ever seen, or does anyone have a reason that would explain why when I install (either a push from ePO or manual install) the Agent on a computer that has a Canon printer driver installed the agent gets installed into "C:\Program Files\Canon\Easy-WebPrint EX"?

The agent operates fine, and can be updated without issue. I am seeing it on a handful (10 out of 8000 endpoints) so I don't believe it is a issue with permissions, or group policies getting in the way.

Recently I had to repair an agent, so I ran frminst /forceuninstall from the McAfee\Agent folder under Program Files and deleted the Agent folder prior to reinstall; upon reinstall (since the Canon driver was now installed) it reinstalled to the Canon folder.

This issue has existing since at least 5.0.2.333 and we are currently running 5.0.5.658 so it doesn't seem to be version specific either.

0 Kudos
8 Replies
Dutchman39
Level 10

Re: Agent installs into incorrect folder location

I wonder if the Cannon software is resetting (or setting) a %Program Files% environmental variable...

0 Kudos

Re: Agent installs into incorrect folder location

Thanks for the suggestion Dutchman39, I should have checked that first. Alas, the variable is pointing to Program Files as expected.

0 Kudos
Dutchman39
Level 10

Re: Agent installs into incorrect folder location

NTFS?

0 Kudos

Re: Agent installs into incorrect folder location

Yep, all our systems get imaged with NTFS.

0 Kudos
Dutchman39
Level 10

Re: Agent installs into incorrect folder location

Sorry, let me clarify. (the downfall of talking in shorthand)

Does teh Cannon software perhaps change the NTFS Permissions on \Program Files?

0 Kudos

Re: Agent installs into incorrect folder location

LOL. I kinda wondered what path you were going down with that last question. But to answer your question, no, permissions on the Program Files folder look the same as they always did.

Having said that, I suppose the Canon installer could change the perms on the folder during install, but I'd be surprised if that was the case.

I am going to grab a spare machine and install the Canon driver and play around, I'll watch the folder permissions during install.

0 Kudos
tkinkead
Level 12

Re: Agent installs into incorrect folder location

I'm grasping at straws a bit, but, if you switch into the SYSTEM account using psexec, is the Program Files variable still correct?

If you push an Agent package that explicitly sets the install directory instead of using the Program Files variable, does that go to the right directory?

0 Kudos

Re: Agent installs into incorrect folder location

A good questions tkinkead, I've actually be using psexec interactively to access a users machine remotely to check settings. Alas, the Program Files variable is the same for both the user and System.

I've never actually tried running the installer with the install directory set, I will give that a go and see what happens.

0 Kudos