CD File Resourse Advanced Properties

  • Thread starter Thread starter James Beau Cseri
  • Start date Start date
J

James Beau Cseri

In the Advanced Properties window for a file resource in Componet Designer,
there is a boolean advanced property called "NoExpand". Exactly what does
this property do? I can guess that it probably tells the system to not
expand a compressed file when set to true, but I can't find any
documentation on it and I just wanted to confirm the answer.
 
James,

The following is only I could found in the documentation : "A file resource might have properties such as the source name in the physical repository, whether to expand the file if it is compressed, and the destination name in the target image.".

KM
 
I was curious about this last night when I read the post so I tried it. I
made a component with two compressed files (compressed using XP's native
compression utility) set one to true and one to false and added them to a
runtime. They did not expand at build time, and surprisingly enough did not
expand during FBA either. So one of two things 1) I did something wrong
(likely) or 2) It's not about expanding the file (less likely since KM found
a reference in the docs).

Who knows. :-)

--
Brad Combs
Imago Technologies, LLC

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

The following is only I could found in the documentation : "A file resource
might have properties such as the source name in the physical repository,
whether to expand the file if it is compressed, and the destination name in
the target image.".

KM
 
I took a quick look at the XPe Tools binaries and it appeared that the
NoExpand flag is coming from parsing INF files (and therefore NTe KDF
files).
I failed to find any info about the NoExpand option of inf file but I might
not spend enough time searching for it :-)

TD does not seem to handle the option anyway (even if it got parsed in SLD
of component imported in XPe database). (While Overwrite option is handled
by TD).

Btw, we may expect another forethought behavior of the NoExpand option for
items in FILES section. It may be used to allow the expand of special
character in file path (e.g. ~) or environmental variables used in the path.
Anyway, it is just a guess.
 
Back
Top