Accessing the 'Start - run' window in xp
I have some line of code:
LatestBuildPath = "<Newtwork server>\\Thefilename.msi";
p1 = Sys.WaitProcess("Explorer", 100000);
w1 = p1.Window("Shell_TrayWnd");
w1.Window("Button", "Start").ClickButton();
p1.Window("DV2ControlHost", "Start Menu").Window("DesktopSFTBarHost", "", 2).Window("SysListView32")["ClickItem"]("Run...", 0);
p1.Window("#32770", "Run").Window("ComboBox").Window("Edit").Keys(LatestBuildPath + "[Enter]");
Delay(20000);
p1.Window("#32770", "Open File - Security Warning", 1).Window("Button", "&Run", 1).ClickButton();
Delay(10000);
--> when I run this in 'windows server 2003' It works fine.
Opens the '.ms' file and runs it.
--> when I run it in 'windows xp': It doesnt .
Is the another way to run an msi file.
I even added the file path to the TestedApps, but when I call it to run it generate an error "Unsable to run..."