Discussion:
Deploying chm help file in ClickOnce Deployent from VS2010
(too old to reply)
David
2012-07-01 10:27:57 UTC
Permalink
I have created a compiled chm help file using HTML Help Workshop. It is included as a resource in a VS2010 Windows application in C#. On building and publishing the application, it is copied to a Resources directory in the deployment and is referenced in the code as ./Resources/filename.chm. The help file works fine and as expected in HTML Workshop, in the application running in the VS2010 IDE in debugging mode and if I then install the application on the machine I am developing it on (running Windows 7) from the Click Once deployment.

When I install it on another machine (Windows XP Pro SP3) the application works fine, and the help viewer displays the Contents and Index files but will not display the topic file contents.

I am guessing this is some sort of permissions problem. I have read a number of posts about security settings where a Windows fix causes files to be blocked, however no unblock button is showing in the file properties window for the file (on either the development machine or when deployed to another machine). Has anyone come across this sort of problem?
Gloops
2012-07-01 10:44:07 UTC
Permalink
Post by David
I have created a compiled chm help file using HTML Help Workshop. It is included as a resource in a VS2010 Windows application in C#. On building and publishing the application, it is copied to a Resources directory in the deployment and is referenced in the code as ./Resources/filename.chm. The help file works fine and as expected in HTML Workshop, in the application running in the VS2010 IDE in debugging mode and if I then install the application on the machine I am developing it on (running Windows 7) from the Click Once deployment.
When I install it on another machine (Windows XP Pro SP3) the application works fine, and the help viewer displays the Contents and Index files but will not display the topic file contents.
I am guessing this is some sort of permissions problem. I have read a number of posts about security settings where a Windows fix causes files to be blocked, however no unblock button is showing in the file properties window for the file (on either the development machine or when deployed to another machine). Has anyone come across this sort of problem?
Hello,

Oh well, I saw that button in Windows XP, this solved me a problem, for
as a user I did not know of that at all before.

The help of HelpWorkshop does not tell of anything different in Windows
7 (in fact I imagine Windows 7 did not exist when writing it).

I am going to ask whether anybody knows of that in France, otherwise I
wonder whether you have to ask directly to Microsoft.

I did not focus on reading about using Help Workshop with a C#
application yet, but I suppose you did.
David
2012-07-01 12:35:20 UTC
Permalink
Post by Gloops
Post by David
I have created a compiled chm help file using HTML Help Workshop. It is included as a resource in a VS2010 Windows application in C#. On building and publishing the application, it is copied to a Resources directory in the deployment and is referenced in the code as ./Resources/filename.chm. The help file works fine and as expected in HTML Workshop, in the application running in the VS2010 IDE in debugging mode and if I then install the application on the machine I am developing it on (running Windows 7) from the Click Once deployment.
When I install it on another machine (Windows XP Pro SP3) the application works fine, and the help viewer displays the Contents and Index files but will not display the topic file contents.
I am guessing this is some sort of permissions problem. I have read a number of posts about security settings where a Windows fix causes files to be blocked, however no unblock button is showing in the file properties window for the file (on either the development machine or when deployed to another machine). Has anyone come across this sort of problem?
Hello,
Oh well, I saw that button in Windows XP, this solved me a problem, for
as a user I did not know of that at all before.
The help of HelpWorkshop does not tell of anything different in Windows
7 (in fact I imagine Windows 7 did not exist when writing it).
I am going to ask whether anybody knows of that in France, otherwise I
wonder whether you have to ask directly to Microsoft.
I did not focus on reading about using Help Workshop with a C#
application yet, but I suppose you did.
Hi Gloops,
Unfortunately I am not getting the unblock button either in Windows XP or on Windows 7. It may just mean that MS is no longer drawing it to peoples attention. There is little on using Help in VS 2010 specifically apart from how to use the HelpProvider.Namespace property to link to the file. I found various discussions on including resource files in general and managed to use this to include the chm file as a resource file with the resource file Build Action=Content and the Copy to Output=Copy Always. This forces inclusion of a .Resources folder in the deployment under the root directory of the installation. None was specific to help though. Cheers

