Solved

VB2013, Generating unsigned manifests by excluding a file from the hash...

Posted on 2015-01-26
2
79 Views
Last Modified: 2015-08-20
The programs I develop are only used were I work and are installed by me.  I want to avoid the whole Certificate/signing hassle and one of the advantages of VS2013 is that you are suppose to be able to do that.  (According to )

The last paragraph of instructions say:

To generate unsigned manifests and exclude one or more files from the generated hash
1.On the Signing page, clear the Sign the ClickOnce manifests check box.

2.Open the Application Files dialog box and set the Hash to Exclude for the files that you want to exclude from the generated hash.

3.Publish the application.

My questions are:

What file is safe to exclude?

I thought I saw a "Hash" column, but I must have imagined it because the only column I have now on the projects "Application Files" screen are Publish Status and Download Group.  (Publish Status is the only one with an "Exclude" choice.)

Can I just create an empty text file, include it in my project, and then Exclude it on the Application Files list (even though Download Group says it is Required) - would that do the trick?

Thanks
0
Comment
Question by:sqdperu
2 Comments
 
LVL 32

Accepted Solution

by:
it_saige earned 500 total points
ID: 40570688
The ClickOnce manifest uses the hashes of the included project files to generate the certificate.  In this case it really does not matter what you exclude.  This exclusion does not keep the file(s) from being used to generate the binary (that would not make any sense).

So to directly answer your question, yes, you can add a text file that is used for this purpose.

-saige-
0
 

Author Comment

by:sqdperu
ID: 40571141
Showing Hash column (sometimes it is not present)I looked today at the Projects \ Publish tab \ "Application Files"  (button) screen and I now have the "Hash" column back!   Any ideas on this screen what causes the "Hash" column to appear and disappear?

thanks,
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Many of us here at EE write code. Many of us write exceptional code; just as many of us write exception-prone code. As we all should know, exceptions are a mechanism for handling errors which are typically out of our control. From database errors, t…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now