Re: Msi Installer - XLADna does not get registered while execution of .msi package

164 views
Skip to first unread message

Govert van Drimmelen

unread,
Jun 29, 2012, 4:04:48 PM6/29/12
to Excel-DNA
Hi,

If you search on the group for "Install" you'll get quite a lot of
discussions about the different issues.

I don't have much experience doing .msi installers myself.

-Govert

On Jun 29, 7:09 pm, Nikee <ocean.ind...@gmail.com> wrote:
> I have developed ExcelDna and now i want that to start distributing to all
> the users. I have create MSI package. When I install this on users machine
> package gets executed without any error; but it not registered right away.
> I have to go to Addin Menu through Excel Options and I have to Browse to
> .XLL file, add that file, and then it become available in Add Ins list and
> then select Excel DNA Add in by clicking check box and then it gets
> registered...
>
> Eventually I want following; I am bit new to ExcelDna and overall process
> of packaging and distributing software...
>
> 1. When .msi package is executed on user machine it should register .XLL
> addin automatically
>    1.1 If user has already .XLL exist then it will be unregister(uninstall)
> and will register(install) latest add in...
>
> 2. I want to provide Button in ExcelDna which will show as latest update
> available; and user will click on that button. On click it will download
> latest .Xll Add in from shared folder and will  unregister(uninstall)
> existing and will register(install) latest add in...
>
> How can I achieve each one above ?
>
> Thanks

aberglas

unread,
Jun 29, 2012, 6:54:52 PM6/29/12
to Excel-DNA
I just use a simple .Bat to install the add ins. The only tricky bit
is to figure out which OPEN* key to update. It would be nicer to use
vbscript, that is often disabled on client sites "for security
reasons". MSI is a world of pain in my experience.

Anthony

calvin.p...@akrom.com.au

unread,
Apr 4, 2014, 3:04:03 AM4/4/14
to exce...@googlegroups.com
Also in need of a way to install an add-in, preferably with product keys. Any Ideas?

On Saturday, August 11, 2012 12:09:23 AM UTC+8, Nikee wrote:
aberglas : Can you post your code for .bat file which installs Add In upon instllation. Thanks in advance... Thanks

Govert van Drimmelen

unread,
Apr 4, 2014, 3:13:04 AM4/4/14
to exce...@googlegroups.com
Hi Calvin,

The simplest and preferred way to distribute your add-in is as a single-file packed .xll, which you can digitally sign by running the SignTool.exe utility (http://msdn.microsoft.com/en-us/library/8s9b9yaz(v=vs.110).aspx)

Then your add-in is a regular Excel add-in and your user can copy anywhere and double-click to open in Excel. To install an add-in in Excel, they would use the Add-Ins dialog (press Alt+t, i).

If you need a more formal installer, you can follow Jiri Pik's detailed write-up on using Advanced Installer here: http://jiripik.me/2014/02/08/how-to-use-advanced-installer-for-an-excel-dna-project/

For complete control, you might work on a WiX-based installer. A starting point, though not a complete working solution, for such a project can be found here: https://github.com/Excel-DNA/WiXInstaller

Regards,
Govert


From: exce...@googlegroups.com [exce...@googlegroups.com] on behalf of calvin.p...@akrom.com.au [calvin.p...@akrom.com.au]
Sent: 04 April 2014 09:04 AM
To: exce...@googlegroups.com
Subject: [ExcelDna] Re: Msi Installer - XLADna does not get registered while execution of .msi package

--
You received this message because you are subscribed to the Google Groups "Excel-DNA" group.
To unsubscribe from this group and stop receiving emails from it, send an email to exceldna+u...@googlegroups.com.
To post to this group, send email to exce...@googlegroups.com.
Visit this group at http://groups.google.com/group/exceldna.
For more options, visit https://groups.google.com/d/optout.

calvin.p...@akrom.com.au

unread,
Apr 6, 2014, 11:22:57 PM4/6/14
to exce...@googlegroups.com
Thanks Govert,

How would I go about requesting a product key?

Regards
To post to this group, send email to exc...@googlegroups.com.

Govert van Drimmelen

unread,
Apr 7, 2014, 12:04:32 AM4/7/14
to <exceldna@googlegroups.com>
Hi Calvin,

You to implement licensing of your add-in?
Excel-DNA has no special support - you'd have to implement something yourself, or look for some other library to do that.

-Govert
To post to this group, send email to exce...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages