View Full Version : Versioning
NewsArchive
09-04-2007, 02:06 AM
Hi Friederich,
I hope I am not the only one to use use an ini file to do versioning of my
app and ... could it be possible for SB to have a switch to use or not such
an ini file also ?
Like this I (we) could have the same ini file for both our app and SB ....
It is just that yesterday I forgot incrementing in SB and realised that only
fater uploading to the server and testing from a clients computer .....
And as I only have a small 1024 connection it takes nearly one hour each
time .....
Merci for a thought towards this idea ....
JP
--
Merci - Thank you
JP
NewsArchive
09-04-2007, 02:07 AM
Hi Jean-Pierre,
Where exactly do you use this INI file for "versioning"?
Friedrich
NewsArchive
09-05-2007, 01:44 AM
Hello mon ami ...
In a Clarion template with a call to this ini file
and like this whenever I change this ini file the app and dll's generated -
with that template - get a new version number
The ideal would be to have SB retreive from the same ini file to generate
version in the installer ...
Merci
JP
--
Merci - Thank you
JP
[FileVersion]
VIFileVersionMH=5
VIFileVersionML=2
VIFileVersionLH=0
VIFileVersionLL=4
VIFileVersionStr=5.2.0.4
[ProductVersion]
VIProductVersionMH=5
VIProductVersionML=2
VIProductVersionLH=0
VIProductVersionLL=4
VIProductVersionStr=5.2.0.4
NewsArchive
09-05-2007, 01:44 AM
Hi Jean-Pierre,
As I understand it, you also change the version in your application
resource, right?
Why not use the new "#get file information" compiler directive to set the
installer version ;-)
And if you really have to use the INI, just create a new compiler variable,
say, [USE_VERSIONING_INI]. Then create a new "Release" (e.g. Use Versioning
INI) and set the [USE_VERSIONING_INI] compiler variable in that Release to
1. You can now use #ifcompvar to control the use of the INI file. This
even works from the command line now :)
What do you think?
Friedrich
NewsArchive
09-05-2007, 01:45 AM
Hi Friederich,
I think ..... you again thought before us as always (ou presque...) <BG>
Will try this later today and let you know but indeed it sonds so simple - I
had no idea the installer version could be "hand set" ... still used to open
and change in both places etc .... in both setup and update scripts ....
MERCI
JP
--
Merci - Thank you
JP
NewsArchive
09-05-2007, 01:45 AM
Just tried it : PERFECT!!!!!
You are THE BEST.....
MERCI I can go fishing while SB works for me (soon)... <BG>
JP
--
Merci - Thank you
JP
NewsArchive
09-05-2007, 01:46 AM
> Just tried it : PERFECT!!!!!
>
> You are THE BEST.....
>
> MERCI I can go fishing while SB works for me (soon)... <BG>
;-) <VBG>
Friedrich
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.