Skip to content

[Bug]: 5.0.1 user-based install puts pyrevit.addin file in ProgramData #2611

@TylerRoberts

Description

@TylerRoberts

✈ Pre-Flight checks

  • I don't have SentinelOne antivirus installed (see above for the solution)
  • I have searched in the issues (open and closed) but couldn't find a similar issue
  • I have searched in the pyRevit Forum for similar issues
  • I already followed the installation troubleshooting guide thoroughly
  • I am using the latest pyRevit Version

🐞 Describe the bug

Running a per-user install of 5.0.1 using this file results in the pyRevit files being located in AppData as expected, but the pyRevit.addin files for Revit are located in ProgramData instead of AppData.

⌨ Error/Debug Message

N/A

♻️ To Reproduce

Install 5.0.1 as non-admin user with /VERYSILENT parameter
Check C:\ProgramData\Autodesk\Revit\Addins<YEAR>\ for pyRevit.addin file that points to the DLL located in the user's profile.

⏲️ Expected behavior

The pyRevit.addin file should be located in %appdata% of the user profile, not ProgramData where it applies to all users.

🖥️ Hardware and Software Setup (please complete the following information)

N/A

Additional context

We did not experience this issue with the 4.8.16 installer

Metadata

Metadata

Assignees

Labels

BugBug that stops user from using the tool or a major portion of pyRevit functionality [class]

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions