Announcements
hey all
we deploy AX as part of a sccm task sequence.
the task runs the setup.exe file with a bunch of parameters (hideUI, ports, usernames, logdir etc etc)
the task sequence works fine and AX installs on server 2012, 2016 and 2019.
the problem i am experiencing is when i run the same command in powershell manually on a test server (server 2019)
the error is this
2023-03-15 16:06:34Z The following prerequisite checks failed:
2023-03-15 16:06:34Z Windows PowerShell 2.0
2023-03-15 16:06:34Z Async Client
2023-03-15 16:06:34Z ******************************************************************************************************
2023-03-15 16:06:34Z The following prerequisites failed:
2023-03-15 16:06:34Z Windows PowerShell 2.0
2023-03-15 16:06:34Z ******************************************************************************************************
now i can confirm that all AX prereqs are installed.
.net 3.5 installed
windows features confirms that powershell 2.0 is installed
[X] Windows PowerShell PowerShellRoot Installed
[X] Windows PowerShell 5.1 PowerShell Installed
[X] Windows PowerShell 2.0 Engine PowerShell-V2 Installed
the registry keys exist for powershell 2.0
2023-03-15 16:06:33Z Performing a registry value check for prerequisite 'Windows PowerShell 2.0'.
2023-03-15 16:06:33Z Checking registry value 'SOFTWARE\Microsoft\PowerShell\1\PowerShellEngine\PowerShellVersion' = 2.0
2023-03-15 16:06:33Z Found: '2.0' Expected: '2.0'.
2023-03-15 16:06:33Z Check succeeded.
to throw a spanner in the works...
when i run setup.exe by itself with no parameters it gives me the option to run a prereqs check. When i do this... it comes back saying that powershell 2.0 is installed!
so i dont understand why the installer fails and gives me the error during install..... whereas the prereq check, from the same exe file says that powershell 2.0 is ok.
are there any parameters/switches that I can use that avoids/skips/bypasses the powershell check?
im a bit stumped as to whats going on here...
i know were using an old version of ax but this is all we got for now (D365 is coming)
any suggestions?
cheers!
André Arnaud de Cal...
294,110
Super User 2025 Season 1
Martin Dráb
232,866
Most Valuable Professional
nmaenpaa
101,158
Moderator