jeudi 17 février 2011

Séquencer Google Chrome

Voici comment séquencer Google Chrome :


  •   Application Name: Google Chrome
  •   Application Version: 4.1.249.1036
  •   Company Name: Google
  •   Sequencer Version:  4.6
  •   App-V Client Version tested on:  4.6
  •   Operating System sequenced on:      Windows XP SP3 x86
  •   Pre-requisites: None
  •   Client Operating Systems successfully deployed to:  Windows XP x86 / Windows 7 x64
  • *Posted by non-Microsoft Employee: Jeffrey Crawford, Indiana University

General information: Google chrome is installed to the local settings directory.  By default this directory is not monitored by the sequencer as such in order to properly capture this application you need to modify the sequencer settings to allow for monitoring.  Additionally it is useful to create a startup profile for users on a given machine so that you configure chrome to operate the way you would like. 


  • Steps to sequence the application:
  1.    Navigate to directory:
    (x86 sequencing platform)
    C:\Program Files\Microsoft Application Virtualization Sequencer\
    (x64 sequencing platform)
    C:\Program Files (x86)\ Microsoft Application Virtualization Sequencer
  2. Modify the existing default.spjr using notepad so that you remove the following:
    1.
    2.
  3. (Optional step include this step if you wish to exclude chrome user profiles from being included inside the bubble this will force profiles to reside on the local system.)
    Add the following line to default.sprj
    1.
  4.   Open up internet explorer or your browser choice.  Navigate to the web page:
  5. Click Download Google Chrome
  6. Click Accept and Install
  7. Click Don’t Run
  8. Find text: If you are having trouble with the download :  click on click here.
  9.   If using internet explorer the download will be blocked in the upper bar click download file.
  10. If using internet explorer click on the click here again
  11. Click on the option save
  12. Save file to desktop  (Note that while you download this installer Google chrome still requires an active internet connection to download the full Google chrome package once executed)
  13.   Start the Microsoft Application Virtualization Sequencer and create a package
  14. Fill in Package Name as you wish
  15. Click Begin Monitoring create a directory in which the app-v package will be generated and stored.  IE.  R:\Google.000
  16.   Double click on Chrome Setup and click run if a security box is presented
  17. Should see the Google Chrome installer fire off and begin installing Google chrome
  18. Once installed Chrome will present a welcome box select cancel

    (Steps 19-20 are optional by performing these steps you will disable Google chrome’s first time run so when you start Google Chrome it will just start the browser and not present configuration windows)
  19. Navigate to directory:
    (Windows XP)
    %Userprofile%\Local Settings\Application Data\Google\Chrome\Application
    (Windows Vista/7)
    %Userprofile%\Appdata\Local\Google\Chrome\Application
  20. Create a file called: First Run  (Note there should be no file extension attached or contents inside of this file)
  21. Click Stop monitoring
  22. Click Next

    (Important note:  Google Chrome sand box feature does not work with App-V from my experience if you have this feature enabled Chrome will not function properly)
  23. Under application right click Google Chrome
  24. Select edit
  25. Under application path at the end type:  -no-sandbox
  26. Click on save
  27. Click on next
  28. (Optional Step: Launch Chrome.  My personal preference is to not launch chrome on the sequencer box at any point)
  29. Click next
  30. Select Finish
  31. Select the Virtual File System Tab
  32.   Ensure that under: 
    CSIDL_LOCAL_APPDATA
    Google
    Chrome
    That the directory: Chrome is set to Merge with Local Directory
  33.   Click on Virtual Registry tab
  34. Check for the existence of MozillaPlugins key under:
    Machine
    Software
    MozillaPlugins
    If key exist ensure it is set to Merge with Local Key
    If key does not exist create the directory and set it to Merge with Local Key (This prevents possible problems with plugins)
  35.   Check for the existence of MozillaPlugins key under:
    User
    %SFT_SID%
    Software
    MozillaPlugins
    If key exist ensure it is set to Merge with Local Key
    If key does not exist create the directory and set it to Merge with Local Key (This prevents possible problems with plugins)
  36. Save the package and run on end client machine.
  • Known Issues/limitations: Within Windows 7 jump list do not operate when executed on the shortcut. I have found no current work around to this issue.  To prevent the creation of the jump list add the additional parameter   -disable-custom-jumplist  
  • Approximate sequencing time: 5minutes
  • Optional:  The following script will help generate the Google Chrome profile structure for all given users on a machine as well place a copy of your preference file.  This script requires that powershell 2.0 be installed on the target machine.

    Aucun commentaire: