Installer

Nov 24, 2011 at 6:53 AM

Hi Govert,

Do you have any pointers in how to make a good plugin installer?

-Where to copy the addin and how to get this to work for all types of Office installations?
-How to update an installed plugin?
-How to detect 32 or 64 bit version of Excel?

Regards

/Niels

Coordinator
Nov 24, 2011 at 4:32 PM

Hi Niels,

I've never tried to make an installer. Wix (http://wix.sourceforge.net/) would probably be the tool I'd use.

There are two tricky issues:

* Detecting 32-bit vs 64-bit Excel and installing accordingly.

* Installing the .xll add-in as an Excel Add-in means you need to write an entry into the OPENXXX key, where XXX is incremented for each add-in. So you need to run some script to check the registry and loop through values until you find the first number that's missing.

If you make something it would be a nice contribution to Excel-DNA - please let us know. If you can wait until later in December, I can help also and we can figure it out together.

Cheers,

Govert

Nov 24, 2011 at 6:57 PM

Hi Govert,

Thanks for the pointers. I'll start working on this and see far I can get on my own. Let me know when and if you have time to help.

I think this could be very valuable for the Excel-Dna community and I'll happily contribute if I'm successful.

Regards

/Niels

Dec 28, 2013 at 3:11 PM
Niels,

Did you ever make this work? I'd be interested to know what you did.