Marc Lognoul's IT Infrastructure Blog

Cloudy with a Chance of On-Prem


Leave a comment

Installing IE9 Offline on Windows Seven and Windows Server 2008-R2

Windows Server 2008 R2

Planning to deploy Internet Explorer 9 on you servers not allowed to communicate with the Internet? Here are some background information.

IE9’s setup will by default perform installation of software prerequisites then IE itself then recent updates applicable to IE. So how to do when you server cannot download prerequisites and subsequent updates?

  1. First download the IE9 package: 32-bit or 64-bit
  2. Optional: Then if not already done, download and install the Service Pack 1
  3. Download and install this update: http://support.microsoft.com/kb/2454826
  4. From an elevated command-prompt, execute of the command hereunder. the parameter /update-no will simply prevents the download an installation of recent IE9 updates. The setup will fail if prerequisites are missing 
    On 32-bit: IE9-Windows7-x86-enu.exe /update-no 
    On 64-bit: IE9-Windows7-x64-enu.exe /update-no 

    In order to get more information from the setup, add this parameter to generate an installation log: /log:c:TempLogs

    Example of a log file when installation fails due to a version of DirectX component that is too old:
    00:00.000: ====================================================================
    00:00.000: Started: 2011/03/29 (Y/M/D) 08:55:45.954 (local)
    00:00.016: Time Format in this log: MM:ss.mmm (minutes:seconds.milliseconds)
    00:00.016: C:TempIE9-Windows7-x64-enu.exe” /update-no /log:C:TempLogs
    00:00.047: INFO: Setup installer for Internet Explorer: 9.0.8112.16421
    00:00.172: INFO: Previous version of Internet Explorer: 8.0.7600.16722
    00:00.172: INFO: Checking if iexplore.exe’s current version is between 9.0.6001.0…
    00:00.172: INFO: …and 9.1.0.0…
    00:00.172: INFO: Maximum version on which to run IEAK branding is: 9.1.0.0…
    00:00.172: INFO: iexplore.exe version check success. Install can proceed.
    00:00.172: INFO: Trying to extract ID: 7006 (0) as “IE9-neutral.Extracted.cab”
    00:00.703: INFO: Trying to extract ID: 5006 (0) as “IE9-support.cab”
    00:11.172: INFO: Operating System: Windows Server: 6.1.7600
    00:11.172: INFO: Windows 7 operating system detected.
    00:11.172: INFO: Service pack major: 0
    00:11.172: INFO: Service pack minor: 0
    00:11.266: INFO: Version Check of C:WindowsSystem32driversdxgmms1.sys: 6.1.7600.16385 >= 6.1.7600.16748 (False)
    00:11.266: ERROR: System version and prerequisite validation checks failed.
    02:42.016: INFO: Setup exit code: 0x00009C47 (40007) – Required updates are missing from the system.

    02:42.297: INFO: Cleaning up temporary files in: C:WindowsTEMPIE913B9.tmp
    02:43.156: INFO: Unable to remove directory C:WindowsTEMPIE913B9.tmp, marking for deletion on reboot.
    02:43.156: INFO: Released Internet Explorer Installer Mutex

    Example of a log file when installation succeeds:
    00:00.000: ====================================================================
    00:00.015: Started: 2011/03/29 (Y/M/D) 09:55:40.138 (local)
    00:00.015: Time Format in this log: MM:ss.mmm (minutes:seconds.milliseconds)
    00:00.015: C:TempIE9-Windows7-x64-enu.exe” /update-no /log:C:TempLogs
    00:00.046: INFO: Setup installer for Internet Explorer: 9.0.8112.16421
    00:00.109: INFO: Previous version of Internet Explorer: 8.0.7600.16722
    00:00.109: INFO: Checking if iexplore.exe’s current version is between 9.0.6001.0…
    00:00.109: INFO: …and 9.1.0.0…
    00:00.109: INFO: Maximum version on which to run IEAK branding is: 9.1.0.0…
    00:00.109: INFO: iexplore.exe version check success. Install can proceed.
    00:00.109: INFO: Trying to extract ID: 7006 (0) as “IE9-neutral.Extracted.cab”
    00:00.781: INFO: Trying to extract ID: 5006 (0) as “IE9-support.cab”
    00:09.234: INFO: Operating System: Windows Server: 6.1.7600
    00:09.234: INFO: Windows 7 operating system detected.
    00:09.234: INFO: Service pack major: 0
    00:09.234: INFO: Service pack minor: 0
    00:09.234: INFO: Version Check of C:WindowsSystem32driversdxgmms1.sys: 6.1.7600.16748 >= 6.1.7600.16748 (True)
    00:09.265: INFO: Version Check of C:WindowsSystem32xpsrasterservice.dll: 6.1.7600.16699 >= 6.1.7600.16699 (True)
    00:09.296: INFO: Version Check of C:WindowsSystem32d2d1.dll: 6.1.7600.16699 >= 6.1.7600.16699 (True)
    00:09.296: INFO: Version Check of C:WindowsSystem32ExplorerFrame.dll: 6.1.7600.16623 >= 6.1.7600.16623 (True)
    00:09.390: INFO: PauseOrResumeAUThread: Successfully paused Automatic Updates.
    00:18.781: INFO: The neutral pack was not successfully downloaded from the internet. Installation will continue using the extracted package.
    00:19.015: INFO: No reboot logic message NrApiStart(0), lParam=0x002f93c0 returned 0x00000000.
    00:21.578: INFO: No reboot logic message NrApiScan(1), lParam=0x00000001 returned 0x00000000.
    00:21.578: INFO: No reboot logic message NrApiStartInstall(4), lParam=0x00000001 returned 0x00000014.
    00:21.578: INFO: Installing with the extracted package. C:WindowsTEMPIE9923F.tmpIE9-neutral.Extracted.cab
    00:21.687: INFO: Launched package installation: C:Windowssystem32dism.exe /online /add-package /packagepath:C:WindowsTEMPIE9923F.tmpIE9-neutral.Extracted.cab /quiet /norestart
    02:21.015: INFO: Process exit code 0x00000BC2 (3010) [The requested operation is successful. Changes will not be effective until the system is rebooted. ]
    02:21.015: INFO: Setting registry to check if Internet Explorer is the default browser on first run: SUCCESS.
    02:21.015: INFO: No reboot logic message NrApiInstallDone(7), lParam=0x00000bc2 returned 0x00000000.
    02:21.015: INFO: No reboot logic message NrApiStartFinish(11), lParam=0x00000000 returned 0x00000000.
    02:21.031: INFO: No reboot logic message NrApiFinish(12), lParam=0x00000000 returned 0x00000016.
    02:21.046: INFO: Checking it the Internet Explorer Optional Component is enabled.
    08:34.281: INFO: Disabling active setup.
    08:34.296: INFO: Added command to re-enable active setup after install and reboot.
    08:34.312: INFO: PauseOrResumeAUThread: Successfully resumed Automatic Updates.
    08:34.312: INFO: Setup exit code: 0x00000BC2 (3010) – Installation Succeeded. Reboot required.
    08:34.765: INFO: Cleaning up temporary files in: C:WindowsTEMPIE9923F.tmp
    08:35.328: INFO: Unable to remove directory C:WindowsTEMPIE9923F.tmp, marking for deletion on reboot.
    08:35.328: INFO: Released Internet Explorer Installer Mutex


    Just for the records, you will notice that IE9 Setup always detects Windows 7 even if it actually runs on Windows Server 2008 R2.

  5. And finally Install IE9 updates ((None at writing time) manually or using a tool such as WSUS or SCCM, here is how to do: http://technet.microsoft.com/en-us/library/gg699411.aspx
  6. Have fun with the fastest browser ever!

While deploying Internet Explorer 9, you might want to throw an eye to my list of useful links: http://www.marc-lognoul.me/itblog-en/page/Useful-Links-Internet-Explorer-9.aspx

Marc

Advertisements


Windows: Using a WebDAV Folder Maybe Very Slow on Windows Vista or Windows 7

On windows Seven and Windows Vista, you may experience very slow file browsing, opening and modification when against WebDAV folders (SharePoint’s Explorer View for example). This may come Internet Explorer’s (in)famous “Automatically detect settings” option

Solution

  1. Open Internet Explorer
  2. Go to the Menu “Tools” > “Internet Options” then go to the tab “Connections”
  3. Click on button “LAN Settings”
  4. Uncheck the box “Automatically detect settings”
  5. Close and restart all running Internet Explorer processes
  6. Restart the “Web Client” Service
  7. Start browsing again…

Additional Information

IE’s “Automatically detect settings” option is there to help the user in configuring a web proxy “automagically”. It actually makes use of the WPAD protocol to discover a web proxy by 2 means (listed by priority of application): 1)As part of the DHCP configuration received by the host or 2)by performing DNS request(s). Unfortunately, when none of them succeed, it may seriously slow down Internet Explorer’s opening but also, as consequence, make WebDAV browsing sluggish because the Web Client Service (responsible for WebDAV browsing) seem to perform auto-discovery more frequently.

