Combine workingdirectory and startScript results in error message.
I am trying to combine both working directory and startup script in the config.json file. Everything seems to be configured correctly. i install the MSIX package but when i try to start it i get this error message.
If i exclude either workingDirectory og startScript everything is OK.
Config.json
{
“applications”: [
{
“id”: “NOTEPAD”,
“executable”: “VFS\ProgramFilesX64\Notepad++\notepad++.exe”,
“workingDirectory”: “VFS\ProgramFilesX64\Notepad++”,
“scriptExecutionMode”: “-ExecutionPolicy Bypass”,
“startScript”: {
“waitForScriptToFinish”: true,
“runOnce”: true,
“showWindow”: false,
“scriptPath”: “Copy.ps1”
}
}
]
}
Package files
AppxManifest.xml
<Applications>
<Application Id=”NOTEPAD” Executable=”PsfLauncher64.exe” EntryPoint=”Windows.FullTrustApplication”>
I am trying to combine both working directory and startup script in the config.json file. Everything seems to be configured correctly. i install the MSIX package but when i try to start it i get this error message. If i exclude either workingDirectory og startScript everything is OK.Config.json{“applications”: [{“id”: “NOTEPAD”,”executable”: “VFS\ProgramFilesX64\Notepad++\notepad++.exe”,”workingDirectory”: “VFS\ProgramFilesX64\Notepad++”,”scriptExecutionMode”: “-ExecutionPolicy Bypass”,”startScript”: {“waitForScriptToFinish”: true,”runOnce”: true,”showWindow”: false,”scriptPath”: “Copy.ps1″}}]}Package filesAppxManifest.xml<Applications><Application Id=”NOTEPAD” Executable=”PsfLauncher64.exe” EntryPoint=”Windows.FullTrustApplication”> Read More