Solved

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

Posted on 2015-01-26
2
96 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 33

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

Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

After several hours of googling I could not gather any information on this topic. There are several ways of controlling the USB port connected to any storage device. The best example of that is by changing the registry value of "HKEY_LOCAL_MACHINE\S…
Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
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…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

831 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