Forum Discussion
Technical difficulties in MSIX Packaging Tool. Please help
I am new to this tool and trying to convert the existing applications to MSIX format. I could able to convert the existing applications (EXE/MSI) to MSIX format but while installing the application on windows 10 , facing the following issues :-
- Scenario 1: If application has a shortcut which is pointing to .BAT file, then I couldn't see any shortcut under "First launch task". For testing, i have selected an exe file from the installation directory & completed the capture. while installing the application, i don't see the application shortcut(s) on the destination machine. Is there any way that i can add the shortcuts manually?
- Scenario 2: I thought MSIX tool will not capture the BAT/URL shortcut so I have converted the BAT file to EXE format & Changed the shortcut parameter to EXE. now I can able to see the application shortcuts on windows 10 machine but when i launched, it is not working as expected. the current directory of the BATCH/EXE pointing to some other location but not the actual directory . (i.e., the shortcut has the following parameter - C:\Anaconda3-2020.02\pythonw.exe C:\Anaconda3-2020.02\cwp.py C:\Anaconda3-2020.02 C:\Anaconda3-2020.02\pythonw.exe C:\Anaconda3-2020.02\Scripts\anaconda-navigator-script.py. i have created a BAT file with the below script and converted to EXE using freeware tool)
set mypath=%cd%
echo %mypath%
%mypath%\python.exe %mypath%\cwp.py %mypath% %mypath%\python.exe %mypath%\Scripts\jupyter-notebook-script.py "%USERPROFILE%/"
Do we have an option to unpack the captured MSIX file? if yes, where i need to change the parameter to make it work if the application has following parameter to launch - C:\Anaconda3-2020.02\pythonw.exe C:\Anaconda3-2020.02\cwp.py C:\Anaconda3-2020.02 C:\Anaconda3-2020.02\pythonw.exe C:\Anaconda3-2020.02\Scripts\anaconda-navigator-script.py?
You have run into a couple of issues. First, as you surmised, the packaging tool does not capture shortcuts to non exe files. Second, it does not bring along any command line arguments.
The good news is that this is easily overcome by using the Package Support Framework. You can inject/configure this by using the free PsfTooling app (free app in the Microsoft Store). You would still use the MSIX packaging tool, but after installing the app and still monitoring, you would start PsfTooling and it will detect the problem and make it easy to fix. AdminStudio also includes PSF capabilities that can deal with this.
The bad news is that even with the shortcut issue solved, Anaconda is not working for other (unknown) causes. Generically, python works OK under MSIX, so there is something specific to the Anaconda wrapper that I have not yet solved.- Mjahange_786Copper Contributor
Thank you very much for your response.
Please let me know how can i use Package Support Framework along with MSIX packgaing tool or Adminstudio? is it possible to share any relevant links?
Current issue:
Need to capture the shortcut which has BAT files
Need to capture the shortcuts which has extra parameter.
I am trying to convert the MSI to MSIX using Adminstudio as well, getting this error - This package contains no shortcuts defined for the application. applications are usually necessary to define the entry popint into the MSIX/Appx app.
Your help is much appreciated.
- This link contains links to acquire from the Microsoft Store or direct download from my site: https://www.tmurgent.com/appv/en/resources/tools-downloads/msix-tools/128-msix-tools/557-psftoolingv48
There is actually a free training course on using it, however it was built against a much earlier version of the tool and it is much easier to use these days. After install, start the tool and look for the Information button which has built-in help. http://www.tmurgent.com/educate/
- Bogdan_PeCopper ContributorHello Tim, I was struggling in the last couple of days to make Anaconda3 work as MSIX with no success. Just wanted to check if you managed to make it work! Thanks for your answer.
- No - not on Anaconda. I'm not sure what all the issues are with it. Part seems to be that it uses RegistrationFreeCOM and while I've tried to add support for that it didn't help solve the issue.