Useful information and resources referenced in my webcast covering App-V 5.0 on Nov. 19th, 2013.
Resources and Tools
- App-V 5.0 Trial Guide (good start document)
- Guide to configuring Microsoft App-V to both publish and stream via HTTP
- Tim Mangan’s free tools
- App-V Configuration XML Editor GUI
- Managing App-V 5.0 with System Center Configuration Manager 2012 SP1
- App-V Sequencing Guide
Tips when virtualizing
- UserProgramFiles causing error 0×80070057
- Apps that install in a user’s directory
- Set security during sequencing
- Adding environment variables and the complications therein as the package object does not construct properly, therefore the PkgID and VerID values are not present
- Targeted scripting
- Shims with AppV
Notable App-V Blogs to “follow”
- Microsoft App-V Team – http://blogs.technet.com/b/appv
- Tim Mangan – http://www.tmurgent.com/TmBlog
- Thamim Karim – http://blogs.technet.com/b/virtualvibes
- Aaron Parker – http://stealthpuppy.com
- Nicke Kallen – http://www.applepie.se
- Falco Gräfe – http://kirxblog.wordpress.com
- Rory Monaghan – http://rorymon.com
Registration is now available for my upcoming webcast on BDNA’s Microsoft Master Series. For this webcast, I will cover scripting and PowerShell techniques with App-V 5.0, both when integrated with ConfigMgr 2012 and as standalone App-V infrastructure.
Ladies and gentlemen, children of all ages…welcome to the great show in application virtualization! During this session we hope to razzle dazzle you with stunning performances, amazing feats, and wild animals…
….Well, maybe there won’t be any wild animals. Microsoft Application Virtualization (App-V) can be more than a mere means of delivering applications to users. Have you ever found yourself saying, “I didn’t know it could do that!”?
In this presentation, Nick will to cover a variety of the cool things that App-V 5.0 can do, such as
- Controlling App-V through PowerShell
- Implementation of additional tasks at deployment time
- Integration between applications
Date: Tuesday, Nov 19, 2013
Live Presentation: 11am – 12pm PDT | 2pm – 3 pm EDT
Live Q&A with Nick: 12pm – 1 pm PDT | 3pm – 4pm EDT
Nick is a 9 year, seasoned professional with all things Configuration Manager and systems management. He is a co-facilitator and presenter for the local System Center user group in Denver. Nick is an active blogger for topics related to ConfigMgr and systems management techniques and has been involved in forums for TechNet and MyITForum.
My presentation from MMS 2013 has been available for quite some time, but I realized that I hadn’t yet posted a link to it.
Augmenting Your Windows Management Strategy with System Center 2012 Configuration Manager Task Sequences
I use the below PowerShell script code for testing my App-V packages prior to publishing them officially. The top portion will add the package on the local system. While the second portion will remove the package once my testing is complete. For easiest execution, I use the PowerShell ISE to just run the code segments that I need. The values to add for yourself are:
- pkgPath – the UNC to the AppV files
- pkgAppV – the name of the .app file
- pkgXML – the name of the .xml file
- pkgName – change the “Part_Of_App_Name” value to what is appropriate (such *java*)
# First code adds the package clear $pkgPath = "\\server\path\" $pkgAppV = $pkgPath + "FileName.appv" $pkgXML = $pkgPath + "DeploymentConfig.xml" Add-AppvClientPackage -Path $pkgAppV -DynamicDeploymentConfiguration $pkgXML | Publish-AppvClientPackage -Global # Next code removes the package $pkgName = Get-AppvClientPackage -Name *Part_Of_App_Name* Unpublish-AppvClientPackage -PackageID $pkgName.PackageId -VersionID $pkgName.VersionId -Global Remove-AppvClientPackage -PackageID $pkgName.PackageId -VersionID $pkgName.VersionId
Quick guide to create an O365 Pro Plus (e.g. Click-To-Run) deployment with ConfigMgr
- Obtain the source files
- Download the Office Deployment Tool for Click-To-Run
- Run the wizard (or use a tool such as 7-zip) to extract Setup.exe
- setup.exe /download <path of Configuration.xml file>
- Create a configuration file based upon config your desired configurations (or use the example below)
- Create a ConfigMgr package with the setup.exe, configuration.xml file(s), and the download Office folder
- Create a program for the package to run command line setup.exe /configure <path of Configuration.xml file>
(setup will locate the source files within the Office folder)
Example configuration.xml file for deployment
<Configuration> <Add OfficeClientEdition="32" > <Product ID="O365ProPlusRetail"> <Language ID="en-us" /> </Product> </Add> <Updates Enabled="TRUE" /> <Display Level="None" AcceptEULA="TRUE" /> <Logging Name="O365ProPlusRetail.log" Path="%temp%" /> --> <Property Name="AUTOACTIVATE" Value="1" /> </Configuration>
If you’re experiencing SMS_MP_CONTROL_MANAGER message 5438 on a ConfigMgr 2007 that is in native mode, check the bindings on the default website in IIS. It should be set to use HTTPS (443) with the SSL cert field set to use that server name.
Site status message:
MP Control Manager detected MP is not responding to HTTP requests. The http error is 12030.
Possible cause: MP service is not started or not responding.
Solution: Manually restart the SMS Agent Host service on the MP.
Possible cause: IIS service is not responding.
Solution: Manually restart the W3SVC service on the MP.
There are many guides online on automating the installation of SQL 2008 R2 Express. Although each was missing a small detail, a concatenation of them led me to create a successful deployment. Use the following process if you also are stuck trying to find the answer!
- Run “SQLEXPR_x64_ENU.exe /UIMODE=Normal”
- Go through the wizard, giving the settings desired for SQL Express, including the admins
- On the “Ready to Install” page of the wizard, obtain a copy of ConfigurationFile.ini and then cancel the setup wizard
- Edit the .ini file with the following:
- Change parameter QUIET to “True”
(Note: if you attempt to instead use QUIETSIMPLE to display a progress bar as part of the install, the deployment will not execute in ConfigMgr)
- Comment out or delete the PCSOURCE parameter
- Comment out or delete the UIMODE parameter
- At the end of the file, add IACCEPTSQLSERVERLICENSETERMS=True
(Note: do not use quotes around True as it’s a Boolean parameter)
- Change parameter QUIET to “True”
- Create a script which
- Copies the .ini file to c:\windows\temp
- Executes command “SQLEXPR_x64_ENU.exe /ConfigurationFile= c:\windows\temp\ConfigurationFile.ini /INDICATEPROGRESS”