Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default Problem deploying an automation addin (VS2005, Windows XP SP1, Excel XP)

Hi guys,

I have been getting stuck with this problem for a while now:

- I have made an automation addin which is working on the computer
where I installed VS2005
- then made a batch script that would copy and install it on another
computer (registering the DLLs using RegAsm)
- In Excel when I go in "Addins" then Automation, I can see the
addin, I can select it however it doesn't register nor load the
functions

By googling the problem I found this page:

http://www.developersdex.com/vb/mess...3CC81DFF01-F66...

which led me to

http://support.microsoft.com/kb/908002/en-us

I tried installing this patch however when I try to run the "shared
addin" wizard it tells me that I need SP2 to run it. I am using SP1
because our company won't deploy SP2 on our computers (updating to SP2
is not a choice)

We are currently using Office XP. Is there any easier way to deploy my
assemblies as automation addins and make them load correctly in Excel
XP ?

Cheers
Tony

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default Problem deploying an automation addin (VS2005, Windows XP SP1, Excel XP)

I do not know if some other bugs are involved with some Office XP
configurations.

But to fix it, you just have to create an Excel.exe.config file in
\Program Files\Microsoft Office\Office 10\ (or whatever folder contains
Excel.exe)

which contains:

<?xml version ="1.0"?
<configuration
<startup
<supportedRuntime version="v2.0.50727" /
</startup
</configuration

If forces Excel to use the framework 2.0.


In order to make your setup project, under VS 2005, click on your setup
project, then View - Editor - File System

right click and add a folder called "Microsoft Excel", change the
default location (if you want a clean solution, you need to use the
registry to determine the path for office). Right click it and add
Excel.exe.config, so it will auto deploy.

You can also go into the project properties - prerequisites and add
the components you need ... (like the framework 2.0)

BlueTrin wrote:
Hi guys,

I have been getting stuck with this problem for a while now:

- I have made an automation addin which is working on the computer
where I installed VS2005
- then made a batch script that would copy and install it on another
computer (registering the DLLs using RegAsm)
- In Excel when I go in "Addins" then Automation, I can see the
addin, I can select it however it doesn't register nor load the
functions

By googling the problem I found this page:

http://www.developersdex.com/vb/mess...3CC81DFF01-F66...

which led me to

http://support.microsoft.com/kb/908002/en-us

I tried installing this patch however when I try to run the "shared
addin" wizard it tells me that I need SP2 to run it. I am using SP1
because our company won't deploy SP2 on our computers (updating to SP2
is not a choice)

We are currently using Office XP. Is there any easier way to deploy my
assemblies as automation addins and make them load correctly in Excel
XP ?

Cheers
Tony


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
UDF's via Automation Addin in Excel 2010? Ralf Steinstraesser Excel Worksheet Functions 1 February 15th 10 03:44 PM
May be Automation AddIn loading problem!! Abhijit Excel Programming 0 June 6th 05 06:45 PM
Excel Addin and Windows Profile Jos Vens[_2_] Excel Programming 1 February 3rd 05 11:41 PM
Automation COM Addin with Excel Puneet Excel Programming 0 July 12th 04 07:50 PM
Automation Error with Excel 97 in Windows 2000 with patch blaster Gustavo Berrutti Excel Programming 0 October 8th 03 03:52 PM


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

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

About Us

"It's about Microsoft Excel"