Monthly archives "July 2015"

Deploy OneDrive for Business via Click to Run

Joe Kuster

It’s been a busy week for Office 365 requests. Here’s some quick notes from the field on deploying OneDrive for Business. The below instructions create a completely silent installer, if you would like a graphical confirmation presented to the user, change the Display Level=”None” to Display Level=”Full” in the configuration.xml file.

 

  1. Create network share with read and execute permission to Everyone and Domain Computers
  2. Download Office Deployment Tool http://www.microsoft.com/en-us/download/details.aspx?id=36778
  3. Unpack exe file to network share
  4. Edit configuration.xml file
  1. Change product ID to 32 or 64 as appropriate to match Office.
  2. Open command prompt or powershell window as Administrator
  3. Run command: setup.exe /download \\share\folder\configuration.xml
  4. Monitor taskmgr network activity to determine when download complete ~900mb for full, this should be less for ODFB only
  5. Run \\yourserver\share\folder\setup.exe /configure \\yourserver\share\folder\configuration.xml to install
  6. Check %temp%\Office2013ClicktoRunWindowsIntune.txt for errors or successful exit code
  7. Verify app is in add/remove programs

If prior versions of Office are also present, check for Interop Issues

If packaging for Configuration Manager, note that this installs from a static location, not the DPs. To localize on the DP, you’ll need to:

  1. Create a package with the sources files downloaded in step 7.
  2. Change the run command to %~dp0setup.exe /configure %~dp0configuration.xml

Compile Batch Files and Scripts for Intune Use

Joe Kuster

In a prior post, How to Customize Office with the Office 365 Click to Run Deployment Tools, I covered a few basics of customizing an Office 365 Click to Run install beyond what is supported in the standard configuration.xml file by using a simple Batch (.bat) file. Since Intune doesn’t support processing Batch files or VBS files, today I’m covering how to compile your scripts and batch files into a self contained executable.

There are hundreds of tools out there to compile executable, but we’re going to use the one Microsoft provided along with Windows, the Iexpress Wizard.

  1. Run iexpress.exe as an Administrator
    image
  2. Use the default of “Create new Self Extraction Directive file.”
    image
  3. Use the default of “Extract files and run an installation command”
    image
  4. Name your project.
    image
  5. Select if you want to provide a prompt.
    image
  6. Provide a license prompt if desired.
    image
  7. Add the customized batch file, setup.exe and the customized configuration.xml file. If other files are included, make sure they all have a unique files.
    image
  8. Select the custom batch file for the installation command. Make sure to add the cmd.exe /c as below.
    image_thumb[1]

  9. Select the focus of the app, in this case we will be using Hidden.
    image
  10. Provide a finished message if desired.
    image
  11. Provide a path to save the executable. I’ve run into odd scenarios when saving outside of the work folder where the other files reside, as such I recommend saving the executable in the same folder and not using any spaces.
    image
  12. Configure if a restart is desired.
    image
  13. Save your Self Extraction Directive
    image
  14. Click next to create the package.
    image
  15. Done!
    image

You now have a single .exe that can be run without parameters and can be delivered via Intune.

How to Customize Office with the Office 365 Click to Run Deployment Tools

Joe Kuster

If you are using Office 365 and are attempting to deploy Office to your users, chances are you’ve run across the Office Deployment Tool for Click-to-Run. With this tool, you may configure the setup to download the files files from a local share rather than slamming your WAN connection with numerous 900mb downloads. That said, the tool doesn’t offer the same flexibility that the Office Customization Tool has offered in the past. Below is a simple example of how to make friends with the new Click-to-Run tool.

First, download the Office Deployment Tool for Click-to-Run.

Second, we need to create a custom Configuration.xml file that fits our needs. Typically the default one gets close. Pay special attention to the SourcePath and commented out sections. By default, several items are commented out with the standard xml syntax such as

At it’s most basic, the following may fit your needs. You could even remove the Source path element entirely and it would just download from the web.

For more options, you may need to consult the Reference for Click-to-Run configuration.xml file.

If you have very special needs, such as only installing specific apps, you may use the ExcludeApp element. For instance, if you only wished to install Outlook and download directly from the web, not pre-staging content, your configuration file may look like:

Assuming you have a file share handy and would like to avoid unnecessary WAN traffic, the next step is to Download the Click to Run Office bits to the path mentioned in the Configuration.xml file. Doing so is pretty simple, dump the setup tool and your .xml file in the desired directory, open a command prompt in that share and  run:

At this point, the tool will process your Configuration.xml file and only download the files associated with that file. That means you may need more than one repository if you are installing different sets of applications on different computers.

We could wrap up at this step, but in the scenario above, the we have to leave Office 2007 installed and only upgrade to Outlook 2013. This means our old nemesis Interop Calls come into play. To fix the issue, we need to remove the 2013 interop registry keys for the applications which are not installed. Since Click-to-Run lacks OCT’s capability of customizing registry keys, we can simply run a batch file that calls the setup.exe and then cleans up the relevant registry keys.

Install_Office_Click-To-Run.bat

If you want to get extra fancy, such as deploying this customized installer via Intune, you’d have to compile your .bat file to an executable via means such as iexpress.exe. Stay tuned for more on packaging scripts into Intune in a later post.

Microsoft App Links for Intune (iOS and Android)

Joe Kuster

