Solved

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

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

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

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…
More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
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…
Concerto provides fully managed cloud services and the expertise to provide an easy and reliable route to the cloud. Our best-in-class solutions help you address the toughest IT challenges, find new efficiencies and deliver the best application expe…

929 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

10 Experts available now in Live!

Get 1:1 Help Now