It might be an idea that checking if reg.exe is available before calling it during generating project files.