SCCM / SYSTEM — run all admin installer steps as installer account#3051
SCCM / SYSTEM — run all admin installer steps as installer account#3051
Conversation
… for attaching clone
…e clearing and clone detachment steps
|
📦 New work-in-progress (wip) builds are available for 5.3.1.26032+1612-wip |
|
📦 New work-in-progress (wip) builds are available for 5.3.1.26032+1624-wip |
|
📦 New work-in-progress (wip) builds are available for 5.3.1.26032+1738-wip |
|
📦 New work-in-progress (wip) builds are available for 5.3.1.26032+1743-wip |
|
📦 New work-in-progress (wip) builds are available for 5.3.1.26032+1829-wip |
|
📦 New work-in-progress (wip) builds are available for 5.3.1.26032+1937-wip |
|
📦 New work-in-progress (wip) builds are available for 6.0.0.26032+1956-wip |
|
📦 New work-in-progress (wip) builds are available for 6.0.0.26032+2005-wip |
|
📦 New work-in-progress (wip) builds are available for 6.0.0.26032+2008-wip |
|
📦 New public release are available for 6.0.0.26032+2040 |
|
📦 New public release are available for 6.0.0.26032+2040 |
What
Admin installer: run all post-install and uninstall steps as the installing account (no
runascurrentuser), so when deployed as SYSTEM (e.g. SCCM) every step can succeed and write to all-users / ProgramData.File:
release/pyrevit-admin.issChange: Remove
runascurrentuserfrom all[Run]and[UninstallRun]entries (keeprunhidden). Aligns with the per-user installer (pyrevit.iss), which uses onlyrunhiddenfor these steps.Why
Fixes #2923 — pyRevit installed via SCCM (Windows System account) should show as attached for all users.
Under SCCM the installer runs as SYSTEM; there is no interactive "current user." With
runascurrentuser, every step (caches clear, detach, clones add, attach) could skip or run in a broken context. Running all steps as the installer (SYSTEM) ensures:.addinin the all-users Revit Addins folder so every user sees the pyRevit tab.Verification
pyrevit attached— should list the attachment (master | AllUsers | path). Revit should show the pyRevit tab. Uninstall as SYSTEM; all-users .addin and caches should be cleaned.release/pyrevit.iss.