cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Can a TS-enabled exe be build without a trusted configuration file?

Can a TS-enabled exe be build without a trusted configuration file?

Summary

What would happen if the trusted configuration file was missing during the build?

Question

Can a trusted storage (TS) enabled exe be build without a trusted configuration file? What would happen if the trusted configuration file was missing during the build?

Answer

Preptool will report an error if the file is missing...

Unable to open the trusted config file : 'publisher\DemoTrustedConfigOutXXX.xml'
XML FATAL ERROR: parsing aborted at line 4
XML parse of configuration file failed.
NMAKE : fatal error U1077: '.\preptool.exe' : return code '0x1'
Stop.

Or if it is for the wrong publisher (e.g. not changed from "Demo" when building with production keys)...

Trusted config procesing failed : 'publisher\DemoTrustedConfigOut.xml : PublisherId in trusted config does not match that in activation settings
XML FATAL ERROR: parsing aborted at line 4
XML parse of configuration file failed.
NMAKE : fatal error U1077: '.\preptool.exe' : return code '0x1'
Stop.
Was this article helpful? Yes No
No ratings
Version history
Last update:
‎Nov 14, 2018 10:03 PM
Updated by: