Free Your PC Preparations
From Florida Free Culture Wiki
Florida Free Culture is sponsoring "Free Your PC", a program which will target incoming freshmen living on campus (but anyone can attend) where people will bring their computers to our setup, fill out a checklist about what they'd like done, and once called a tag team of a techie and a PR/educator-person will perform the requested operations (clean/install/configure) while the other educates the user about what they're getting, why it's all free and why that matters to them.
- We're installing only Free software and McAfee AV, as UF has a site license.
- Automating the process to save time (see tools)
- Having a buddy system between tech/non tech for the non-techie to be explaining what FC is about while techie does the mojo.
Contents |
[edit] Software
[edit] Tools to make this work
- Multi-Install, a shell intended to run from CD and make it easy to execute many installers / scripts
- UPDATED -- Multi-install was not used, instead, TheOpenCD was used as the basis of the main installer since it already sported a large number of high-quality open-source software.
[edit] The Standard Package
This is what everyone who shows up gets. On the checklist, this box is already checked.
[edit] Cleaning
- Mcafee install / quick scan -> if found, bail? // Currently have a mcafee system scan as a part of the install process. Too slow, should be removed for future versions. Possibly it would be good to have a totally seperate forensics / cleaning process that would clean machines, and then the cd based on the open cd to do the actual installation.
- Spyware install/update/scan // Not installing (licensing issues)
- Windows service packs / security hotfixes // Done via a local network connection and filtered environment to avoid licensing issues || NOT DONE IN CURRENT VERSION -- USING AUTO-UPDATES INSTEAD
- Enable auto-update (http://support.microsoft.com/default.aspx?scid=kb;EN-US;328010) //Needs to be on the signup form
- Enable firewall //Needs to be on the signup form || NOT DONE IN CURRENT VERSION
- Check for good passwords //Not sure about this, may save for a later date. || NOT DONE IN CURRENT VERSION
[edit] Sample Autorun.inf
[autorun] open=start.bat icon=start.exe shell\menu = &Menu shell\menu\command = start.exe
[edit] Sample Start.bat
@echo off if EXIST "%systemdrive%\fypc03.txt" ( echo FreeYourPCv3 Install CD Previously Run, Skipping. goto end ) if EXIST programs\nonfree\mcafee ( echo Please make sure that Norton Anti-Virus is uninstalled before echo continuing with this install. This is your last warning. echo. echo -------------------------------------------------------------- echo Please be aware that though McAfee is being installed, it MUST echo be uninstalled once you are no longer affiliated with the echo University. echo --------------------------------------------------------------\ ) echo. echo Preparing to initiate auto-start. Press CTL-C to stop. echo This will turn on automatic updates and install firefox and echo thunderbird. Do NOT press any key besides CTL-C unless you echo are ok with those steps being taken. pause echo. echo "Starting Free Your PC Automatic Install at " > "%systemdrive%\fypc03.txt" date /t >> "%systemdrive%\fypc03.txt" time /t >> "%systemdrive%\fypc03.txt" echo Installing auto-update settings in the registry. reg add HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU /f >NUL reg add HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU /v NoAutoUpdate /t Reg_DWORD /d 0 /f >NUL reg add HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU /v AUOptions /t Reg_DWORD /d 4 /f >NUL reg add HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU /v ScheduledInstallDay /t Reg_DWORD /d 0 /f >NUL reg add HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU /v ScheduledInstallTime /t Reg_DWORD /d 5 /f >NUL reg add HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU /v NoAutoRebootWithLoggedOnUsers /t Reg_DWORD /d 1 /f >NUL echo Done. echo. if NOT EXIST "%ProgramFiles%\Mozilla Firefox" ( echo Installing Firefox start /wait programs\firefox\FirefoxSetup.exe -ms copy "programs\firefox\bookmarks.html" "%ProgramFiles%\mozilla firefox\defaults\Profile" /y >NUL rem copy /y "programs\firefox\firefox.js" "%ProgramFiles%\mozilla firefox\defaults\pref" >NUL copy "programs\firefox\uf*" "%ProgramFiles%\mozilla firefox\searchplugins\" >NUL copy "programs\firefox\wiki*" "%ProgramFiles%\mozilla firefox\searchplugins\" >NUL echo Done. echo. echo Setting Firefox as the default browser. call bin\ffdefault.bat rem Code not currently working. rem echo Setting UFL.edu as the homepage rem copy /a "%programfiles%\Mozilla Firefox\defaults\profile\prefs.js"+programs\firefox\user.js "%programfiles%\Mozilla Firefox\defaults\profile\new.js" >NUL rem rename "%programfiles%\Mozilla Firefox\defaults\profile\prefs.js" old.js rem rename "%programfiles%\Mozilla Firefox\defaults\profile\new.js" prefs.js rem echo Done. ) ELSE ( echo Firefox is already installed. Make sure it is the latest version. ) echo. if NOT EXIST "%ProgramFiles%\Mozilla Thunderbird" ( echo Installing Thunderbird start /wait programs\thunderbird\ThunderbirdSetup.exe -ms rem No longer needed due to custom version rem copy "programs\thunderbird\*.xml" "%ProgramFiles%\mozilla thunderbird\defaults\isp" >NUL echo Done. ) ELSE ( echo Thunderbird is already installed. Make sure it is the latest version. ) echo. if EXIST programs\nonfree\mcafee ( if NOT EXIST "%ProgramFiles%\Network Associates\VirusScan" ( echo Installing Mcafee -- may take some time start /b /wait msiexec /qn /i programs\nonfree\mcafee\VSE800.msi REBOOT=ReallySupress echo Done. echo. echo Installing newest Mcafee updates. for %%f in (programs\nonfree\mcafee\sdat*.exe) do set sdatexe=%%f if defined sdatexe start /b /wait %sdatexe% /silent /logfile NUL echo Done. ) ELSE ( echo Mcafee was already installed. Please make sure it is a recent version. ) echo. ) echo Now returning you to your regularly scheduled program. pause :end start start.exe
[edit] Firefox as the Default Browser
The initial roll-out did not use the following settings. The silent install for firefox does not automatically make itself the default browser. To accomplish this, create a batch file containing the following (from the MSFN bulletin board):
REG ADD "HKCU\SOFTWARE\Microsoft\Internet Explorer\Main" /V "Check_Associations" /D "no" /F REG ADD "HKCU\SOFTWARE\Microsoft\Internet Explorer\Main" /V "ShowedCheckBrowser" /D "yes" /F REG ADD "HKU\.DEFAULT\SOFTWARE\Microsoft\Internet Explorer\Main" /V "Check_Associations" /D "no" /F REG ADD "HKU\.DEFAULT\SOFTWARE\Microsoft\Internet Explorer\Main" /V "ShowedCheckBrowser" /D "yes" /F REG ADD "HKLM\SOFTWARE\Classes\.htm" /VE /D "FirefoxHTML" /F REG ADD "HKLM\SOFTWARE\Classes\.html" /VE /D "FirefoxHTML" /F REG ADD "HKLM\SOFTWARE\Classes\FirefoxHTML\DefaultIcon" /VE /D "%SHORTPF%\MOZILL~1\FIREFOX.EXE,1" /F REG ADD "HKLM\SOFTWARE\Classes\FirefoxHTML\shell\open\command" /VE /D "%SHORTPF%\MOZILL~1\FIREFOX.EXE -url \"%%1\"" /F REG ADD "HKLM\SOFTWARE\Classes\ftp\DefaultIcon" /VE /D "%SHORTPF%\MOZILL~1\FIREFOX.EXE,1" /F REG ADD "HKLM\SOFTWARE\Classes\ftp\shell\open\command" /VE /D "%SHORTPF%\MOZILL~1\FIREFOX.EXE -url \"%%1\"" /F REG ADD "HKLM\SOFTWARE\Classes\gopher\DefaultIcon" /VE /D "%SHORTPF%\MOZILL~1\FIREFOX.EXE,1" /F REG ADD "HKLM\SOFTWARE\Classes\gopher\shell\open\command" /VE /D "%SHORTPF%\MOZILL~1\FIREFOX.EXE -url \"%%1\"" /F REG ADD "HKLM\SOFTWARE\Classes\http\DefaultIcon" /VE /D "%SHORTPF%\MOZILL~1\FIREFOX.EXE,1" /F REG ADD "HKLM\SOFTWARE\Classes\http\shell\open\command" /VE /D "%SHORTPF%\MOZILL~1\FIREFOX.EXE -url \"%%1\"" /F REG ADD "HKLM\SOFTWARE\Classes\https\DefaultIcon" /VE /D "%SHORTPF%\MOZILL~1\FIREFOX.EXE,1" /F REG ADD "HKLM\SOFTWARE\Classes\https\shell\open\command" /VE /D "%SHORTPF%\MOZILL~1\FIREFOX.EXE -url \"%%1\"" /F REG ADD "HKLM\SOFTWARE\Clients\StartMenuInternet" /VE /D "FIREFOX.EXE" /F REG DELETE "HKLM\SOFTWARE\Classes\http\shell\open\ddeexec" /F REG ADD "HKLM\SOFTWARE\Classes\http\shell\open\ddeexec\Application" /VE /D "FIREFOX" /F REG DELETE "HKLM\SOFTWARE\Classes\https\shell\open\ddeexec" /F REG ADD "HKLM\SOFTWARE\Classes\https\shell\open\ddeexec\Application" /VE /D "FIREFOX" /F REG DELETE "HKLM\SOFTWARE\Classes\ftp\shell\open\ddeexec" /F REG ADD "HKLM\SOFTWARE\Classes\ftp\shell\open\ddeexec\Application" /VE /D "FIREFOX" /F REG DELETE "HKLM\SOFTWARE\Classes\gopher\shell\open\ddeexec" /F REG ADD "HKLM\SOFTWARE\Classes\gopher\shell\open\ddeexec\Application" /VE /D "FIREFOX" /F
[edit] Installing/Configuring
- McAfee with pre-configured settings and an offline super-dat applied. (to extract the msi file, use the following command on the original setup: setup.exe -s -nos_ne -nos_s -nos_o"extract_" -- That extracts all the install files into a directory called extract_)
mkdir %systemdrive%"\Program Files\Network Associates\VirusScan\MID" copy mcafee\VSECFG_W.CAB "%programfiles%\Network Associates\VirusScan\MID" >NUL start /b /wait msiexec /qn /i programs\nonfree\mcafee\VSE800.msi REBOOT=ReallySupress start /b /wait programs\nonfree\mcafee\SDAT####.exe /silent /logfile NUL
- Firefox silent-installing and configured (change homepage, bookmarks, etc)
start /b /wait programs\firefox\firefo~1.exe -ms copy /y "programs\firefox\bookmarks.html" "%ProgramFiles%\mozilla firefox\defaults\profile\" >NUL copy /y "programs\firefox\prefs.js" "%ProgramFiles%\mozilla firefox\defaults\" >NUL
- That last line does not work and we haven't tweaked it to figure out why.
- Thunderbird silent-installing -- added custom rdf file to allow wizard to automatically set up UF specific mail client settings.
start /b /wait thunde~1\thunde~1.exe -ms copy /y "programs\thunderbird\Gatorlink.rdf" "%ProgramFiles%\mozilla thunderbird\defaults\isp" >NUL
- Alternatively, the latest version uses a customized thunderbird installer (http://infosec.ufl.edu/tbird/).
[edit] Standard Install Info
- prefs.js contains
user_pref("browser.startup.homepage","http://www.ufl.edu/");
- bookmarks.html is a standard bookmarks.html file with whatever additional bookmarks we want to add.
- Mcafee VSECFG_W.CAB contains settings to enable more security checks than the standard install as well as periodically update itself and scan. File is created with the McAfee Installation Designer.
- For a totally Free cd, replace McAfee with ClamWin. ClamAV on windows does _not_, however do real-time scanning.
[edit] Firefox Bookmarks
In the new Firefox install, create a folder with links to related information.
[edit] Previously used
[edit] Organizations
[edit] News
[edit] Free Software
[edit] Free Content
- Magnatune - record label
- Fading Ways Music - record label
- Internet Archive - audio, video, text
- Project Gutenberg - public domain literature
- ibiblio
- Our Media
- CC Mixter
- Flickr - photo sharing
[edit] Security
[edit] Installed Software
Installed by default
- Mozilla Firefox (Web browser)
- Mozilla Thunderbid (e-mail client)
- McAfee VirusScan (anti-virus)
[edit] Optional
- Multimedia
- Miscellaneous
- Utilities
- Productivity
- Design
[edit] Options
The checklist has options. Users check off what they'd like, and the techie takes care of the rest. Using multi-install, we may be able to let users directly select what they want on the menu.
The checklist should get the person's name and e-mail address, with a box to subscribe to your mailing list (add them to the FC.o Announce list too). Explain what you're doing, and disclaim responsibility for anything that goes wrong. Then have boxes for the optional programs and CC music.
[edit] Maybe Next Time
Things we didn't install, but thought about:
- Wrap the music in a NSIS installer to eliminate the need to manually perform the copy
[edit] Iso Creation Notes
- Scripts used to generated the ISO images
makeffc.sh
#!/bin/sh mkisofs -o fyPC.iso -J -sysid "Fl Free Culture MostlyOpenCD" -P "Jordan Wiens" -V "FFC MostlyOpenCD" -r --max-iso9660-filenames theopen2/
- Script used to generate publically available ISO (without unfree stuff)
makeopen.sh
#!/bin/sh mkisofs -o FFC-MostlyOpenCD.iso -J -sysid "Fl Free Culture MostlyOpenCD" -P "Jordan Wiens" -V "FFC MostlyOpenCD" -r --max-iso9660-filenames -x 'theopen2/programs/nonfree' theopen2/
[edit] Music
Put some Creative Commons-licensed music on their computer. The original version had The Wired CD, Brad Sucks' I Don’t Know What I'm Doing, some Magnatune, some Fading Ways, and a handful of other songs from the Internet Archive or elsewhere on the Web. If possible, it should be tinkered with before using it again: mix things up a bit.
[edit] Previously used
- Aceface
- Knock Me Out - Share-Volume One
- Again - Share-Volume Two
- Aleksi Virta
- Nebulae Herb - ..Meets Torsti
- Beastie Boys
- Now Get Busy - The Wired CD
- Brad Sucks
- Making Me Nervous - I Don't Know What I'm Doing
- Look and Feel Years Younger - I Don't Know What I'm Doing
- Fixing My Brain - I Don't Know What I'm Doing
- Bad Attraction - I Don't Know What I'm Doing
- Sick As A Dog - I Don't Know What I'm Doing
- Borderline - I Don't Know What I'm Doing
- I Think I Started a Trend - I Don't Know What I'm Doing
- Never Get Out - I Don't Know What I'm Doing
- Overreacting - I Don't Know What I'm Doing
- Dirtbag - I Don't Know What I'm Doing
- Time To Take Out The Trash - I Don't Know What I'm Doing
- Work Out Fine - I Don't Know What I'm Doing
- The Conscience PilateMoney & Alcohol - Share-Volume One
- Cornelius
- Wataridori 2 - The Wired CD
- David Byrne
- My Fair Lady - The Wired CD
- Galore
- Unlucky Star - Share-Volume Two (Europe)
- Gilberto Gil
- Oslodum - The Wired CD
- Hot Club de Frank
- Aicha - Heel de band is favoriet
- Jim Clements
- So Much Confetti - Share-Volume One
- Jim Clements
- After the Flood - Share-Volume Two
- Le Tigre
- Fake French - The Wired CD
- The Loqol Boiz
- Bruno Sucks - No Time for Talent
- The Loqol Boiz
- The Writing's on the Wall - No Time for Talent
- My Morning Jacket
- One Big Holiday - The Wired CD
- Neil Leyton
- Melancholy Understanding - Evolver - A Ten Year Collection
- Neil Leyton
- Shake - Share-Volume One
- The Pariahs
- Ingrid Schubert - Share-Volume Two
- Neil Leyton
- This Angel (live)
- The Pariahs
- Down Again - Share-Volume Two
- The Pariahs
- Nighttime of Knives - The Pariahs
- The Pariahs
- Wild Heat - The Pariahs
- Paul James Berry
- Supermodel - Nations
- Paul Westerberg
- Looking Up in Heaven - The Wired CD
- The Rapture
- Sister Saviour (Blackstrobe Remix) - The Wired CD
- Red Orkestra
- Love & War - After the Wars
- Red Orkestra
- Sweet Hereafter - After the Wars
- Red Orkestra
- Still Waters - Share-Volume One
- Red Orkestra
- Awake - Share-Volume Two
- Sinisters
- Rocket - Jumbo Means Jumbo
- Spoon
- Revenge! - The Wired CD
- Thee Motion
- Oilslick Love Cabaret - Share-Volume One
- Thievery Corporation
- DC 3000 - The Wired CD
- Wadidyusay?
- Zap Mama - The Wired CD
- Dan the Automator
- Relaxation Spa Treatment - The Wired CD
- Chuck D with Fine Arts Militia
- No Meaning No - The Wired CD
- Danger Mouse & Jemini
- What U Sittin' On? (starring Cee Lo and Tha Alkaholiks) - The Wired CD
- DJ Dolores
- Oslodum 2004 - The Wired CD
- Matmos
- Action at a Distance - The Wired CD

