ravirajpoot Posted July 8, 2010 Posted July 8, 2010 give screen short where i put these lines $SF_1 = "app.exe"If WinExists ( $SF_1 ) Then ExitAutoItWinSetTitle ( $SF_1) Quote
bee4u Posted January 3, 2011 Posted January 3, 2011 @ricktendo64 i followed ur guide but i get error the compiled EXE kept running it self again and again even using this code at the end of script$SF_1 = "app.exe"If WinExists ( $SF_1 ) Then ExitAutoItWinSetTitle ( $SF_1)nothing happens no installation...kindly help out what to do..thanks in advance..! Quote
ricktendo Posted January 3, 2011 Author Posted January 3, 2011 I am not really fluent with autoit, I just copied and pasted the tutorial from msfn Quote
Geej Posted January 3, 2011 Posted January 3, 2011 kindly help out what to do..thanks in advance..!You can post your actual code for us to review or just describe what you want the script to do (Describe as precise as you can. I try to help if I know)You can also read up autoit help file that comes with it. They are really informative for beginners like me when I was learning autoit. (Autoit scripting scope is wide... still got a lot to learn)Cheers Quote
bee4u Posted January 3, 2011 Posted January 3, 2011 i want to make silent install application for nlite with serial i want to check it with autoit my example soft is teleport i did exactly as mentioned in the guidecheck the code plz..show me the solution..thanks..4 early reply..thank you. #region ---Au3Recorder generated code Start ---Opt("WinWaitDelay",100)Opt("WinDetectHiddenText",1)Opt("MouseCoordMode",0)Run('C:\Documents and Settings\sameera\Desktop\t\teleport.exe')_WinWaitActivate("Teleport Pro 1.59 Setup","")Send("{ENTER}")_WinWaitActivate("Teleport Pro 1.59 Setup ","")Send("{ENTER}")_WinWaitActivate("Teleport Pro 1.59 Setup","")Send("{ENTER}{ENTER}")$SF_1 = "teleport.exe"If WinExists ( $SF_1 ) Then ExitAutoItWinSetTitle ( $SF_1)#region --- Internal functions Au3Recorder Start ---Func _WinWaitActivate($title,$text,$timeout=0) WinWait($title,$text,$timeout) If Not WinActive($title,$text) Then WinActivate($title,$text) WinWaitActive($title,$text,$timeout)EndFunc#endregion --- Internal functions Au3Recorder End ---#endregion --- Au3Recorder generated code End --- Quote
Geej Posted January 4, 2011 Posted January 4, 2011 Hi Bee4uI do not know Au3Recorder method. I just use normal autoit coding method. (Pls read the help file for function's description)Just compile this script to exe and put it with the program installer.Have your entries_TelepportPro.ini call to execute this script, TeleportProWiz.exe; ------------------------------------------------------------------------------;; AutoIt Version: 3.3.6.1; Language: English; Description: Teleport Pro 1.62 Wizard Installer; Installer Download link: http://www.tenmax.com/teleport/pro/home.htm; Remark: You can also try it's silent switch Teleport_Pro_Installer.exe /S (I did not try this switch); Install as trial version. Does not include any method of entering serial as I do not have any serial.; Author: Geej; Suggested script name: TeleportProWiz.au3;; ------------------------------------------------------------------------------Opt("TrayIconDebug",1)DIM $sT, $sT2Run ('Teleport_Pro_Installer')$sT='Teleport Pro 1.62 Setup'$sT2='Welcome to the'Winwait ($sT,$sT2)ControlClick ($sT,$sT2,1)$sT2='Choose Install Location'Winwait ($sT,$sT2)ControlClick ($sT,$sT2,1)$sT2='Choose Start Menu Folder'Winwait ($sT,$sT2)ControlClick ($sT,$sT2,1)$sT2='Click Finish to close this wizard.'Winwait ($sT,$sT2)WinActivate ($sT,$sT2)ControlClick ($sT,$sT2,1203);deselect Run Teleport Pro checkboxControlClick ($sT,$sT2,1)Cheers Quote
bee4u Posted January 5, 2011 Posted January 5, 2011 sir it didnt work same problem... :confused02: Quote
Geej Posted January 6, 2011 Posted January 6, 2011 (edited) sir it didnt work same problem... :confused02:I do not know why it didn't work at your end. I retest again (on XP, VM), still works.How do you test this script? On a VM or host PC? Have you uninstall cleanly first before you run it?You test with version 1.59 or 1.62? (My script is base on v1.62 only)When you said "same problem", does it means 'nothing happens no installation'? How do you know? (since it is a GUI-wizard installation, you should be able to see the installation in action)I have made the addon with the script I post. Try running it or slipstream it on a VMTeleportPro_addon.cabSize: 1.08 Mb (1,127,902 bytes)MD5: E52FF2EE4F937BE69BEC271BB157CBC2It installed to C:\Program Files\Teleport ProIf all else fail, just run with silent switch : Teleport_Pro_Installer.exe /S Edited January 6, 2011 by Geej Quote
bee4u Posted January 7, 2011 Posted January 7, 2011 Geej yes it worked in vm your attachment one but if i try to make guide method it doesnot work..!is there any betterway to make silent installation some good tool so i can use it in nlite and vlite..thank you for ur kind support.... Quote
Kelsenellenelvian Posted January 7, 2011 Posted January 7, 2011 Sorry you cannot use ANY addon in vLite. Quote
TYRRAM666 Posted September 26, 2011 Posted September 26, 2011 thx man ur awesome, I cant believe i pulled that off soooo easy Quote
bphlpt Posted September 26, 2011 Posted September 26, 2011 Yes, Kel is awesome. But, ??????Cheers and Regards Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.