Follow

How to DIA Office 365 Professional Plus

Product: ProfileUnity          

Product Version: 6.5.7

Expires on: 365 days from publish date

Updated: Nov 7, 2016

 

Problem:

How to DIA Office 365 Professional Plus

 

Possible Resolution:

Please make sure to review all steps in the article 

 

Prerequisites 

  • RelauncherV2.exe.zip
  • Obtain Office Deployment Tool and Office 365 installation file
  • Capture Office 365 with FlexApp using the Office Deployment Tool  
  • Configuration-Disable Apps.json
  • If you are looking to use Outlook indexing the Windows search service should be started on the FPC (FlexApp Packaging Console) during office capture.  Then use the template "Outlook Search Index for Windows 7, Windows 10 and 2016 as a Desktop" in ProfileUnity 6.7.

To Obtain Office Deployment Tool and Office 365 installation files

  1. Download the Office Deployment Tool: 
  2. Execute the downloaded file. You will be prompted for a location to extract the setup.exe and a configuration.xml file. Choose/create a share directory that will be accessible to client/users.



  3. Browse to the share and edit the configuration.xml file. The following is an example of what your configuration.xml should contain.

    <Configuration>

    <Add SourcePath="\\Server\Share\" OfficeClientEdition="32" >

    <Product ID="O365ProPlusRetail">

    <Language ID="en-us" />

    </Product>

    </Add>

    <Display Level="Basic" AcceptEULA="TRUE" />
    <Logging Path="%temp%" />

    <Property Name="AUTOACTIVATE" Value="0" />
    <Property Name="SharedComputerLicensing" Value="1" />
    <Updates Enabled="TRUE" UpdatePath="\\Server\Share\Updates" />

    </Configuration>

    • Make sure the “Property Name” values are set as shown above. 
    • Update the source path to the network share location where the installation files for Office 365 will be stored. 
    • If the Display Level is set to none. There will be no user interface or progress indicator. it will be a silent install.
      More information about the configuration file can be found here
  4. Open a CMD prompt and run the following to download the source files to your designated file share.
    \\Server\Share\setup.exe /download \\Server\Share\configuration.xml

 

Capture Office 365 with FlexApp using the Office Deployment Tool

After the download is complete, use the “/configure” parameter to install Office 365 Pro in a FlexApp layer.

  1. Login to the FPC machine and open and log into the FlexApp Packaging Console.
  2. Click ‘Create’ to create a new package.
  3. Fill in all the required fields. 



    • Enter the Package name
    • Installer location –
      • On the first line enter: \\Server\Share\setup.exe
      • On the second line enter: /configure \\Server\Share\configuration.xml
        (Replacing \\Server\Share with the appropriate path for your environment)
    • Set the remaining options based upon your requirements.
  4. Once all required fields are filled in, click ‘Create’ to begin the packaging process.
  5. The virtual disk will be created and the installation of Office 365 will begin. 
  6. Once the installer has completed, click the ‘Finish’ button in the FPC window.
  7. After the package creation process has finished, click the ‘Save’ button to finish saving the package.
  8. Since Office contains several icons for programs, FPC will likely prompt you to select an icon to use as the main one to display within FPC and ProfileUnity. 

The Office DIA package has now been created and saved successfully and can be selected for playback within the ProfileUnity web console.

 

Add Portability rule element to existing office rule in Portability Management

  • Merge User Profile 'AppData\Local\Microsoft\Office\16.0\Licensing 

Pre-6.5.8 -Add ReLauncherV2 files to Flexapp.zip

  1. Copy flexapp.zip from ProU NETLOGON directory or share to Desktop.
  2. Extract flexapp.zip to folder on Desktop.
  3. Copy ReLauncherV2.zip to Desktop.
  4. Extract ReLauncherV2.zip to folder on Desktop.
  5. Copy contents of extracted ReLauncherV2 folder into FlexApp folder, overwriting files when prompted.
  6. Select all files in FlexApp folder and re-zip.
  7. Rename zipped file to flexapp.zip.
  8. Copy new flexapp.zip back to ProU NETLOGON directory, overwriting previous version.
  9. Refresh or recompose pool so new FlexApp files (which includes ReLauncher) is pulled down. If in base you can uninstall and re-install ProfileUnity, then shut down, take snapshot and use that new snapshot for pool.  

Pre-6.5.8 Add New Registry rule in ProfileUnity

Add new registry rule in main config to run relauncher.exe as a runonce reg execution. See below for example 

 

ReLauncher.exe Config options, examples to add additional exe's.  

<value>

                    <ArrayOfString xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

                        xmlns:xsd="http://www.w3.org/2001/XMLSchema">

                        <string>lync.exe</string>

                        <string>winword.exe</string>

                        <string>excel.exe</string>

                        <string>powerpnt.exe</string>

                        <string>mspub.exe</string>

                        <string>msaccess.exe</string>

                        <string>onenote.exe</string>

                    </ArrayOfString>

 

Add New Configuration-Disable Apps.json (Optional)

The configuration json can be imported and used in cases where your office 365 install includes Visio and Project but you need to limit use due to licenses. These are pre-configured application launcher rules that can be filtered as needed.

Additional Configuration Needed For Office365-2016

If you packaged Office365-2016 a few additional steps are required before deploying the DIA package.

 

  1. In FPC, playback the Office 365 package you created earlier.
  2. Once the package plays back, open regedit and navigate to:

    HKEY_USERS\.DEFAULT\Software\Microsoft\Office\16.0\Common\Experiment

  1. Right-click the Experiment registry key and export to a shared network location.

4. Now, open the ProfileUnity web console and edit the configuration you will be deploying the Office365-2016 DIA package with.

5. Go into the FlexApp DIA module and configure the Office365-2016 package for playback.

6. Go into the Registry module and click ‘Add Registry Rule’

7. Browse and Import the .reg created in step 3 – this should create 6 new registry rules.

8. Save your configuration by clicking Update.

9. The configuration is now ready to be deployed and the package fully ready for playback.

 

 

 

 

Note:  If the Office365-2016 package needs to be played back on the FPC machine in the future, you will need to manually import the .reg saved in Part III-Step 3 before playing the package back.  If you do not, you will eventually receive a ‘Something went wrong’ error when attempting to open any Office program.

 

Additional Related KBs:

https://liquidwarelabs.zendesk.com/hc/en-us/articles/210635183-Outlook-Indexing-For-Non-Persistent-Desktops-using-Profile-VHD-VMDK

 

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

0 Comments

Article is closed for comments.