How to install help file to \windows directory?

  • Thread starter Thread starter Sandman
  • Start date Start date
S

Sandman

Hi,

I was wondering how I could package my .cab file so that my help file
would go to the windows directory of the PPC?

thanks!
 
Once you have generated your cab files using Visual Studio you can edit the
..inf file used to build them (found in your project folder /obj/Release/
folder). Into this you'll need to add a new section e.g.
[DefaultInstall]
CEShortcuts=Shortcuts
;install the help group of files
CopyFiles=Files.Common,Files.Help

;new section for help files
[Files.Help]
MyHelp.htm,,,0

;add your help file in the [SourceDisksFiles] section, the number will match
the entry in the [SourceDisksNames] section.
[SourceDisksFiles]
MyHelp.htm=3
In the [DestinationDirs] section add the help section and the \windows
folder
[DestinationDirs]
Files.Help=0,%CE2%

Now save this and rebuild the cab files using the BuildCab.bat file in the
same folder.

Peter
 
Peter Foot said:
Once you have generated your cab files using Visual Studio you can edit the
.inf file used to build them (found in your project folder /obj/Release/
folder). Into this you'll need to add a new section e.g.
[DefaultInstall]
CEShortcuts=Shortcuts
;install the help group of files
CopyFiles=Files.Common,Files.Help

;new section for help files
[Files.Help]
MyHelp.htm,,,0

;add your help file in the [SourceDisksFiles] section, the number will match
the entry in the [SourceDisksNames] section.
[SourceDisksFiles]
MyHelp.htm=3
In the [DestinationDirs] section add the help section and the \windows
folder
[DestinationDirs]
Files.Help=0,%CE2%

Now save this and rebuild the cab files using the BuildCab.bat file in the
same folder.

Peter

--
Peter Foot
Windows Embedded MVP
OpenNETCF.org Senior Advisor
www.inthehand.com | www.opennetcf.org
Thank you very much Peter,

I'll give it a shot!
 
Back
Top