General information
Category:
Coding, syntax & commands
I autoincrement my build...version so
tc_caption1 = " Unknown Program Version "
tc_caption2 = " Unknown Program Version "
n_a=AGETFILEVERSION(ca_j, SYS(16)) && current file
caj4=" "
IF n_a> 3
tc_caption1 = SYS(16)+ " " + ca_j(4)
ENDIF
n_a=AGETFILEVERSION(ca_j, "\\server\control\my.exe") && your app name here
IF n_a > 3
tc_caption2 = "SYS(16)+ " " + ca_j(4)
ENDIF
ENDIF
_screen.CAPTION=tc_caption1 && so I can see what is going on
then I can compare tc_captionN to tell if I need to do the update!
dirty update is to "run /n2 update.exe" & quit!
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only