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!

shetty_rohan
Posts: 363
Joined: Fri Dec 07, 2012 5:28 am
Location: Bangalore, India
Contact: Website

Detecting the Microsoft Office bitness(32/64)

Hi,

I have two executables supporting same functionality, but built for x86(32 bit) and X64(64 bit) say PalServiceX86.exe and PalServiceX64.exe.

Now, I have following requirement
- On 32 bit machines - we need to copy PalServiceX86.exe
- On 64 bit machine - with Outlook 32 bit, we need to copy PalServiceX86.exe
- On 64 bit machine - with Outlook 64 bit, we need to copy PalServiceX64.exe
- On 64 bit machine - without Outlook, we need to copy PalServiceX64.exe

Is there a simple mechanism to achieve this?

Regards,
Rohan
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Detecting the Microsoft Office bitness(32/64)

Hello Rohan,

Can you please take a look on our Conditional DLL install Based on Outlook Bitness value forum thread which debates a similar subject?

Should there be any difficulty you encounter implementing something, please do not hesitate to contact me and I will gladly assist.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
shetty_rohan
Posts: 363
Joined: Fri Dec 07, 2012 5:28 am
Location: Bangalore, India
Contact: Website

Re: Detecting the Microsoft Office bitness(32/64)

Thanks Dan. I will implement these, and in case I get any error I shall take your expert help.
shetty_rohan
Posts: 363
Joined: Fri Dec 07, 2012 5:28 am
Location: Bangalore, India
Contact: Website

Re: Detecting the Microsoft Office bitness(32/64)

Thanks Dan. I have implemented this, and it is working fine.

Currently we only use 32 bit installer, and which is working fine. Soon I would need to change this to mixed(32 bit and 64 bit), and while doing that I might require some help from you in achieving the solution.
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Detecting the Microsoft Office bitness(32/64)

Hello Rohan,

As I said in the Conditional DLL install Based on Outlook Bitness value forum thread, there might be some limitations regarding this scenario.

The problem appears when the target machine is on 64-bit and the Outlook Bitness value is 86. In this case you need to add your .DLL in the Program Files (x86) isn't it? Unfortunately, you cannot write to that location since your package runs as a 64-bit installer on 64-bit platforms.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
shetty_rohan
Posts: 363
Joined: Fri Dec 07, 2012 5:28 am
Location: Bangalore, India
Contact: Website

Re: Detecting the Microsoft Office bitness(32/64)

Thanks Dan
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Detecting the Microsoft Office bitness(32/64)

You're welcome Rohan,

Should there be any difficulty you encounter implementing something, please do not hesitate to contact me and I will gladly assist.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”