Sequencing Chrome with 4.6 SP1 on Windows 7 x64
-
Thursday, November 03, 2011 3:51 AM
Hi All,
I have absolutely no luck seguencing Chrome with the Microsoft Application Sequencer 4.6 SP1 (or the AdminStuid suite for that matter). I have tried every recipe as well as repackaging etc to get this to go but I get the same result regardless of the steps.
Attempt 1 - Install using Chrome Current User installer, remove %APPDATA% exclusions, copy Chrome components to Q:\ drive and re-create the shortcuts.
This yeilds a more complete package but Chrome will not start. This does not change regardless of what command parameters I use (i.e. --no-sandbox and or --in-process-plugins). Chrome just fills its debug log with a reason for the failure. All of these reasons lead you in circles as to the root cause.
Attempt 2 - Install using Chrome All User installer, the Enterprise Installer (MSI) or a repackaged Chrome MSI (from AdminStudio)
This yields an installed Chrome package with C:\Program Files (x86) ... but, as soon as monitoring is stopped, the whole Google Chrome application folder structure is removed and therefore not capture by the sequencer, i.e. when you click "I am finished" and the monitor process begins to capture the changes the folder structure "C:\Program Files (x86)\google\Chrome\Application" is removed and is no where to be found. The resulting SFT file has no trace that the folder ever existed. There is no tract with the excluded Files/Folders section within the report. This has left me scratching my head.
Does anyone have any guidance on Chrome/W7 (x64)/Sequencer 4.6 SP1?
Any help would be great!
Cheers,
Nathan
NSutton
Answers
-
Thursday, November 03, 2011 10:09 PMModerator
For option 2, at the end of installing and configuring Chrome and before stopping monitoring, run the following command:
REG ADD "HKLM\System\CurrentControlSet\Control\Session Manager" /v PendingFileRenameOperations /d "" /t REG_MULTI_SZ /f
I'm doing up a blog post with more details, but for what ever reason, a pending reboot action is being created that deletes the folder. The Sequencer processes this reboot action and of course, deletes the folder.
This forum post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.
- Proposed As Answer by Aaron.ParkerMVP, Moderator Thursday, November 03, 2011 10:09 PM
- Edited by Aaron.ParkerMVP, Moderator Friday, November 04, 2011 9:45 AM
- Marked As Answer by Nathan Sutton Monday, November 07, 2011 7:16 AM
All Replies
-
Thursday, November 03, 2011 7:38 AMHello,
During the configuration-phase, can you start Chrome?
When deploying - what happens when double-clicking the shortcut?
/Znack -
Thursday, November 03, 2011 11:04 AM
Hi Znack,
During the configuration phase (which is after monitoring? correct? - sorry I am new to sequencing) the Chrome shortcut is already broken. That is, the Chrome application folder and sub files are gone. They dissapear during the end of the monitoriung phas after checking the "I am finished installed" checkbox but before the First Run routine.
Since I have never been able to get past this I have not tried putting the final application into SCCM for testing. I can certainly try this to see what I get.
Thanks,
NSutton -
Thursday, November 03, 2011 12:21 PM
Hello,
During the configuration phase you should get a list of identified shortcuts, yes, after monitoring and you check the I am finished installing....Did you get such a list?
/Znack -
Thursday, November 03, 2011 10:09 PMModerator
For option 2, at the end of installing and configuring Chrome and before stopping monitoring, run the following command:
REG ADD "HKLM\System\CurrentControlSet\Control\Session Manager" /v PendingFileRenameOperations /d "" /t REG_MULTI_SZ /f
I'm doing up a blog post with more details, but for what ever reason, a pending reboot action is being created that deletes the folder. The Sequencer processes this reboot action and of course, deletes the folder.
This forum post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.
- Proposed As Answer by Aaron.ParkerMVP, Moderator Thursday, November 03, 2011 10:09 PM
- Edited by Aaron.ParkerMVP, Moderator Friday, November 04, 2011 9:45 AM
- Marked As Answer by Nathan Sutton Monday, November 07, 2011 7:16 AM
-
Friday, November 04, 2011 11:17 PM
Hi Znack,
Yes, I do get the shortcut for Chrome but it is broken since, by that stage the executable has been deleted.
Cheers,
NSutton -
Friday, November 04, 2011 11:19 PM
Hi Aaron,
Thanks for this. I will have a look and retry the sequence. Did you use PROCMON to catch this or did you happen to check that registry hive?
Thanks again,
Nathan
NSutton -
Friday, November 04, 2011 11:58 PMModeratorI've posted an article on the troubleshooting here: http://blog.stealthpuppy.com/virtualisation/the-case-of-the-disappearing-application-during-sequencing/
This forum post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs. -
Monday, November 07, 2011 7:23 AM
In addition to Aaron's fix I also had to delete and re-create the Chrome shortcut during the sequencing phase.
The reason for this is that Chrome.exe does not start after installation. Chrome.exe createsa debug.log within the same folder as the executable named debug.log. The error relates to the fact Chrome.exe cannot determine the version of it's associated DLLs. By copying chrome.exe from C:\Program Files (x86\Google\Chrome\Application to C:\Program Files (x86\Google\Chrome\Application\[VERSION] where [VERSION] is a folder with the Chrome build version has the name.
Create new shortcuts linking to this location and Chrome will start as expected.
Also, during the First Run phase, I started Chrome.exe several times. During sequencing Chrome.exe creates a file named "First Run" (no extension) in the same folder as Chrome.exe within the VFS. Event thpough this file was captured and put in the VFS I had to put a copy of this file to next to the original chrome.exe (which is in C:\Program Files (x86\Google\Chrome\Application).
Hope this helps.
Nathan.
NSutton