Forum Discussion
Abhi211
Jan 02, 2024Copper Contributor
Environment Variable in MSIX Using PSF
Hello Members! I have been working on and around on the Environment Variables Fixup in the MSIX but unfortunately neither I am getting any error in my config.json file nor I am able to see the va...
Madisson
Jan 02, 2024Copper Contributor
Ensure the correctness of your config.json file for MSIX environment variable fixup by correcting the syntax in the "envVars" section. Each environment variable should be enclosed in curly braces and the path in the "value" field should use double backslashes. For example: json "config": { "envVars": [ { "name": "Z", "value": "C:\\temp", "useregistry": "false" } ] } Make sure the "EnvVarFixup32.dll" is correctly placed in the package and is compatible with your system architecture. After making these adjustments, rebuild and repackage your MSIX application. This should enable the specified environment variable within the virtual container.