Archicad C++ API
About Archicad add-on development using the C++ API.

Add-on registry entry not created in AC 18/19

Anonymous
Not applicable
I am rebuilding my add-on (and installer) for AC 18 & 19. The installer looks in the registry for "HKCU\\Software\GRAPHISOFT\ArchiCAD-64 18.0.0 INT R1\Add-On Manager" for the "Actual Path" key and uses its value for where to install the add-on.

But the "Add-On Manager" key does not always exist. It looks like its created the first time the Add-On manager is run. Is there another place where we can get the directory? Otherwise we will have to tell users to run the add-on manager before installing any add-ons which seems crude.

Your suggestions are appreciated.

Thanks
3 REPLIES 3
Akos Somorjai
Graphisoft
Graphisoft
LesWoolsey wrote:
I am rebuilding my add-on (and installer) for AC 18 & 19. The installer looks in the registry for "HKCU\\Software\GRAPHISOFT\ArchiCAD-64 18.0.0 INT R1\Add-On Manager" for the "Actual Path" key and uses its value for where to install the add-on.

But the "Add-On Manager" key does not always exist. It looks like its created the first time the Add-On manager is run. Is there another place where we can get the directory? Otherwise we will have to tell users to run the add-on manager before installing any add-ons which seems crude.

Your suggestions are appreciated.

Thanks
Hi Les,

Well, you are more or less out of options. You can try to take the "Last Started Path", and append Add-Ons to it, but that'll only work in English-speaking territories.

Best, Akos
Anonymous
Not applicable
Thanks. I think I really want to put my Add-On into the selected folder which means I need to tell people how to initialize ArchiCAD,

Can you tell me exactly what a user needs to do to get that registry entry built. The only way I can see is to
1. start the Add-on Manager,
2. Expand the item at the bottom to "Edit the list of Add-ons
3. Click the change button for the designated Add-Ons folder
4. Browse to the currently selected folder
5. Click OK
6. Click OK again.

That seems really awkward and error prone. Is there another way?

Thanks
Les
Akos Somorjai
Graphisoft
Graphisoft
LesWoolsey wrote:
Thanks. I think I really want to put my Add-On into the selected folder which means I need to tell people how to initialize ArchiCAD,

Can you tell me exactly what a user needs to do to get that registry entry built. The only way I can see is to
1. start the Add-on Manager,
2. Expand the item at the bottom to "Edit the list of Add-ons
3. Click the change button for the designated Add-Ons folder
4. Browse to the currently selected folder
5. Click OK
6. Click OK again.

That seems really awkward and error prone. Is there another way?

Thanks
Les
Hi Les,

The other option people are using is to find ARCHICAD's location (from the same registry entry), then append the localised name of the Add-Ons folder to it.

Please find enclosed the list of the localised names.

Best, Akos