Job Lot

I created an Excel Addin and used the Setup project that gets created with the Addin project. I donĄ¯t have to check for prerequisites as they are already installed on clientĄ¯s computer. I granted full trust to the .dll using caspol.exe but I canĄ¯t see the addin when I run excel. That could be going wrong

Thanks




Re: Visual Studio Tools for Office Can't see Excel Addin after deployment!

Peter Jausovec - MSFT

Hi,

Just to be sure you try the PSS tool to check if everything is set-up as it should be on client's computer.






Re: Visual Studio Tools for Office Can't see Excel Addin after deployment!

Job Lot

Prerequisites are already installed on the client computer. I checked the registry and could not find an entry for the addin. This could be because I deleted the default setup project that gets created when you create an addin and added my own setup project.
Although I added the primary out from the addin project to the setup, I think I need to create some registry entries that I am unaware of that gets created if you use the default setup project. Can anyone help me with those registry entries

Thanks






Re: Visual Studio Tools for Office Can't see Excel Addin after deployment!

Peter Jausovec - MSFT

Hi,

That's right - if you delete the setup project that is created when you create your add-in the registry entries are lost. The easiest way would be to create another add-in project and take a look at registry entries in there.






Re: Visual Studio Tools for Office Can't see Excel Addin after deployment!

Job Lot

I need to specify the CLSID. What is this CLSID and where will I get it from






Re: Visual Studio Tools for Office Can't see Excel Addin after deployment!

McLean Schofield - MSFT

Assuming you're referring to the HKEY_CURRENT_USER\Software\Classes\<add-in ID>\CLSID and

HKEY_CURRENT_USER\Software\Classes\CLSID\{<add-in CLSID>} keys, this value is the globally unique class identifier of your add-in, which is assigned when you create the add-in project. To obtain the CLSID of your add-in, you can refer to one of the following locations:

  • The default value of the HKEY_CURRENT_USER\Software\Classes\<add-in ID>\CLSID registry entry created on your development computer when you build the add-in. add-in ID is by default the name of your add-in project.

  • The ProjectGuid element in the .csproj (for C#) or .vbproj (for Visual Basic) project files.

For more information, see the section "Required Registry Entries" near the bottom of http://msdn2.microsoft.com/en-us/library/ms269007(VS.80).aspx.

I hope this helps,

McLean Schofield






Re: Visual Studio Tools for Office Can't see Excel Addin after deployment!

Job Lot

Thanks, I'll try this out.






Re: Visual Studio Tools for Office Can't see Excel Addin after deployment!

Job Lot

Thanks McLean, that link was a great help. I managed to create the install. Now how would I grant FullTrust to the assemblies that get installed as part of the setup. For testing I created a .cmd file included caspol statement for every assembly that get's installed and excuted the .cmd file manually after the install. How can I automate this in installer or is there any other way of atuomating it

Thanks






Re: Visual Studio Tools for Office Can't see Excel Addin after deployment!

Job Lot

Figured it out. Check this thread for answer link