Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 31
Default Automatically adding an Add-in

Hello,

I am writing a script (I am using InnoSetup) to distribute and install an
Add-in automatically. I want the install to be totally transparent for the
user.
It looks like I could just add the key OPEN or OPEN1 ,...,OPENx to
HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\E xcel\Options, but I was
wondering if someone add something more elegant or simply a better
suggestion.


Thank you.

Eric


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 20
Default Automatically adding an Add-in

Could you put it in the "C:\Documents And Settings\[whomever]
\Application Data\Microsoft\Addins" directory? I believe the contents
here are automatically loaded each time Excel starts.

/ Tyla /


On Mar 14, 1:43 pm, "Eric" wrote:
Hello,

I am writing a script (I am using InnoSetup) to distribute and install an
Add-in automatically. I want the install to be totally transparent for the
user.
It looks like I could just add the key OPEN or OPEN1 ,...,OPENx to
HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\E xcel\Options, but I was
wondering if someone add something more elegant or simply a better
suggestion.

Thank you.

Eric



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,600
Default Automatically adding an Add-in

Hi Eric,

I think that's a realistic approach, assuming write access, but there's a
lot of work to do.

Ensure no running instance(s) of Excel.
Check registry for all xl versions, 9.0 etc (xl97 8.0 has 'Microsoft Excel'
vs 'Options').
Is your xla already in the addins collection. If so is it installed or not,
in a default addins path or elsewhere (different implications), not
installed but in the collection with an entry in "\Add-in Manager" t.b.
deleted with care.

The 'x' in new OPENx will need to be OPEN-max(n)+1 assuming there are no
missing n's between 1 & max(n), or if OPEN* doesn't exist simply OPEN.

The AddinInstall event in your xla won't fire of course.

The above is not a complete list of things to handle.

Regards,
Peter T


"Eric" wrote in message
...
Hello,

I am writing a script (I am using InnoSetup) to distribute and install an
Add-in automatically. I want the install to be totally transparent for the
user.
It looks like I could just add the key OPEN or OPEN1 ,...,OPENx to
HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\E xcel\Options, but I was
wondering if someone add something more elegant or simply a better
suggestion.


Thank you.

Eric




Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Automatically Adding Rows Copytax Excel Discussion (Misc queries) 2 July 19th 07 08:08 PM
Adding Data Automatically BlackJackal Excel Programming 1 November 4th 06 06:53 PM
Why are my formulas not adding up automatically Brittany Excel Worksheet Functions 1 November 2nd 06 07:26 PM
Automatically adding a row to a list mayerc Excel Discussion (Misc queries) 1 July 10th 06 09:35 PM
ADDING POSTCODES AUTOMATICALLY eternal_cat via OfficeKB.com Excel Programming 7 October 7th 05 03:35 AM


All times are GMT +1. The time now is 12:28 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"