m4a.c4
Posts: 23
Joined: Mon Mar 30, 2020 9:25 pm

VSTO Per Machine Installation

Mon Oct 31, 2022 2:17 am

Hi,

We are currently using Advanced Installer to install an Excel Add-in.

We are currently building the executable with the Install Parameter value set to "Per-user only". This installs and registers the Excel Add-in correctly and we can see the option is added in the Excel ribbon.

We have a new requirement that we have to have the ability to install either 'Per-user' or 'Per-machine' based on what our users select. When we use the Install Parameter value "Per-machine if user is administrator, per-user otherwise" with 'Everybody (All users)' selected the installation finishes without any error. However, we are unable to see our Add-in when we open Excel. We also cannot see our Add-in under Excel Options > Add-ins.

There is no change in the above two scenarios other than the Install Parameters.

Are we missing any steps? Is there any additional configuration required for using the "Per-machine if user is administrator, per-user otherwise" option?

I have emailed my AIP file through to support at advanced installer dot com.

Thanks

m4a.c4
Posts: 23
Joined: Mon Mar 30, 2020 9:25 pm

Re: VSTO Per Machine Installation

Mon Oct 31, 2022 2:21 am

This is also the same behavior that we are experiencing:
https://stackoverflow.com/questions/727 ... ot-working

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

Re: VSTO Per Machine Installation

Mon Oct 31, 2022 8:01 am

Hi Connor,

I have replied you over email too.

This may happen if on the target machine (the machine where you test the install on) there is installed a 64-bit version of Office. Currently your add-in installs and registers only for the 32-bit Office product. Do you need it to register with the 64-bit versions of Office?

Also, can you please send us by email a verbose log of the per-machine installation so we can check it?

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

m4a.c4
Posts: 23
Joined: Mon Mar 30, 2020 9:25 pm

Re: VSTO Per Machine Installation

Sun Nov 06, 2022 10:45 pm

Hi,

Thanks for suggesting the 64-bit version. It helped us progress from our initial issue.

We are using the same aip file that was sent. However, we have made the following changes:
- Package Type = Mixed 32/64-bit matching the platform
- Installation Type = Per-machine if user is administrator, per-user otherwise

The Advance Installer build built using the above configuration has the following results:
1) 64-bit Excel > User Level Installation > works
2) 64-bit Excel > Machine Level Installation > works
3) 32-bit Excel > User Level Installation > works
4) 32-bit Excel > Machine Level Installation > DOES NOT work

Please guide us if there is a way we can use a single build that works across both 32/64-bit Excel and also allow users an ability to select Per-User/Per-Machine level installation. Is there any additional option we need to check/configure to achieve this?

Regards

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

Re: VSTO Per Machine Installation

Tue Nov 08, 2022 3:07 pm

Hi Connor,

Can you please send us by email the current version of your setup project and a download link for your built setup package? So we can fully test and investigate this on our side?

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

m4a.c4
Posts: 23
Joined: Mon Mar 30, 2020 9:25 pm

Re: VSTO Per Machine Installation

Wed Nov 09, 2022 7:45 pm

Hi Daniel,

I have sent the request information to you via email as requested.

Thanks

Catalin
Posts: 6537
Joined: Wed Jun 13, 2018 7:49 am

Re: VSTO Per Machine Installation

Fri Nov 11, 2022 4:14 pm

Hello Connor,

If possible, please continue this thread with my colleague Daniel over the email, so we avoid duplicate thread here and on the mail.

Thank you for your understanding!

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”