Powershell crash at the end of the installation

I am getting the following crashing message at the end of the installation any ideas?

Problem signature:
Problem Event Name: BEX
Application Name: powershell.exe
Application Version: 6.1.7600.16385
Application Timestamp: 4a5bc414
Fault Module Name: StackHash_19ab
Fault Module Version:
Fault Module Timestamp: 00000000
Exception Offset: 0061002d
Exception Code: c0000005
Exception Data: 00000008
OS Version: 6.1.7601.
Locale ID: 1028
Additional Information 1: 19ab
Additional Information 2: 19ab9926d2aa8f69a72710de3aba1701
Additional Information 3: 3d02
Additional Information 4: 3d026baba0de3076790aa3b225d9b519

Read our privacy statement online:

If the online privacy statement is not available, please read our privacy statement offline:

Does this happen to all your packages, or one specific? If it’s one package in particular I’d say there’s typo or similar in your script. You’d have to post more info to get more help, such as your script, the log file (default location is %WINDIR%\logs\software).