Pre-Requisites:
Windows 7 SP1 or later
App-V 5.0 or later
Office 2010 or later
Office 2010 Deployment Kit for App-V (download)
The machine you are going to use to sequence OneNote must have Microsoft Office installed before you start.
So first thing to do is to install Microsof Office. Once it is finished install the Office 2010 Deployment Kit for App-V.
Your install parameters should be something like the following:
For 32-bit:
msiexec /i OffVirt.msi ADDLOCAL=OSpp,OSpp_Core PROPLUS=1
For 64-bit:
msiexec /i OffVirt.msi ADDLOCAL=OSpp,OSpp_Core,OSppWoW64 PROPLUS=1
Now create a file named AddOneNote.xml with the following content and place it with the Office install files where the setup.exe is located:
<Configuration Product="ProPlus"> <Display Level="none" CompletionNotice="no" Reboot="ReallySuppress" SuppressModal="yes" AcceptEula="yes" /> <Setting Id="SETUP_REBOOT" Value="Never" /> <OptionState Id="OneNoteFiles" State="Local" Children="force" /> </Configuration>
OK now launch the App-V Sequencer, click on tools --> options.
Now click on Exclusion Items --> New and add the following:
Exclude Path: [{Common Appdata}]\Microsoft\OfficeSoftwareProtectionPlatform
Mapping Type: VFS
Exclude Path: [{Common Appdata}]\Microsoft\Windows
Mapping Type: VFS
Click on OK.
Now click on Create a New Virtual Application Package.
Click on Next.
Make sure you don't have anything pending action and click on Next.
Leave the default and click on Next.
Select Perform a custom installation and click on Next.
Give it a name and choose a Primary Virtual Application Directory (don't choose the same directory where Office is installed). Click on Next.
Now from a command prompt with elevated privileges go where the Office source files are and type:
Setup.exe /config AddOneNote.xml
Once the installation is finished click on I am finished installing and click on Next.
Click on Next and Next again.
Now click on Customize and click on Next.
Click on Next. Click on Yes.
Choose if you want to restrict the package to any operating systems. Click on Next.
Choose Continue to modify package without saving using the package editor. Click on Next.
Click on Close. Click on the Advanced tab and tick both Allow all named objects to interact with the local system and Allow all COM objects to interact with the local system.
Click on the Shortcuts and FTAs tab and remove everything except the Microsoft OneNote.
Now click on File --> Save and choose the name you want to save the package.
Now in the client machine install the Office 2010 Deployment Kit:
For 32-bit:
msiexec /i OffVirt.msi ADDLOCAL=OSpp,OSpp_Core PROPLUS=1
For 64-bit:
msiexec /i OffVirt.msi ADDLOCAL=OSpp,OSpp_Core,OSppWoW64 PROPLUS=1
Install/Publish the OneNote package and you are done.














No comments:
Post a Comment