Forum Discussion
Aug 14, 2018
No support for virtualized environment variables
Applications packaged in the MSIX Packaging tool correctly capture changes to environment variables in the registry, both user and system based. However, the application does not see these in the en...
Aug 15, 2018
Java
ArcGIS
AutoCad
and a bunch of the developer tools
Siva116
Dec 13, 2021Brass Contributor
Yes, even I observed the issue while working with Java. It would be great, if we have any solution for this. Thanks to TIMOTHY MANGAN for highlighting this issue.
- Dec 13, 2021Well that was in 2018. WIth no action taken by Microsoft, I did add a specific fixup in the PSF for this situation in 2020 - the EnvVarFixup - which supports package environment variables. This fixup is included in PsfTooling and TMEditX for sure, and probably third party tools like Bogdan mentioned and others.
- Bogdan MitracheDec 14, 2021Iron ContributorThat fixup is indeed compatible with PSF support from AI too, but we had already implemented our own built-in version of the environment fixup, which makes the experience much simpler for the packagers.
Basically, all you need to do is to go to Environment Variables page in AI and add your variables, then AI handles the rest in the background. You don't need to specifically add the fixup in the AppCompat view, as is the case for the Files Redirection fixup, or others.