Sep 05 2023 02:00 AM
Hello,
We have an App-V of Navision 5, yeah very old app I know but still running in production. I converted this app to MSI-X with the latest MSI-X packaging tool. The problem is, this program is using env variables in the startup parameter. Here is my config.json which doesn't work.
{
"applications": [
{
"id": "FINSQL",
"executable": "VFS\\ProgramFilesX86\\Microsoft Dynamics NAV\\CSIDE Client\\finsql.exe",
"arguments": "servername=VMPDCSQLFRF01,database=FRF,id=${env:APPDATA}\\FRF.zup,objectcache=81920,temppath=${env:TEMP}",
"workingDirectory": "${env:HOMEDRIVE}${env:HOMEPATH}"
}]
}
I wonder what the right approach is? I've tried just %TEMP% but that doesn't seem to work at all.
Thanks!
Sep 05 2023 06:20 AM
Sep 07 2023 12:57 AM
Thanks for your reply, VFS\LocalAppData\Temp would def. work for me as well. Indeed it just needs some dir to write to. I will test this.
Thanks again!