Cannot Find Help Folder in Build ??

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

hi everyone
I have built an image which includes a custom component. In the custom component i have included some files as resources in the WINDOWS HELP folder. While other files go to the system32 folder. I built a minimal configuration which includes the imported PMQ file (my target system being the second hard drive of the Development system) and this custom component. But when i build the image i dont find the Help folder. As a result i cannot find the files that i have included in the Help folder for that particular component.

Any reason why i dont find the Help folder ...

Thanks for your help
Vaddina Prakash Rao
 
Prakash,

In the settings of the runtime (click settings in the middle pane of TD near
the top) now in the right pane you will see some options for deployment
settings, identification, etc. In there is "Do not copy help file for the
configuration". Uncheck this and rebuild. Be aware that this is a global
setting and will impact your runtime footprint. It may be easier to manually
place help files after the build process and modify the registry (if
needed).

HTH,
--
Brad Combs
Imago Technologies, LLC

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Have an opinion on the effectiveness of Microsoft Embedded newsgroups? Tell
Microsoft!
https://www.windowsembeddedeval.com/community/newsgroups
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Prakash437 said:
hi everyone,
I have built an image which includes a custom component. In the custom
component i have included some files as resources in the WINDOWS HELP
folder. While other files go to the system32 folder. I built a minimal
configuration which includes the imported PMQ file (my target system being
the second hard drive of the Development system) and this custom component.
But when i build the image i dont find the Help folder. As a result i cannot
find the files that i have included in the Help folder for that particular
component.
 
I would suggest just copying the Help Directory with your
files in it onto the drive with your built runtime image.
This is easy and you don't have to worry about all the
other OS help files being added. Where does your help
directory have to be located? At the root of C: or in a
specific OS directory?

Robert
-----Original Message-----
Brad Combs,
Thanks for your reply. But the setting that you have
mentioned copies the help files for every component. Which
will increase the size of my image. One option is to check
the setting "Do not copy help files" for each individual
component which is a tedious task. Actually i tried to
create a folder "HELP" manually and tried to copy the help
files to that folder. Let me explain how. In the component
designer under files subsection of my custom component, I
right click and select to add a file in the HELP folder and
then select the option folder only. And i selected the
destination as C:\WINNT\ (%10%). Thus i successfully create
a folder in the WINDOWS folder with the name HELP.
Is there any other way in which i can manually send the
help files into that folder without asking the build to
copy all the help files. Personally i feel there is no
other way, as the "Destination Option" only gives the
system directories. So we cannot copy the files to anyother
folder other that those. To state in one line, is there a
way to copy the help files of only one component ??
(Ofcourse without checking not to copy help files for the
other components.)
 
Vaddina,

Now I see what you are doing. I didn't read that first
post closely. :) What you need to do is use the Add Files
option in the middle pane in Target Designer. You can add
one file, multiple files, or all in folder. You can also
specify what directory you want the files to be in. Hope
this is what you are looking for.

Robert
 
prakash437,
Brad Combs,
Thanks for your reply. But the setting that you have mentioned copies the help files for every component. Which will increase the
size of my image. One option is to check the setting "Do not copy help files" for each individual component which is a tedious task.

There is "XPeTools' macro component on www.xpefiles.com (Development Utilities/Main). If you open setting of that component you will
find "Do not copy help files for any components in the Configuration" macro option. Enabling/disabling this option will affect on
the same setting of each component in your configuration. This way you can turn off copying help files for all the components but
still have "Do not copy help files" unchecked in the project settings. Also, you can enable/disable the option per component basis
independently.

KM
 
hi robert and KM
thanks for your replies. But unfortunately, Robert, that is not what i am looking for because that is what i have exactly done

I want to .

1. Include the help files of my CUSTOM component in the folder \windows\Help
2. And 'NOT' to install the Help Files of any other Component

Robert, When I did as you said, I install the help files of all the Components. Ofcourse I can prevent this by checking "DO NOT INSTALL HELP FILES FOR THIS COMPONENT" in the settings list of every other component. As you can imagine it is a very tedious task (If my Configuration has many components).

So i have adopted another method, In the files pane of my custom component I included an empty folder "HELP" and 'tried' to place the help files of my custom component, again through Component designer into that folder (By selecting the Destination Directory as C:/WINNT/HELP - %18%). Then i imported this component in the database and added it to my configuration.

So, In the resultant image i can see the HELP folder created but the help files are not installed into it. So that is what i want to know, WHY?

KM, Getting a solution to this problem is not a big issue. Apart from yours, Robert's first post could be a much easier solution to this but i am just curious why it doesnt work this way ?? And i am sorry this may seem quite confusing. But if you read the first 2 posts, it should help !!

thanks for your help

Vaddina Prakash Rao
Winnov, Germany
 
Prakash437,

I must be missing a point here. Did you check "Do not copy help files for this configuration " option on the Configuration Settings
page (Other Settings section)?
If you did it does "suppress the inclusion of help files (*.hlp, *.chm and *.cnt) for this configuration". So, I think, any *.hlp,
*.chm or *.cnt file you included through standard or your custom component will be removed (not included) from the build directory.
That is why I have mentioned XPeTool macro.

--
KM,
BSquare Corporation
hi robert and KM,
thanks for your replies. But unfortunately, Robert, that is not what i am looking for because that is what i have exactly done.

I want to ..

1. Include the help files of my CUSTOM component in the folder \windows\Help.
2. And 'NOT' to install the Help Files of any other Component.

Robert, When I did as you said, I install the help files of all the Components. Ofcourse I can prevent this by checking "DO NOT
INSTALL HELP FILES FOR THIS COMPONENT" in the settings list of every other component. As you can imagine it is a very tedious task
(If my Configuration has many components).
So i have adopted another method, In the files pane of my custom component I included an empty folder "HELP" and 'tried' to place
the help files of my custom component, again through Component designer into that folder (By selecting the Destination Directory as
C:/WINNT/HELP - %18%). Then i imported this component in the database and added it to my configuration.
So, In the resultant image i can see the HELP folder created but the help files are not installed into it. So that is what i want to know, WHY??

KM, Getting a solution to this problem is not a big issue. Apart from yours, Robert's first post could be a much easier solution
to this but i am just curious why it doesnt work this way ?? And i am sorry this may seem quite confusing. But if you read the first
2 posts, it should help !!!
 
Back
Top