PDA

View Full Version : Get installed file version prob.


xu1t
04-03-2009, 10:23 PM
Hi guys,
We are licensed user for visual patch 2.0. But right now, we have a problem like if the key file is located in the sub folder of the root installation path, say my key file is in %AppFolder%\ishow\release, using:
VisualPatch.CheckFolderVersion("%AppFolder%", InstallPath) can't locate the installed version by passing the root installation path.
I checked the visual patch 2.0 forume, it says this is a bug and should be fixed in next release of visual patch 2.0(2.0.5.0) but when I use the oneline update for Visual Patch 2.0, it says i already have the latest version of visual patch 2.0 installed.

On the other hand, when i downloaded a trial version of visual patch 3.0, this prob. seems been solved. It tells me that this bug is fixed in version 3.0 instead of new release of VP 2.0. So can anybody provide me a solution and i know the obvious solution is to pay indigo rose and get updated to VP 3.5.

Thanks in advance

Lorne
04-07-2009, 12:56 PM
There is no way to make the CheckFolderVersion action apply the same rules in 2.0...but everything that the CheckFolderVersion action does in 3.0 can be accomplished in script. CheckFolderVersion is essentially a high-level convenience function that implements the most common detection logic, however every last detail of the detection logic can alternatively be implemented in script.

I'm pretty sure it has been discussed in the forums before, so if you search the 2.0 and 3.0 forums for CheckFolderVersion and %AppFolder% you should find some good info.