PC Review


Reply
Thread Tools Rate Thread

Automatically adding an Add-in

 
 
Eric
Guest
Posts: n/a
 
      14th Mar 2007
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\Excel\Options, but I was
wondering if someone add something more elegant or simply a better
suggestion.


Thank you.

Eric


 
Reply With Quote
 
 
 
 
tylagusim@hotmail.com
Guest
Posts: n/a
 
      15th Mar 2007
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" <e...@mail.com> 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\Excel\Options, but I was
> wondering if someone add something more elegant or simply a better
> suggestion.
>
> Thank you.
>
> Eric



 
Reply With Quote
 
Peter T
Guest
Posts: n/a
 
      15th Mar 2007
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" <(E-Mail Removed)> wrote in message
news:#(E-Mail Removed)...
> 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\Excel\Options, but I was
> wondering if someone add something more elegant or simply a better
> suggestion.
>
>
> Thank you.
>
> Eric
>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Automatically adding lines Gordon Microsoft Excel Worksheet Functions 1 27th Aug 2009 10:29 PM
Automatically Adding Rows =?Utf-8?B?Q29weXRheA==?= Microsoft Excel Misc 2 19th Jul 2007 08:08 PM
adding a reference automatically battery007.2005@gmail.com Microsoft C# .NET 2 29th Sep 2006 01:29 PM
Automatically adding www MSG Microsoft Windows 2000 DNS 5 3rd Jan 2006 04:15 PM
adding automatically noelf Microsoft Excel Misc 2 24th May 2004 04:28 AM


Features
 

Advertising
 

Newsgroups
 


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