Posts 11 - 18 of 18
First | Prev. | 1 2 | Next | Last
|
|
Martin Mizzell
Posts: 77
Joined: 2006-06-02
|
Jack,
I always use the shim. If you aren't using the shim, then you need to talk to Sergey.
Use the syntax i gave you as arguments for MSO dll. (See image)
MSO Arguments
Add the GAC folder to the "Files and Folders" view in the installation designer by right clicking the "Destination Computer" node amd selecting it from list. (see image).
GAC Registration
Let me know if you are still having problems.
Regards,
Martin Mizzell |
|
Posted 14 Jul, 2006 12:31:31
|
|
Top
|
|
Martin Mizzell
Posts: 77
Joined: 2006-06-02
|
I always use the installshield IDE to make my installations.
I guess im wierd. :cry: |
|
Posted 14 Jul, 2006 12:34:15
|
|
Top
|
|
Sergey Grischenko
Add-in Express team
Posts: 7235
Joined: 2004-07-05
|
Jack,
1. In case of using the shim:
/Shim="[TARGETDIR\GEBREShim.dll"
Without the shim:
/Addin="[TARGETDIR\GEBRE.dll"
These actions should be used for the msi setup project in VS.
In the InstallShield project you can use the 'self register' option of the shim dll to register the add-in.
The installation failed because you didn't include the following prerequisities:
Visual C++ 8.0 DebugCRT (x86) WinSXS MSM Beta2
Visual C++ 8.0 DebugCRT.Policy (x86) WinSXS MSM Beta2
Please look at the my example. You will see these prerequisities included in the setup project.
2. The latest version of Add-in Express doesn't require Office, stdole and Extensibility assemblies to be added to the GAC folder. You should only put the Extensibility.dll to the add-in target folder.
Please read the following article to learn more about the C++ shim:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dno2k3ta/html/ODC_Office_COM_Shim_Wizards.asp
|
|
Posted 14 Jul, 2006 12:42:11
|
|
Top
|
|
Sergey Grischenko
Add-in Express team
Posts: 7235
Joined: 2004-07-05
|
One more thing, Jack.
In the next ADX build we will add a loader for ADX based add-ins (something similar to the VSTO loader) and you will not have to register the add-in at all. It will be enough to add some registry entries in the Registry editor of the setup project (the same technique is used in the 'VSTO for MS Office' product).
We will publish a new build this month.
|
|
Posted 14 Jul, 2006 13:09:29
|
|
Top
|
|
Todd Carlson
Posts: 29
Joined: 2006-05-07
|
Jack,
I just tested & found this scenario to work:
a) Create an IS (12) project adding it to my VS solution (2005)
b) Add the primary output of my add-in (Default options) to INSTALLDIR
c) Add AddinExpress.MSO.2005.dll (default options) to INSTALLDIR
d) Add the DLL of my shim to INSTALLDIR. Uncheck COM Extract at build and CHECK Self-Register
e) Add extensibility.dll (default options) to INSTALLDIR
f) Add extensibility.dll to GlobalAssembyCache setting Permanent to Yes
g) Run a Static Dependency Scan to pick up the VC++ 8.0 runtimes.
build & install. Worked perfectly for me.
HTH!
Todd
|
|
Posted 14 Jul, 2006 13:32:45
|
|
Top
|
|
Sergey Grischenko
Add-in Express team
Posts: 7235
Joined: 2004-07-05
|
Thank you, Todd.
You do everything correct. |
|
Posted 14 Jul, 2006 13:39:29
|
|
Top
|
|
Jack Bretcher
Posts: 189
Joined: 2006-06-30
|
|
Posted 14 Jul, 2006 14:58:42
|
|
Top
|
|
Jack Bretcher
Posts: 189
Joined: 2006-06-30
|
GOT IT!!
I download the Shim Wizard and recreated the shim, now it WORKS!
Thanks for all of your help!
Jack |
|
Posted 14 Jul, 2006 16:54:05
|
|
Top
|
|
Posts 11 - 18 of 18
First | Prev. | 1 2 | Next | Last
|