David
Gloops
2012-07-01 14:46:58 UTC
Permalink
Post by David
Hi Gloops,
Unfortunately I am not getting the unblock button either in Windows XP or on Windows 7.
Well, this may mean that you do not look at the good place ?
Or you have a security strategy involved ?
Post by David
It may just mean that MS is no longer drawing it to peoples attention.
Well, I thought this was an information aimed to final users, and I only
found it at the attention of help authors. But the disappearance of the
button would suppose an intention to do so, let us be careful ...
Post by David
There is little on using Help in VS 2010 specifically apart from how to use the HelpProvider.Namespace property to link to the file. I found various discussions on including resource files in general and managed to use this to include the chm file as a resource file with the resource file Build Action=Content and the Copy to Output=Copy Always. This forces inclusion of a .Resources folder in the deployment under the root directory of the installation. None was specific to help though. Cheers
For the time being, I only used a chm file from an Access application. I
shall give a try from VS in a few weeks.
Nevertheless if it works on the development machine, this leads to think
you used the good syntax, and the good option to deploy to bin/debug,
and you have a security problem to solve to get it work on another machine.



I knew of resource files with extension .resx and with extension
.resource, with a different format, I did not know that compiled help
files were also considered as resources. But, as I said, I did not read
the chapters concerning .Net applications.
Gloops
2012-07-01 11:07:35 UTC
Permalink
Post by David
I have created a compiled chm help file using HTML Help Workshop. It is included as a resource in a VS2010 Windows application in C#. On building and publishing the application, it is copied to a Resources directory in the deployment and is referenced in the code as ./Resources/filename.chm. The help file works fine and as expected in HTML Workshop, in the application running in the VS2010 IDE in debugging mode and if I then install the application on the machine I am developing it on (running Windows 7) from the Click Once deployment.
When I install it on another machine (Windows XP Pro SP3) the application works fine, and the help viewer displays the Contents and Index files but will not display the topic file contents.
I am guessing this is some sort of permissions problem. I have read a number of posts about security settings where a Windows fix causes files to be blocked, however no unblock button is showing in the file properties window for the file (on either the development machine or when deployed to another machine). Has anyone come across this sort of problem?
I did not try that, but perhaps you can be interested :
http://helpware.net/downloads/index.htm#MJs
David
2012-07-01 12:36:28 UTC
Permalink
Post by Gloops
Post by David
I have created a compiled chm help file using HTML Help Workshop. It is included as a resource in a VS2010 Windows application in C#. On building and publishing the application, it is copied to a Resources directory in the deployment and is referenced in the code as ./Resources/filename.chm. The help file works fine and as expected in HTML Workshop, in the application running in the VS2010 IDE in debugging mode and if I then install the application on the machine I am developing it on (running Windows 7) from the Click Once deployment.
When I install it on another machine (Windows XP Pro SP3) the application works fine, and the help viewer displays the Contents and Index files but will not display the topic file contents.
I am guessing this is some sort of permissions problem. I have read a number of posts about security settings where a Windows fix causes files to be blocked, however no unblock button is showing in the file properties window for the file (on either the development machine or when deployed to another machine). Has anyone come across this sort of problem?
http://helpware.net/downloads/index.htm#MJs
Gloops,

Thanks for the reference. I will llok them over and download waht I can use.

Cheers

David
Gloops
2012-07-01 11:25:00 UTC
Permalink
Post by David
I have created a compiled chm help file using HTML Help Workshop. It is included as a resource in a VS2010 Windows application in C#. On building and publishing the application, it is copied to a Resources directory in the deployment and is referenced in the code as ./Resources/filename.chm. The help file works fine and as expected in HTML Workshop, in the application running in the VS2010 IDE in debugging mode and if I then install the application on the machine I am developing it on (running Windows 7) from the Click Once deployment.
When I install it on another machine (Windows XP Pro SP3) the application works fine, and the help viewer displays the Contents and Index files but will not display the topic file contents.
I am guessing this is some sort of permissions problem. I have read a number of posts about security settings where a Windows fix causes files to be blocked, however no unblock button is showing in the file properties window for the file (on either the development machine or when deployed to another machine). Has anyone come across this sort of problem?
This can be an interesting information about chm files deployed from a
machine to another :

