Hi Friedrich,
I have a project that I update frequently via the webupdate. It has
happened that I have forgot to change the Product Version in the
"Enable iDeploy Web Updates" section, causing the update to fail.
Since I use the CWVersionRes template in my Clarion app, I wrote a
template that writes the version information to an INI file, that I
place in the same directory as the .sb5 file. That way, every time I
compile, this INI file is updated. My idea was then to show a message
in SB5 that showed the Product Version in the SB5 script, and the
value of the Product Version in the INI file.
So I used:
Set Variable %OFFICEVERSION% To GetIni("ProductVersion...)
But when I use a #MSG or #MSGBOX to show the %OFFICEVERSION% all I get
is the symbol, not the value. So I see:
"Office version is: %OFFICEVERSION%"
instead of:
"Office version is: 1.3.8.1939"
I've also tried with a compiler variable, same thing.
Also: How do I get the Product Version from the "Enable iDeploy Web
Updates" section???
BTW: I hadn't updated to the latest build, I'm downloading it now -
will report back if there is any difference...
Best regards,
Arnór Baldvinsson
Icetips Software
San Antonio, Texas, USA
www.icetips.com
Subscribe to information from Icetips.com:
http://www.icetips.com/subscribe.php