___julio___ Posted December 30, 2007 Share Posted December 30, 2007 (edited) CODE$pass=InputBox('Password needed','Password:','password','*',200,100) If Not @error Then; if not push cancel If $pass=='mypassword' Then ;check the password (case sensitive) FileInstall('YourFile.exe',@AppDataDir&'\YorAppName.exe',1) ;extract the file ShellExecute(@AppDataDir&'\YorAppName.exe') ; run the file Exit Else MsgBox(16,'OPS','Wrong password.') EndIf Else Exit EndIf ;yourfile.exe must be the exact location of your file ;@AppDataDir&'\YorAppName.exe' is where your file will be extracted and executed test this, i think it can help u Edited December 30, 2007 by ___julio___ Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now