the log files really don't tell me much at all. It only says that 0.txt wasn't found - and then nothing.
Not sure what you mean check the exact content of my rules as this is so horribly complex there's no clean way to keep track and you can't easily move from one part of a package or policy to another without saving what you have done and totally changing screens. You must complete and save one page before you can do anything else.
The days and hours I've spent trying to get this install to work on both 32 and 64bit with the file copy part I could have manually installed this on our computers.
Worse, if you need to change a single file, like I have had to change the batch file due to Google's complex system of scheduled tasks, services and install files, you must delete the update part from the policy and package, then go recreate the update, save it, and then connect it to the install package again. Each time you need to change a single letter in a single file, you have to start over again with part of it. There's no directly editing any files in the package once it's created.
I had it partially succeed on a couple of servers I tested with, but it won't work on any Windows 7 computers.
OF course to cover both 32 and 64 I did change to that horribly convoluted double-check setup above - which brings up another question directly related to your repsonse above- how can changing the base to Program Files (x86) help since that folder ONLY exists on 64 bit systems. It doesn't even exist on 32bit systems.
Chrome installs in c:\Program Files (x86)\Google\Chrome\Application on 64bit systems
Chrome installs in c:\Program Files\Google\Chrome\Application on 32bit systems so there is no common base, except the C drive. If I chose \Program Files (x86)\ as the base, it could never find the files on any 32bit system.
Because I have to run the Google Chrome install MSI, and then immediately after, copy the master_preferences file in, and also disable a service and disable two scheduled tasks with a batch file, and must do this on both 32 and 64 bit computers, it's extremely complex and frustrating.
I have a SIMPLE app installed fine, in fact it hit almost 300 computers in an hour - it's a single MSI, installs on any Windows computer and doesn't require any added things, no updates, no further file copies, etc. So I know the agents can see the policy, download a file and run it.
Chrome, however,
1. I had to put Chrome in the software catelog manually, which isn't simple if you don't already have it installed on computers,
2. then I had to create the software product and found out that wasn't enough, you can't do anything with that because apparently, not explained in the documents that it's just more of a heading and nothing else,
3. I then had to create the software release which is the actual Chrome package. OK, that's the basic install out of the box, no settings, no preferences file, etc. - just the bare install.
4. Then I had to create the "Software Update" which is the master_preferences file and the batch file that copies the master preferences file into place, sets the update service to not start, and disables 2 scheduled tasks that Chrome installs.
I had to associate the sofware update with the software package to get them to work together.
Then I had to create the install policy and tell it to use the software update with the softwre install package.
Then it gets really hairy -
I need it to see if Chrome is already installed, and if not, install it.
Ah, but there's more - besides Chrome being installed, I need it to see if the master_preferences file is in place and if not, put it there and then disable the google update service and disable the two scheduled tasks.
AND it must do all of that on 32bit AND 64bit computers, all Windows OS.
So why it worked on SERVERS but not Windows 7 computers has me baffled! Well, it sort of worked, Chrome installed and I got the preferences file in place but at that time I was dealing ONLY with 64bit checks.
I added the 32bit file checks and it's fallen apart. Even worse yet - the master_preference file didn't work with Chrome, so I had to scrap the software update after disconnecting it from the install package and start all over, you can't edit a file once it is in the library. So I had to undo the association in the software package, remove the file from the software update package, pull it back in and do it all again.
The batch file that must run immediately after the Chrome install is:
if exist "c:\Program Files\Google\Chrome\Application\chrome.exe" copy /y master_preferences "C:\program files\google\chrome\application\master_preferences" > "C:\program files\google\chrome\application\%ERRORLEVEL%.txt"
if exist "c:\Program Files (x86)\Google\Chrome\Application\chrome.exe" copy /y master_preferences "C:\program files (x86)\google\chrome\application\master_preferences" > "C:\program files (x86)\google\chrome\application\%ERRORLEVEL%.txt"
reg add HKLM\Software\Policies\Google\Update /f /v AutoUpdateCheckPeriodMinutes /d 0
sc stop gupdate
sc config gupdate start= disabled
SCHTASKS /Change /TN "GoogleUpdateTaskMachineCore" /DISABLE
SCHTASKS /Change /TN "GoogleUpdateTaskMachineUA" /DISABLE
I need to figure out why the Windows 7 computers say they are downloading the package, but never do, you never see it at all anywhere. There is no sign of it or the folder it's supposed to be in for the install! It's like it says "Downloading file" and "in process" and then - not another entry at all. And the files never appear on the W7 computers, but did on 4 servers.
The software update which runs that batch file needs to look for the 0.txt file and the master_preferences file in Program Files OR in Program Files (x86) and it has to look for both files on either type of system.
That means it has to see if this logic works:
Find 0.txt AND master_preferences in Program Files\Google\Chrome\Application
OR
Find 0.txt AND master_preferences in Program Files (x86)\Google\Chrome\Application
because a 32 bit computer will never have the Program Files (x86) folder and a 64bit computer that's where Chrome installs to.
Symantec makes it nearly impossible to use that sort of logic.
Unless this is correct and would work..........But I question - why the "AND" at the very very top? What does THAT one do? Can't get rid of it.
I want A AND B OR C AND D but can't seem to make it look like that.