When I run 'puppet resource package' on Windows - I get error "Error: Could not run: invalid byte sequence in US-ASCII".
At first I thought it was a problem with encoding (https://tickets.puppetlabs.com/browse/PUP-2154), but it was deeper.
I patched .\Puppet Labs\Puppet\puppet\lib\puppet\util\windows\registry.rb to avoid a 'invalid byte sequence in US-ASCII' error (sorry, I don't know ruby and it may be a very dirty code)
Patched file (lines 19-34): http://pastebin.com/SsrUFSLs
I got this output: http://pastebin.com/8xnhA9rN
Registry subkey 'HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Uninstall' is missing and Puppet incorrectly handle this situation.