View Full Version : File Version... how to change it?
itamar
06-20-2004, 03:16 PM
Hi Guys,
Can I change the file version of the final Exe file that I'm creating?
That will be very important to track different versions of my application.
I would like to change the Exe version as well as the company and etc.
Any ideas?
Itamar.
Ted Sullivan
06-20-2004, 05:28 PM
There is nothing built-in to AMS50 to do this. Our license agreement does not allow you to alter the runtime executable.
itamar
06-20-2004, 06:00 PM
Can you suggest a different way to track Different versions of my application ?
Itamar.
itamar
06-20-2004, 06:14 PM
Using an ini file will be very inconvenient
Specially if you are running automate procedures that using the check version function – to confirm our version.
I can't understand why the File Version is in use by AMS, maybe we can share :p
Itamar.
SUF6NEWBIE
06-21-2004, 01:31 AM
suggestion 1. Creating project.. load current version, modify and
do a saveas.. call it myappversion..whatever. The entire project
is duplicated under the new project name.
suggestion2. Create a .txt file in the docs folder of app..
maybe call it v.txt ..have your version details in the text file.
in startup actions read the txt file to a table or to a string..
at your apps runtime..the result of the textfilereadtostring(v.txt)...
is now living in memory..so you can access anytime using string actions etc.
(you can perform a filedelete action of the docs\v.txt , if so choose..)
suggestion 3. If you are using the 'autorun.inf' at build time..
(publishing to folder) you could possibly edit 'autorun.inf' by adding this:
[Product Version]
;put anything that suits
myapp=2.0.0.1beta5
..do read from ini file actions during app runtime...
itamar
06-21-2004, 01:44 AM
Is pretty good idea,
Thanks.
Itamar.
pjhiggins
06-21-2004, 12:59 PM
One of my projects tests the apps version against a web server.
Not sure if any of this can be useful but I offer it as another example of how it could be done.
I've got a squad of trained attack Bichon Frises (http://www.akc.org/breeds/recbreeds/bichonf.cfm) and am not afraid to deploy them against critics of my PHP. You have been warned!
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.