Author Topic: To Avast Software Engineers - Helping Hand on Chrome Problems  (Read 11098 times)

0 Members and 1 Guest are viewing this topic.

Gooob

  • Guest
To Avast Software Engineers - Helping Hand on Chrome Problems
« on: February 26, 2012, 09:48:00 PM »
One of the continuing complaints about upgrading to Avast 7 is how customers who already have Chrome installed are having Avast install another instance of Chrome.

This is resulting in customer's Chrome Profiles being wrecked as a single Windows User account should not have multiple versions of Chrome installed at the same time.

Why is this happening?
It is happening because the retail versions of Chrome install to the C:\Users\(name)\AppData directory.
And the version of Chrome Avast is installing installs to the C:\Program Files directory.
Since Avast is familiar with the latter, it seems during install, Avast looks to see if Chrome is already installed to the Program Files directory.  But Avast is not looking to see if Chrome is installed to the C:\Users\(name)\AppData directory.

The Details and The Key to the Problem:
There are three flavors of Chrome that most retail customers have installed.  They are Stable, Beta, and Dev.  Stable is obviously the most common.
The retail Stable version of Chrome can be downloaded from here:
https://www.google.com/chrome
This retail version of Chrome installs to the C:\Users\(name)\AppData directory

What it seems Avast may be missing is that there is also an Enterprise version of Chrome.  The Enterprise version allows for network wide installations and customization.  And this Enterprise version of Chrome can be downloaded sans customizations, from here:
https://www.google.com/intl/en/chrome/business/browser/
This Enterprise version of Chrome installs to the C:\Program Files directory.
And it seems this is the version Avast is installing.


The Difficult Challenge
What makes Chrome Retail a challenge is how it installs to the C:\Users\(name)\AppData data folder.
And due to the design of Windows,  one Windows User account cannot view or access the AppData directory of other Windows User accounts.

So, say a customer installs Avast from a Windows User account that has Administrative privileges as is probably the proper way to install Avast....
And say that customer also has a Windows User account with Limited privileges (LUA) which they use for their day to day activities.
Regrettably even though the first account has Administrative privleges, by default, that Windows account cannot view or access the C:\Users\(name)\AppData directory of the Limited User Account.
Therefore, Avast being installed from the Windows Admin account may be unaware the customer has Chrome already installed on the Limited User Account.

The average non tech savvy Avast customer is not going to understand all of this.
Thus, simply offering Avast customers a check box to choose to install Chrome during Avast installation is NOT an adequate solution.

Suggestions for Avast Engineers
1. I suggest you improve your installer and utilize Windows System level privelges when the installer checks for Chrome
2. I would also suggest the installer not simply look for Chrome in the C:\Program Files directory, but also look in the C:\Users\(name)\AppData directory for ALL WINDOWS USER ACCOUNTS before offering to install Chrome on the customer's computer.

Thank you for your time and your continued excellent efforts on the Avast product line.





« Last Edit: February 26, 2012, 09:52:33 PM by Gooob »

StyleWarz

  • Guest
Re: To Avast Software Engineers - Helping Hand on Chrome Problems
« Reply #1 on: February 26, 2012, 10:03:26 PM »
Good observation, thanks for your post. Hope the avast! crew picks this up.

Hermite15

  • Guest
Re: To Avast Software Engineers - Helping Hand on Chrome Problems
« Reply #2 on: February 26, 2012, 10:04:03 PM »
@Gooob ... thanks for that post ... that's what I was suspecting, after reading a couple of posts from users reporting issues with their bundled Chrome install, that Avast installed it in the program files folder  ;D ... jesus hey guys, what were you thinking of seriously ???  ;) ... this will cause already Chrome users who forgot to dismiss the install of Chrome at setup time to end up in a real mess ::) with two Chrome installs and two profiles ... not mentioning that your setup doesn't seem to be able to locate Chrome where it has always been and where it will always be:

here >>> C:\Users\username\AppData\Local\Google\Chrome

 ... which would have avoided (with proper detection), a useless install.

