To specify in the software restriction GPO, the hashes of executable/script files that are allowed to execute during the installation of a program run from, for example %LOCALAPPDATA%\Temp
, during installation; how does one figure out what programs will execute for a given installer, and what their hashes are?
Note that it has also been suggested that this can be done by first moving the computer to an OU that does not have the software restriction applied, and then running the installer from there first; but it seems to me that if a user needed to reinstall the product, or repair it; they would be unable to do so without the hash method, and so the hash method seems to be the way to go.