Forum Discussion
Coop2667580
Feb 22, 2021Copper Contributor
MSIX Packaging SPSS 26 with KMS License
Hey Everyone, I rarely ever have to post on Forums to get answers but I am at my breaking point. I am trying to package SPSS26 which is licensed through a KMS Server into an MSIX. I have used the MSI...
Dian Hartono
Microsoft
Feb 22, 2021Hi Coop2667580, if your shortcut takes in an argument, this is currently not supported: MSIX Packaging Tool Known Issues and Troubleshooting Tips - MSIX | Microsoft Docs
You can try to use a Package Support Framework to launch Windows Apps with Parameters - Package Support Framework - Launching Windows Apps with Parameters - MSIX | Microsoft Docs
- Coop2667580Feb 23, 2021Copper Contributor
Dian Hartono I have not been able to find any arguments for the shortcuts. When I install SPSS on my VM to capture it I do the LICENSE switch and Server Switch but thats it from then on the stats.exe reads a SPSSLic.config file to read the server IP.
- James PikeFeb 23, 2021
Microsoft
Hi Coop,
From your description that the stats.exe executable runs as expected when launches from explorer, it sounds like the program is attempting to find the configuration file on launch and the configuration file does exist in the data laid down by the msix. Since its working outside of the msix container, I'd guess this is related to the working directory or file system filtering.
You mentioned that you tried to redirect the current working directory. By any chance, did you try using process monitor as described: https://docs.microsoft.com/en-us/windows/msix/psf/psf-current-working-directory to see if the stats.exe program was failing to find a file when launched in the msix container?
If you can identify/share the specific error stats.exe is encountering, we may be able to suggest a more specific fix/workaround.
Thanks!
James