Sorry if this might have been discussed previously.
Ok, after much frustration yesterday and then being up half the night
thinking about it, I finally determined the cause of a problem that I was
having with provisioning test systems.
My user name on my development system is “Jay Talbott”, which contains a
space, which appears to be the root of the problem.
When provisioning test systems, it stores information in my user profile
under
C:\Users\Jay Talbott\AppData.…
When the provisioning process gets to the point of configuring the test
system for debugging, it fails.
Digging through the provisioning logs, I found points where it was trying to
use C:\Users\Jay_Talbott\AppData.… (with an underscore). I resolved that
by manually creating a C:\Users\Jay_Talbott directory that contains a
symbolic link named AppData that links to C:\Users\Jay Talbott\AppData, but
unfortunately, that hack didn’t completely solve the problem. Ultimately, it
seems as the test system was being provisioned that the infrastructure was
failing to copy the .wtl files from the test machine into my profile because
of the space in the path to my profile due to the space contained in my user
name.
As a test I created a new user on my system, “Jay” (no spaces), and tried
using that user to do the provisioning, and, voila!, it works correctly.
Using this account, I was able to successfully provision my test system and
deploy my driver (and it even works on Win8, which is a nice bonus).
However, this is not a very useful solution for me, since my development
machine is used for many other things than just Win8 driver development, and
as such, everything else is already configured in my existing “Jay Talbott”
account, and so I’d have to constantly be switching users just to use this
new Win8 driver development environment.
As far as I’m concerned, this is a huge oversight on the part of Microsoft.
The Win8 WDK release notes don’t even mention this limitation (although they
do mention the fact that the path to your project can’t contain spaces
because the compiler tools choke on it, which was also the case with prior
versions of the WDK). How come the WDK has always been the bastard
step-child that can’t handle paths with spaces when virtually all other
Microsoft products have handled paths with spaces just fine for the last 15
years?
Is there some workaround for this that somebody else has figured out, or am
I relegated to having to spend my life constantly switching users if I want
to use this capability?
Any useful suggestions would be most appreciated.
Thanks,
- Jay