-
Notifications
You must be signed in to change notification settings - Fork 521
Common Error Codes
Here are some of the more common error codes that you might encounter while testing your distro launcher project:
For the rest of this document, we'll assume that your distro's executable is mydistro.exe
, and that your distro's name (the MyDistroLauncher::_myName
member) is set to L"MyDistro-1.0"
.
This is likely caused by uninstalling your distro's app without first calling mydistro clean
. This is due to a bug in WSL that's being fixed currently (as of May 18, 2017).
Just install you app again, and call mydistro clean
. That should clean up your registry, and you should be able to install it again perfectly fine.
WSL isn't installed on you machine. Make sure to go enable WSL from the "Turn Windows features on or off" dialog in the Control Panel.
I believe this is usually a result of your package being in a semi-installed/uninstalled state. Make sure that any open consoles or explorer.exe windows aren't in the %localappdata%\Packages\<your package>
directory. Once that's done, try cycling through installing/uninstalling the appx again, then try installing the appx again, run <launcher> clean
, then try running your launcher again.
If that fails, uninstall the appx again (if it's installed) and make sure to manually delete %localappdata%\Packages\<your package>\LocalState\rootfs
. That should clear it up.