Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

19 May, 2024: Line wrapping has been changed to be more consistent with Usenet standards.
 If you find that it is broken please let me know here rocksolid.nodes.help


devel / comp.lang.tcl / Re: Is it possible to modify a file that has been incorporated into a starpack

SubjectAuthor
* Is it possible to modify a file that has been incorporated into a starpackThe Rickster
+* Is it possible to modify a file that has been incorporated into a starpackRobert Heller
|+* Is it possible to modify a file that has been incorporated into a starpackGerald Kirchner
||`- Is it possible to modify a file that has been incorporated into a starpackThe Rickster
|`- Is it possible to modify a file that has been incorporated into a starpackThe Rickster
`* Is it possible to modify a file that has been incorporated into aHarald Oehlmann
 `* Is it possible to modify a file that has been incorporated into a starpackThe Rickster
  `- Is it possible to modify a file that has been incorporated into aHarald Oehlmann

1
Is it possible to modify a file that has been incorporated into a starpack

<21e97ac7-a3c7-474b-87a7-a3326a89a8ecn@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=11789&group=comp.lang.tcl#11789

  copy link   Newsgroups: comp.lang.tcl
X-Received: by 2002:ae9:dfc7:0:b0:762:3a3d:d017 with SMTP id t190-20020ae9dfc7000000b007623a3dd017mr3797875qkf.1.1687631444556;
Sat, 24 Jun 2023 11:30:44 -0700 (PDT)
X-Received: by 2002:a9d:754a:0:b0:6b5:8ad8:d8c5 with SMTP id
b10-20020a9d754a000000b006b58ad8d8c5mr4107604otl.2.1687631444234; Sat, 24 Jun
2023 11:30:44 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.tcl
Date: Sat, 24 Jun 2023 11:30:43 -0700 (PDT)
Injection-Info: google-groups.googlegroups.com; posting-host=174.193.196.51; posting-account=a7bcHgoAAADQ0akqIyRQmxfQdEEZtAt5
NNTP-Posting-Host: 174.193.196.51
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <21e97ac7-a3c7-474b-87a7-a3326a89a8ecn@googlegroups.com>
Subject: Is it possible to modify a file that has been incorporated into a starpack
From: sled99...@gmail.com (The Rickster)
Injection-Date: Sat, 24 Jun 2023 18:30:44 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 1758
 by: The Rickster - Sat, 24 Jun 2023 18:30 UTC

ActiveState devkit was used to build the executable.
The file was a simple windows .txt file that contains license info.
Subsequent to building the exe, the physical file was deleted. The file, not located in the VFS of the exe could be referenced using fileutil cat and the contents read,
fileutil writeFile was used to determine it was 'writeable', and the file was changed with the fileutil writeFile command, The file was read again and the new contents returned.
However, it does not seem the changes persist subsequent to exiting the app (ending execution).
Granted, this could be one of the dumbest questions ever asked.
Alternatively, is is possible in any way to have an embedded app modify the exe in which it resides?

Re: Is it possible to modify a file that has been incorporated into a starpack

<UI-cnTVWEZpqywr5nZ2dnZfqnPidnZ2d@giganews.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=11790&group=comp.lang.tcl#11790

  copy link   Newsgroups: comp.lang.tcl
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border-2.nntp.ord.giganews.com!nntp.giganews.com!Xl.tags.giganews.com!local-1.nntp.ord.giganews.com!news.giganews.com.POSTED!not-for-mail
NNTP-Posting-Date: Sat, 24 Jun 2023 20:49:59 +0000
MIME-Version: 1.0
From: hel...@deepsoft.com (Robert Heller)
Organization: Deepwoods Software
X-Newsreader: TkNews 3.0 (1.2.15)
Subject: Re: Is it possible to modify a file that has been incorporated into a starpack
In-Reply-To: <21e97ac7-a3c7-474b-87a7-a3326a89a8ecn@googlegroups.com>
References: <21e97ac7-a3c7-474b-87a7-a3326a89a8ecn@googlegroups.com>
Newsgroups: comp.lang.tcl
Content-Type: text/plain;
charset="us-ascii"
Originator: heller@sharky4.deepsoft.com
Message-ID: <UI-cnTVWEZpqywr5nZ2dnZfqnPidnZ2d@giganews.com>
Date: Sat, 24 Jun 2023 20:49:59 +0000
Lines: 28
X-Usenet-Provider: http://www.giganews.com
X-Trace: sv3-om6wC+rGLFjv5AWD3qTrEgY5HcN8EPOUhYdvlGUUXFuTrK3UNXepu5IvrGojITOqAoTOawh1E5sCGCR!xi7t97zYX3JXKnMPf60JsxmHnAgpt+/hnsyEGiAG6L62N2jK2Qll3xE++1II2o56tgNNANB5gqmL!qIo=
X-Complaints-To: abuse@giganews.com
X-DMCA-Notifications: http://www.giganews.com/info/dmca.html
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40
 by: Robert Heller - Sat, 24 Jun 2023 20:49 UTC

The Starpack FS is (effectively) a RO fs. I don't know if the VFS code returns
an error if writing is attempted or if the writing is dropped on the floor. It
might actually be a RW file system, but only to memory and not to the "backing
store" (the .exe file). Note: executable files are inheirently read-only (when
executed), so it probably makes no sense to file a "bug report" about this.
If you need updatable persistance storage you will have to create and manage a
file on the end-users disk (eg whatever passes for a $HOME/.file under
MS-Windows).

At Sat, 24 Jun 2023 11:30:43 -0700 (PDT) The Rickster <sled99dog@gmail.com> wrote:

>
> ActiveState devkit was used to build the executable.
> The file was a simple windows .txt file that contains license info.
> Subsequent to building the exe, the physical file was deleted. The file, not located in the VFS of the exe could be referenced using fileutil cat and the contents read,
> fileutil writeFile was used to determine it was 'writeable', and the file was changed with the fileutil writeFile command, The file was read again and the new contents returned.
> However, it does not seem the changes persist subsequent to exiting the app (ending execution).
> Granted, this could be one of the dumbest questions ever asked.
> Alternatively, is is possible in any way to have an embedded app modify the exe in which it resides?
>
>

--
Robert Heller -- Cell: 413-658-7953 GV: 978-633-5364
Deepwoods Software -- Custom Software Services
http://www.deepsoft.com/ -- Linux Administration Services
heller@deepsoft.com -- Webhosting Services

Re: Is it possible to modify a file that has been incorporated into a starpack

<d955885e-7dc6-49a3-9c12-2deb619da1a2n@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=11791&group=comp.lang.tcl#11791

  copy link   Newsgroups: comp.lang.tcl
X-Received: by 2002:a05:6214:4a43:b0:62f:efde:159e with SMTP id ph3-20020a0562144a4300b0062fefde159emr3136801qvb.9.1687646246896;
Sat, 24 Jun 2023 15:37:26 -0700 (PDT)
X-Received: by 2002:aca:db89:0:b0:39c:cbd3:9ead with SMTP id
s131-20020acadb89000000b0039ccbd39eadmr4587585oig.4.1687646246564; Sat, 24
Jun 2023 15:37:26 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.tcl
Date: Sat, 24 Jun 2023 15:37:26 -0700 (PDT)
In-Reply-To: <UI-cnTVWEZpqywr5nZ2dnZfqnPidnZ2d@giganews.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2001:9e8:1bd:cd00:71d7:ed5a:1e9b:6481;
posting-account=r5geTAoAAAApDLuJCmnjrZW3jG2-23T9
NNTP-Posting-Host: 2001:9e8:1bd:cd00:71d7:ed5a:1e9b:6481
References: <21e97ac7-a3c7-474b-87a7-a3326a89a8ecn@googlegroups.com> <UI-cnTVWEZpqywr5nZ2dnZfqnPidnZ2d@giganews.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <d955885e-7dc6-49a3-9c12-2deb619da1a2n@googlegroups.com>
Subject: Re: Is it possible to modify a file that has been incorporated into a starpack
From: gerald12...@gmail.com (Gerald Kirchner)
Injection-Date: Sat, 24 Jun 2023 22:37:26 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 1386
 by: Gerald Kirchner - Sat, 24 Jun 2023 22:37 UTC

I don't know ActiveState devkit. A normal starkit can be unpacked and repacked with sdx. The file can be changed in between.

Re: Is it possible to modify a file that has been incorporated into a starpack

<b2685d67-3605-4f54-b0af-8c03e62a73aen@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=11792&group=comp.lang.tcl#11792

  copy link   Newsgroups: comp.lang.tcl
X-Received: by 2002:a37:b841:0:b0:763:b55f:fe16 with SMTP id i62-20020a37b841000000b00763b55ffe16mr1524142qkf.14.1687669122823;
Sat, 24 Jun 2023 21:58:42 -0700 (PDT)
X-Received: by 2002:a81:af46:0:b0:576:7f79:7bc0 with SMTP id
x6-20020a81af46000000b005767f797bc0mr1665362ywj.0.1687669122451; Sat, 24 Jun
2023 21:58:42 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.tcl
Date: Sat, 24 Jun 2023 21:58:42 -0700 (PDT)
In-Reply-To: <UI-cnTVWEZpqywr5nZ2dnZfqnPidnZ2d@giganews.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2603:8001:b5f0:88f0:2d03:c36f:4fe7:1072;
posting-account=a7bcHgoAAADQ0akqIyRQmxfQdEEZtAt5
NNTP-Posting-Host: 2603:8001:b5f0:88f0:2d03:c36f:4fe7:1072
References: <21e97ac7-a3c7-474b-87a7-a3326a89a8ecn@googlegroups.com> <UI-cnTVWEZpqywr5nZ2dnZfqnPidnZ2d@giganews.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <b2685d67-3605-4f54-b0af-8c03e62a73aen@googlegroups.com>
Subject: Re: Is it possible to modify a file that has been incorporated into a starpack
From: sled99...@gmail.com (The Rickster)
Injection-Date: Sun, 25 Jun 2023 04:58:42 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 3369
 by: The Rickster - Sun, 25 Jun 2023 04:58 UTC

On Saturday, June 24, 2023 at 1:50:13 PM UTC-7, Robert Heller wrote:
> The Starpack FS is (effectively) a RO fs. I don't know if the VFS code returns
> an error if writing is attempted or if the writing is dropped on the floor. It
> might actually be a RW file system, but only to memory and not to the "backing
> store" (the .exe file). Note: executable files are inheirently read-only (when
> executed), so it probably makes no sense to file a "bug report" about this.
> If you need updatable persistance storage you will have to create and manage a
> file on the end-users disk (eg whatever passes for a $HOME/.file under
> MS-Windows).
> At Sat, 24 Jun 2023 11:30:43 -0700 (PDT) The Rickster <sled...@gmail.com> wrote:
>
> >
> > ActiveState devkit was used to build the executable.
> > The file was a simple windows .txt file that contains license info.
> > Subsequent to building the exe, the physical file was deleted. The file, not located in the VFS of the exe could be referenced using fileutil cat and the contents read,
> > fileutil writeFile was used to determine it was 'writeable', and the file was changed with the fileutil writeFile command, The file was read again and the new contents returned.
> > However, it does not seem the changes persist subsequent to exiting the app (ending execution).
> > Granted, this could be one of the dumbest questions ever asked.
> > Alternatively, is is possible in any way to have an embedded app modify the exe in which it resides?
> >
> >
> --
> Robert Heller -- Cell: 413-658-7953 GV: 978-633-5364
> Deepwoods Software -- Custom Software Services
> http://www.deepsoft.com/ -- Linux Administration Services
> hel...@deepsoft.com -- Webhosting Services
The more I though about it; the more is suspected it was RO. The kicker was I got confirmation using the fileutils that it was writeable. And, logically those file are; the changes, however, are not persistent.

Re: Is it possible to modify a file that has been incorporated into a starpack

<942dc1d8-341e-4fb3-9f5c-0a30bcbf7908n@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=11793&group=comp.lang.tcl#11793

  copy link   Newsgroups: comp.lang.tcl
X-Received: by 2002:ad4:55e5:0:b0:628:343d:f1f8 with SMTP id bu5-20020ad455e5000000b00628343df1f8mr3158572qvb.2.1687669136331;
Sat, 24 Jun 2023 21:58:56 -0700 (PDT)
X-Received: by 2002:a25:b1a3:0:b0:bd6:7609:40a3 with SMTP id
h35-20020a25b1a3000000b00bd6760940a3mr10563501ybj.12.1687669135983; Sat, 24
Jun 2023 21:58:55 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.tcl
Date: Sat, 24 Jun 2023 21:58:55 -0700 (PDT)
In-Reply-To: <d955885e-7dc6-49a3-9c12-2deb619da1a2n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2603:8001:b5f0:88f0:2d03:c36f:4fe7:1072;
posting-account=a7bcHgoAAADQ0akqIyRQmxfQdEEZtAt5
NNTP-Posting-Host: 2603:8001:b5f0:88f0:2d03:c36f:4fe7:1072
References: <21e97ac7-a3c7-474b-87a7-a3326a89a8ecn@googlegroups.com>
<UI-cnTVWEZpqywr5nZ2dnZfqnPidnZ2d@giganews.com> <d955885e-7dc6-49a3-9c12-2deb619da1a2n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <942dc1d8-341e-4fb3-9f5c-0a30bcbf7908n@googlegroups.com>
Subject: Re: Is it possible to modify a file that has been incorporated into a starpack
From: sled99...@gmail.com (The Rickster)
Injection-Date: Sun, 25 Jun 2023 04:58:56 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 1597
 by: The Rickster - Sun, 25 Jun 2023 04:58 UTC

On Saturday, June 24, 2023 at 3:37:29 PM UTC-7, Gerald Kirchner wrote:
> I don't know ActiveState devkit. A normal starkit can be unpacked and repacked with sdx. The file can be changed in between.
roger that!

Re: Is it possible to modify a file that has been incorporated into a starpack

<u7bibb$t10c$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=11796&group=comp.lang.tcl#11796

  copy link   Newsgroups: comp.lang.tcl
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: wortka...@yahoo.com (Harald Oehlmann)
Newsgroups: comp.lang.tcl
Subject: Re: Is it possible to modify a file that has been incorporated into a
starpack
Date: Mon, 26 Jun 2023 10:30:40 +0200
Organization: A noiseless patient Spider
Lines: 29
Message-ID: <u7bibb$t10c$1@dont-email.me>
References: <21e97ac7-a3c7-474b-87a7-a3326a89a8ecn@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Mon, 26 Jun 2023 08:30:35 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="962545d2861be0452536643e903196e5";
logging-data="951308"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19ac6/I1hTuYGGD2qQtADXs"
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.12.0
Cancel-Lock: sha1:vfaAEXvUU4EHcJ1FBqbKCJEzp/s=
In-Reply-To: <21e97ac7-a3c7-474b-87a7-a3326a89a8ecn@googlegroups.com>
Content-Language: en-GB
 by: Harald Oehlmann - Mon, 26 Jun 2023 08:30 UTC

Am 24.06.2023 um 20:30 schrieb The Rickster:
> ActiveState devkit was used to build the executable.
> The file was a simple windows .txt file that contains license info.
> Subsequent to building the exe, the physical file was deleted. The file, not located in the VFS of the exe could be referenced using fileutil cat and the contents read,
> fileutil writeFile was used to determine it was 'writeable', and the file was changed with the fileutil writeFile command, The file was read again and the new contents returned.
> However, it does not seem the changes persist subsequent to exiting the app (ending execution).
> Granted, this could be one of the dumbest questions ever asked.
> Alternatively, is is possible in any way to have an embedded app modify the exe in which it resides?

On the last TCL conference in Houston, there were some people with
healthcare applications, which just did that: modify an exe with a
starpack within an update process.

It is a complex subject:
- the file storage format is called "metakit" by Jean-Claude Wippler.
There are RO and RW drivers for Metakit. Normally, only vlerq (the RO
driver) is packed as package into the starkit, so no RW access.
- on many operating systems, a running exe file may not be modified
while running. So, you need a temporary "modification exe" which
modifies the target exe.

Or you can use TCL 9.0, which has the zip exe technology build in.

Be aware, that modifying a signed exe will make all virus scanner etc cry.

Hope this gives some pointers.

Take care,
Harald

Re: Is it possible to modify a file that has been incorporated into a starpack

<af9b88bb-6b73-4ded-99ee-6e04a99a15c3n@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=11803&group=comp.lang.tcl#11803

  copy link   Newsgroups: comp.lang.tcl
X-Received: by 2002:ad4:4b73:0:b0:635:e5f2:4ecc with SMTP id m19-20020ad44b73000000b00635e5f24eccmr241053qvx.5.1687925661685;
Tue, 27 Jun 2023 21:14:21 -0700 (PDT)
X-Received: by 2002:a9d:77d1:0:b0:6b7:54de:87dc with SMTP id
w17-20020a9d77d1000000b006b754de87dcmr1251559otl.0.1687925661463; Tue, 27 Jun
2023 21:14:21 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.tcl
Date: Tue, 27 Jun 2023 21:14:21 -0700 (PDT)
In-Reply-To: <u7bibb$t10c$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=2603:8001:b5f0:88f0:316c:1291:da28:d191;
posting-account=a7bcHgoAAADQ0akqIyRQmxfQdEEZtAt5
NNTP-Posting-Host: 2603:8001:b5f0:88f0:316c:1291:da28:d191
References: <21e97ac7-a3c7-474b-87a7-a3326a89a8ecn@googlegroups.com> <u7bibb$t10c$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <af9b88bb-6b73-4ded-99ee-6e04a99a15c3n@googlegroups.com>
Subject: Re: Is it possible to modify a file that has been incorporated into a starpack
From: sled99...@gmail.com (The Rickster)
Injection-Date: Wed, 28 Jun 2023 04:14:21 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 3180
 by: The Rickster - Wed, 28 Jun 2023 04:14 UTC

On Monday, June 26, 2023 at 1:30:41 AM UTC-7, Harald Oehlmann wrote:
> Am 24.06.2023 um 20:30 schrieb The Rickster:
> > ActiveState devkit was used to build the executable.
> > The file was a simple windows .txt file that contains license info.
> > Subsequent to building the exe, the physical file was deleted. The file, not located in the VFS of the exe could be referenced using fileutil cat and the contents read,
> > fileutil writeFile was used to determine it was 'writeable', and the file was changed with the fileutil writeFile command, The file was read again and the new contents returned.
> > However, it does not seem the changes persist subsequent to exiting the app (ending execution).
> > Granted, this could be one of the dumbest questions ever asked.
> > Alternatively, is is possible in any way to have an embedded app modify the exe in which it resides?
> On the last TCL conference in Houston, there were some people with
> healthcare applications, which just did that: modify an exe with a
> starpack within an update process.
>
> It is a complex subject:
> - the file storage format is called "metakit" by Jean-Claude Wippler.
> There are RO and RW drivers for Metakit. Normally, only vlerq (the RO
> driver) is packed as package into the starkit, so no RW access.
> - on many operating systems, a running exe file may not be modified
> while running. So, you need a temporary "modification exe" which
> modifies the target exe.
>
> Or you can use TCL 9.0, which has the zip exe technology build in.
>
> Be aware, that modifying a signed exe will make all virus scanner etc cry..
>
> Hope this gives some pointers.
>
> Take care,
> Harald
Interesting...good to know I am not the only one with the need. Thanks. Was thinking about a 'modification' exe.

Re: Is it possible to modify a file that has been incorporated into a starpack

<u7gjbi$1mrs8$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=11804&group=comp.lang.tcl#11804

  copy link   Newsgroups: comp.lang.tcl
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: wortka...@yahoo.com (Harald Oehlmann)
Newsgroups: comp.lang.tcl
Subject: Re: Is it possible to modify a file that has been incorporated into a
starpack
Date: Wed, 28 Jun 2023 08:18:27 +0200
Organization: A noiseless patient Spider
Lines: 39
Message-ID: <u7gjbi$1mrs8$1@dont-email.me>
References: <21e97ac7-a3c7-474b-87a7-a3326a89a8ecn@googlegroups.com>
<u7bibb$t10c$1@dont-email.me>
<af9b88bb-6b73-4ded-99ee-6e04a99a15c3n@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 28 Jun 2023 06:18:26 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="b3c4bbba38051bfe44cdf7dd20e64034";
logging-data="1798024"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/FXNj76P3o4R2leMpR9o5J"
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.12.0
Cancel-Lock: sha1:0cJKMGPNBCu4GlBr7RUX/wxbaFw=
Content-Language: en-GB
In-Reply-To: <af9b88bb-6b73-4ded-99ee-6e04a99a15c3n@googlegroups.com>
 by: Harald Oehlmann - Wed, 28 Jun 2023 06:18 UTC

Am 28.06.2023 um 06:14 schrieb The Rickster:
> On Monday, June 26, 2023 at 1:30:41 AM UTC-7, Harald Oehlmann wrote:
>> Am 24.06.2023 um 20:30 schrieb The Rickster:
>>> ActiveState devkit was used to build the executable.
>>> The file was a simple windows .txt file that contains license info.
>>> Subsequent to building the exe, the physical file was deleted. The file, not located in the VFS of the exe could be referenced using fileutil cat and the contents read,
>>> fileutil writeFile was used to determine it was 'writeable', and the file was changed with the fileutil writeFile command, The file was read again and the new contents returned.
>>> However, it does not seem the changes persist subsequent to exiting the app (ending execution).
>>> Granted, this could be one of the dumbest questions ever asked.
>>> Alternatively, is is possible in any way to have an embedded app modify the exe in which it resides?
>> On the last TCL conference in Houston, there were some people with
>> healthcare applications, which just did that: modify an exe with a
>> starpack within an update process.
>>
>> It is a complex subject:
>> - the file storage format is called "metakit" by Jean-Claude Wippler.
>> There are RO and RW drivers for Metakit. Normally, only vlerq (the RO
>> driver) is packed as package into the starkit, so no RW access.
>> - on many operating systems, a running exe file may not be modified
>> while running. So, you need a temporary "modification exe" which
>> modifies the target exe.
>>
>> Or you can use TCL 9.0, which has the zip exe technology build in.
>>
>> Be aware, that modifying a signed exe will make all virus scanner etc cry.
>>
>> Hope this gives some pointers.
>>
>> Take care,
>> Harald
> Interesting...good to know I am not the only one with the need. Thanks. Was thinking about a 'modification' exe.

My pointer was wrong. It is the TCL 2018 conference. The first two talks
were about that:

https://www.tcl-lang.org/community/tcl2018/proceedings.html

Take care,
Harald


devel / comp.lang.tcl / Re: Is it possible to modify a file that has been incorporated into a starpack

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor