I have been building AutoCAD OEM based applications for years now. Just recently, I stumbled upon some freak error I have not been able to resolve.
With the AutoCAD OEM platform, the Installer Wizard creates the installer for the (gargantuan) application. The application installer is started (of course) with calling the setup.exe.
With the last AutoCAD OEM versions up until AutoCAD OEM 2022, the signing of the setup.exe has been no problem at all.
Now, with the current AutoCAD OEM 2023 version, I experience that the signing of the setup.exe does not work anymore. When trying to sign the setup.exe, the error 0x800700C1 returns. This is a very generic error message, and googling after this does not bring any helpfull results.
Before signing the setup.exe, I always use the delcert tool (delcert-sign-strip-tool), which always works as intended.
When using this on the current setup.exe, delcert returns an error message:
It seems that delcert succeeded, but when trying to sign the file again, it fails again with the same error message:
Looking with dumpbin on the headers, I noticed that the setup.exe for AutoCAD OEM 2023 is a x64 file:
Whereas the previous versions setup.exe has been an x86 file:
This seems to be a random correlation but may be the source of this problem.
Has anybody experienced a similar problem (not neccessarily in the AutoCAD ecosystem)?