Offline bob3160

  • Avast Überevangelist
  • Probably Bot
  • *****
  • Posts: 48564
  • 64 Years of Happiness
    • bob3160 Protecting Yourself, Your Computer and, Your Identity
Re: To Avast Software Engineers - Helping Hand on Chrome Problems
« Reply #3 on: February 26, 2012, 10:13:42 PM »



Make sure that you're signed into Google and change your setting to reflect the screenshot.




I just went through this with one of the folks that attended my presentation and has made me her personal go to person.  ;D



Free Security Seminar: https://bit.ly/bobg2023  -  Important: http://www.organdonor.gov/ -- My Web Site: http://bob3160.strikingly.com/ - Win 11 Pro v22H2 64bit, 16 Gig Ram, 1TB SSD, Avast Free 23.5.6066, How to Successfully Install Avast http://goo.gl/VLXdeRepair & Clean Install https://goo.gl/t7aJGq -- My Online Activity https://bit.ly/BobGInternet

Hermite15

  • Guest
Re: To Avast Software Engineers - Helping Hand on Chrome Problems
« Reply #4 on: February 26, 2012, 10:16:29 PM »
now I'm hearing as expected that the new profile becoming active, the new homepage is re-directing to Avast site ... meaning that this has been done purposely ... wouldn't matter that much if at least the setup was able to detect existing installs ::)

andyxl987

  • Guest
Re: To Avast Software Engineers - Helping Hand on Chrome Problems
« Reply #5 on: February 27, 2012, 02:19:27 AM »
Avast runs a process with SYSTEM privileges; it can quite happily list user profile %appdata% directories.

Offline DavidR

  • Avast Überevangelist
  • Certainly Bot
  • *****
  • Posts: 89059
  • No support PMs thanks
Re: To Avast Software Engineers - Helping Hand on Chrome Problems
« Reply #6 on: February 27, 2012, 02:31:40 AM »
An additional problem is that of what OS the user is running as XP won't have C:\Users\ but C:\Documents and Settings\UserName\Application Data.

So I don't know where Chrome would be installed on an XP system (don't use it), but it would mean that there are even more locations for the avast installation to check for the presence of Chrome.
Windows 10 Home 64bit/ Acer Aspire F15/ Intel Core i5 7200U 2.5GHz, 8GB DDR4 memory, 256GB SSD, 1TB HDD/ avast! free 24.3.6108 (build 24.3.8975.762) UI 1.0.801/ Firefox, uBlock Origin, uMatrix/ MailWasher Pro/ Avast! Mobile Security

Mele20

  • Guest
Re: To Avast Software Engineers - Helping Hand on Chrome Problems
« Reply #7 on: February 27, 2012, 02:37:19 AM »
Iron installs to C:\Program Files\Iron.  So, I am wondering what would happen if an Iron user installs Avast 7 and is missing the window to uncheck Chrome installation? The only difference between Chrome and Iron is that Iron re-establishes the user's inherent right to privacy and gives the user the right to control this program that is on their computer.

So, does Avast 7 interfere with Iron?  I suspect that any Iron user who found Avast had installed Chrome without their knowledge and permission would sue Avast as that action would make Avast as bad as, if not worse than, a virus loose on the computer.  The Iron user has gone out of their way to protect their privacy and to have Avast rape them so violently...well...Avast better hope their installer doesn't ever install Chrome without permission on an Iron user's computer.

Avast used to be a great antivirus program. These days it is way too bloated and the developers have become incredibly sloppy as attested to by Avast's apparent failure to make sure their installer behaves properly and gives the user the choice of NOT allowing Avast to install Chrome.

I was going to install Avast on my soon to be new computer but I have changed my mind.

andyxl987

  • Guest
Re: To Avast Software Engineers - Helping Hand on Chrome Problems
« Reply #8 on: February 27, 2012, 02:43:19 AM »
Windows Vista and above use directory junctions to ensure Windows XP programs and paths are compatible, i.e.

