mjishnu / alt-app-installer-cli

alt app installer cli
MIT License
5 stars 2 forks source link

Package Install error #1

Closed TouseefXMobile closed 1 month ago

TouseefXMobile commented 2 months ago

Installing Packages... Traceback (most recent call last): File "main.py", line 32, in File "install.py", line 19, in install File "install.py", line 8, in run File "subprocess.py", line 548, in run File "subprocess.py", line 1026, in init File "subprocess.py", line 1538, in _execute_child FileNotFoundError: [WinError 2] The system cannot find the file specified [1684] Failed to execute script 'main' due to unhandled exception!

(also used the pyinstaller verison of alt app installer but it just gives me error when opened)

TouseefXMobile commented 2 months ago

also i am doing this on windows pe in a hard drive failure PC (or mbr corupped PC)

mjishnu commented 1 month ago

Sorry for the late reply i was busy for a few days, from the trace back you provided it seems like, we are not able to access the downloaded files or powershell (not clear). if the files are downloaded try manually installing the app using app installer or using the powershell command Add-AppPackage [enter file path here]. for more info i want the log.txt file it should be in the folder where you ran the script (or .exe file if using alt app installer cli.exe)

TouseefXMobile commented 1 month ago

my system does not have a powershell because is a hard drive failure pc

mjishnu commented 1 month ago

then you should try using app installer sometime it would be pre-installed if you also lack it try to install powershell if that also not possible idk what to do since you need some mechanism in the os to install apps tho some apps you can extract the appx and run but some wont work.