Hi,
I am facing an issue with add-in.

I have taken a snapshot of an application called Omniture Report Builder 4.1.21. This application install an add-in for Excel.
This application copies some 100 files in c:\program files\adobe\Reportbuilder. And creates lots of registries(HKCR and HKLM) and few assemblies.

When I install this package on Windows XPSP3 machine, it installs fine and create required add-in in Excel. When this is installed on a Windows Server 2003 R2, it installs the files. It doesn't install registries..not sure why.

Also, it doesn't load the excel add-in. When try to add manually one error message shows as "Not loaded. A run time error occured during loading of the com-addin

I tried to import the registry (HKLM->Software-Microsoft-Excel-Addin) but it didn't help.

Anyone any suggestions why excel doesn't load in Windows Server 2003 machine and gives the error

Many Thanks....
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

0
Do I need to do sothing more to add this add-in???
Answered 02/21/2011 by: djain3
Second Degree Blue Belt

Please log in to comment
0
Is the server running in 32-bit or 64-bit mode? The registry location will be different, depending on that.

Also, if you have captured the add-in's installation, you will have captured hard-code entries of the 'OPENx' registry keys. This is very much what I like to call "sub-optimal". Let's say that your add-in is set to use the 'OPEN1' entry. If the user already has an add-in at 'OPEN1', your installation will walk all over it. Sub-optimal.

Check out Captain Planet's very nice adaptation of one of my scripts in a 'sticky', over in the 'Scripting' forum.
Answered 02/21/2011 by: VBScab
Red Belt

Please log in to comment
0
The registry location of server is same...

Strange this is that registry added when manually added by .reg keys. Also, application package work fine in XP machine.

Also, there are no open keys installed by applicatiions...

Also, add-in points to a dll file which is not installed by the application. It points to a .dll called mscoree.dll

Any more suggestions please. I understand this specific application is not dependent on OPEN keys....

Thanks ...
Answered 02/21/2011 by: djain3
Second Degree Blue Belt

Please log in to comment
0
Can it have somthing to do with ASSEMBLIES ?
Answered 02/21/2011 by: djain3
Second Degree Blue Belt

Please log in to comment
0
Any more suggestions on this please....
Answered 02/22/2011 by: djain3
Second Degree Blue Belt

Please log in to comment
0
MSCOREE.DLL is the core DLL for .Net Framework. Quite why an add-in would point to it, I have no idea.

Also, I'd expect any .Net application to use MSI technology for installation. Are you sure that the set-up executable doesn't extract and execute an MSI?
Answered 02/22/2011 by: VBScab
Red Belt

