Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to Hold on current till setup file completly intalled on machine?

Status
Not open for further replies.

zahidpervaiz

Programmer
Aug 13, 2003
20
AE
I'm loading a "exe file" on click button.
My requirment is that if somebody click on button it must stay on same frame till the whole setup file(exe file) execute and intall on the machine then it must go to the next frame.
How it will be possible???
Code is here.
Code:
on mouseup me 
  checkForNamesFile
 end

on checkForNamesFile
  fileThere = baFileExists( "c:\test\za.txt" )
  if (fileThere) then
    go to frame "1"
   else if not(fileThere) then
     baopenFile("dotnetfx.exe" , "Normal")      
  end if
  go to frame "2"  
end checkForNamesFile
The code is ok. I just want to stay till "dotnetfx.exe" completely intalled on the machine.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top