Clickonce Add-in installs correclty but does not load

Add-in Express™ Support Service
That's what is more important than anything else

Clickonce Add-in installs correclty but does not load
 
gjvdkamp




Posts: 29
Joined: 2018-08-28
Hi,

I have an add-in that I have deployed through clickonce repeatedly with succes.
Now I have a user where the installation goes correctly (no errors), the add-in shows in 'add/ remove programs'.
But it does not show up in Excel. It does not load, it does not show up in Add-ins (not as loaded or disabled).

I checked the Excel setting, it should accept add-ins without trusted computing.
No error messages in Excel, it's just like it's not installed at all.

I targeted .Net Framework 4.8 which is installed on the computer (by default in Windows nowadays).

Do you have anyhting else I could check for?
Posted 16 Oct, 2019 08:11:40 Top
Andrei Smolin


Add-in Express team


Posts: 16673
Joined: 2006-05-11
Hello,

Install the add-in on your machine, use section Locating COM Add-ins in the Registry (see the PDF file in the folder {Add-in Express}\Docs on your development PC) to find the keys created fro your add-in and check if these keys exist on that machine.

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 16 Oct, 2019 09:00:16 Top
gjvdkamp




Posts: 29
Joined: 2018-08-28
[img]https://xlconnect-my.sharepoint.com/:i:/g/personal/gjvdkamp_xlconnect_net/ESAj801SwRxAnHPLjhhh0EUB7iZzFQtN9IFfesh-x1KRQA?e=MYA9Vq[/img]

This is that key in his registry.
The only one that looks different from mine is the ADXStartMode, mine says NORMAL.
Posted 17 Oct, 2019 03:33:23 Top
Andrei Smolin


Add-in Express team


Posts: 16673
Joined: 2006-05-11
Hello,

That section lists these keys:
- add-in key
- ProgID key
- CLSID key

You've found the add-in key. The other keys play the COM role of your COM add-in.

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 17 Oct, 2019 04:20:49 Top
gjvdkamp




Posts: 29
Joined: 2018-08-28
I'm looking around in my registry (where it works) but can't find the keys you're saying..
What would be the path?
Posted 17 Oct, 2019 04:55:24 Top
Andrei Smolin


Add-in Express team


Posts: 16673
Joined: 2006-05-11
In that section, there's a screenshot showing how the Guid and ProgId attributes defined in your add-in module are mapped to the three key types; note that your registry may contain each key type several times: you see them when you search the registry using regedit.exe. This occurs because the registry contains separate branches available for 32bit and 64bit programs.

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 17 Oct, 2019 08:42:47 Top
gjvdkamp




Posts: 29
Joined: 2018-08-28
Do you have a registry path where I should look?
I can't find what you dscribe in the registries on my machines and it works well on those.
Posted 17 Oct, 2019 09:17:59 Top
Andrei Smolin


Add-in Express team


Posts: 16673
Joined: 2006-05-11
gjvdkamp writes:
Do you have a registry path where I should look?


No. The actual path is constructed using the Guid and ProgID attributes. You could search the Guid value and the ProgId value in the registry.

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 17 Oct, 2019 09:26:30 Top
gjvdkamp




Posts: 29
Joined: 2018-08-28
Ok I got this key:
Computer\HKEY_CURRENT_USER\Software\Classes\CLSID\{9E19EBCF-6858-4052-9D09-6910304AFB36}

And it stores this on my machine:
https://xlconnect-my.sharepoint.com/:i:/g/personal/gjvdkamp_xlconnect_net/EdGu-EVAcktIudxxzlAYowoB4XUO5jtB4hu649x1yPutvg?e=TBpvsY

I should get that for the machine that doesn;t work?
Posted 17 Oct, 2019 09:39:53 Top
Andrei Smolin


Add-in Express team


Posts: 16673
Joined: 2006-05-11
Yes. I would search that guid both on your machine and on the affected machine.

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 17 Oct, 2019 09:47:48 Top