Hi,
I have a problem. I'm trying to connect SessionVar to the Browse File screen with file version checking. Below the code I'm trying to do. Can you say what's wrong?
if not g_InstalledVersion then
_fPath = SessionVar.Expand("%SelectedFolder%");
g_InstalledVersion = VisualPatch.CheckFolderVersion("%AppFolder%", _fPath);
if g_InstalledVersion then
SessionVar.Set("%AppFolder%", _fPath);
end
end
The folder selection screen is in On Startup. CheckFolderVersion is in On Pre Patch,
I have a problem. I'm trying to connect SessionVar to the Browse File screen with file version checking. Below the code I'm trying to do. Can you say what's wrong?
if not g_InstalledVersion then
_fPath = SessionVar.Expand("%SelectedFolder%");
g_InstalledVersion = VisualPatch.CheckFolderVersion("%AppFolder%", _fPath);
if g_InstalledVersion then
SessionVar.Set("%AppFolder%", _fPath);
end
end
The folder selection screen is in On Startup. CheckFolderVersion is in On Pre Patch,
Comment