MSIX Packaging SPSS 26 with KMS License

%3CLINGO-SUB%20id%3D%22lingo-sub-2156392%22%20slang%3D%22en-US%22%3EMSIX%20Packaging%20SPSS%2026%20with%20KMS%20License%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2156392%22%20slang%3D%22en-US%22%3E%3CP%3E%3CSPAN%3EHey%20Everyone%2C%20I%20rarely%20ever%20have%20to%20post%20on%20Forums%20to%20get%20answers%20but%20I%20am%20at%20my%20breaking%20point.%20I%20am%20trying%20to%20package%20SPSS26%20which%20is%20licensed%20through%20a%20KMS%20Server%20into%20an%20MSIX.%20I%20have%20used%20the%20MSIX%20packager%20as%20well%20has%20PACE%20Packager.%20I%20can%20succesfully%20get%20this%20into%20an%20MSIX%2C%20and%20install%20it%20on%20another%20machine%20but%20no%20matter%20what%20I%20do%20the%20shortcut%20it%20creates%20will%20not%20run%20properly%20and%20does%20not%20run%20with%20the%20license.%20I%20get%20an%20Inet%200%20error.%20Now%20the%20weird%20part%20is%20if%20I%20go%20to%20the%20WindowsApps%20folder%20where%20the%20MSIX%20installs%20and%20run%20the%20Stats.exe%20that%20the%20shortcut%20points%20to%20it%20launches%20perfectly.%20Now%20I%20cant%20expect%20users%20to%20have%20to%20go%20into%2010%20folders%20just%20to%20run%20SPSS%20so%20it%20obviously%20needs%20to%20show%20up%20in%20the%20start%20menu.%20I%20have%20tried%20packaging%20up%20powershell%20scripts%20to%20run%20the%20stats.exe%20I%20have%20changed%20the%20working%20directory%20(I%20think%20I%20did%20this%20correctly)%20I%20have%20tried%20a%20lot%20of%20things%20but%20I%20am%20just%20exhausted%20from%20this.%20The%20amount%20of%20times%20I%20have%20reverted%20back%20to%20my%20clean%20VM%20is%20crazy.%20Any%20help%20would%20be%20greatly%20appreciated%20because%20I%20am%20stuck%20and%20there%20is%20absolutely%20nothing%20online%20about%20this%2C%20also%20IBM%20has%20been%20zero%20help%20and%20will%20not%20help%20me%20with%20this.%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2156392%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EMSIX%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3Espss26%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2157108%22%20slang%3D%22en-US%22%3ERe%3A%20MSIX%20Packaging%20SPSS%2026%20with%20KMS%20License%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2157108%22%20slang%3D%22en-US%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F781078%22%20target%3D%22_blank%22%3E%40Coop2667580%3C%2FA%3E%2C%20if%20your%20shortcut%20takes%20in%20an%20argument%2C%20this%20is%20currently%20not%20supported%3A%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fwindows%2Fmsix%2Fpackaging-tool%2Ftool-known-issues%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3EMSIX%20Packaging%20Tool%20Known%20Issues%20and%20Troubleshooting%20Tips%20-%20MSIX%20%7C%20Microsoft%20Docs%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EYou%20can%20try%20to%20use%20a%20Package%20Support%20Framework%20to%20launch%20Windows%20Apps%20with%20Parameters%20-%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fwindows%2Fmsix%2Fpsf%2Fpsf-launch-apps-with-parameters%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3EPackage%20Support%20Framework%20-%20Launching%20Windows%20Apps%20with%20Parameters%20-%20MSIX%20%7C%20Microsoft%20Docs%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2159460%22%20slang%3D%22en-US%22%3ERe%3A%20MSIX%20Packaging%20SPSS%2026%20with%20KMS%20License%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2159460%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F144649%22%20target%3D%22_blank%22%3E%40Dian%20Hartono%3C%2FA%3E%26nbsp%3BI%20have%20not%20been%20able%20to%20find%20any%20arguments%20for%20the%20shortcuts.%20When%20I%20install%20SPSS%20on%20my%20VM%20to%20capture%20it%20I%20do%20the%20LICENSE%20switch%20and%20Server%20Switch%20but%20thats%20it%20from%20then%20on%20the%20stats.exe%20reads%20a%20SPSSLic.config%20file%20to%20read%20the%20server%20IP.%3C%2FP%3E%3C%2FLINGO-BODY%3E
New Contributor

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 MSIX packager as well has PACE Packager. I can succesfully get this into an MSIX, and install it on another machine but no matter what I do the shortcut it creates will not run properly and does not run with the license. I get an Inet 0 error. Now the weird part is if I go to the WindowsApps folder where the MSIX installs and run the Stats.exe that the shortcut points to it launches perfectly. Now I cant expect users to have to go into 10 folders just to run SPSS so it obviously needs to show up in the start menu. I have tried packaging up powershell scripts to run the stats.exe I have changed the working directory (I think I did this correctly) I have tried a lot of things but I am just exhausted from this. The amount of times I have reverted back to my clean VM is crazy. Any help would be greatly appreciated because I am stuck and there is absolutely nothing online about this, also IBM has been zero help and will not help me with this. 

3 Replies

Hi @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

@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.

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