http://www.sandersonforensics.com/Files/ZoneIdentifier.pdf
David
2012-07-01 12:45:29 UTC
Permalink
Post by Gloops
Post by David
I have created a compiled chm help file using HTML Help Workshop. It is included as a resource in a VS2010 Windows application in C#. On building and publishing the application, it is copied to a Resources directory in the deployment and is referenced in the code as ./Resources/filename.chm. The help file works fine and as expected in HTML Workshop, in the application running in the VS2010 IDE in debugging mode and if I then install the application on the machine I am developing it on (running Windows 7) from the Click Once deployment.
When I install it on another machine (Windows XP Pro SP3) the application works fine, and the help viewer displays the Contents and Index files but will not display the topic file contents.
I am guessing this is some sort of permissions problem. I have read a number of posts about security settings where a Windows fix causes files to be blocked, however no unblock button is showing in the file properties window for the file (on either the development machine or when deployed to another machine). Has anyone come across this sort of problem?
This can be an interesting information about chm files deployed from a
http://www.sandersonforensics.com/Files/ZoneIdentifier.pdf
Gloops,

This is perhaps where my problem lies. MS do not reccomend
Post by Gloops
Post by David
I have created a compiled chm help file using HTML Help Workshop. It is included as a resource in a VS2010 Windows application in C#. On building and publishing the application, it is copied to a Resources directory in the deployment and is referenced in the code as ./Resources/filename.chm. The help file works fine and as expected in HTML Workshop, in the application running in the VS2010 IDE in debugging mode and if I then install the application on the machine I am developing it on (running Windows 7) from the Click Once deployment.
When I install it on another machine (Windows XP Pro SP3) the application works fine, and the help viewer displays the Contents and Index files but will not display the topic file contents.
I am guessing this is some sort of permissions problem. I have read a number of posts about security settings where a Windows fix causes files to be blocked, however no unblock button is showing in the file properties window for the file (on either the development machine or when deployed to another machine). Has anyone come across this sort of problem?
This can be an interesting information about chm files deployed from a
http://www.sandersonforensics.com/Files/ZoneIdentifier.pdf
Hi Gloops,

This looks to be a possible source for my problem. MS do not recommend changing the registry key settings to open up all files no matter where they originate but I did find a reference to being able to disable the security for a specific folder only
Post by Gloops
Post by David
I have created a compiled chm help file using HTML Help Workshop. It is included as a resource in a VS2010 Windows application in C#. On building and publishing the application, it is copied to a Resources directory in the deployment and is referenced in the code as ./Resources/filename.chm. The help file works fine and as expected in HTML Workshop, in the application running in the VS2010 IDE in debugging mode and if I then install the application on the machine I am developing it on (running Windows 7) from the Click Once deployment.
When I install it on another machine (Windows XP Pro SP3) the application works fine, and the help viewer displays the Contents and Index files but will not display the topic file contents.
I am guessing this is some sort of permissions problem. I have read a number of posts about security settings where a Windows fix causes files to be blocked, however no unblock button is showing in the file properties window for the file (on either the development machine or when deployed to another machine). Has anyone come across this sort of problem?
This can be an interesting information about chm files deployed from a
http://www.sandersonforensics.com/Files/ZoneIdentifier.pdf
Hi Gloops,

Thsi looks like a potential source of my problem. I found this http://support.microsoft.com/kb/2021383 on the MS support site. Will investigate and post result if it works out.

Thanks

David
David
2012-07-07 01:37:47 UTC
Permalink
Post by David
I have created a compiled chm help file using HTML Help Workshop. It is included as a resource in a VS2010 Windows application in C#. On building and publishing the application, it is copied to a Resources directory in the deployment and is referenced in the code as ./Resources/filename.chm. The help file works fine and as expected in HTML Workshop, in the application running in the VS2010 IDE in debugging mode and if I then install the application on the machine I am developing it on (running Windows 7) from the Click Once deployment.
When I install it on another machine (Windows XP Pro SP3) the application works fine, and the help viewer displays the Contents and Index files but will not display the topic file contents.
I am guessing this is some sort of permissions problem. I have read a number of posts about security settings where a Windows fix causes files to be blocked, however no unblock button is showing in the file properties window for the file (on either the development machine or when deployed to another machine). Has anyone come across this sort of problem?
Loading...