Presentation is loading. Please wait.

Presentation is loading. Please wait.

Application Deployment Tools

Similar presentations


Presentation on theme: "Application Deployment Tools"— Presentation transcript:

1 Application Deployment Tools
Deploy Office 365 Pro Plus Paul Wetter Infrastructure Applications Engineer Vista Outdoor Caleb Lund Senior Project Engineer Cyber Advisors

2 Paul Wetter Caleb Lund @PaulWetter @clund82 MCP, MMS 2016 MCSE
10 years of systems management 10 years of systems management Steak, Beer and Potatoes Beer, Steak, and Potatoes

3 Session Overview Background on Office 365 ProPlus Overview of Config Manager Application Model Deploying Office 365 ProPlus PowerShell App Deployment Toolkit

4 Office 365 ProPlus A brief overview

5 Office 365 ProPlus – Overview
Installer runs from the cloud by default Not a MSI based installer No Office Customization Tool Understand the update frequency Understand Channels (Branches) Licensed Per User 5 Devices per user. Shared Computer Activation

6 Office 365 ProPlus – Update Branch Overview
Description Feature Update Frequency Security Update Frequency Example Usage Current Channel (Current Branch) Get the latest and greatest monthly! Monthly Early adopters/beta group. Deferred Channel (Current Branch for Business) Compiled updates and new features from 4 months of updates Every 4 months General release. First Release for Deferred Channel (First Release for Current Branch for Business) Compiled updates and new features from 4 months of updates, 4 months before CBB. Distributed pilot group.

7 Office 365 ProPlus – Update Branch Overview

8 Office 365 ProPlus – Additional Notes
Windows 7 VPN Hotfix Office may not detect a network connection with 3rd Party VPN clients. Hotfix Available: us/kb/

9 Config Manager App Model
A brief overview

10 App Model – Primary Components
Application Catalog What it will look like in the Software Center Deployment Type(s) The meat of your application. Multiples usually meant for App-V vs. MSI Install or 32-bit vs 64-bit. Not for Office with Access and Office without Access. Supersedence Used to replace an older version with a new version. We recommend staying away from this. Supersedence. 2 scenarios: Creating an app just to supersede it. Or superseding an existing app. Deploying App 1.1, 1.2 releases. 1.1 supersedes Currently 1.0 exists but is not currently deployed.

11 App Model – Deployment Type
Content Location Your source files (leave them where they are). Programs Your install and uninstall command lines. Detection Method How we know that the application is installed. Using MSI Product code, Registry values, file/folder existence or custom scripts.

12 App Model – Deployment Type
User Experience What the user sees. ALWAYS adjust “maximum allowed run time”. Requirements What a system must have to deploy the application. Still use a limiting collection as a starting point. Ex: <2 GB RAM, 64-bit OS, etc.

13 App Model – Deployment Type
Dependencies Allow this app to require another app be installed first. For maximum success, build dependencies into script for application. Be afraid of spiders.

14 App Model – Client Logs AppDiscovery.log AppEnforce.log
Review detection results from deployments. AppEnforce.log Shows command lines that were run to execute install or uninstall of applications. (And Exit Codes) AppIntentEval.log Information on the app’s state, requirements evaluation, deployment types, and dependencies. C:\Windows\CCM\Logs

15 Deploying Office 365 ProPlus
Preparing Office

16 Office 365 ProPlus – Challenges with Deployment
Getting content local for deployment Click-to-run by nature wants to download from the internet. Not over my ISDN line! Existing Versions of Office Installed 2007, 2010, 2013, Lync Standalone (2010, 2013) Controlling the update process for Click-to-run How to handle open applications without losing work

17 Office 365 ProPlus – Avoid the Angry Mob

18 Office 365 ProPlus – Solution
Downloading the Content – Multiple Methods Setup.exe with XML config file (Microsoft way) Community PowerShell tool Community GUI Removing Existing Versions Removal Tools Handling Open Applications ???

