Monday, June 13, 2011

Citrix: Isolation Environment - Installing Office 2007

What Application Isolation Environment (AIE) can resolve ?

  • Application Conflicts
    • Run multiple version of the same application
    • Run multiple version of the same .DLL
  • Multi User Issues
    • Can solve configuration issues with hard coded path to .INI files
    • Can solve configuration issues with HKLM registry keys
  • Give users “Virtual” more rights to an application

Below is a screenshot cast demonstrating installation of Office 2007 into an Isolation Environment.

Note: If you have Office 2003 already installed, you must uninstall Office 2003 first and then install Office 2007 into isolation environment. After you complete the Office 2007 isolation installation, you can install Office 2003.

If you do not do this you will get error at the time of Office 2007 installation. Please click HERE for more details and step-by-step document about the resolution of the error.

Click HERE if you cannot uninstall MS Office from Add/Remove Programs.

There are two steps:
  1. Installation of application in AIE.
  2. Punlishing application

STEP-1: Steps to install Office 2007 into an Citrix Application Isolation Environment (AIE)

  • login to Citrix XenApp Advanced Configuration.
     
  • Create a new seperate isolation environment for the application. To do so, Right Click on Isolation Environments and then click on New isolation environment.

    Here I have created the isolation environment named "Office_2007".

  • Now you need to set the server in terminal server install mode. To do so, open Command Prompt and execute the following command:

    Change User /Install

     
  • Go to the following path:

    C:\Program Files\Citrix\System32 and execute the following command to put the environment into AIE install mode.

    AIESetup <Isolation Environment Name> <Installation Source>
    Here I have entered the following command.

    AIESetup Office_2007 E:\setup.exe
     
  • Once you run the above command you'll see application installer launched by AIE and below is the screenshot.
     
    Also Office 2007 installation wizard will pop up.

    Note: Do not press ENTER now.
     
     
  • Install Office 2007. After installation completed, press ENTER to complete the discovery process.

  • Once discovery gets completed, you will get the following screen.

  • To confirm the installation process go to Citrix XenApp Advanced Configuration. Right click on the Isolation Environment name you created and go to Properties. There you will see the applications you have installed using isolation environment.



  • Now you have the Office 2007 application successfully installed in XenApp AIE mode. The isolation installation location will be C:\Program Files\Citrix\AIE.
     
  • You can invoke the AIE application using the following command:

    Aierun.exe <Isolation Environment Name> "C:\Program Files\Citrix\AIE\Office_2007\Device\C\Program Files\Microsoft Office\Office12\WINWORD.exe"

    For example, here I have used the following command to invoke Microsoft Word application.

    Aierun.exe Office_2007 "C:\Program Files\Citrix\AIE\Office_2007\Device\C\Program Files\Microsoft Office\Office12\WINWORD.exe"

     
  • Now run the following command to set the terminal server in Execution Mode.

    Change User /EXECUTE
  • That's it. Now you have successfully installed and tested Office 2007 Application Isolation Environment.

    STEP-2: Publishing Application
     
  • Open Citrix Access Management Console.
     
  • Create a new Publish Application. The main points you should note is below (here I am publishing Excel 2007).







No comments:

Post a Comment