WSL-DistroLauncher icon indicating copy to clipboard operation
WSL-DistroLauncher copied to clipboard

Bad error or bug build - install.tar.gz

Open catafest opened this issue 7 years ago • 2 comments

I don't understend if this is a bug or bad build ? I just use build.bat and I gat this error :

     4>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\Mi
       crosoft\VisualStudio\v15.0\AppxPackage\Microsoft.AppXPackage.Targets(226
       9,5): error APPX0702: Payload file 'c:\WSL-DistroLauncher-master\install
       .tar.gz' does not exist. [c:\WSL-DistroLauncher-master\DistroLauncher-Ap
       px\DistroLauncher-Appx.vcxproj]

also the PS

PS c:\WSL-DistroLauncher-master\x64\Debug\DistroLauncher-Appx> Enable-WindowsOpt
ionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux
Enable-WindowsOptionalFeature : The requested operation requires elevation.
At line:1 char:1
+ Enable-WindowsOptionalFeature -Online -FeatureName
Microsoft-Windows-Subsystem-L ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Enable-WindowsOptionalFeature
   ], COMException
    + FullyQualifiedErrorId : Microsoft.Dism.Commands.EnableWindowsOptionalFea
   tureCommand

catafest avatar Apr 05 '18 13:04 catafest

Do you have your tarred up Linux chroot, named "install.tar.gz" inside your build folder?

offensive-security avatar Apr 05 '18 13:04 offensive-security

An install.tar.gz is not included in the repro. I agree the instructions could be a bit more clear about how to generate one, I'll get that resolved.

The Powershell error plainly says what is wrong and what you need to do to correct it: The requested operation requires elevation.

benhillis avatar Apr 05 '18 15:04 benhillis