Invalid value for 'OSVersion'
Thanks to Mike Wade @ Microsoft
I would recommend clearing the environment variable, or better yet, adding the following to the project file:
<PropertyGroup>
<OSVersion></OSVersion>
</PropertyGroup>
This will fully override the environment variable and blank it out. The task should then set this to a better default value.
Problem: Microsoft Windows Installer 3.1 Error Code: 0x80070005 Solution Steps: http://support.microsoft.co... To resolve this issue, follow these steps: 1. Log on to your computer as an administrator. 2. Click Start, and then click Run. 3. In the Open box, type cmd, and then click OK. 4. At the command prompt, typemsiexec.exe /unregister, and then press ENTER. 5. Type msiexec /regserver, and then press ENTER. 6. Verify that the SYSTEM account has full control access permissions to the HKEY_CLASSES_ROOT ......