Showing posts with label app v. Show all posts
Showing posts with label app v. Show all posts

Friday, 11 November 2011

Updated sequencing information for office 2010 with migration from physical


There are hotfixes out for the app-v sequencer 4.6 sp1. I was advised to install these.

pre req steps:
create install media if required
copy your install media to the sequencer
Stop services
install VSL reg key (HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\SoftGrid\4.5\Sequencer)
extract offvirt
install offvirt
set pc to high preformance / never sleep

Start package creation
Create Package (default)
Next (deal with any issues)
Next
Standard Application (default)
Perform a custom installation
Name it: MS_OFFICE_PROPLUS_2010_W32_M2007
Record setup.exe version: 14.0.4755.1000
Run office setup (you may want to use a custom MSP created with the OCT)
Customize
Run all from my computer
Install to C:\Program Files\Microsoft Office
Install now
Install SP1
Install lm and addin
Install OCS (install to C:\pfiles\mso\ocs)
Install OCS update MSP

Install some reg keys then mark them as deleted (this step is required by sharepoint):
reg add "HKCR\CLSID\{9203C2CB-1DC1-482d-967E-597AFF270F0D}\TreatAs"
reg delete "HKCR\CLSID\{9203C2CB-1DC1-482d-967E-597AFF270F0D}\TreatAs" /va /f
reg add "HKCR\CLSID\{BDEADEF5-C265-11D0-BCED-00A0C90AB50F}\TreatAs"
reg delete "HKCR\CLSID\{BDEADEF5-C265-11D0-BCED-00A0C90AB50F}\TreatAs" /va /f
pause

Install OCS reg fix:
REG ADD "HKCU\Software\Microsoft\Communicator" /v TourPlayed /d 1 /t REG_DWORD /f
pause

Install word error reg fix:
reg add HKCU\Software\Microsoft\Office\14.0\Word\Options /v NoReReg /t REG_DWORD /d 1
pause

Configure software
Collecting system changes
Review
Continue to edit shortcuts

set OCS shortcut into start up

setup feature proxies at the shortcuts screen
record the names you use for all (some of your paths may be different)
On the Edit Shortcuts screen, add the following applications, copy paste each line
"%commonprogramfiles%\Microsoft Shared\Virtualization Handler\VirtualSearchHost.exe"
Search MAPI Protocol Handler Host
14.0.4750.1000
Search MAPI Protocol Handler Host 14.0.4750.1000.osd

"%commonprogramfiles%\Microsoft Shared\Virtualization Handler\VirtualOWSSuppManager.exe"
Microsoft SharePoint Client Support Manager
14.0.4750.1000
Microsoft SharePoint Client Support Manager 14.0.4750.1000.osd

"%commonprogramfiles%\Microsoft Shared\Virtualization Handler\MAPISERVER.EXE"
Microsoft Virtual Office Simple Mapi Proxy Server
14.0.4750.1000
Microsoft Virtual Office Simple Mapi Proxy Server 14.0.4750.1000.osd
#Note paste this in exactly as is don't use the " like in the ones above
%windir%\System32\control.exe Q:\MS_OFFICE_PROPLUS_2010_W32_M2007\VFS\CSIDL_PROGRAM_FILES\Microsoft Office\Office14\MLCFG32.CPL
Windows Control Panel
14.0.4750.1000
Windows Control Panel 14.0.4750.1000.osd

