Conversation
Make URCT copying unconditional to unblock installer tasks in debug mode. Thanks Tomas
| @@ -20,7 +20,7 @@ | |||
| <UcrtFilesToCopy Include="$(UniversalCRTSDKDir)Redist\ucrt\DLLs\$(BuildArch)\*.dll" /> | |||
There was a problem hiding this comment.
In the case for debug, don't we need ucrtbased.dll?
There was a problem hiding this comment.
@dagood - could you please take a look at the below run? I think I see some installer runs passing but I don't know for sure. @hoyoys - I must admit I have no idea, nor does Matt whom I asked as he originally added this bit. Can you please elaborate? I was under the impression the the redistributable Universal CRT used to be a replacement for the Win32 API DLLs that appeared in later Windows versions but I may be certainly missing something.
There was a problem hiding this comment.
I must admit I have no idea, nor does Matt whom I asked as he originally added this bit.
We added the UCRT and API shims as a way to support older windows versions (for example API* is only needed on win7). If it's a debug build, we'd need ucrtbased.dll and such variants. Given that we statically link the CRT files no issues, other than UCRT. As for why we sign them here, if we don't resign them ourselves here, we'd be shipping an API shim that's not Authenticode signed.
There was a problem hiding this comment.
That being said, the only one that needs to be signed is that one API shim.
There was a problem hiding this comment.
Hmm, you know I'm no expert here. Given we're not actually publishing / shipping anything in the PR runs, just doing dry runs of some installer signing magic presumably using some test certificates - what additional changes would you suggest?
There was a problem hiding this comment.
If this is only going to be for test-signing, then it doesn't matter if the file is there unless we turn on signing validation or test on windows 7
There was a problem hiding this comment.
Thanks Juan for your additional feedback. I defer to Davis to comment on this in greater detail as in this particular case I'm just a trained monkey mechanically trying out a combo of two code changes. Have a great weekend!
|
The PR run looks reasonable, specifically: I don't know for certain how deep The ultimate test would be to add a commit that reverts #31807 and see if the test signing catches the error. 😄 (Edit: Test being performed at #32044) |
Make URCT copying unconditional to unblock installer tasks in debug
mode.
Thanks
Tomas
Fixes: #1026