Lostmind Posted July 20, 2007 Share Posted July 20, 2007 I have started working on a silent install. But the script would be different if this is a new install as compared to overwriting an existing install. Any advice. Link to comment Share on other sites More sharing options...
Developers Jos Posted July 20, 2007 Developers Share Posted July 20, 2007 I have started working on a silent install. But the script would be different if this is a new install as compared to overwriting an existing install. Any advice.mmm... I am sure you didn't search long since Goto is a subject that was "beaten to dead" before...As to your basic question: have no idea what your true question is so would need guessing and that's not my strongest asset Maybe explain what you need to accomplish and post some snippet of what you have already .... SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Lostmind Posted July 20, 2007 Author Share Posted July 20, 2007 mmm... I am sure you didn't search long since Goto is a subject that was "beaten to dead" before...As to your basic question: have no idea what your true question is so would need guessing and that's not my strongest asset Maybe explain what you need to accomplish and post some snippet of what you have already ....I agree I should of searched more, for that I apologize. When I have a partial script I will post more. Link to comment Share on other sites More sharing options...
MHz Posted July 20, 2007 Share Posted July 20, 2007 I agree I should of searched more, for that I apologize. When I have a partial script I will post more.Here is some free code to get you started $exitcode = RunWait('setup.exe /s') If $exitcode Then Switch $exitcode Case 1 ; Do this Case 2 ; Do that Case 3 ; Get the point yet :) EndSwitch Else MsgBox(0, '', 'Success') EndIf Link to comment Share on other sites More sharing options...
Lostmind Posted July 20, 2007 Author Share Posted July 20, 2007 Thank you for all your help, pushing me to do a little research has helped me considerably. I am a newb to this, but have done some basic. I have figured it out this is how it came out. RunWait("yu2006setup.exe /VERYSILENT /NORESTART") Run($ProgramFiles &"\Your Uninstaller 2006\uruninstaller.exe") If WinWaitActive("Your Uninstaller! 2006","Order Now!", 5) Then ControlClick ( "Your Uninstaller! 2006","Order Now!", "Enter Key") WinWaitActive("Enter Code") Send("XXXXX XXXX{TAB}xxxxx-xxxxx-xxxxx-xxxxx-xxxxx-xxxxx{TAB}{SPACE}") Sleep (5000) ControlClick ("Information","","TButton1") ControlClick ("Your Uninstaller! 2006","","TRzButton5") Endif ProcessClose ("uruninstaller.exe") FileDelete ( @ProgramFilesDir & '\Your Uninstaller 2006\autoupdater.exe') exit Thanks again. 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