"Q:\MS_OFFICE_PROPLUS_2010_W32_M2007\VFS\CSIDL_PROGRAM_FILES\Microsoft Office\Office14\MSOSYNC.EXE"
Microsoft Office Document Cache
14.0.4750.1000
Microsoft Office Document Cache 14.0.4757.1000.osd
continue to edit
uncheck "Enforce Security Descriptors"
record the package GUID you need it later
set keys as merge with local (from ms recipe)
set keys for office settings migation (http://blogs.technet.com/b/deploymentguys/archive/2011/06/10/migrating-user-settings-from-office-2003-to-a-sequenced-version-of-office-2010-running-under-app-v.aspx)
Make sure all apps have the same version number
Set local interaction to TRUE for all apps
Save package
copy package to network location
move report.xml into it's own folder (so you cna import into SCCM)

Deploy to target pc
app-v client (there are hot fixes out for this)
offvirt licensing flags
virtual office package
offvirt feature proxies (remember to use the exact names/version/guid that you recorded earlier)

Monday, 19 September 2011

Some things I have learned about the Application Virtualization Sequencer V4.6 SP1


If an applications interface with the system like a driver
extract the problem component include on golden image or use OSD scripting to deploy it with the app


Some apps use non virtualized extensibility points
Shell extentions and plug-ins
To fix this use DSC to link applications together so they can see each other in the run time environment

Embeded state or dependencies
Applications embed paths to resources in binary so sequencer can't find it
Make sure to install to the Q drive and follow appv best practices

One app that has these problems is netmon from MS


8.3 names are no longer needed in the new sequencer 4.6 sp1
Creating the primary feature block happens at the prepare for streaming section (not like at the first run in 4.5)

When should you compress a package. If you are streaming the package and there is a low bandwidth network then you should compress the package. Also if you package is approaching the 4GB size limitation then you need to compress it. Some MS engineers always compress packages.The package will only be decompressed at first run on the client side.

The standard way to trouble shoot app v is to use procmon while the application is starting up and observe what it is trying to access. There is also diagnostics in the sequencer. The first point of call should be the excluded files list in the sequencer. Report.xml is outputed with your package. If we identify a file that should have been included we need to go back and re-sequence the application but this time remove the files from the exclusion list.

A driver may have been detected when the app was installed. You will be provided with a location. Often in the registry. So if we need to include a driver that cannot be virtualized we need to extract that driver. Then include on our golden image or deploy it with the package using OSD scripting.

Sequencer will detect pending reboots. Defrag and SMS service can really interfere with the sequencer. Turn off indexing. 4.6SP1 will also remind you that you need to revert the VM if using hyper-v.

Installation report will tell you about:
excluded files
Drivers
COM+
System differences
SxS Conflicts
Shell Extensions


Dynamic Suite Composition
We can link packages so they can see each other in the their virtual bubble. Normally appv'd apps are isolated from each other. You need to decide what route is right for you. You may want to bundle java with several apps. Alternativly you may want to update java regularly so virtualizing java once seperatly and linking it to many apps might be better.
The steps are:
Sequence App1 (Package Files)
Revert VM
Expand app1 (de-virtualize)
Sequence Plug-in (Plugin files)
Link dependencies between app1 and plugin

To expand a package in the sequencer you would select expand package to local system. Select your package and click open. The page will now be expanded.

Start another sequencing job (you'll be warned that the dsc tool is running its ok to leave this open). Choose Add-on or plug-in. Browse to your plug-in (Java or SaveasPDFandXPS). Now you will be ased to browse to the parent program. If this was MS word you would need to select winword.exe on the Q drive. Give a name for the package. Finish the install as normal and create the package.

Now we have our app and our plugin. Now you need to set the depencies. Start up DSC.Select the package roots. Add folder for office and the plugin. Select the primary package in this case office. Add the plugin as the secondard. Click "Save". The tool will go into the OSD and set the secondary as a dependency of the primary package.

Package Accelerators
Are the barebones of a virtualized package. You just need to provide the binaries (install media). Your install media + the package accelerator get input into the sequencer to produce. The complete package.

Start the sequencer, choose the second option "Create a Package Using a Package Accelerator" browse to the package accelerator which you have downloaded. Its a cab file so you can look inside it if you want. The sequencer will check if it has been digitally signed. If not you will get a warning. Its probably a good idea only to use Package accelerators from microsoft. Specify the installation files. And create to create your virtualized application. You can configure the application to provide licencing information (it will launch the app in monitoring mode) Thats basically it.

For complicated apps like office creative suite or autocad package accelerators can save you a lot of time. MS spends alot of time testing them. You can create your own package accelerators for relieable re-sequencing.

Thursday, 15 September 2011

App v QA tips

This is a work in progress:

After testing on the desktop applications should be tested in terminal services also.

Fast search in outlook, click start and search for emails
Work on documents in sharepoint
Send to OneNote printer
Mail control panel applet
Simple MAPI
Office document indexing
Test templates in office

Monday, 12 September 2011

issues installing app v management on server a 2008 R2 domain controller

While trying setup a test environment to install app v management server on a DC I was asked to point to a DB server. I installed MS SQL server 2005 express edition. The app v management server setup was not able to detect my sql express install. I had to start the SQL browser service to resolve the issue.

I also received a message "The Installation program was unable to create the required IIS virtual directory" this was because I didn't install the following role features with IIS:

IIS6 Management Compatibility
IIS Management Scripts and Tools