AppScriptDate = '13-01-2026'

Hi,

I was testing the installation of an application deployed with the latest version of PSADT and it did not install. Luckily I remembered that I changed the date from US to Dutch format (day-month-year), unaware of the fact that Powershell only accepts the ISO8601 or US-style dates for a System.DateTime object as mentioned in the post below.

60008 Error with Date Change in Invoke-AppDeployToolkit.ps1 - The Toolkit / General Discussion - PSAppDeployToolkit Community

The strange thing however is that I didn't get any error messages. This is what I did:

On my test workstation I started a CMD.exe as Admin and ran psexec -i -s -d cmd.exe. Then as system I started the Invoke-AppDeployToolkit.exe -DeploymentType Install -DeployMode Interactive command. But then nothing happend. No error message, no log file in C:\Windows\Logs\Software

How can I test my PSADT installation and get error messages like in the post above ?

Very similar to your example, run Powershell as admin then run:

.\Invoke-AppDeployToolkit.ps1 -DeploymentType Install -DeployMode Interactive

Thank you @Adrian_Scott . I should have known to run the script itself instead of the .exe. I feel very stupid now :smiley:

1 Like

:grin:
Don't worry I did something similar yesterday, I blame the holiday season, so easy to forget these simple things when you have had a break.

You need to add /Debug to bring up a console window via the exe.

1 Like

:smiley: Nah, plain stupidity. Started working agin the 5th of january after a 2 week holiday, so the brain was all warmed up.

@mjr4077au thanks. Will use the /Debug option from now on.

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.