No XDE for HoloLens Emulator - hyper-v

I can't find XDE.exe which is required to run the HoloLens emulator.
On http://peted.azurewebsites.net/start-hololens-emulator-without-visual-studio/, I've found out that you can run the HoloLens Emulator without Visual Studio.
It lists the following command.
start “HoloLens” “C:\Program Files (x86)\Microsoft XDE\10.0.14393.0\XDE.exe” /name “HoloLens Emulator 10.0.14393.0.peted” /displayName “HoloLens Emulator 10.0.14393.0″ /vhd “C:\Program Files (x86)\Windows Kits\10\Emulation\HoloLens\10.0.14393.0\flash.vhd” /video “1268×720″ /memsize 2048 /language 409 /creatediffdisk “C:\Users\peted\AppData\Local\Microsoft\XDE\10.0.14393.0\dd.1268×720.2048.vhd” /fastShutdown /sku HDE
But, if I go to C:\Program Files (x86), there is no folder named "Microsoft XDE".
And even if I decide not to use XDE, the Hyper-V emulator gives this error.
I do not have enough reputation to post images, so here is what it says.
Virtual machine could not be started because the hypervisor is not running.(http://i.imgur.com/5OFBh5v.png)
Please help.

Related

How to make a CAB File Application for Windows Compact 2013?

I have written an application for Windows Compact 2013 and a CAB Application to generate a CAB Installer (on VS 2013) for the device that is running Windows Compact 2013.
Under Add->Project Output, I have included only Primary Output.
When I try to install the CAB on the Device, it does not get installed and pops up an error.
Is this the correct way to Create a CAB File for an application? If not please suggest the correct method to do so.
P.S. I have followed the method stated on the MSDN Page.
Personnaly, I prefere use a .ini file and generate cab file with CabWiz program.(You can find it at C:\Program Files (x86)\Microsoft Visual Studio 9.0\SmartDevices\SDK\SDKTools).
A short sample:
; https://msdn.microsoft.com/en-us/windows/hardware/drivers/install/inf-
files
[Version]
Signature="$Windows NT$"
Provider="MyCompany"
CESignature="$Windows CE$"
[Strings]
Manufacturer="MyCompany"
; There put relative path to your sln projet
SlnProjectPath=".."
[CEStrings]
AppName="MyApp"
InstallDir=\Program Files\%Manufacturer%
[CEDevice]
VersionMin=4.0
VersionMax=6.99
BuildMax=0xE0000000
[DefaultInstall]
CEShortcuts=Shortcuts
AddReg=RegKeys
CopyFiles=Files.Binaries
[SourceDisksNames]
1=,"ZgRemoteAppBin",,"%SlnProjectPath%\ZgRemoteApp\bin\Release\Remote\"
2=,"ZgCabInstallerBin",,"%SlnProjectPath%\ExternalLibs\"
[SourceDisksFiles]
"MyLibrary.dll"=1
"MyApp.exe"=1
"Newtonsoft.Json.Compact.dll"=2
[DestinationDirs]
Shortcuts=0,%CE2%\Start Menu
Files.Binaries=0,"%InstallDir%\%AppName%"
[Files.Binaries]
"MyLibrary.dll",,,0
"MyApp.exe",,,0
"Newtonsoft.Json.Compact.dll",,,0
[Shortcuts]
; If you want desktop shorcut for example
[RegKeys]
; https://msdn.microsoft.com/fr-fr/windows/hardware/drivers/install/inf-addreg-directive
; reg-root,[subkey],[value-entry-name],[flags],[value][,[value]]
; Auto start app.
HKLM,Init,Launch99,0x00000000,%InstallDir%\%AppName%\%AppName%.exe

How to install Windows 10 Core on Raspberry Pi 2 without a real (physical) machine

I only have a Windows 8.1 x64 PC and a Raspberry Pi 2. I have some problems that prevent me from installing Windows 10 on my PC.
In this situation, is there any way to install "Windows 10 IoT Core" to the SD card on Raspberry Pi2?
I tried the following:
Using a virtual machine - Windows 10 x64 Preview on VM Player, but it failed. I used:
dism.exe /Apply-Image /ImageFile:flash.ffu /ApplyDrive:\\.\PhysicalDrive1 /SkipPlatformCheck -> Error 87? I forgot the number
I only copied "dism.exe" file from "window10x64 .iso" file in sources folder.
and tried the following, but failed:
dism.exe /Apply-Image /ImageFile:flash.ffu /ApplyDrive:\\.\PhysicalDrive1 /SkipPlatformCheck -> Error 87? same
I only copied "dism.exe" file from "window10x86 .iso" file in sources folder.
and tried the following, but failed:
dism.exe /Apply-Image /ImageFile:flash.ffu /ApplyDrive:\\.\PhysicalDrive1 /SkipPlatformCheck -> Error 87? same
So now I know that the "dism.exe" that i called is only for Windows 8, not for Windows 10.
If the ".ffu" installer exists, it is not problem anymore, but it doesn't exist.
I just did this earlier today with mine and it works. From the iso, without your VM, mount it as a virtual Cd drive (you can use MagicISO Virtual CD/DVD Manager) Then open the CD, and run the .msi.
Install python and download ffu2img.py3 (You may have to copy and paste it into notepad) to C:\Program Files (x86)\Microsoft IoT\FFU\RaspberryPi2.
Now open a cmd window as an administrator and type,
cd C:\Program Files (x86)\Microsoft IoT\FFU\RaspberryPi2\
C:\Python34\python.exe ffu2img.py flash.ffu
Then you have the img file you can write to the sd card just like raspbian. =)
Edit: If you already have the ffu file, skip the first section.

