From: AF on
On Oct 2, 6:28 am, kbercaw <kevinber...(a)gmail.com> wrote:
> On Oct 2, 2:50 am, Harald Oehlmann <wortka...(a)yahoo.de> wrote:
>
>
>
>
>
> > > the metadata goes in tclkit.inf inf the vfs dir. the format is key
> > > value pairs. you can only replace info that is already present in the
> > > runtime executble and the string length must be the same or shorter.
>
> > To provide you an example:
> > - Application: ElmiLog
> > - Folder: elmilog.vfs
> > - Files in this folder:
> >   - main.tcl
> >   - tclkit.ico
> >   - tclkit.inf
> > Contents of tclkit.inf:
> > FileDescription "ElmiLog Waagenanbindung universelle Datei"
> > FileVersion 2.0
> > LegalCopyright "Elmicron GmbH"
> > ProductName "ElmiLog"
> > -EOF-
>
> Thank you AF and Harald.  You suggestions have worked nicely.  I had
> only one field that wasn't changed to the value I expected on my first
> try.  I will continue to try other key names to see if I can get my
> value in it.
> On the properties dialog (and also the tooltip): "File Version:
> 8.5.2.2" is inherited from the tclkit.  I included "FileVersion
> 1.0.0.0" in my tclkit.inf file, and I saw the confimation message
> during wrap, but it didn't overwrite the 8.5.2.2.  Instead there is a
> separate property called "File Version" with value "1.0.0.0".  That's
> confusing to have two fields named "File Version" each with a
> different value, so I will want to fix it.  I suspect the keyword for
> the "other" "File Version" is different, maybe it's just "Version"- Hide quoted text -
>
> - Show quoted text -

the file version is stored in a different area of the executable so
you cant change that part. i do have some code that can update it but
it needs to be intergrated into sdx. even then you are limited to the
4 integer format.
From: Patrick on
On Oct 4, 8:52 am, Pat Thoyts <cnggub...(a)hfref.fbheprsbetr.arg> wrote:
> AF <aar...(a)gmail.com> writes:
> >On Oct 2, 6:28 am, kbercaw <kevinber...(a)gmail.com> wrote:
> >> On Oct 2, 2:50 am, Harald Oehlmann <wortka...(a)yahoo.de> wrote:
>
> >> > > the metadata goes in tclkit.inf inf the vfs dir. the format is key
> >> > > value pairs. you can only replace info that is already present in the
> >> > > runtime executble and the string length must be the same or shorter.
>
> >> > To provide you an example:
> >> > - Application: ElmiLog
> >> > - Folder: elmilog.vfs
> >> > - Files in this folder:
> >> >   - main.tcl
> >> >   - tclkit.ico
> >> >   - tclkit.inf
> >> > Contents of tclkit.inf:
> >> > FileDescription "ElmiLog Waagenanbindung universelle Datei"
> >> > FileVersion 2.0
> >> > LegalCopyright "Elmicron GmbH"
> >> > ProductName "ElmiLog"
> >> > -EOF-
>
> >> Thank you AF and Harald.  You suggestions have worked nicely.  I had
> >> only one field that wasn't changed to the value I expected on my first
> >> try.  I will continue to try other key names to see if I can get my
> >> value in it.
> >> On the properties dialog (and also the tooltip): "File Version:
> >> 8.5.2.2" is inherited from the tclkit.  I included "FileVersion
> >> 1.0.0.0" in my tclkit.inf file, and I saw the confimation message
> >> during wrap, but it didn't overwrite the 8.5.2.2.  Instead there is a
> >> separate property called "File Version" with value "1.0.0.0".  That's
> >> confusing to have two fields named "File Version" each with a
> >> different value, so I will want to fix it.  I suspect the keyword for
> >> the "other" "File Version" is different, maybe it's just "Version"- Hide quoted text -
>
> >> - Show quoted text -
>
> >the file version is stored in a different area of the executable so
> >you cant change that part. i do have some code that can update it but
> >it needs to be intergrated into sdx. even then you are limited to the
> >4 integer format.
>
> Post me a patch and I can add it to sdx.
>
> --
> Pat Thoyts                            http://www.patthoyts.tk/
> To reply, rot13 the return address or read the X-Address header.
> PGP fingerprint 2C 6E 98 07 2C 59 C8 97  10 CE 11 E6 04 E0 B9 DD

Has the new sdx.kit been posted? Will it take a command line arg or
use the inf key value pair? Thanks
From: Patrick on
I was asking about the patch to correct the file version ...

>>the file version is stored in a different area of the executable so
>>you cant change that part. i do have some code that can update it but
>>it needs to be intergrated into sdx. even then you are limited to the
>>4 integer format.

> Post me a patch and I can add it to sdx.