Please log in to comment
0
Try following steps:
•install Office, including the PIAs (Office 2003: http://www.microsoft.com/downloads/en/details.aspx?familyid=3c9a983a-ac14-4125-8ba0-d36d67e0f4ad&displaylang=en)
•install .NET 2.0,
•run your add-in MSI,
•setup FullTrust CAS for your add-in.
Answered 02/22/2011 by: itolutions
Orange Senior Belt

Please log in to comment
0
Also, I'd expect any .Net application to use MSI technology for installation. Are you sure that the set-up executable doesn't extract and execute an MSI?


I would not like to take pain of taking capture of vendor msi...

Can you tell me how to attach a fil in post....I seem to forgot...I will attach an image of add-in..
Answered 02/22/2011 by: djain3
Second Degree Blue Belt

Please log in to comment
0

•install .NET 2.0,
•run your add-in MSI,
•setup FullTrust CAS for your add-in.


Framework is alrady installed on machine.
I read it somewhere else as well about the FullTrust of CAS....what is that and how to achieve it?
Answered 02/22/2011 by: djain3
Second Degree Blue Belt

Please log in to comment
0


Is the server running in 32-bit or 64-bit mode? The registry location will be different, depending on that.



Ian,

Yes, server is running in 64-bit mode...What kind of registry changes need to be made...

Can you please suggest?

Regards,
DJ
Answered 02/22/2011 by: djain3
Second Degree Blue Belt

Please log in to comment
0
Actually...why would you need to install MS Office on a server, much less an Office add-in?
Answered 02/22/2011 by: VBScab
Red Belt

Please log in to comment
0
CAS is Code Access Security (http://www.15seconds.com/issue/040121.htm)

Read about caspol.exe tool.
Answered 02/22/2011 by: itolutions
Orange Senior Belt

Please log in to comment
0
ORIGINAL: VBScab

Actually...why would you need to install MS Office on a server, much less an Office add-in?


When did I say that I am installing MS office on a sever. This is an application called 'Omniture (adobe) ReportBuilder v4.1.21' which is an Excel add-in.

And this is a citrix server which is used by many users.

Thanks.....
Answered 02/22/2011 by: djain3
Second Degree Blue Belt

Please log in to comment
0
When did I say that I am installing MS office on a severHmmm...what use would an Excel add-in be on a server without Excel?

However, now that you tell us that this is a Citrix server (my pesky crystal ball failed me yet again...), the game changes. I don't profess to be a Citrix expert but don't you publish applications to Citrix boxes, rather than install them?
Answered 02/22/2011 by: VBScab
Red Belt

Please log in to comment
0
Not Sure office is installed or not but yes, Excel 2007 is installed on that server.

Our Citrix deployment team uses Citrix installation manager to install MSI packages.

No...they don't publish...

1. Can you please suggest how to attach file while replying to post...
2. Any suggestion on modifying resitry for 64 bit machine
3. I would like to show how add-in is poinint to mscoree.dll, thats why I need to attach the image.
4. Any idea, when this error message thrown "Not loaded. A run time error occured during loading of the com-addin. Due to unavailibity of some files or some registries?
5. This application doesn't install any .xla or .xll only dlls and other files.
6. No HKCU keys are installed by this application.
7. I have downloaded this application setup from this website https://sc2.omniture.com/login/

looks like this website is Adobe online market suite powered by omniture...[8|]
8. If you would like to take a quick look, I have upload the source, which is quite small of approximate 6 MB at http://www.megaupload.com/?d=4XMPDEI0

9. Adobe usually creates MSI based setup. Not sure why this is an .exe based.
10. Is it necessary that for all add-in application, we need to write custom action as suggested by Captain.
11. When application is installed using setup.exe (original source) it installed add-in fine without any issue.
12. With MSI it is not installing the registries

Please advise.

Many many thanks for all your help on this.....
Answered 02/22/2011 by: djain3
Second Degree Blue Belt

Please log in to comment
2
1. Only certain people have permissions to attach files to posts. In the past people have posted files to senduit.com and posted a link here.
2. As ever, MSDN tells all
3. See 1.
4. See my signature? :-)
8. I have my client's work to do first. If I get time, I'll take a look.
9. Does it extract and execute an MSI? Remember that stubs don't always extract to %TEMP%. Check %AppData% and also the application's installation root.
10. The script caters for XLLs and XLAs only but the overwhelming majority of the code looks after the brain-dead method of recording add-ins in the registry.
11. Perform a gap capture AFTER you have run the MSI. Remember to rename the relevant 'Uninstall' entry in the registry, to fool the stub into believing the app isn't installed.
Answered 02/22/2011 by: VBScab
Red Belt

Please log in to comment
0
Thanks for all your help and suggestions...

I will inform you if I get success....

Just FYI this is a com-add in and works fine on XP machine but creating issues on 64 bit server...also on 32 bit server it installs fine...
Answered 02/22/2011 by: djain3
Second Degree Blue Belt

Please log in to comment
0
Anyone who has done lots of packages with com add-in can put some light on this please..........
Answered 02/23/2011 by: djain3
Second Degree Blue Belt

Please log in to comment
Answer this question or Comment on this question for clarity