I’m deploying a WPF application and in our process we are trying to use DesktopAppConverter to package our files into a .MSIX package.
My process is:
- Package deployment
- Run a powershell script that builds .MSIX package using Desktop App Converter (Inline source code)
- Run a powershell script that signs the .MSIX package (Inline source code)
My deployment fails in step 2, when running
desktopappconverter -installer C:\Octopus-Tentacle… C:\temp -Version 220.127.116.11 -Makemsix -verbose -MyClient.exe -AppId “Demo3” -PackageName “TestApp” -Publisher “SomePublisher”
As the error is message (see screenshot below):
The user running the Octopus tentacle is admin and has all necessary privileges. The script and the program “appconverter.exe” are both on same drive (C:).
What I’m thinking is that octopus tentacle always deletes its work files where the inline powershell script is located. Can it be that it has already been deleted by the tentacle before desktopappconverter runs, or finishes its task, resulting in “File cannot be accessed by the system…” error?
Any idea would be appreciated.