Hi Dan,
Thanks for the information. May be I have not explained the problem properly.
I have implemented the "Outlook bit detection" similar to the following
Dan wrote:Hi Rohit,
Starting with Office 2010, Outlook is available as a 32-bit application or as a 64-bit application. So, in order to install the 64 bit DLL you only need to check the following registry keys:
Office 2010
- • Registry path: HKEY_LOCAL_MACHINE\Software\Microsoft\Office\14.0\Outlook
• Registry key: Bitness
• Value: x64.
Office 2013
- • Registry path: HKEY_LOCAL_MACHINE\Software\Microsoft\Office\15.0\Outlook
• Registry key: Bitness
• Value: x64.
In order to achieve that, you can go in the
Search page and add a
Registry value with a specified content –
extended search for Outlook 2010 (e.g.
OUTLOOK_64_2010 ) and another
Registry value with a specified content –
extended search for Outlook 2013 (e.g.
OUTLOOK_64_2013 ).
Your
extended searches properties can look something like:
SearchPage.png
Then, in the
Organization page, you can add in the condition field from the
component properties of your
64 bit DLL a condition like that:
Code: Select all
( VersionNT64 AND OUTLOOK_64_2010 ) OR ( VersionNT64 AND OUTLOOK_64_2013 )
OrganizationPage.png
Please note that
VersionNT64 - property is set only if the system is running on a 64-bit computer (it is empty if the package runs on a non-64 bit computer).
Using this statement in the condition field, the
64 bit DLL will only be installed if the Operating System is on 64 bit and the Outlook bitness is 64 (Office 2010 and Office 2013), otherwise the
32 bit DLL should be installed.
So, you can add in the condition field from the
component properties of your
32 bit DLL a condition like that:
Code: Select all
NOT ( OUTLOOK_64_2010 OR OUTLOOK_64_2013 )
Using this condition, since there is no
Outlook 64 bitness, the
32 bit DLL will be installed.
Please let me know if that helped.
Best regards,
Dan
In one of the German machine(having Windows 8.1 and Outlook 2013 64 bit) we found that, bitness is only stored in HKLM\SOFTWARE\Microsoft\Office\15.0\Outlook\Bitness(and not in HKLM\SOFTWARE\
Wow6432Node\Microsoft\Office\15.0\Outlook\Bitness)
Since, I have 32 bit setup(i.e package type = 32 bit package), on 64 bit machines it checks HKLM\SOFTWARE\
Wow6432Node\Microsoft\Office\15.0\Outlook\Bitness(and not HKLM\SOFTWARE\Microsoft\Office\15.0\Outlook\Bitness").
In 64 bit machine(32 bit setup), Is it possible to check HKLM\SOFTWARE\Microsoft\Office\15.0\Outlook\Bitness(instead of HKLM\SOFTWARE\Wow6432Node\Microsoft\Office\15.0\Outlook\Bitness)?
Note: This could be done by writing the custom dll which make use of flag KEY_WOW64_64KEY(
http://msdn.microsoft.com/en-us/library ... 85%29.aspx).
KEY_WOW64_64KEY (0x0100) - Indicates that an application on 64-bit Windows should operate on the 64-bit registry view. This flag is ignored by 32-bit Windows.
I wanted to avoid writing one more dll

FOLLOW US
Get the latest news in Application Packaging