C:\Documents and Settings\Steve => C:\Users\Steve
C:\Documents and Settings\Steve\Application Data => C:\Users\Steve\AppData\Roaming
C:\Documents and Settings\Steve\Local Settings\Application Data => C:\Users\Steve\AppData\Local

It should work on all platforms to scan "%SYSTEMDRIVE%\Documents and Settings\%USER%\Local Settings\Application Data\Google\Chrome" but it's not the proper way. But as above, the path differences are minor:

Windows XP - C:\Documents and Settings\Steve\Local Settings\Application Data\Google\Chrome
Windows Vista and above - C:\Users\Steve\AppData\Local\Google\Chrome

The relevant registry key is: HKEY_USERS\__USER__\Software\Microsoft\Windows\CurentVersion\Explorer\User Shell Folders\LocalAppData (possibly Local AppData)

Note: I've not verified the location of Chrome on XP but if it follows the directory structure the same way it does in Windows 7 that's where it should be.
« Last Edit: February 27, 2012, 02:51:47 AM by andyxl987 »

Dch48

  • Guest
Re: To Avast Software Engineers - Helping Hand on Chrome Problems
« Reply #9 on: February 27, 2012, 03:19:25 AM »
It isn't happening to everyone though. I have Chrome installed on both Win7 (in the normal AppData location) and XP and neither one was messed with and no new version was installed.

aosudif1

  • Guest
Re: To Avast Software Engineers - Helping Hand on Chrome Problems
« Reply #10 on: February 27, 2012, 03:36:04 AM »
This means that now I effectively have 2 versions of Chrome installed?  And all these was for what?  To get it installed with webrep?

I just don't understand... I thinks it is just so stupid.  It makes me want to uninstall the AV altogether, and try something else...  gosh!

Hermite15

  • Guest
Re: To Avast Software Engineers - Helping Hand on Chrome Problems
« Reply #11 on: February 27, 2012, 09:22:41 AM »
  And all these was for what?  To get it installed with webrep?

I just don't understand...

nothing to do with web rep, it's just bundled ::)

MrP

  • Guest
Re: To Avast Software Engineers - Helping Hand on Chrome Problems
« Reply #12 on: March 24, 2012, 02:13:26 PM »
It isn't happening to everyone though. I have Chrome installed on both Win7 (in the normal AppData location) and XP and neither one was messed with and no new version was installed.

It would seem that it depends on your configuration. I have upgraded Avast on 3 machines. The first 2 had no problems; the 3rd messed up.

At no point during any of the upgrade processes was I given the option (via a checkbox) to install Chrome or not.

The first 2 machines (WinXP and WinVista) both had Chrome installed already in the AppData location. All users on the machine had their own version of Chrome, including the Administrator account I was using to perform the Avast upgrade. The installs of Chrome were not touched and no additional version of Chrome was installed (and neither was I prompted).

The 3rd machine (WinVista)... Whilst the two ordinary user accounts on the machine had Chrome installed in AppData, the Administrator account I was using to perform the upgrade did not have Chrome installed. During the Avast upgrade, Chrome was installed in "Program Files" as an Administrator (I was not prompted). And this has messed up the installs/profiles of Chrome in the other two user accounts! When you attempt to run the version of Chrome in the user's account you get an alert along the lines of "you can't have two versions installed, it will be removed" - and it's gone!

Offline igor

  • Avast team
  • Serious Graphoman
  • *
  • Posts: 11849
    • AVAST Software
Re: To Avast Software Engineers - Helping Hand on Chrome Problems
« Reply #13 on: March 24, 2012, 02:19:24 PM »
What version (build) of avast was that?

MrP

  • Guest
Re: To Avast Software Engineers - Helping Hand on Chrome Problems
« Reply #14 on: March 24, 2012, 02:36:10 PM »
What version (build) of avast was that?

All 3 machines were upgraded to Avast! (Free) version 7.0.1426