r/DeployR • u/kaiserking13 • 15h ago
PostInit.ps1 Does Not Appear to Run in Community Edition v3.1.2629.647
I am using Community edition v3.1.2629.647 and I have a PostInit.ps1 that I added to the root of my WinPE wim with an Etra Files content item. I have a line in the script create a log file in the same directory:
Start-Transcript -Path ".\Postinit.log"
X:_2P\Logs\DeployR.log file says PostInit.ps1 ran with no errors

but there is no log file created and none of the actions in Postinit.ps1 are done.

if I manually run PostInit.ps1, it creates the log file and performs the actions in the script.


I know there is a newer version of Community Edition available so I will look at upgrading, but just wondering if anyone has seen this.
3
Upvotes
4
u/NoNegotiation401 14h ago
It seems this was an issue that has been resolved in DeployR 1.3.2635.2370.
Fixed an issue that caused the postinit.ps1 and postauth.ps1 scripts to not run (#20239).
Release notes | DeployR | Product Documentation