Its not often that I write any code or script...I dont really like it at all and barely know how lol...
But, through using autoit software I have come up w/ a set of scripts that basically "install" minerd w/ user specified pool credentials stored in a text file and there is also a "uninstall" script as well.
Its only for windows 32bit and 64bit. It uses the latest compiled binaries for i7 and amdfam10 optimizations.
It if its amd or intel and picks the correct miner and feeds it the proper login credentials specified in the text file. It also figures out the number of "cores" on a system and feeds the miner the 1 thread / "core".
It starts at the lowest process priority so it doesnt slow down system and is set to infinite retries w/ miner has no communication w/ pool.
Just dl the .exe, it will autoextract to tmp folder launch the installer then delete the extracted files.
NOTE: if you want to change miner credentials you will have to open the .exe archive (7zip or winrar) and change the credentials in the .txt file.
The uninstall file removes all traces from registry and folders.
UPDATE: 10.25.11, Ive added auto detection of 64bit , 32bit OS and have it pick miners accordingly, also added some more functionality to uninstall script. NOTE: for some reason the miners posted here: http://www.wuala.com/jbw9/pub/Bitcoin/Tenebrix/miner/win/
- all crash themselves =/ not sure what the issue is but Ive packaged the i7 and amdfam10 one w/ my install package (1st linked below)
If anyone has stable 32bit miner link please post and Ill update package! Thanks
Also, Ive added link to .zip file containing source files if you guys wanna mess w/ em =)
I have rewrote a lot of the script and now it does its work by installing itself as a windows service. Mining credentials are still taken from miner.txt so please edit before running the file below ( extract and repack )
Uninstaller also rewritten to remove traces of the service and files.
Source is included in the installer archive.
KNOWN BUGS: Currently , I dont know of any way to launch the service w/ a different process priority, so it launches w/ priority of normal. Has to be manually changed in task manager if desired.
UPDATE 10.27.11, The service method is now only one I host, Ive got it working pretty much in every way superior to the old build. I have added ability for it to set itself to low process priority for the miner. It accomplishes by making a scheduled task which runs as SYSTEM .. it runs the .exe that makes the call to the miner executable to lower its priority. The task does this once on install and is scheduled to do it 30 seconds after every system boot up.
Be sure to change the .txt file in the installer archive(rar) and enter in your miner credentials. Then just run installer.
Uninstaller link provided seperately.
The 32bit miners still crash =/ anyone know where I can update the package w/ 32bit working miners?
Source is included in the package.
UPDATE 10.27.11, a minor update, noticed the installer and uninstaller dont work properly unless ran w/ admin rights, so changed both installer and uninstaller to require elevated privileges to run.
Here is the link to it:
SOURCE FILES INCLUDED IN ARCHIVE..
Let me know if there are any bugs =) Thanks