cancel
Showing results for 
Search instead for 
Did you mean: 

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

No ratings

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