Jump to content

master_mtz

Member
  • Posts

    70
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    United Arab Emirates

Everything posted by master_mtz

  1. @ MAVERICKS CHOICE thx 4 ur reply @ redfive19 well ,actually i made it for nooobs like me .... not for professionals B) and i wrote this simple guide cuz i didn't find any thing about autoit here excepting the autoit scripts collection at all , i thank u all guys for posting replies
  2. hi all , i am making this little guide to help making autoit scripts , to avoid the troubles of finding switches and so on ..... ============================================== here we go ..... ============================================= ----------------------- what is an Autoit Script ------------------------ it is a simple script , made to do jobs automatically , u write down the script (the script is mainly a robot that will tell the system what to do ) , then compile it , the resulting exe will do what u specifed in the code each time the program runs, ---------------------------- What is the relation between Auto it and silent install: --------------------------- simply , u wil make the installation go smoothly , without ur interaction , the script u make will do the job ..... u may see examples in this topic : http://www.msfn.org/board/index.php?showtopic=20197 --------------------- OHH dear , shall i write scripts and think of coding ---------------------- Answer is , NO , u will see in this guide , how will we make scripts for silent installs without writing code. ------------------------ Why and when shall i use autoit for silent install ? ------------------------ when u don't find the silent switch u need , u are pushed to use the autoit method .. ==============NOW LET US GOOO!!!!================ firstly we need the program ,,, get it here http://www.autoitscript.com/cgi-bin/getfil...it-v3-setup.exe and we need the Scite tool , to use the script recorder:: Scite --------- http://www.autoitscript.com/cgi-bin/getfil...iTe4AutoIt3.exe install both programs ,,, now go to : Start >>programs>>autoit V3>>scite>>Script Writer u will see this : 1- select the installation package which u r going to make the script for , it shall be an EXE which the script will call each time it runs .......... 2- make the check boxes , as made in the pic 3- click the "A" button once we click the "A" button,the exe(which is the installation package) we specifed will run, and every movement we make on our pc using the keyboard will be recorded, During the record of this code , Take care of : 1-Avoid Alt+tab, or navigating to othr windows 2- use " Alt+N" to choose "next" ، Alt+y to choose " Yes" , and so on .. 3- u may use the Tab button to navigate between buttons After u completly installed the application , we have to stop the record operation by clicking the "A" button at the upper left of the screen , now u must see some code written like this .... Now , we have to add little code to our app , to avoid hassles , and running same application again and again ------------------------------------- $SF_1 = "app.exe" If WinExists ( $SF_1 ) Then Exit AutoItWinSetTitle ( $SF_1) --------------------------------------- ** u may ask , what is this attented for , the answer is , this code is just a safety measure during the testing period , i once used a script which don't have this code (or similiar) and a big trouble occourded , the compiled EXE kept running it self again and again , and at last , 101 process where running on my poor pc , i used taskkill to get rid of those processes and i succeded --------------------------------- replace app.exe by the installation package exe u selected when recording the script, now save the file near by ur EXE package as u see in the pic , then compile the script .... NOW all is done we have the compiled EXE , try running it now , u will see every thing in the setup going automatically without ur interaction , once u test and find every thing working good , u may make a RARsfx which will have the compiled EXE to run after the extraction process
  3. i thank u in depth for ur answers Achdine and Doc Symbiosis , and i really don't need the files copied each time the user logs in ... only once , i shall make a script delete it self after it's run ...... about the shared application data folder , will it work with apps storing their data in the " user application data folder " , ?? and i deeply thank u for ur answers
  4. hi all i got a little question and hope u have the answer i want a script to run each time a user login , the script will do some configuration by copying some files to the %APPDATA% folder i mean when new user "a" is created , at his login , the script will run and for each user created , and that is all
  5. what i meaned was how to change systemvariables through batch files i mean for example: i want to change the computer name to "MTZ"
  6. ok , thx a lot for ur reply Mr.Martin Zugec , i apperciate ur kindness , but i got one more question , where can i get setX?
  7. hi all , i just want to know how to set system variables through batch files, and thx alot
  8. thx alot guys , i am really amazed by the level of knowledge people have here i gonna try it
  9. ok , but that is not what i mean i mean will the file execute at that time? and thx a lot
  10. hi all i just want ask a quick question , can i use a rarSFX archive to execute in cmdlines.txt , i know it would execute at T 12 , what i mean at T12 , will The archive extract correctly , and there is one more thing , would the system variables , (such as %systemroot%) be avialable at that time , cuz the SFX would extract their . thx alot , any help would be appercited
  11. hi all mmmmm, i don't know if this is the proper place 4 this topic , but i didn't know where to put it , i thought the best place is this one.......... OK Well , here is my trouble i want to completly change the boot screen of my unattented xpcd with sp2 and latest updates slipstreamed i changed the following files: ntoskrnl,ntkrlmp,ntkrnlpamp,ntkrnlpa in those directories i386 Driver.cab SP2.cab i integrated the upadates manually , then changed the files , so that i change the ntoskrnl , if any update changed it i read those topics, i searched the forum bit didn't find what i need , idon't want to use the method metioned in the unattented guide
  12. ........... iam still searching ............., too
  13. @inteer Do this as mentioned in step 10 i meaned , to be able to run the shrinker @ the virtual machine
  14. yes u can , u can even delete them all as they are temp files
  15. u may understand my method of office shrinkage , see at my signature
  16. is there still a hope for forced installation
  17. that's nice ,thx kelsenellenelvian and Doc Symbiosis
  18. hi all, is it possible to run WPI through RunonceEX , cuz i want an application to be installed before WPI runs
  19. why not somebody upload it for us @ uploadtemple.com
  20. no only once as i tried ,
  21. 117 views, 1 reply , a bit disappointing
  22. hi all i am aking if it is possible to change the boot screen by compressing ntoskrnl.exe to ntoskrnl.ex_ then placing that ntoskrnl.ex_ in i386? i did that but when the computer boots at setup it works , when it restarts to beging the first boot after setup it returns to the windows orginal one and it hangs any ideas , please i really need help and quickly pleaaaaaaaase
  23. Hi all , i have read the unattented guide and office shrinker guide but i didn't understand them well , and kept struggling with my office to shrink it , and i succeded so i decieded to give u the method in more details: :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: 1- install the Microsoft office resource kit on a your machine to create administrative setup point from Here 2- Create administrative setup point, method is here : http://unattended.msfn.org/intermediate/ap...ipstreaming.htm 3- then yu should slipstreame sp1 to it as mentioned in the guide at the same link above ( only sp1 , no need for the updates , that what i tried, ) 4- use microsoft office resource kit to make an MST file which contains the answer method and program link is here : http://unattended.msfn.org/intermediate/ap...03_advanced.htm 5- don't care alot about the custom installation wizard , just care about the feature select menu , cuz it will effect the size 6- now , we have an administrative setup point and an MST file , letus go on... 7- install microsoft virtual PC and run it 8- make a new machine , and start a new windows XP installation on it 9- Install the virtual machine additions , DON'T do anything else 10- in the virtual machine settings go to shared folders and share the administrative point folder u created at step 2 between the host machine and the virtual one 11- get office shrinker by buckeye form here : http://www.msfn.org/board/index.php?act=At...pe=post&id=1296 12- share the folder which contains the shrinker between the virtual and host machine 13- then run the shrinker on the virtual machine, 14- specify the folder which yu shared from the real machine(the admin point) as the source, 15 - specify the target to a folder in the real machine(u should have shared another empty folder for this ) 16- define the setup.exe and the mst 17- then the shrinking process starts, yu should see the error boxes which are automatically ignored, the process would complete with the message "shrinkage is already complete" 18- now we have the target folder with a shrinked office , 19 - Now u have 2 options : a- using WinRAR to create an SFX archive with this line executed after extraction setup.exe TRANSFORMS=(thefilenameuchoosed).MST /qb- b- use the @astalavista’s method of adding it to 7z Now all is done IMPORTANT the shrinked office works on a completely on a clean installation so yu should place ur 7z SFX or RARSFX as the first program to run in RunonceEX.cmd , as it MUST be the first program to run , ur shrinked office won't success if its setup was started on ur windows after installing other apps.
×
×
  • Create New...