Recently, an ocs vm needs to be installed, so the trial version of ocs2007 is downloaded online. Windows Server 2003 R2 is installed using VPC. Then, the "file is denied by the digital signature policy" error occurs during ocs2007 installation.
I used Google to search for it. It turns out that when the installation is runningProgramWindows Installer verifies the digital signature of the package to ensure that the program is not tampered. Therefore, the entire package will be loaded into the memory. In this way, your computer must have enough continuous memory; otherwise, an error will occur. Because an error occurs, Windows Installer cannot verify whether the package has been correctly signed.
The solution is to modify the registry before installing it. Set hkey_localmachine \ SOFTWARE \ Policies \ Microsoft \ Windows \ safer \ codeidentifiers
The policyscope value under the registry key is changed from 0 to 1. If you do not have this key, you can create one by yourself. The type is "DWORD ".
Note: To ensure security, you can change the value after installation.