Can I reference the directory the ClickOnce directory from my prog

J

JVW

I have an Excel COM add-in that is using ClickOnce for updates. My program
also depends on a VBA add-in which must be installed at the same time but I
hate to require our customers to run two installs.

I could install the VBA add-in from my COM add-in if I could only find the
directory that contains the installation files. But I can't find a way to
reference that directory. I think my program knows in some way where the
directory is because it checks there for program updates. My idea is that I
could put the VBA add-in the same directory whenever there's a new version
and my COM add-in could check for it and update it automatically (the code
for installing VBA add-ins is simple).

So is there any way to reference that directory from my COM add-in?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top