Vmware web development kit

I am using Virtual Disk Management Kit v5.0 link.
The command i am using is
C:\Program Files\VMware\VMware Virtual Disk Development Kit\bin>vmware-mount I:
C:\Users\Rushil\Documents\Virtual Machines\Ubuntu\Ubuntu-s001.vmdk
Unfortunately the above command does nothing except that every time i run it a (sort of) vmware-mount man page is displayed on the command prompt telling about other command options. Any solutions ???
You have a space in your path to the vmdk and surely need to quote it:
vmware-mount I: "C:\Users\Rushil\Documents\Virtual Machines\Ubuntu\Ubuntu-s001.vmdk"

where is the "TargetFrameworkSDKToolsDirectory" was defined

I was using msbuild build my sln and get error message "couldn't find 'AxImp.exe' which already exists under %Program files (x86)%\Microsoft sdks\windows\v8.1A. but seems it find sdk from v8.0A, output info point out the error was in Microsoft.Common.targets file(code see below). I didn't found where the "TargetFrameworkSDKToolsDirectory" was defined, anyone can help me?
environment: winblue(4.5.1 sdk v8.1A) without visual studio.
<ResolveComReference
TypeLibNames="#(COMReference)"
TypeLibFiles="#(COMFileReference)"
ResolvedAssemblyReferences="#(ReferencePath)"
WrapperOutputDirectory="$(InteropOutputPath)"
IncludeVersionInInteropName="$(IncludeVersionInInteropName)"
KeyContainer="$(KeyContainerName)"
KeyFile="$(KeyOriginatorFile)"
DelaySign="$(DelaySign)"
StateFile="#(_ResolveComReferenceCache)"
TargetFrameworkVersion="$(TargetFrameworkVersion)"
TargetProcessorArchitecture="$(ProcessorArchitecture)"
NoClassMembers="$(ComReferenceNoClassMembers)"
Silent="$(ResolveComReferenceSilent)"
EnvironmentVariables="$(ResolveComReferenceEnvironment)"
**SdkToolsPath="$(ResolveComReferenceToolPath)"**
ExecuteAsTool="$(ComReferenceExecuteAsTool)"
MSBuildArchitecture="$(ResolveComReferenceMSBuildArchitecture)"
ContinueOnError="$(ContinueOnError)">
<**ResolveComReferenceToolPath** Condition="'$(ResolveComReferenceToolPath)' == ''">$(**TargetFrameworkSDKToolsDirectory**)</ResolveComReferenceToolPath>
Depends on the version and platform you're targeting, but latest is at C:\Program Files (x86)\MSBuild\12.0\Bin\Microsoft.NetFramework.CurrentVersion.props, follow your imports, i.e. <Import Project=".targets" />. To get the values run MSBuild with /v:diag and all evaluated properties will be dumped and the start.
what ended up working for me was installing:
Windows Software Development kit (SDK) for windows 8
even though I'm on widows server 2016
https://developer.microsoft.com/en-us/windows/downloads/windows-8-sdk
I guess the clue was in my error:
C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(2428, 5): error MSB3086: Task could not find "LC.exe" using the SdkToolsPath "" or the registry key "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SDKs\Windows\v8.0A\WinSDK-NetFx40Tools-x86". Make sure the SdkToolsPath is set and the tool exists in the correct processor specific location under the SdkToolsPath and that the Microsoft Windows SDK is installed

Xulrunner fails to launch MyApp

My latest attempt at a workable configuration (Win32) is this one found on kodewerx.org: http://www.kodewerx.org/wiki/A_Brief_Introduction_To_XULRunner:_Part_2 [dated 2010].
My config is as follows:
c:\program files\xulrunner\xulrunner.exe ..et all..
c:\program files\myapp\application.ini
I have added c:\program files\xulrunner to the system PATH.
From the command prompt xulrunner.exe executes and throws up its default help page.
So xulrunner.exe runs.
I have used Mozilla's Dev Org app for jump starting add on development: http://www.mozdev.org/projects/wizard/
I used a Application configurator which has provided me with a large number of files, in a typical moz/chrome layout.
c:\Program Files\MyApp\application.ini
c:\Program Files\MyApp\defaults\preferences\prefs.js
c:\Program Files\MyApp\chrome.manifest
c:\Program Files\MyApp\chrome\content\[*.xul|*.js]
c:\Program Files\MyApp\chrome\locale\en-US\*.dtd
c:\Program Files\MyApp\chrome\skin\*.css
I am uncertain about the minimum/maximum Gecko versions to specifiy at the current date: I have this for the moment, in application.ini:
[App]
Name=MyApp
ID=myapp#stainsby.ca
Version=0.1
BuildID=0001
Vendor=Stainsby
[Gecko]
MinVersion=1.9.2.0
MaxVersion=28.0.*
Any ideas?