Marc


Leave a comment

Internet Explorer: Two IE8 behavioral changes worth mentioning…

Session-cookie handling

Have you noticed? When you log on a site that uses session cookie to store authentication information (like eBay), this cookie is by default shared between all instances (processes) of Internet Explorer.

Also, each tab is opened as a separated process which are all child of the same parent process. This parent process is handling this resource-sharing job.

From a Process Explorer point of view, it looks like this:

This new “feature”, called “Loosely-Coupled IE (LCIE)”, is described in details on the official MS IE Blog.

In order to workaround this behavior and be able to authenticate against the same web site but using different credentials, you need to start a new IE parent process which is running separately from the other one and therefore not sharing the same session-cookie. How to do? simply execute IE using the –nomerge parameter: C:Program FilesInternet Exploreriexplore.exe –normerge. for convenience, you can create a new IE shortcut which includes this parameter.

After starting this second parent IE, it will look like this in Process Explorer:

HTML5-compliance regarding the file path parameter

While trying to help a newsgroup poster making his IE-related script work with IE8, French MVP Gilles Laurent (Master es scripting and automation), bought to my attention that, in order to comply with HTML5 rules, IE8 was handling file path parameter from a file sector differently.

So in order to prevent information disclosure (the path to a file may include the user name if the file reside under the user ‘profile), there are actually two changes combined to achieve that:

  • The IE security setting “include local directory path when uploading files to a server” (already present in IE7) is set to “Disable” instead of “Enabled” as it was with IE7 for the “Internet Zone”

  • When this setting is set to “Disable”, the path returned will always start with C:fakepathFILENAME.EXT instead of starting with the real path

Once again, the official MS IE Blog describes this behavior.

And cut!