Prerequisites
PSAppDeployToolkit version
4.1.7
Describe the bug
With 4.1.7, I am getting failures when installing applications. The error in the log is: Exception calling "Remediate" with "2" argument(s): "The system cannot find the file specified. (Exception from HRESULT: 0x80070002)"
I have had this happen during the preinstall stage, which caused the whole install to exit and fail. I have also had this happen after the software had installed, but didn't cause a exit failure.
I am unable to reproduce this error. Log files are attached (I can't seem to attach .ps1 for my invoke script). I have a set of three applications this has happened with. The scripts are the same except for the filenames. Environment data is the for Revit 2026 log attached.
Posted to github at the request of @mjr4077au from Master Wrapper discord.
Autodesk_Revit2023_v1.8_x86_EN_01_PSAppDeployToolkit_Install.log
Autodesk_Revit2024_v3.4_x86_EN_01_PSAppDeployToolkit_Install.log
Autodesk_Revit2026_v3_x86_EN_01_PSAppDeployToolkit_Install.log
Steps to reproduce
I am unable to replicate the issue as it happens randomly.
Environment data
OsName : Microsoft Windows 11 Enterprise
OSDisplayVersion : 23H2
OsOperatingSystemSKU : EnterpriseEdition
OsArchitecture : 64-bit
WindowsVersion : 2009
WindowsProductName : Windows 10 Enterprise
WindowsBuildLabEx : 22621.1.amd64fre.ni_release.220506-1250
OsLanguage : en-US
OsMuiLanguages : {en-US}
KeyboardLayout : en-US
TimeZone : (UTC-08:00) Pacific Time (US & Canada)
HyperVisorPresent : True
CsPartOfDomain : False
CsPCSystemType : Mobile
Host:
Version: 8.0.11
Architecture: x64
Commit: 9cb3b725e3
RID: win-x64
.NET SDKs installed:
No SDKs were found.
.NET runtimes installed:
Microsoft.AspNetCore.App 6.0.22 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 8.0.11 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.NETCore.App 6.0.22 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 8.0.11 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.WindowsDesktop.App 6.0.22 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 8.0.11 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Other architectures found:
None
Environment variables:
Not set
global.json file:
Not found
Learn more:
https://aka.ms/dotnet/info
Download .NET:
https://aka.ms/dotnet/download
Prerequisites
PSAppDeployToolkit version
4.1.7
Describe the bug
With 4.1.7, I am getting failures when installing applications. The error in the log is: Exception calling "Remediate" with "2" argument(s): "The system cannot find the file specified. (Exception from HRESULT: 0x80070002)"
I have had this happen during the preinstall stage, which caused the whole install to exit and fail. I have also had this happen after the software had installed, but didn't cause a exit failure.
I am unable to reproduce this error. Log files are attached (I can't seem to attach .ps1 for my invoke script). I have a set of three applications this has happened with. The scripts are the same except for the filenames. Environment data is the for Revit 2026 log attached.
Posted to github at the request of @mjr4077au from Master Wrapper discord.
Autodesk_Revit2023_v1.8_x86_EN_01_PSAppDeployToolkit_Install.log
Autodesk_Revit2024_v3.4_x86_EN_01_PSAppDeployToolkit_Install.log
Autodesk_Revit2026_v3_x86_EN_01_PSAppDeployToolkit_Install.log
Steps to reproduce
I am unable to replicate the issue as it happens randomly.
Environment data