Copy Addin to Addins folder for "user" repression?

35 views
Skip to first unread message

Rich Russell

unread,
Jul 31, 2025, 3:13:42 PMJul 31
to Excel-DNA
When an addin is installed, Excel prompts the user and asks "Copy the xxxxx.xll to the Addins folder for John Doe?"  Is there a way to repress this prompt and automatically respond "No"?

Govert van Drimmelen

unread,
Jul 31, 2025, 4:09:27 PMJul 31
to exce...@googlegroups.com

At the point this question gets asked, your add-in is not loaded and your code is not running.

So I think you’d need an installer (or other way to write to the registry to install the add-in) to skip that.
Here is a template project for making an installer for an Excel-DNA add-in:
Excel-DNA/WiXInstaller: Template project for a WiX-based installer for an Excel-DNA add-in

 

-Govert

--
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 view this discussion visit https://groups.google.com/d/msgid/exceldna/a401a791-b5cc-4e45-afb8-5096c96f38d5n%40googlegroups.com.

Reply all
Reply to author
Forward
0 new messages