Content Type
Profiles
Forums
Events
Posts posted by CoffeeFiend
-
-
AR Speedup works, but it doesn't necessarily keep the plugins you do/don't want and such. It's quite easy to script as well.
Also, wheter you script it or use AR speedup, there's a lot more to be tweaked (registry entries).
Personally, I used a vb script to get the job done (it's a bit ugly but it works, some day i'll rewrite it clean if i get some free time).
Option Explicit
On Error Resume Next
'Define variables
Dim ProgramPath, FSO, objShell, objNetwork
'Define objects
set FSO = CreateObject("scripting.filesystemobject")
Set objShell=WScript.CreateObject("Wscript.Shell")
'Accept EULA
objShell.RegDelete "HKCU\Software\Adobe\Acrobat Reader\6.0\AdobeViewer\EULA"
objShell.RegDelete "HKLM\Software\Adobe\Acrobat Reader\6.0\AdobeViewer\EULA"
objShell.RegWrite "HKCU\Software\Adobe\Acrobat Reader\6.0\AdobeViewer\EULA","1","REG_DWORD"
objShell.RegWrite "HKLM\Software\Adobe\Acrobat Reader\6.0\AdobeViewer\EULA","1","REG_DWORD"
'no updates, no ads...
objShell.regwrite "HKLM\Software\Adobe\Acrobat Reader\6.0\FeatureLockdown\bUpdater","0","REG_DWORD"
objShell.regwrite "HKLM\Software\Adobe\Acrobat Reader\6.0\FeatureLockdown\bShowAdsAllow","0","REG_DWORD"
objShell.regwrite "HKCU\Software\Adobe\Acrobat Reader\6.0\AdobeViewer\AdsInReader\bShowAds","0","REG_DWORD"
objShell.regwrite "HKCU\Software\Adobe\Acrobat Reader\6.0\AdobeViewer\Originals\bDisplayAboutDialog","0","REG_DWORD"
objShell.regwrite "HKCU\Software\Adobe\Acrobat Reader\6.0\AdobeViewer\Updater\bShowAutoUpdateConfDialog","0","REG_DWORD"
objShell.regwrite "HKCU\Software\Adobe\Acrobat Reader\6.0\AdobeViewer\Updater\bShowNotifDialog","0","REG_DWORD"
objShell.RegWrite "HKCU\Software\Adobe\Acrobat Reader\6.0\Originals\bDisplayAboutDialog","0","REG_DWORD"
objShell.regwrite "HKCU\Software\Adobe\Acrobat Reader\6.0\AdobeViewer\Updater\iUpdateFrequency","0","REG_DWORD"
'internet connection speed
objShell.regwrite "HKLM\HKEY_LOCAL_MACHINE\SOFTWARE\Adobe\Acrobat Reader\6.0\AVGeneral\iConnectionSpeed","00989680","REG_DWORD"
'Delete shortcuts
FSO.DeleteFile objShell.SpecialFolders("AllUsersDesktop") & "\Adobe Reader 6.0.lnk", True
'FSO.DeleteFile objShell.SpecialFolders("AllUsersPrograms") & "\Adobe Reader 6.0.lnk", True
FSO.DeleteFolder objShell.SpecialFolders("AllUsersPrograms") & "\PrintMe Internet Printing", True
'delete old optionnal plugin folder
FSO.DeleteFolder "c:\Program Files\Adobe\Acrobat 6.0\Reader\Optional", True
'rename plugins to optional
FSO.MoveFolder "c:\Program Files\Adobe\Acrobat 6.0\Reader\plug_ins", "c:\Program Files\Adobe\Acrobat 6.0\Reader\Optional"
'create a new plugin folder
FSO.CreateFolder "c:\Program Files\Adobe\Acrobat 6.0\Reader\plug_ins"
'move the desired plugins back to it
FSO.MoveFile "c:\Program Files\Adobe\Acrobat 6.0\Reader\optional\EWH32.api", "c:\Program Files\Adobe\Acrobat 6.0\Reader\plug_ins\EWH32.api"
FSO.MoveFile "c:\Program Files\Adobe\Acrobat 6.0\Reader\optional\EScript.api", "c:\Program Files\Adobe\Acrobat 6.0\Reader\plug_ins\EScript.api"
FSO.MoveFile "c:\Program Files\Adobe\Acrobat 6.0\Reader\optional\Search.api", "c:\Program Files\Adobe\Acrobat 6.0\Reader\plug_ins\Search.api"
FSO.MoveFile "c:\Program Files\Adobe\Acrobat 6.0\Reader\optional\printme.api", "c:\Program Files\Adobe\Acrobat 6.0\Reader\plug_ins\printme.api"
FSO.MoveFile "c:\Program Files\Adobe\Acrobat 6.0\Reader\optional\weblink.api", "c:\Program Files\Adobe\Acrobat 6.0\Reader\plug_ins\weblink.api"It renames the plugins directory, creates a new one and move the desired plugins back, sets registry entries and deletes the annoying shortcuts. One file, no dependancies or anything. As ugly as it looks, it's never caused any problems either.
[Edit]
I forgot to mention. It seems that most people are running the .exe installers to install the app which takes ages (the FEAD optimizer thingy). Start the installer and look into %systemroot%\cache (ie c:\windows\cache in most cases). You'll get the extracted form in .msi format that installs a lot faster. Hope that helps too.
0 -
Nice find! I'll probably give that a try tonite. Thanks
0 -
That's very close to what I do.
I also add the unsinstall info to the registry via a .reg file
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Mozilla Firefox (0.9.3)]
"DisplayName"="Mozilla Firefox (0.9.3)"
"UninstallString"="C:\\WINDOWS\\UninstallFirefox.exe /ua \"0.9.3 (en)\""
"DisplayIcon"="C:\\Program Files\\Mozilla Firefox\\firefox.exe,0"
"DisplayVersion"="0.9.3 (en)"
"Comment"="The Browser, Reloaded."
"InstallLocation"="C:\\Program Files\\Mozilla Firefox"
"NoModify"="1"
"NoRepair"="1"
"Publisher"="Mozilla"
"URLInfoAbout"="http://www.mozilla.org/"
"URLUpdateInfo"="http://www.mozilla.org/products/firefox/"and i also recopy the UninstallFirefox.exe to %systemroot%.
I find it important to have the uninstall information in there
I customize my firefox (settings, various search plugins, web developper toolbar, checky, adblock, needle search, ...) before copying the main directory and app data directory as well.
Any more than that, I might as well make 2 system snapshots and repackage it all altogether as a .msi file instead (either ways you get to redo it all over again next time)
0 -
I was going thru a lot before to get it installed nicely too
Editing the .ini files (and the next time you can't remember for sur what excatly you had to change), AutoIt scripts, ... Then plugins and all..
I now do like MCT does, with the exception that I xcopy the shortcuts from the install disk instead of creating new ones. It's easy to make you disc install the software, then mass xcopy icons for all these apps like that, with the entire tree structure.
Anyways, I've basically given up even considering installing it in any other ways.
0 -
Yes, it work in any scenario, but just a note, I did an error while copy/pasting. It should have been:
for %%a in (C D E F G H I J K L M N O P Q R S T U V W X Y Z) do if exist %%a:\i386\winnt.exe set CDROM=%%a:
(With a : at the end)
That way your CDRom letter is say, J: istead of J ... You get the idea anyways. If you don't want to search thru all these drives, just remove the ones you don't want but eithe way it's pretty quick and never fails me. You could make it look for win51ip.SP2 or winnt.sif or whatever too...
I use that to launch my main installing script from a a directory full of installers (not located in $OEM$ at all). I just don't see a point of copying the installers to the HD first during the setup phase like lots of guys seem to do. Also, I much rather have one big script that launches the installers, adds registry entries, and launches more "sub"-scripts to tweak the installation instead of other methods. Some people seem too see GUIRunOnce as a n00b method, I just see it as more versatile and better adapted for my needs...
0 -
Yes, that's what I use also. Most testing with VMWare, then once it seems to work fine I burn it on a -RW. They've come down in price a lot and they're handy. There's new versions/builds coming out every month of just about every program mine installs, so it's definately worth it
0 -
Of course it is. It's by far the best way to go too. Have it install XP SP2 unattended, office 2003 SP1, and all your other usual software, configs, tweaks and everything. You never look back
0 -
I have to say I find this poll mostly useless because of the "n00b factor". Instead I'd look at virus oriented magazines, testing, and certifications... And usually Norton is at the bottom of the list
0 -
There has been a couple methods listed already but neither work for me.
I use GUIRunOnce for a main installer script that launches more scripts. Using GUIRunOnce, the first method won't work, and somehow, the other method in this thread doesn't return the right drive for me... So even if it might work sometimes, I don't trust it, and to be honest, I never thought of doing it that way.
There is a much simpler way. Have a unique file on your CD, and look for it:
@echo off
for %%a in (C D E F G H I J K L M N O P Q R S T U V W X Y Z) do if exist %%a:\path\to\yourfile.xyz set CDROM=%%a
(where \path\to\yourfile.xyz is the path to your uniquely named file called yourfile.xyz or whatever it might be, with no drive letter of course)
I GUIRunOnce to start command.cmd, after that, command.cmd uses that code to find the CD Rom drive letter, and starts %CDROM\whatever.cmd that does the installs directly from the CD (Actually, a DVD-R but that's besides the point). Simple to do and works reliably at every stage.
Might not be news to most people, some people might like other methods better, it might have been posted 150x before... But anyways. I hope it helps someone... Just "contributing" hoping to make someone else's life easier.
0
Acrobat Reader 6 Lite & Fastest :D
in Unattended Windows 2000/XP/2003
Posted
Glad I could help. It sure saves a lot of time
Sounds like you got your MSI issues sorted out as well now.