October 2008
14 posts
Don't Care →
My mom forwarded an email to me which was basically repeating this episode of meet the press. Adding Obama is a bad scary man that mill destroy our great nation. This is me response…
FEAR! FEAR! FEAR! FEAR! Raise the threat level! Hide the women and children! Obama is going to be president and all the blacks will take over. What the ..? seriously? Do you want to live in a world where you...
I just wanted to say...
I just wanted to say that my brother is a fagot. listen
Powered by Jott
Nick's Profile on traineo | Fitness & Weight Loss... →
I’m need to drop some lbs before I die. So Im keeping track of everything.
AutoIt beat Gmail in awesomeness today
TOM: 10:03 do you know of a opensource/free web-based software deployment app. i think i asked you this a couple of weeks ago. i want just a searchable listing of apps- that a user can click and then it'll basically do a "runas" for admin and let them install it...i would like it to know about the number of licenses (if applicable) are being used...ya know?
ME: 10:26 Well I use autoit to kick off runas for the silent installation. As far as knowing how many licenses are out there... I thought about making my own system that would take care of a lot of task... essentially just scheduled tasks on the machine that would run a report and upload its report to a database. then based on the report recieved and the "status pending" the server could them deploy a package to that machine and wait for the next report to see if it was successful. fairly simple. right now SMS is your best/cheapest solution. an easier option may be to make a web portal that users could go to and download install packages that have the encoded runas service accout credentials in them. That way most "I need X installed right now" calls could be solved with a well written email.
TOM: 10:47 ...yeah.....never used autoit before. WTF am i supposed to do? ok. i got application x i want installed. it's a plain old .exe and when i run it in DOS, it doesn't give me fancy-pants options like: "/quiet " or "/norestart" it just starts the GUI, then i gotta do next, next, next, enter company name and license number, next, finish, it installs....can i do something like that w/ autoit?
TOM: 11:21 ok, i think i understand. you should have just said "read the damn documentation" :) although i'm a little disappointed at this:http://www.autoitscript.com/autoit3/resources.shtml#Forum "Or, if you prefer there is a yahoo mailing list." Yahoo mailing list? Are you serious? You know this is the 21st century and we have "google" now...yahoo is so 1996 :) pre-google. hahahaha. are you and meg coming by this afternoon?
ME: 11:39 well you have to repackage it ... What I've done before is just grab the files for the App throw them in the right locations on a vanilla machine, check if it works, if not search the registry for the key it most likely needs most always [hklm]\software\blabla then the entire installation can be completed using a batch file running with elevated privledges to unzip (I recommend 7zip command line tool) and merge registry keys. If you want to get fancy for your end user use iexpress to auto extract all the installation files (zip, 7zip.exe, blabla.reg'? in zip', doit.bat, runas.exe) to %temp% then execute runas.exe. SECURITY RISK ALERT. once I, the end user, sees that runas.exe executes doit.bat. I can change doit.bat to whatever I want "dsmod me -memberof domain admin" YES!!!!. I put all the installation files bat reg on a share that users cant see. even c$ if i want. Then using autoit(the coolest tool ever) runas(wait) tbarnes \\tbarnesserver\c$\blabla\doit.bat load profile=1 doit.bat {@echo off, net use x \\tbarnesserver,c$\blabla,x\7zip.exe blabla.zip %ProgramFiles%\blabla,regedit /s ,%ProgramFiles%\blabla.reg,xcopy %ProgramFiles%\shortcuts %AllUsersProfile%\Start Menu\Programs,rem shutdown -r -t 00,exit,} Give runas.exe to your users and tell them to click on it. Use runas for silent or runaswait and add a progress bar. They have no idea how its doing whatever its doing, awesome. We create installer accounts in AD that do the runas and reboot then tell the end user to walk up to your lab computer and login as doit password doitnow. When the computer reboots you software is installed. Or if you want to be totally boring you could read the winzip tutorial in the help file. With autoit the help file is your GOD! Memorize it. pray with it. make love to it. It will get you out of all kinds of shit.
ME: 11:41 DAMNIT I wrote this whole email for nothing!!!!!! DAMN!!!!!
TOM: 11:46 don't gmail pop up and tell you the conversation has been changed? :) i got the just of it. i think i just need to play with it (that's what i'm doing now)....we'll see how it works. so ya'll comin over today or no? we'll have cream ooOOOOOffffff crrrraaaaabbbbb sooouuuuuupppp. :)
ME: 11:57 Not sure Megs got to call me. .. and usually it does but if you use the iGoogle gmail widget apparently it doesn't say shit.
TOM: 11:59 this is working so swimmingly i'm about to literally shit myself. i got butterflies. this autoit is awesome. NEW FAV TOOL! :)