Forum Discussion
Oferv
14 years agoSuper Contributor
Hi Robert,
did that.
basically i'm running full installation and then i want to upgrade by running the following.
function Installation1_0_1PatchUpgradeFrom1_0_0()
{
TestedApps["Patch_1_0_1"]["Run"]()
//Clicks the 'btnUpdate' button.
Aliases["MSIEXEC"]["wndMsiDialogCloseClass"]["WaitAliasChild"]("btnUpdate",25000)
Aliases["MSIEXEC"]["wndMsiDialogCloseClass"]["btnUpdate"]["ClickButton"]();
//Clicks the 'btnFinish' button.
Aliases["MSIEXEC"]["wndMsiDialogCloseClass"]["WaitAliasChild"]("btnFinish",30000)
Aliases["MSIEXEC"]["wndMsiDialogCloseClass"]["btnFinish"]["ClickButton"]();
Log["Message"]("1.0.1 PATCH Install ended - Upgrade")
}
it just doesn't recognize the btnUpdate. can't understand why
did that.
basically i'm running full installation and then i want to upgrade by running the following.
function Installation1_0_1PatchUpgradeFrom1_0_0()
{
TestedApps["Patch_1_0_1"]["Run"]()
//Clicks the 'btnUpdate' button.
Aliases["MSIEXEC"]["wndMsiDialogCloseClass"]["WaitAliasChild"]("btnUpdate",25000)
Aliases["MSIEXEC"]["wndMsiDialogCloseClass"]["btnUpdate"]["ClickButton"]();
//Clicks the 'btnFinish' button.
Aliases["MSIEXEC"]["wndMsiDialogCloseClass"]["WaitAliasChild"]("btnFinish",30000)
Aliases["MSIEXEC"]["wndMsiDialogCloseClass"]["btnFinish"]["ClickButton"]();
Log["Message"]("1.0.1 PATCH Install ended - Upgrade")
}
it just doesn't recognize the btnUpdate. can't understand why