Looking to save time in your Intune deployments? One of the most common requests is to install all of the “Office” apps. The next most common is the rest of the Microsoft RMS items if you are using EMS. Below I’ve included all of the Microsoft Mobile Application Management enabled apps as well as the most common requested apps by my clients:

 

iOS

Microsoft Word: https://itunes.apple.com/us/app/microsoft-word/id586447913?mt=8

Microsoft Excel: https://itunes.apple.com/us/app/microsoft-excel/id586683407?mt=8

Microsoft PowerPoint: https://itunes.apple.com/us/app/microsoft-powerpoint/id586449534?mt=8

Microsoft OneDrive: https://itunes.apple.com/us/app/onedrive-cloud-storage-for/id477537958?mt=8

Microsoft OneNote for iPhone: https://itunes.apple.com/us/app/microsoft-onenote-for-iphone/id410395246?mt=8

Microsoft OneNote for iPad: https://itunes.apple.com/nl/app/microsoft-onenote-voor-ipad/id478105721?mt=8

Microsoft Intune Managed Browser: https://itunes.apple.com/us/app/microsoft-intune-managed-browser/id943264951?mt=8

Work Folders: https://itunes.apple.com/us/app/work-folders/id950878067?mt=8

OWA for iPhone: https://itunes.apple.com/us/app/owa-for-iphone/id659503543?mt=8

Lync: https://itunes.apple.com/us/app/lync-2013-for-iphone/id605841731?mt=8

RD Client: https://itunes.apple.com/us/app/microsoft-remote-desktop/id714464092?mt=8

Sunrise Calendar: https://itunes.apple.com/us/app/sunrise-calendar-outlook-app/id599114150?mt=8

Office Lens: https://itunes.apple.com/us/app/office-lens/id975925059?mt=8

OneDrive for Business: https://itunes.apple.com/us/app/onedrive-for-business-replaced/id655772279?mt=8

Office 365 Admin: https://itunes.apple.com/us/app/office-365-admin/id761397963?mt=8

Office 365 Message Encryption Viewer: https://itunes.apple.com/us/app/office-365-message-encryption/id942328937?mt=8

SharePoint Newsfeed: https://itunes.apple.com/us/app/sharepoint-newsfeed/id595847617?mt=8

Office Sway: https://itunes.apple.com/us/app/office-sway/id929856545?mt=8

Dynamics CRM: https://itunes.apple.com/us/app/dynamics-crm-for-phones-express/id723891307?mt=8

Azure Authenticator: https://itunes.apple.com/us/app/azure-authenticator/id983156458?mt=8

MyApps: https://itunes.apple.com/us/app/my-apps-azure-active-directory/id824048653?mt=8

PowerBI: https://itunes.apple.com/us/app/microsoft-power-bi/id929738808?mt=8

Office Delve: https://itunes.apple.com/us/app/office-delve-for-office-365/id969258781?mt=8

RMS Sharing: https://itunes.apple.com/us/app/rms-sharing/id689516635?mt=8

Office 365 Video: https://itunes.apple.com/us/app/office-365-video-for-iphone/id953685679?mt=8

Outlook: https://itunes.apple.com/us/app/microsoft-outlook/id951937596?mt=8

 

 

Android

Microsoft Word: https://play.google.com/store/apps/details?id=com.microsoft.office.word

Microsoft Excel: https://play.google.com/store/apps/details?id=com.microsoft.office.excel

Microsoft PowerPoint: https://play.google.com/store/apps/details?id=com.microsoft.office.powerpoint

Microsoft OneDrive: https://play.google.com/store/apps/details?id=com.microsoft.skydrive

Microsoft Intune Managed Browser: https://play.google.com/store/apps/details?id=com.microsoft.intune.mam.managedbrowser&hl=en

Microsoft Intune PDF Viewer: https://play.google.com/store/apps/details?id=com.microsoft.intune.mam.pdfviewer&hl=en

Microsoft Intune Image Viewer: https://play.google.com/store/apps/details?id=com.microsoft.intune.mam.imageviewer&hl=en

Microsoft Intune AV Player: https://play.google.com/store/apps/details?id=com.microsoft.intune.mam.avplayer&hl=en

Microsoft Office Hub: https://play.google.com/store/apps/details?id=com.microsoft.office.officehub

Office Lens: https://play.google.com/store/apps/details?id=com.microsoft.office.officelens

Microsoft Account: https://play.google.com/store/apps/details?id=com.microsoft.msa.authenticator

Sunrise Calendar: https://play.google.com/store/apps/details?id=am.sunrise.android.calendar

Outlook: https://play.google.com/store/apps/details?id=com.microsoft.office.outlook

OneNote: https://play.google.com/store/apps/details?id=com.microsoft.office.onenote

Remote Desktop Client: https://play.google.com/store/apps/details?id=com.microsoft.rdc.android

Lync 2013: https://play.google.com/store/apps/details?id=com.microsoft.office.lync15

Office Remote: https://play.google.com/store/apps/details?id=com.microsoft.office.officeremote

Keyboard for Excel: https://play.google.com/store/apps/details?id=com.microsoft.keyboardforexcel

OWA for Android: https://play.google.com/store/apps/details?id=com.microsoft.exchange.mowa

Office 365 Admin: https://play.google.com/store/apps/details?id=com.ms.office365admin

MyApps: https://play.google.com/store/apps/details?id=com.microsoft.myapps

OneNote: https://play.google.com/store/apps/details?id=com.microsoft.office.onenote.wear