19 Office 365 ProPlus – Download Option 1
Download Command Line Setup.exe /Download configuration.xml Download Completion dialog – or lack of Contents

20 Office 365 ProPlus – Download Option 1
Configuration.xml <Configuration> <Add Channel=“Deferred" OfficeClientEdition="32" OfficeMgmtCOM="True"> <Product ID="O365ProPlusRetail" > <Language ID="en-us" /> <ExcludeApp ID="Access" /> </Product> </Add> <Display Level="None" AcceptEULA="TRUE" /> <Updates Enabled=“FALSE" /> <Property Name="SharedComputerLicensing" Value="0" /> </Configuration>

21 Office 365 ProPlus – Download Option 2
Optional Download Tool Office IT Pro Deployment Scripts Download-OfficeProPlusChannels – Cmdlet for downloading the latest builds for each channel #Load Functions into session . .\Office-IT-Pro-Deployment-Scripts-master\Office-ProPlus-Deployment\Download- OfficeProPlusBranch\Download-OfficeProPlusChannels.ps1 #Download 32bit Office. 3 branches. Download-OfficeProPlusChannels -TargetDirectory .\Desktop\O365ProPlus -Bitness 'v32' -NumVersionsToKeep 2 'Current') -IncludeChannelInfo $true

22 Office 365 ProPlus – Download Option 3
Optional GUI Download Tool Office IT Pro Deployment Scripts

23 Office 365 ProPlus – Install Command
Install Command Line Setup.exe /Configure configuration.xml

24 Office 365 ProPlus – Solution
Downloading the Content – Multiple Methods Setup.exe with XML config file (Microsoft way) Community PowerShell tool Community GUI Removing Existing Versions Removal Tools Handling Open Applications ?????

25 Office 365 ProPlus – What do I Have???
What do you currently have in your environment? Use Config Manager and SQL to tell you!!! Must have asset intelligence inventory class enabled: SMS_InstalledSoftware SELECT [ARPDisplayName0] [Display Name]       ,[ProductName0] [Product Name]       ,[UninstallString0] [Uninstall String]       ,count([UninstallString0]) as [Instances] FROM [v_GS_INSTALLED_SOFTWARE] where (ARPDisplayName0 like '%Lync%') or (ARPDisplayName0 like '%Office%Professional%') or (ARPDisplayName0 like '%Office%Standard%')   Group by [ARPDisplayName0]       ,[ProductName0]       ,[UninstallString0] Order by [Instances] desc

26 Office 365 ProPlus – What do I Have???
What do you currently have in your environment? Use Config Manager and SQL to tell you!!! Must have asset intelligence inventory class enabled: SMS_InstalledSoftware SELECT [ARPDisplayName0] [Display Name]       ,[ProductName0] [Product Name]       ,[UninstallString0] [Uninstall String]       ,count([UninstallString0]) as [Instances] FROM [v_GS_INSTALLED_SOFTWARE] where (ARPDisplayName0 like '%Lync%') or (ARPDisplayName0 like '%Office%Professional%') or (ARPDisplayName0 like '%Office%Standard%')   Group by [ARPDisplayName0]       ,[ProductName0]       ,[UninstallString0] Order by [Instances] desc

27 Office 365 ProPlus – Uninstalling Old Office(s)
Some options available for Uninstalling old Office Use supersedence in SCCM to uninstall Who has Office 2007 Applications in SCCM 2012? Create a custom uninstall script to remove old versions Sounds like a lot of work… Manual Uninstall What do interns get paid per hour? Microsoft Provided removal tools. Embedded script that seems to always work. Best solution for automation.

