Revit 2027 Add-in Installation folder changes

Revit 2027 Add-in Installation folder changes

luca_oeler
Explorer Explorer
1,442 Views
6 Replies
Message 1 of 7

Revit 2027 Add-in Installation folder changes

luca_oeler
Explorer
Explorer

Hi,

i just checked the Revit 2027 SDK for migrating Revit 2027 into my add-in.

I noticed that Revit 2027 has a new location for non-user-specisific add-in bundles. 

My problem is that this is not compatible with older Revit versions.

My add-in uses the bundle structure to provide the same ressources for multiple Revit versions.

 

I dont understand the idea how to support older Revit versions and Revit 2027 in a application bundle in a non-user specific scenario.

 

I attached the documents im refering, but i tested the bundle and it did not work in programdata for Revit 2027 and for the other Revit versions 2024-2026 in program files.

 

Can you please help me?

 

 

best regards

 

 

p.s. the "Getting Started with the Revit API.docx" has the wrong path!

 

0 Likes
1,443 Views
6 Replies
Replies (6)
Message 2 of 7

ricaun
Advisor
Advisor

Yes, the folder ProgramData is deprecated and replaced by Program Files in Revit 2027.

 

Here is the online docs: https://help.autodesk.com/view/RVT/2027/ENU/?guid=f7165618-24c9-4160-a7a4-09979fe4a981

ricaun_0-1776946274555.png

And there is a discussion on the Autodesk Feedback - Enhancement - Improved File Permissions Security for Addins

 

I guess if you really need to install the bundle for all users you gonna need to install in two folders, kinda annoying but that's the way...

 

In my case I stop using the ProgramData folder and replace to the %AppData% just because works in all Revit versions and does not require Admin privilege, so make simpler to auto update the bundle.

 

Luiz Henrique Cassettari

ricaun.com - Revit API Developer

AppLoader EasyConduit WireInConduit ConduitMaterial CircuitName ElectricalUtils

Message 3 of 7

GaryOrrMBI
Advisor
Advisor

In addition to now having to make a choice between all users and adding Admin rights or switch to per user installs... has anyone noticed an absence of the new designated location or is it an installation issue on my computer?

GaryOrrMBI_0-1776957647875.png

 

GaryOrrMBI_1-1776957795847.png

 

GaryOrrMBI_2-1776958012274.png

 

 

-G

 

Gary J. Orr
GaryOrrMBI (MBI Companies 2014-Current)
aka (past user names):
Gary_J_Orr (GOMO Stuff 2008-2014);
OrrG (Forum Studio 2005-2008);
Gary J. Orr (LHB Inc 2002-2005);
Orr, Gary J. (Gossen Livingston 1997-2002)
0 Likes
Message 4 of 7

luca_oeler
Explorer
Explorer

Revit install does not create the folder at my machine too, but if you create it by yourself it works.

Message 5 of 7

frankiewiczKZD3X
Contributor
Contributor

I wonder if there was any one who ask for it, I didn't notice any one who what it. Explanation that it was made for security is a nothing burger, this bring more problems and solve nothing. Now we have to make exception in instalation scripts just for this case. I wish autodesk stop changing things and start maybe fixing bugs. 
It was already pathetic when they write on first page abaut 'Expose Property Line API ' some thing that idea was made in 2017 and post is from 2015.  

0 Likes
Message 6 of 7

ricaun
Advisor
Advisor

@frankiewiczKZD3X wrote:

I wonder if there was any one who ask for it, I didn't notice any one who what it. Explanation that it was made for security is a nothing burger, this bring more problems and solve nothing. Now we have to make exception in instalation scripts just for this case. I wish autodesk stop changing things and start maybe fixing bugs. 


There other discussion about this folder change Add-In installation folder in the Autodesk Feedback, a user noticed that AutoCAD was removing the ProgramData folder and ask if gonna happen in Revit.

 

Nobody ask for that change and because ProgramData is a weird folder that sometimes allow to change files in there without admin privileges (at least in my Windows 11 is working like that), any new user could play around with files in the ProgramData folder.

 

Anyway I already know that change would happen and did all the changes in the installation for the plugins, I just swap to only install in the current user (%AppData%) and every thing is fine.

 


@frankiewiczKZD3X wrote:

It was already pathetic when they write on first page abaut 'Expose Property Line API ' some thing that idea was made in 2017 and post is from 2015.  


Don't think Autodesk care enough about Revit API to make better for the developer, a lot of things is missing in the API, a bug take ages to be fixed, and most of the time a workaround is the only solution.

 

Luiz Henrique Cassettari

ricaun.com - Revit API Developer

AppLoader EasyConduit WireInConduit ConduitMaterial CircuitName ElectricalUtils

0 Likes
Message 7 of 7

frankiewiczKZD3X
Contributor
Contributor

ProgramData work for most of us beacuse windwos can have a wierd security set up.

Most users in corporation do not have write or acces to use ProgramFiles, witch mean if dll is sign with difrent certificate it can make imposible to use addin.
Most people in organizations do not have admin privalage. 

 


Anyway I already know that change would happen and did all the changes in the installation for the plugins, I just swap to only install in the current user (%AppData%) and every thing is fine.

 


cool but when your instalation process have version for 2026 and 2025 it become not just simple swap, what pains me that they didn't make a time to go from one to anothere, even one year would make life much easier. 


Don't think Autodesk care enough about Revit API to make better for the developer, a lot of things is missing in the API, a bug take ages to be fixed, and most of the time a workaround is the only solution.

 


and that is big problem we still pay money for this and it is very poor quality. And in way this is going making product similar to it on the same rules as Blender seems like cheaper way.