Exchange Management Console

By SuperG - Last updated: Tuesday, June 5, 2012 - Save & Share - Leave a Comment

How to sequence Exchange 2007 SP3 Console for App-V
Computer prep:

Basic sequencing computer (x64) with App-V 4.6.1.30091 (SP1 and Hotfix)

ALL RSAT tools enabled.


Exchange install files available and SP3 files already extracted.

Make a directory on “Q:” for the exchange install

q:\Exchange.Con

Start App-V Sequencer

Create a New Virtual Application Package


Create Package (Default)


Fix any issues in the prepare computer area. If your Basic sequencing computer is setup correctly you should never see anything here.
Standard Application (Default)



For this I will be doing a custom installation.



Name the Package and set the install directory.



At “Install your applications now screen” install the base Exchange Console by running Setup.exe (I do not use the run button)



Run Setup.exe as an Admin and select Step 4



At the Install type screen:

Select Custom Exchange Server Install

Leave the Default install path alone



Select Management Tools



Install the management tools, when done let the installer run the Console by leaving the check box checked, and click finished.



After the console loads, close it and the installer. Click yes to warning.



Run the powershell for exchange “Exchange Management Shell” and close.



Run the Setup.exe for SP3 as an Admin. Select Install Microsoft Exchange Service Pack 3



Click next through the install when done click Finish



Close the Install window.

Run both the Console and the shell again.
Back in the App-V Sequencer select “I an finished installing”



On the “Run each program” screen you can run or not run as you will (it will not work at this stage). The important thing to notice is that only one application is listed.



On the customize screen select Customize



On Edit Shortcuts screen:

We need to add the Console and make it so the Shell will work.

Click Add



In application path put the path to the Console.
“Q:\Exchange.Con\VFS\SFT_PROGRAM_FILES_X64\Microsoft\Exchange Server\Bin\Exchange Management Console.msc”

You also need to add a version Number 8.3.83.0

And name the file with the version number click Add


Now remove the existing Shell shortcut



Now Add a new Shortcut

For the path use
“C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe” -PSConsoleFile “Q:\Exchange.Con\VFS\SFT_PROGRAM_FILES_X64\Microsoft\Exchange Server\Bin\exshell.psc1” -noexit -command “. ‘Q:\Exchange.Con\VFS\SFT_PROGRAM_FILES_X64\Microsoft\Exchange Server\Bin\Exchange.ps1′”
Change the Icon to “%SystemRoot%\Installer\{24B2C164-DE66-44FE-B468-A46D9D5E6B31}\PowerShell.exe”

Change the name to Exchange Management Shell

Change the version number to 8.3.83.0

Change the OSD file name to “Exchange Management Shell 8.3.83.0.osd”

Click Add


Click next to move to Streaming Screen.

Run the console

Click on each on the tools in the toolbox that you want to use:

Message tracking

Public Folder Management

Queue viewer

Or whatever tools you use


 

Run the Shell For me it just popsup and goes away. This is ok at this point.

Click next to Target OS

No changes here

On the Create Package Screen

Select “Continue to modify package” or you can make the changes afterwords but I like doing it here.


Make changes the to deployment TAB to fit your environment as needed.

On the VFS tab you can remove the setup files and logs if they are listed

 

On the OSD TAB:

Select the Exchange Management Console

Change the VM SUBSYSTEM to console



Save the package in the osd files make this change:
<ENVLIST>

<ENVIRONMENT VARIABLE=”__COMPAT_LAYER”>RunAsInvoker</ENVIRONMENT>

</ENVLIST>


Deploy and test on client.

On my computer both applications work as expected.

 

SuperG

Posted in App-V, Exchange • Tags: , , Top Of Page

Write a comment

You need to login to post comments!