none
PkgGen has issue when user profile name has spaces RRS feed

  • Question

  • I noticed the pkgGen tool has an issue when the user profile name has spaces in it.

    The utility will balk and complain "incorrect number of parameters blah blah blah in the command line". I noticed the expanded command line adds a path to the users temporary app directory which is usually something like  "%USERPROFILE%\AppData\Local\Temp" if the user is <JohnDoe> it works fine if the user is <John Doe> it fails. It does not like space in the name. Earlier releases of the SDK/WDK pkgGen tool did not have this issue.

    Many of the IoT image build and Visual Studio driver build examples now fail as these tools invoke pkgGen.

    I was able to workaround the issue by setting the user environment "TEMP" to something like TEMP=C:\tmp

     


    Dave

    Friday, December 9, 2016 4:36 PM