|
-
Mar 11th, 2010, 01:56 PM
#1
Thread Starter
New Member
How do I distribute a help file with my app using ClickOnce deployment
I've used VB2008EE to create a Windows Forms app which includes a Help form. The helpform contains a Treeview for navigation and a WebBrowser control which displays the relevant part of an HTML page containg the help information.
The app is intended to be used offline - so I need to include the HTML page file as part of the published app, and I need to be able to specify where this HTML file will be installed on the target computer so that the URI in my Helpform which loads the Help page will locate this file.
(I expect the HTML file should live in the directory pointed to by the: My.Computer.FileSystem.SpecialDirectories.CurrentUserApplicationData property)
I would appreciate advice on how to specify the Project settings and Publish Wizard etc. (& whatever else is necessary) in order to achieve the above.
TIA,
Chris.
-
Mar 11th, 2010, 03:39 PM
#2
Re: How do I distribute a help file with my app using ClickOnce deployment
Don't use the clickonce. Use a freeware app. like INNOSETUP, whatever. Then you can add whatever you want. The only thing is that you need to learn how it works, but that shouldn't be the problem. Even I did it
-
Mar 11th, 2010, 09:52 PM
#3
Re: How do I distribute a help file with my app using ClickOnce deployment
ClickOnce does have certain limitations but this is not one of them. Using ClickOnce is fine. Simply add the Help file to your project and make sure that its Build Action is set to Content. The file will now be published.
-
Mar 12th, 2010, 01:22 PM
#4
Thread Starter
New Member
Re: How do I distribute a help file with my app using ClickOnce deployment
 Originally Posted by jmcilhinney
ClickOnce does have certain limitations but this is not one of them. Using ClickOnce is fine. Simply add the Help file to your project and make sure that its Build Action is set to Content. The file will now be published.
Thanks for this. Did as you suggested, and formed the URI for the Help page using My.Application.Info.DirectoryPath - and it now instals on the client PC and operates as intended.
Chris.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|