Friday, May 10, 2013

Problems with App-V 4.6 applications using Word Excel and Powerpoint


These settings enable direct shortcuts to .docx or xlsx files in shortcuts or from within applications, to work when an existing (external bubble) word or excel session exists.

For .doc / .xls file adjust the Word.Document.8 / Excel.Sheet.8 registry locations.

Powerpoint launches a separate session in the bubble even if an existing session is running outside.  Remember to include the TERMINATECHILDREN=TRUE for these items because the bubble will remain open after the powerpoint session is closed. - cause unknown.

Note that there are limitations inherent in using these registry modifications.  These registry modifications are version specific.  If a later version of office were to be deployed then these setting would need to be adjusted.  Another approach to this solution would be to use a script to detect the current MS Offiice installation before applying the registry modifications.

Launch word Documents:

<REGISTRY>
<REGKEY HIVE="HKCR" KEY="Word.Document.12\shell\Open\command" NOREDIR="FALSE">
<REGVALUE REGTYPE="REG_SZ">"C:\Program Files (x86)\Microsoft Office\Office14\WINWORD.EXE" /w "%1"</REGVALUE>
</REGKEY>
<REGKEY HIVE="HKCR" KEY="Word.Document.12\shell\Open\command" NOREDIR="FALSE">
<REGVALUE REGTYPE="REG_SZ" NAME="command">xb'BV5!!!!!!!!!MKKSkWORDFiles&gt;bi$T!V!0Z={Pk0vm~AZu /w "%1"</REGVALUE>
</REGKEY>
</REGISTRY>

Launch Excel Documents:

<REGISTRY>
<REGKEY HIVE="HKCR" KEY="Excel.Sheet.12\shell\Open\command" NOREDIR="FALSE">
 <REGVALUE REGTYPE="REG_SZ">"C:\Program Files (x86)\Microsoft Office\Office14\EXCEL.EXE" /e "%1"</REGVALUE>
<REGVALUE REGTYPE="REG_SZ" NAME="command">xb'BV5!!!!!!!!!MKKSkEXCELFiles&gt;VijqBof(Y8&apos;w!FId1gLQ /e "%1"</REGVALUE>
 </REGKEY>
<REGKEY HIVE="HKCR" KEY="Excel.Sheet.8\shell\Open\command" NOREDIR="FALSE">
<REGVALUE REGTYPE="REG_SZ">"C:\Program Files (x86)\Microsoft Office\Office14\EXCEL.EXE" /e "%1"</REGVALUE>
<REGVALUE REGTYPE="REG_SZ" NAME="command">xb'BV5!!!!!!!!!MKKSkEXCELFiles&gt;VijqBof(Y8&apos;w!FId1gLQ /e %1</REGVALUE>
</REGKEY>
<REGKEY HIVE="HKCR" KEY="Excel.Sheet.12\shell\Open\ddeexec" NOREDIR="FALSE">
<REGVALUE REGTYPE="REG_SZ"></REGVALUE>
 </REGKEY>
<REGKEY HIVE="HKCR" KEY="Excel.Sheet.8\shell\Open\ddeexec" NOREDIR="FALSE">
 <REGVALUE REGTYPE="REG_SZ"></REGVALUE>
</REGKEY>
</REGISTRY>