Installer for Outlook 2010 64-bit add-in - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

cainrandom
Posts: 32
Joined: Wed Nov 26, 2008 11:23 pm

Installer for Outlook 2010 64-bit add-in

Unfortunately, making a 64-bit MSI isn't enough, since the user may have either 64-bit or 32-bit Outlook installed on their 64-bit OS. What's the best approach to this problem?

The simplest solution is to make a 64-bit MSI that checks for Outlook 2010 64-bit as a custom action or a launch condition as well as a 32-bit MSI that checks for everything else. The downside is this makes distributing the add-in through GPO quite difficult as the sysadmin must manually target the Outlook 2010 64-bit computers. Or, I could just make the MSI's without the check and let the sysadmin push both down and let the chips fall where they may, which would result in a 64-bit user getting both versions of the add-in installed, but only the one that matched the bitedness of their Outlook would run. Clunky, but effective.

Or, I could make a 64-bit MSI that contained both the 32-bit and 64-bit add-ins as features and automatically selected which feature to install. Is that feasible?

I'm trying to cover two cases here:
1. User downloads installer themselves. From experience, a user with a 64-bit OS will try to install the 64-bit add-in, even if they have Outlook 2010 32-bit (which they should), so need to automate the process as much as possible, or else block them from installing the wrong version. We can use the bootstrapper for this.
2. Sysadmin deploys add-in through GPO. This must be an MSI, and we can document the steps if the procedure is going to be complicated.

I can hack my way to some sort of solution, but any suggestions for anything resembling elegance would be greatly appreciated.
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Installer for Outlook 2010 64-bit add-in

Hi,
Or, I could make a 64-bit MSI that contained both the 32-bit and 64-bit add-ins as features and automatically selected which feature to install. Is that feasible?
No, because a a 64 bit MSI package will not run on a 32 bit machine, this is limited by Windows Installer.

A solution would be to use a mixed installation package, but this would not work with GPO since it creates and EXE as output. Also, the mixed package will install 64 bit files
on a 64 bit machines, even if a 32 bits version of Outlook is installed on the machine.

The safest solution I can see is to create two separate installation packages, one for 32 and another one for 64 bit machines. This way you can create an MSI that can
also be deployed through Active Directory/GPO.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
cainrandom
Posts: 32
Joined: Wed Nov 26, 2008 11:23 pm

Re: Installer for Outlook 2010 64-bit add-in

Bogdan wrote:No, because a a 64 bit MSI package will not run on a 32 bit machine, this is limited by Windows Installer.
Correct, but the 64-bit installer can carry 32-bit components, so could in theory cover either Outlook 2010 32-bit or Outlook 2010 64-bit on a _64-bit_ platform, which would let users download a single MSI based on their platform and make GPO deployment much, much simpler. There's no way, using the simple two-MSI method, to reach the users who have Outlook 2010 32-bit on their 64-bit platform via GPO without the sysadmin having to manually target those users. This is what I'm trying to avoid.
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Installer for Outlook 2010 64-bit add-in

Hi,
but the 64-bit installer can carry 32-bit components, so could in theory cover either Outlook 2010 32-bit or Outlook 2010 64-bit on a _64-bit_ platform, which would let users download a single MSI based on their platform and make GPO deployment much, much simpler.
Yes, this is correct.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
cainrandom
Posts: 32
Joined: Wed Nov 26, 2008 11:23 pm

Re: Installer for Outlook 2010 64-bit add-in

I don't think this is a workable solution using AI. I can jury-rig it by manually editing the project files, and I get the right MSI, but it's very fragile. One example: if you need a registry key written on install, you'd want both a 32-bit and a 64-bit version in the MSI so that the key (whichever one is selected, based on the features) ends up in the right region of the registry (i.e. not in wow3264 land on a 64-bit install). Unfortunately, AI doesn't let you create two keys with the same path, each attached to a different component.

I'm going to have to just make two MSI's and possibly make my own bootstrapper.

Thanks for the guidance.
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Installer for Outlook 2010 64-bit add-in

Hi,

If you want to install in both 32-bit and 64-bit locations based on the target machine, a solution is to use a Mixed 32/64-bit matching the platform package in Install Parameters page. However, mixed 32/64-bit packages are not supported by GPO.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”