28 Office 365 ProPlus – Microsoft Office removal tools
Remove Office 2007 & 2010: OffScrub07.vbs OffScrub10.vbs Office 2013 OffScrub13.vbs Example Uninstall: Bypass Stages of the script =============== - Stage 1:    Component detection. Builds a list of files which are installed/registered to a product that’s going to be removed. This can be a very time consuming task. - Stage 2:     Remove products with Setup.exe - Stage 3:     Remove products with direct calls to Windows Installer - Stage 4:     CleanUp – scrub files and registry settings that remained from the previous stages. Cscript.exe //nologo offScrub13.vbs ClientAll /S /Q /NoCancel /Bypass 1,3,4

29 Office 365 ProPlus – Microsoft Office removal tools
Office Scrub Return Codes: 0 – Success – Either uninstalled and no reboot is required, or nothing was found to uninstall. 1 – Failure Bit – Indicates overall script failure 2 – Reboot Bit – if set, a reboot will be required Replaces a MSI 3010 soft reboot. 4 – User cancelled.

30 Office 365 ProPlus – Putting it together
Components of our Application Office 365 ProPlus Installer Office uninstallers tools How do we combine these? Batch File? PowerShell?! Powershell App Deployment Toolkit!!!

31 App Deployment Tool PowerShell App Deployment Toolkit

32 PowerShell App Deployment Toolkit – Features
Well documented Well Structured template script Pre, Post, install, and uninstall Sections Works well with or without SCCM CMTrace Style Logging C:\windows\logs\Software

33 PowerShell App Deployment Toolkit – Features
But Wait! There’s More! Brand the UI UI handles running applications with grace! Consistent look and feel for end user Numberous Functions

34 PowerShell App Deployment Toolkit – Functions
Install Functions Install MSI/EXE Uninstall MSI Uninstall by Application Name (wildcard match) Execute-MSI -Action 'Install' -Path 'AcroRead.msi' -Transform 'AcroRead.mst' -Parameters '/QN‘ Execute-Process -Path 'setup.exe' -Parameters '/S' -WindowStyle 'Hidden' Execute-MSI -Action ‘UnInstall' -Path '{23170F69-40C }' -Parameters '/QN‘ Remove-MSIApplications -Name 'Adobe Flash'

35 PowerShell App Deployment Toolkit – Functions
File and Registry Functions Copy/Delete files Create/Delete/Modify Registry Keys (in all user profiles too) Create Shortcuts Copy-File -Path "$dirSupportFiles\MyApp.ini" -Destination "$envProgramData\MyApp\Config.ini" Remove-File -Path "$envProgramData\MyApp\Config.ini" Set-RegistryKey -Key 'HKLM\SOFTWARE\Test' -Name 'Debugger' -Value 1 -Type DWord Remove-RegistryKey -Key 'HKLM\SOFTWARE\Test' -Name 'Debugger' Invoke-HKCURegistrySettingsForAllUsers -RegistrySettings $HKCURegistryScriptBlock New-Shortcut -Path "$envCommonDesktop\Log Reader.lnk" -TargetPath "$envWinDir\system32\notepad.exe" -IconLocation "$envWinDir\system32\notepad.exe" -Description ‘Sweet Log Reader' -WorkingDirectory "$envCommonDesktop"

36 PowerShell App Deployment Toolkit – Functions
Dialog Functions Install Welcome / Close Apps Install Welcome / Defer Be aware of what your Application Eval cycle is set to. Installation Prompt/Select Show-InstallationWelcome -CloseApps 'iexplore=Internet Explorer‘ -CloseAppsCountdown 600 – BlockExecution -PersistPrompt Show-InstallationWelcome -CloseApps 'iexplore=Internet Explorer,winword=Microsoft Office Word‘ -CloseAppsCountdown 600 –BlockExecution –PersistPrompt –AllowDefer –DeferTimes 3 Show-InstallationPrompt -Message ‘What type of Installation?' -ButtonRightText ‘Basic' - ButtonLeftText ‘Complete'

37 Putting It All Together

38 Questions? Office 365 ProPlus Deployment

39 And Then …

40


Download ppt "Application Deployment Tools"

Similar presentations


Ads by Google