Deploy Condition
Hi There,
I'm trying to deploy MS Office picture manager that is part of Sharepoint Designer 2010. I'm created a MSP and successful deployed it to some machines. But I ran into a problem If i download the X86 version and the machine has Office 2013 x64 for example the installation won't work you cannot have two office products with different architectures on the same machine. So, is it possible to create a condition based on the MS Office architecture version? Install Sharepoint Designer x86 IF MS Office is X86 otherwise install X64. I cannot use the OS Architecture condition because it is possible that the OS is x64 and the office is x86.
Tks!
-
Hi Leonidas,
This is possible with a little bit of setup using PDQ Inventory and a custom file scanner. You'd have to create the file scanner to identify the machines based on which folder Office is installed in: Program Files (x86) for 32 bit and Program Files for 64 bit. Once you have identified those machines you can plan your deployment around those collections.
-
And to add to what Jason said, you can probably gather there's not really an elegant way to filter this using PDQ Inventory in order to deploy using PDQ Deploy since the installation directory can differ from version (x86 Office versions can be in both %systemdrive%\Program Files\ and %systemdrive%\Program Files (x86)\), as well as the method of installation (e.g. click-to-run vs MSI, which also installs in different directories). In standalone Deploy, there's even less options with the deployment conditions. In other words, it isn't a walk in the park unless your Office environment is homogeneous, or very nearly so.
However, there are options for discovering this information IF your Office installation contains Outlook (without Outlook installed, there is little hope, much despair). For instance, this article indicates the location of the registry key Bitness, that should provide the edition information for Office installations: http://stackoverflow.com/questions/2203980/detect-whether-office-is-32bit-or-64bit-via-the-registry
I have Office 365 installed, and the key information was located here, HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\15.0\ClickToRun\REGISTRY\MACHINE\Software\Wow6432Node\Microsoft\Office\15.0\Outlook
So if you know which version of Office is installed, you could write up a quick script to search for the registry key Bitness in the locations for the versions of Windows you have then deploy the x86 version where Bitness = x86.
Please sign in to leave a comment.
Comments
2 comments