Installing Office-Plugin 2 times with different Keys

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

Installing Office-Plugin 2 times with different Keys
Test-version of the plugin with different GIUID 
Wolfgang Denz




Posts: 18
Joined: 2011-08-05
Hello,

for testing purposes I would like to be able to install a Plugin with a test-parameter parallel to a working copy of the Plugin. I tried to rewrite the GUID and the menus of the dll dynamically if it's a test-Version. But changing the GUID is not enough. The second installed Plugin allways overwrites the first one.

It would be really usefull for our purposes if we could install a test-Version of the dll this way.
Is there a Chance this feature will be build in in the future?

Best regards
Wolfgang
Posted 16 Jun, 2020 01:04:05 Top
Andrei Smolin


Add-in Express team


Posts: 17360
Joined: 2006-05-11
Hello Wolfgang,

Two add-ins differ in ProgId and GUID. You changed the GUId; you also need to change the ProgId.

Actually, I don't understand why you would need such a thing. Could you please explain?

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 16 Jun, 2020 04:03:22 Top
Wolfgang Denz




Posts: 18
Joined: 2011-08-05
The new testversions of the Plugin have to be installed on the same clientcomputers where the production-release of the Plugin is already installed.
The tester then could do their daily business with the production-release of the Plugin and call the Methods of the test-release for test-purposes without having to deinstall and reinstall the two different Plugin versions.

Where can I change the progid during Registration-process programmatically?

Best regards
Wolfgang
Posted 16 Jun, 2020 04:24:44 Top
Andrei Smolin


Add-in Express team


Posts: 17360
Joined: 2006-05-11
Hello Wolfgang,

The ProgId is defined in the type library. The image below shows the type library of a project the ProgId of which is "VCLOutlookAddin1.coVCLOutlookAddin1". You define these strings when you create an Add-in Express project.

User added an image

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 16 Jun, 2020 05:17:30 Top
Wolfgang Denz




Posts: 18
Joined: 2011-08-05
Can I Change the Name programmatically during the Registration of the dll?

Regards
Wolfgang
Posted 16 Jun, 2020 06:11:48 Top
Andrei Smolin


Add-in Express team


Posts: 17360
Joined: 2006-05-11
I think this should be possible to do but I don't know the path.

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 16 Jun, 2020 07:08:08 Top