WinBatch Tech Support Home

Database Search

If you can't find the information using the categories below, post a question over in our WinBatch Tech Support Forum.

TechHome

Manifest

Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.

Manifest FAQs

 Keywords:  UI Access UIAccess TRUE FALSE @TRUE @FALSE Manifest Notes FAQ FAQs Code Signing Certificate MakeCert

Manifest Notes:


Code Signing Notes:

Can't afford to pay for a Code Signing Certificate? You can use makecert to create your own certificate and then add the cert to your trusted certificate store to run the code on your own machine. Reference: If your application does not have a digital signature and has uiAccess=true in its manifest, it will fail with "A referral was returned from the server."

NOTE: These instructions assume you have visual studio installed and are using a command prompt that has all the environment variables set to find SDK utilities such as makecert and signtool. If not, you will need to find these tools on your hard drive before running them.

  1. Open an elevated command prompt
    • Click start
    • Find Cmd Shell or command prompt
    • Right-click, click Run As Administrator
  2. Create a trusted root certificate
    • Browse to the folder that you wish to contain a copy of the certificate
    • In the command shell, execute the following commands:
           makecert -r -pe -n "CN=Test Certificate - For Internal Use Only" -ss PrivateCertStore testcert.cer
           
           certmgr.exe -add testcert.cer -s -r localMachine root
           
  3. Sign your file
    • In the command shell, browse to the location of your exe
    • In the command shell, type:
      SignTool sign /v /s PrivateCertStore /n "Test Certificate - For Internal Use Only" /t http://timestamp.verisign.com/scripts/timestamp.dll APP.exe
      Where APP.exe is your application.

Article ID:   W17969
Filename:   Manifest Faqs.txt
File Created: 2013:01:14:13:09:52
Last Updated: 2013:01:14:13:09:52