✈ Pre-Flight checks
🐞 Describe the bug
pyRevit 5 does not attach master when installed from SCCM, which uses the Windows System account to install software. pyRevit tab does not appear in Revit (Revit 2024 in my case) after installation.
⌨ Error/Debug Message
"pyrevit attached" command returns blank result, meaning nothing is attached.
♻️ To Reproduce
Install pyRevit 5 using SCCM.
Silent install command is "pyRevit_5.3.1.25308_admin_signed.exe" /VERYSILENT
SCCM only has one method of installing software for all users on a PC, and that is via the Windows System account.
- After installation,
Execute command "pyrevit attached" from the windows system account, result appears fine from windows system account:
==> Attachments
master | Product: "2024.3.1" | Engine: DEFAULT (2712) | Path: "C:\Program Files\pyrevit-Master" | AllUsers
But, when you execute command "pyrevit attached" from any other account, whether it's an admin account or a user account, the result is blank.
==> Attachments
⏲️ Expected behavior
I expect pyRevit installed via the Windows System account to behave the same as if it had been installed from a local admin account.
🖥️ Hardware and Software Setup (please complete the following information)
Microsoft Windows [Version 10.0.19045.6456]
pyrevit env
==> Registered Clones (full git repos)
==> Registered Clones (deployed from archive/image)
master | Branch: "master" | Version: "5.3.1.25308+1659" | Path: "C:\Program Files\pyrevit-Master"
==> Attachments
==> Installed Extensions
==> Default Extension Search Path
C:\Users\admin-account\AppData\Roaming\pyRevit\Extensions
==> Extension Search Paths
==> Extension Sources - Default
https://github.com/pyrevitlabs/pyRevit/raw/master/extensions/extensions.json
==> Extension Sources - Additional
==> Installed Revits
2024.3.1 | Version: 24.3.10.22 | Build: 20241105_1515(x64) | Language: 1033 | Path: "C:\Program Files\Autodesk\Revit 2024\"
==> Running Revit Instances
==> User Environment
Microsoft Windows 10 [Version 10.0.19045]
Executing User: domain\admin-account
Active User: domain\user-account
Admin Access: Yes
%APPDATA%: "C:\Users\admin-account\AppData\Roaming"
Latest Installed .Net Framework: 9.0.10
No .Net Target Packs are installed.
No .Net-Core Target Packs are installed.
pyRevit CLI v5.3.1.25308+1659.87ab3dfd505f7f8ddfb7375b52a1ea7645640f7a
Additional context
pyRevit will integrate with Revit if I run the command "pyrevit attach master default --installed" from a local admin account. However that action is not possible when distributing software using SCCM.
✈ Pre-Flight checks
🐞 Describe the bug
pyRevit 5 does not attach master when installed from SCCM, which uses the Windows System account to install software. pyRevit tab does not appear in Revit (Revit 2024 in my case) after installation.
⌨ Error/Debug Message
♻️ To Reproduce
Install pyRevit 5 using SCCM.
Silent install command is "pyRevit_5.3.1.25308_admin_signed.exe" /VERYSILENT
SCCM only has one method of installing software for all users on a PC, and that is via the Windows System account.
Execute command "pyrevit attached" from the windows system account, result appears fine from windows system account:
==> Attachments
master | Product: "2024.3.1" | Engine: DEFAULT (2712) | Path: "C:\Program Files\pyrevit-Master" | AllUsers
But, when you execute command "pyrevit attached" from any other account, whether it's an admin account or a user account, the result is blank.
==> Attachments
⏲️ Expected behavior
I expect pyRevit installed via the Windows System account to behave the same as if it had been installed from a local admin account.
🖥️ Hardware and Software Setup (please complete the following information)
Additional context
pyRevit will integrate with Revit if I run the command "pyrevit attach master default --installed" from a local admin account. However that action is not possible when distributing software using SCCM.