Thread: Executing .ppkg
View Single Post
Old 18th July 2016, 07:03   #10
Ycos3D
Junior Member
 
Join Date: Jul 2016
Posts: 11
nsExec::ExecToStack 'powershell -inputformat none -ExecutionPolicy Unrestricted -File "$INSTDIR\tempfile.ps1" '

in tempfile.ps1 ia have just 1 line : Invoke-Item "C:\Users\Ycos3D\Desktop\Provisioning OS deployment\Upgrade_to_Enterprise.ppkg"
Ycos3D is offline   Reply With Quote