Jump to content

tachi

Members
  • Posts

    10
  • Joined

  • Last visited

tachi's Achievements

Seeker

Seeker (1/7)

0

Reputation

  1. heh yeah he is totaly right http://support.microsoft.com/kb/310516/ er, a big whoops on my part, was writeing batch files last week for DLL files and got mixed up thanks for your help guys, and er, sorry
  2. still the same, ime takeing out the /s so i can see the error, else it just runs and i have to check the registry FYI, the key is an exported key from the same machine which i then delete to test if the script it working
  3. i tryed the second with the macro in, but its still saying "C:\Autoit work\regkeyinfo.reg" is not an executable file and no registration helper is registered for this file type. copyed and pasted from your reply,?
  4. eargh, still dosent work even without using a cmd box, ive spent hours on this small little problem and grrrrrrr
  5. thanks, i am now running C:\WINDOWS\system32\cmd.exe /c regsvr32 "C:\Autoit work\regkeyinfo.reg" and RegSvr32 thows "C:\Autoit work\regkeyinfo.reg" is not an executable file and no registration helper is registered for this file type. what am i doing wrong?
  6. Simple question realy, i have a .reg file with data i want to import into the registry, i have tryed running regsvr32 like this Run(@ComSpec & " /c " & "regsvr32 /s "&@ScriptDir&"\register.reg", "", @SW_HIDE) but it fails because the path is C:\WINDOWS\system32\cmd.exe /c regsvr32 /s C:\autoit work\register.reg and it needs to have ""'s around the C:\autoit work\register.reg because of the namespaces, how can i escape the ""''s in the run line so they are given to regsvr32 so it should look like this C:\WINDOWS\system32\cmd.exe /c regsvr32 /s "C:\autoit work\register.reg" thanks
  7. well is there any reason why i cant just extract an exe to startup that does the following: waits for the setup window to popup again, or if the window is already up when the script is called, then just starts, goes through the rest of the setup, and then deletes itsself from startup? also i cant get Run("RADMIN22.EXE","",@SW_HIDE) to work, it is still running nice and visible and full screen?
  8. works perfect, thanks ! Ive added a delete file at the end to delete the extracted file, i thought it like ran the file from within the compiled exe but it extracts it, so to clean up it deletes it. after the install it asks for a reboot, it there anyway to like continue the automated proccedure after a restart, maybie compile into the main exe another exe that gets put in startup and detetes its self after it has run through once - after the restart the radmin pops up and asks for final confiruration, which is what i want to automate
  9. thanks for ya help, but funnily enough it started working all of a sudden, and now it works fine, all the way through with my origional code, but i will put in your changes on a side note, as i am new to autoit, how do i go about merging the RADMIN22.EXE into the autoit script and compiling, so i have a single .exe which i just double click, this runs the RADMIN22.EXE with the script all the way through? i found the FileInstall ( "source", "dest" [, flag] ) documentation, but ime not quite sure how to implement it, so its a single exe file
  10. Been following autoit for a while, but only just decided to dabble, hope to use it to automate some process's of a PC Roll out, simple question, a script works and runs all the steps if i run the .au3 file, but if i compile it and run it, it dosent do all the mouse clicks, its a realy simple script to automate the install of remote desktop software. Run("RADMIN22.EXE") WinWaitActive("Remote Administrator v2.2") ControlClick ( "Remote Administrator v2.2", "&Next >", 1008) ControlClick ( "Remote Administrator v2.2", "I &agree with the above terms and conditions", 1027) ControlClick ( "Remote Administrator v2.2", "&Next >", 1008) ControlClick ( "Remote Administrator v2.2", "&Next >", 1008) ControlClick ( "Remote Administrator v2.2", "&Next >", 1008) thats all it is so far, if i run the .au3 it does all steps, if i compile and run the exe it dosent do the last controlclick it looks like. any ideas ? does the control number change? the 1008 ? because it does the first few clicks fine
×
×
  • Create New...