Jump to content

daremo

Members
  • Posts

    7
  • Joined

  • Last visited

daremo's Achievements

Seeker

Seeker (1/7)

0

Reputation

  1. This worked on a Dell printer as well.
  2. you should probably just run regedit and look at the other start up keys, that will give you an idea of what you need to do. it's pretty obvious once you look at the other keys.
  3. I did this and it worked for me: With $var If .EOF Then (your code) Endif EndWith
  4. This seemed to work for me as a silent installation of the ODBC connector. I did it on 2 machines that didn't have the MySql ODBC and it worked. RunWait('msiexec /i "c:\temp\mysql.msi" /qn') You need to choose the MSI package from the link: http://dev.mysql.com/downloads/connector/odbc/3.51.html
  5. Recently I've been having problems with IsAdmin() It started happening after I installed Autoit 3.2.0.1 Here is a simple RunAsSet program: RunAsSet($admin, @Computername, $password) If IsAdmin() Then Msgbox(0, "Status", "Admin Rights Detected") Else Msgbox(0, "Status", "Admin Rights Not Detected") Endif RunAsSet() When I run this program...It always pops up that Admin Rights are Not Detected. Even when it's the correct administrator rights. I've reinstalled previous versions and it still occurs. I didn't have this problem before I installed Autoit 3.2.0.1
  6. THANKS SCRIPTKITTY, Your code worked perfectly!!!
  7. I just downloaded AutoIt v3 since AutoIt v2 didn't have the RunAsSet command which I needed. But I'm at a loss on how to run a AutoIt script from a cdrom, that calls a file from the cdrom to install on the pc. Here is more detail. I'm trying to create a autolaunching cd that will install some microsoft patches from the cd. During the install process, it will insert a registry key into the Runonce key to launch the autoit script from within the cd. Upon reboot of the machine, the machine will call the AutoIt script from the cd and then run the program that is specified in the script. My problem is that I don't know how to get the AutoIt script to know what the drive letter of the cd will be (since this will change depending on the machine that the cd is used on) and then install the program that is specified in the AutoIt script. Thanks for any help!
×
×
  • Create New...