StartLayout.XML for Office 32 bits or 64 bits

Brass Contributor

Hello.

 

We use startlayout.xml to define a partial Start Layout for corporate applications like Office 2016.

Our main Office Version is Office 2016 - 32Bits but we have some requests for Office 2016 - 64 Bits.

 

On computers where office 32 bits is replaced by the 64 bits version, tiles are missing from the start Menu.

Is it possible to display the right tiles with an unique startlayout.xml ?

 

If it's not the case, how can I apply the right startlayout.xml on the computers ?

 

<start:Group Name="Office Applications">
<start:DesktopApplicationTile Size="2x2" Column="0" Row="0" DesktopApplicationID="{7C5A40EF-A0FB-4BFC-874A-C0F2E0B9FA8E}\Microsoft Office\Office16\MSACCESS.EXE" />
<start:DesktopApplicationTile Size="2x2" Column="2" Row="0" DesktopApplicationID="{7C5A40EF-A0FB-4BFC-874A-C0F2E0B9FA8E}\Microsoft Office\Office16\EXCEL.EXE" />
<start:DesktopApplicationTile Size="2x2" Column="4" Row="0" DesktopApplicationID="{7C5A40EF-A0FB-4BFC-874A-C0F2E0B9FA8E}\Microsoft Office\Office16\ONENOTE.EXE" />
<start:DesktopApplicationTile Size="2x2" Column="0" Row="2" DesktopApplicationID="Microsoft.Office.OUTLOOK.EXE.16" />
<start:DesktopApplicationTile Size="2x2" Column="2" Row="2" DesktopApplicationID="{7C5A40EF-A0FB-4BFC-874A-C0F2E0B9FA8E}\Microsoft Office\Office16\POWERPNT.EXE" />
<start:DesktopApplicationTile Size="2x2" Column="4" Row="2" DesktopApplicationID="{7C5A40EF-A0FB-4BFC-874A-C0F2E0B9FA8E}\Microsoft Office\Office16\MSPUB.EXE" />
<start:DesktopApplicationTile Size="2x2" Column="0" Row="4" DesktopApplicationID="{7C5A40EF-A0FB-4BFC-874A-C0F2E0B9FA8E}\Microsoft Office\Office16\lync.exe" />
<start:DesktopApplicationTile Size="2x2" Column="2" Row="4" DesktopApplicationID="{7C5A40EF-A0FB-4BFC-874A-C0F2E0B9FA8E}\Microsoft Office\Office16\WINWORD.EXE" />
</start:Group>

4 Replies

{7C5A40EF-A0FB-4BFC-874A-C0F2E0B9FA8E} is known folder id for ProgramFilesX86

 

replace it with {905e63b6-c1bf-494e-b29c-65b732d3d21a} for Office 64-bit

 

https://docs.microsoft.com/en-us/windows/win32/shell/knownfolderid

@abbodi1406 

 

Hello, 

 

Many thanks for your answer.

 

My goal is to have an unique startlayout.XML for all computers.

 

I saw in the link that you provided ( https://docs.microsoft.com/en-us/dotnet/framework/winforms/controls/known-folder-guids-for-file-dial... that 3 GUID Exists :

 

ProgramFiles
905E63B6-C1BF-494E-B29C-65B732D3D21A

 

ProgramFilesX64
6D809377-6AF0-444B-8957-A3773F02200E

 

ProgramFilesX86
7C5A40EF-A0FB-4BFC-874A-C0F2E0B9FA8E

 

So, will the first one work for 32 and 64 bits ?

 

For the moment, we have two startlayout.xml. One refering to the guid 6D809377-6AF0-444B-8957-A3773F02200E and the other 7C5A40EF-A0FB-4BFC-874A-C0F2E0B9FA8E. And we have to use a GPP to detect the installed office version and apply the right layout.