neoswarm
Posts: 15
Joined: Tue Dec 04, 2012 10:41 pm

check for 64 bit Outlook property

I'm have a property that checks for 64 bit Outlook

Registry path: HKEY_LOCAL_MACHINE\Software\Microsoft\Office\14.0\Outlook
Registry key: Bitness
Value: either x86 or x64

How do I change the Registry locations based on Outlook being 64/32 bit?

I'm trying to do something similar to: http://www.advancedinstaller.com/user-g ... istry.html -- but not based on platform, only Outlook's condition. (instead of using VersionNT64, i'm using my property OL2K10_64 which checks for 64 bitness).

is that how you would do it?

thanks,
mike
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: check for 64 bit Outlook property

Hello Mike,

If you want to condition a registry component installation based on a serch result (e.g. MY_PROP property) then you can use a condition like this:
  • MY_PROP = "x86"
or
  • MY_PROP = "x64"
Let us know if this helps, otherwise give us more details about your scenario (maybe exemplify)?

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
neoswarm
Posts: 15
Joined: Tue Dec 04, 2012 10:41 pm

Re: check for 64 bit Outlook property

I got this working, so we're all set! :) (getting the Bitness value from Outlook registry and setting as property)
LaughingJohn
Posts: 39
Joined: Wed Aug 11, 2010 1:05 pm

Re: check for 64 bit Outlook property

neoswarm,

Is there any chance you could explain the process you went through in a little more detail - I have to do the same thing.

To the AI team - it would be really handy if advanced installer could more easily install 32/64 bit versions of a registry key based on a condition (i.e. the UI was a bit more helpful and without faffing about with properties) and it would be even better if the VSTO installer could do this automatically for packages which target the versions of VSTO that support both 32 and 64 bit. Definitely the Office 2010/2013 version, and I think the Office 2007 version.

Any pain you can remove for us would be very welcome! :)

LJ
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: check for 64 bit Outlook property

Hello LJ,
To the AI team - it would be really handy if advanced installer could more easily install 32/64 bit versions of a registry key based on a condition (i.e. the UI was a bit more helpful and without faffing about with properties) and it would be even better if the VSTO installer could do this automatically for packages which target the versions of VSTO that support both 32 and 64 bit. Definitely the Office 2010/2013 version, and I think the Office 2007 version.
Maybe we'll add an improvement regarding this in a future version of Advanced Installer. Thank you for your suggestion.

However, in order to achieve what you want you can add a search (MY_SEARCH) in our "Search" page which will look for the Bitness registry value and, then you can use the search associated property (MY_SEARCH) to condition the installation of a registry component from "Organization" page. Also, you can take a look on our "Install 32/64-bit registry entries" article.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”