LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,600
Default Ditributing ComAddin's & ActiveX-dll's in Vista

Vista, with Excel 2000, 2002/3 (don't have 2007 yet but hopefully same
applies) and VB6 dll's

I'm looking for best approach to distribute & register ComAddin's and
ordinary ActiveX dll's (for use with VBA). I also have some particular
questions as indicated below.

I can install a CAI via (Excel) tools ComAddins and/or register a dll
manually or programmatically with Regsrv32 providing:

- I'm logged on as an Administrator
- UAC (User action control) is turned off (requires a restart and
potentially intimidating for normal user).

So, with quite a lot of effort I can install for an Administrator user. I
haven't yet worked out how to install either a CAI or dll for use by a
'Standard User' - would anyone know? Even better, would it be possible to
install CAI and/or dll for all users at the same time, manually and/or
programmatically.

FWIW, I managed to install an old (pre-vista) 3rd party CAI that has its own
install program with UAC turned on. Wonder how it managed to do that, even
with a registry hack (though couldn't get it to install in a Standard User's
account).

Closely related, does anyone have a view as to most suitable folder in which
to place the CAI / dll. Ideally I guess(?) best to place in this 'virtual'
folder -

C:\users\username\AppData\Roaming\Microsoft\Addins \

This is the default UserLibraryPath, at least that's how it appears for me.
It's useful, though not necessary, to install into this path for a number of
reasons. However by default this path is hidden from user in Vista, adding
an extra level of complication.

Maybe, I don't know, my attempt to place the CAI / dll's in this folder
prior to installation is what's preventing me from installing for a Standard
User, if say the folder has some additional level of security/rights
associated with it.

Any comments or tips appreciated.
Peter T


 
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
Excel, VBA, & C++ DLL's [email protected] Excel Programming 0 May 2nd 07 07:19 PM
Unloading DLL's Bosco Excel Programming 1 September 29th 06 03:12 PM
How to equalise loans by ditributing funds Kobus Excel Worksheet Functions 0 April 16th 06 07:38 AM
Recommended reading DLL's VBA BowMag Excel Programming 3 November 9th 04 08:48 AM
dll's and performance Ludwig Excel Programming 3 April 14th 04 06:27 AM


All times are GMT +1. The time now is 02:51 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"