‎Jan 25, 2007 10:21 AM
‎Jan 25, 2007 10:32 AM
function SetUpdateValue(hMSI)
NUMBER nvSize,nvCurr,nvNew,nvDiff;
STRING svNewVersion,svCurrentVersion,svUpdateVal;
begin
nvSize=20;
MsiGetProperty (hMSI, "NEW_VERSION",svNewVersion , nvSize);
MsiGetProperty (hMSI, "IS_STARS_UPDATE", svCurrentVersion, nvSize);
StrToNum(nvCurr,svCurrentVersion);
StrToNum(nvNew,svNewVersion);
nvNew = nvNew-nvCurr;
MessageBox("In InstallScript",INFORMATION);
NumToStr(svUpdateVal,nvNew);
MsiSetProperty(hMSI, "UpdateConditionVal", svUpdateVal);
end;
‎Jan 25, 2007 12:06 PM
‎Jan 25, 2007 12:13 PM
‎Jan 25, 2007 01:49 PM
‎Jan 25, 2007 01:53 PM
‎Jan 25, 2007 02:35 PM