bitness-aware component

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

bitness-aware component
 
Subscribe
Leon Lai Kan




Posts: 200
Joined: 2018-12-20
Hi, Andrei

I have checked ALL Registry Entries for my Add-in under 2 conditions:
* RegisterForAllUsers = True . Let's call it Per Machine
* RegisterForAllUsers = False . Let's call it Per User

-------

How did I search Registry?
I searched both the GUID and the ProgId

------
My tentative observations are as follows: I may need to recheck my workings tomorrow if there are errors.
I am just giving the DIFFERENCES I observe.

------
LoadBehavior
Per User loads correctly in Excel, but Per Machine does not load.
However, in both cases, LoadBehavior = 3.
But LoadBehavior is found in different Keys for these cases.


Where LoadBehavior is found

Per Machine is found in:
HKLM\SOFTWARE\Microsoft\Office\Excel\Addins\About200.AddinModule
and
HKLM\SOFTWARE\WOW6432Node\Microsoft\Office\Excel\Addins\About200.AddinModule


Per User is found in:
HKU\S-1-5-21-1614083030-2784758397-3033634501-1001\Software\Microsoft\Office\Excel\AddIns\About200.AddinModule

--------

ADXStartMode

Per Machine:
ADXStartMode = FIRSTSTART

Per User:
ADXStartMode = NORMAL , LoadBehavior = 3


ADXStartMode is found in these keys:
HKCU\Software\Microsoft\Office\Excel\AddIns\About200.AddinModule
and
HKU\S-1-5-21-1614083030-2784758397-3033634501-1001\Software\Microsoft\Office\Excel\AddIns\About200.AddinModule

------
I will recheck my workings tomorrow morning.
If you need my Excel workings, I can mail them to Support.




Leon
Posted 11 Jul, 2019 10:30:51 Top
Andrei Smolin


Add-in Express team


Posts: 16201
Joined: 2006-05-11
Leon Lai Kan writes:
HKU\S-1-5-21-1614083030-2784758397-3033634501-1001\Software\Microsoft\Office\Excel\AddIns


This is the very same key as HKCU\Software\Microsoft\Office\Excel\AddIns\About200.AddinModule.

Leon Lai Kan writes:
ADXStartMode = FIRSTSTART


This reflects the fact that the add-in didn't start for the first time yet.

Leon Lai Kan writes:
I searched both the GUID and the ProgId


Search for ProgId only. Check only HKCU and HKLM; start searching from HKCU; once the search goes outside of these keys, stop it. If a per-user add-in is registered, the keys must be in HKCU only. If a per-machine add-in is registered, the keys must be in HKLM only.

Check the log of your antivirus: are there any things related to your add-in or to Add-in Express files?

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 11 Jul, 2019 10:58:52 Top
Leon Lai Kan




Posts: 200
Joined: 2018-12-20
Andrei,

I am still working on your suggestions about Registry.

One question:
Check the log of your antivirus

What is the reason for wanting to check the antivirus log?
Is it because there is a possibility that the antivirus could be interfering with my add-in?

What if I disable the antivirus while testing my add-in?
This is what I have done. I note that the add-in still does not load when RegisterForAllUsers = True.


Leon
Posted 12 Jul, 2019 01:53:06 Top
Leon Lai Kan




Posts: 200
Joined: 2018-12-20
Hi, Andrei

My add-in does not work on my computer (if RegisterForAllUsers = True)
I copy the Project to another computer. IT WORKS FINE there in Visual Studio!

-----

Next, I created a setup file for my project.
It does not work on my computer.

I then copy the same setup file on the other computer. IT WORKS FINE!


-----

Andrei, so what can I conclude?
* The problem is with my computer.
* I am wasting all my time searching the cause of the problem, instead of doing serious work.
* I am wasting your precious time and putting you on stress.

-----

So, right now, I am STOPPING DEFINITELY all my investigations.
Next week, I am going to use another (spare) computer.
I will format it clean.
Reinstall all my software.
Then start everything from zero on my new computer.

------

I really apologise for all the worries I have given you, and thank you for your GREAT patience.

------

If ever I have other problems with my add-in, these will be on my NEW COMPUTER.
I hope I won't ever get this nightmarish problem again.
The only positive benefit I obtained is that I learned a lot of new things, like Registry, which will benefit me in future.

Best Regards,
Leon
Posted 12 Jul, 2019 03:01:34 Top
Andrei Smolin


Add-in Express team


Posts: 16201
Joined: 2006-05-11
Hello Leon,

Okay.

Leon Lai Kan writes:
What is the reason for wanting to check the antivirus log? Is it because there is a possibility that the antivirus could be interfering with my add-in?


An antivirus can interfere with everything. Checking its log may help you discover something related to your add-in when it 1)registers or 2)loads.

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 12 Jul, 2019 04:21:47 Top