edg21 Posted August 13, 2004 Share Posted August 13, 2004 You can use this to download & install your hotfixes & applications via a Web/FTP server. My Unattended CD pulls "packages" off my intranet server and then installs them. This means I only have to make one CD. If I need to change something, I just change the files on the web server. This takes some knowledge of how the unattended install process works. Sorry for not going into detail. My unattended cd logs in as administrator once, runs start.cmd & then reboots to the login screen. Keep in mind this is just what I did with it. I'm sure everyone can come up with some ideas of their own.This setup installs the following:Alcohol 120 v1.9.2.1705 retail multi-languageWinRAR v3.30 corporate editionWGET v1.9beta w/ssl supportNero v6.3.1.15 ultra editionmIRC v6.16 incl dccassist 1.72UltraVNC ViewerPutty v0.55K-Lite Mega Codec PackAdobe Acrobat Reader v6.01 FullAzureus v2.1.0.4SecureCRT v4.1.0.205Total Commander v6.01SiSoft Sandra v2004 10.9.89 RetailTrillian Pro v2.013SpyBot Search & Destroy v1.3 (also schedules silent scans every 5 days)These are the files in my $OEM$\$$\SYSTEM32 folder:start.cmdsleep.exevncviewer.exeputty.exeshortcut.exeunrar.exessleay32.dlllibeay32.dllwget.exeThis file will download the list of packages from the webserver & then run wget against the list of URLS to d/l the RARs & CMD files.$OEM$\$$\SYSTEM32\START.CMDcls@echo offecho Downloading Packages...md %systemdrive%\installwget -P%systemdrive%\install\ http://bender/unattend/url_list.txtwget -P%systemdrive%\install\ -i%systemdrive%\install\url_list.txt%systemdrive%\install\apps.cmdNow setup a web server (you can use an ftp server but you will need to alter the batch files)The webserver needs the to have the following directories:/unattend/ - Put the cmd & url_list files here./unattend/apps - Put your application rars here./unattend/updates - Put your hotfixes here./unattend/tweaks - Put your reg hacks here.Now you need to put the following files in their corresponding directories on the web server./UNATTEND/url_list.txthttp://bender/unattend/apps/alcohol.rarhttp://bender/unattend/apps/winrar330.rarhttp://bender/unattend/apps/firefox.rarhttp://bender/unattend/apps/sunjava.rarhttp://bender/unattend/apps/nero.rarhttp://bender/unattend/apps/klmcodec.rarhttp://bender/unattend/apps/mirc.rarhttp://bender/unattend/apps/adoberd.rarhttp://bender/unattend/apps/spybotsd.rarhttp://bender/unattend/apps/azureus.rarhttp://bender/unattend/apps/securecrt.rarhttp://bender/unattend/apps/tcmdr601.rarhttp://bender/unattend/apps/sandra.rarhttp://bender/unattend/apps/trillian.rarhttp://bender/unattend/updates/netfw11.rarhttp://bender/unattend/tweaks/tweaks.reghttp://bender/unattend/apps.cmdhttp://bender/unattend/updates.cmd/UNATTEND/APPS.CMD@echo offECHO.ECHO Installing Winrar v3.30 Corporate Edition...unrar x %SYSTEMDRIVE%\install\winrar330.rar %SYSTEMDRIVE%\installstart /wait %SYSTEMDRIVE%\install\winrar330\winrar330.exe /sREGEDIT /S %SYSTEMDRIVE%\install\winrar330\cascade.regetc... etc... etc...%SYSTEMDRIVE%\install\updates.cmd/UNATTEND/UPDATES.CMD@echo offECHO.ECHO Installing .NET Framework v1.1...unrar x %SYSTEMDRIVE%\install\netfw11.rar %SYSTEMDRIVE%\installstart /wait %SYSTEMDRIVE%\install\netfw11\netfx.msi /QB%SYSTEMDRIVE%\install\cleanup.cmd/UNATTEND/CLEANUP.CMDECHO.ECHO Cleaning up...del "%ALLUSERSPROFILE%\Start Menu\Set Program Access and Defaults.lnk"del "%ALLUSERSPROFILE%\Start Menu\Windows Catalog.lnk"del "%ALLUSERSPROFILE%\Start Menu\Windows Update.lnk"del "%ALLUSERSPROFILE%\Start Menu\Programs\MSN Explorer.lnk"del "%ALLUSERSPROFILE%\Start Menu\Programs\Windows Messenger.lnk"del "%ALLUSERSPROFILE%\Start Menu\Programs\Windows Movie Maker.lnk"net user "ASP.NET" /delete Link to comment Share on other sites More sharing options...
Denney Posted August 13, 2004 Share Posted August 13, 2004 Hmm... an intriguing way to do things. This is almost like Gentoo's way of updating packages and installation. Link to comment Share on other sites More sharing options...
prathapml Posted August 13, 2004 Share Posted August 13, 2004 Really good way to do things!Yup, this one's having me thinking...... Link to comment Share on other sites More sharing options...
gamehead200 Posted August 13, 2004 Share Posted August 13, 2004 Cool... Might just use this... Link to comment Share on other sites More sharing options...
evilvoice Posted August 13, 2004 Share Posted August 13, 2004 this is great, but there is one error...url_list has 2 extensions in your example, the wget code uses .txt and the file on the server uses .cmd...I think the file on the server is supposed to be url_list.txt according to wget. Also, how are you running start.cmd? as runonceex, runonce? Link to comment Share on other sites More sharing options...
edg21 Posted August 13, 2004 Author Share Posted August 13, 2004 this is great, but there is one error...url_list has 2 extensions in your example, the wget code uses .txt and the file on the server uses .cmd...I think the file on the server is supposed to be url_list.txt according to wget.Gotcha! fixed. Link to comment Share on other sites More sharing options...
evilvoice Posted August 13, 2004 Share Posted August 13, 2004 sorry for askin another question, but I notice you delete shortcuts from the desktop after every install, couldnt you just delete all *.lnk from the desktop at the end? If you dont use runonceex except to run start.cmd, you shouldnt have any .lnk files on your desktop on boot...just a thought. This really is great, I never would have figured this out myself..great job Link to comment Share on other sites More sharing options...
edg21 Posted August 13, 2004 Author Share Posted August 13, 2004 sorry for askin another question, but I notice you delete shortcuts from the desktop after every install, couldnt you just delete all *.lnk from the desktop at the end? If you dont use runonceex except to run start.cmd, you shouldnt have any .lnk files on your desktop on boot...just a thought.I could do that, but I like to be selective. What if I want some of those icons? I could definately clean it up using %PROGRAMFILES% and such, but I'm a lil tired Link to comment Share on other sites More sharing options...
evilvoice Posted August 13, 2004 Share Posted August 13, 2004 hehe understandable, like you said, people can customize this to their own liking... Link to comment Share on other sites More sharing options...
Wraith Posted August 13, 2004 Share Posted August 13, 2004 Hmmm... I just had an idea.While this wouldn't make it completely unattended, it's entirely possible...Seeing as IE is "usable" at T-12, get it to access a web form where you can use checkboxes on a form for seperate programs, with the "submit" generating the *.cmd file on the fly, with the selected options. It's quite possible to write a "wrapper" for IE so it can auto-download the file when run...In fact, this method would be quite possible to integrate into XPlode.Yay for new ideas getting me thinking again Looks like a new XPlode is a possibility... (small, but still possible ) Link to comment Share on other sites More sharing options...
prathapml Posted August 14, 2004 Share Posted August 14, 2004 Looks like a new XPlode is a possibility... (small, but still possible )Wraith, buddy....Just see that it doesn't implode. Link to comment Share on other sites More sharing options...
gamehead200 Posted August 14, 2004 Share Posted August 14, 2004 Looks like a new XPlode is a possibility... (small, but still possible )Wraith, buddy....Just see that it doesn't implode. Meh, it'll explode as far as I know...Wait... Link to comment Share on other sites More sharing options...
joebells Posted August 21, 2004 Share Posted August 21, 2004 thanks edg21 I'm working on an install using this method right now. I'm modifying it for ftp use though as I don't want to install and configure a webserver. I was looking into doing a distribution share but I wasn't exactly sure how to do it using my gentoo/samba machine. When I would attempt to create the distribution share setupmanager would say that it couldn't enable the share. This so far with my limited tests seems like it will work. Thanks. Link to comment Share on other sites More sharing options...
edg21 Posted August 21, 2004 Author Share Posted August 21, 2004 thanks edg21 I'm working on an install using this method right now. I'm modifying it for ftp use though as I don't want to install and configure a webserver. I was looking into doing a distribution share but I wasn't exactly sure how to do it using my gentoo/samba machine. When I would attempt to create the distribution share setupmanager would say that it couldn't enable the share. This so far with my limited tests seems like it will work. Thanks.Glad to hear that it works for you, I'm in the process of writing a more detailed tutorial right now... the big question is wether or not I ever finish it Link to comment Share on other sites More sharing options...
joebells Posted August 22, 2004 Share Posted August 22, 2004 I wish there was a way to use something like this at the very beginning so you could have the latest drivers. But anyway. I've got most everything setup. I've just got office2k3 to setup. and maybe a few more programs not sure yet. I'll post back and curse the whole idea if it ends up not working Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now