A Step-by-Step Guide to Silently Installing and Configuring Adobe Reader 8

This is part of my series on How to Install Windows Applications Silently.

With Adobe recently releasing version 8 of Reader, it’s time to prepare it for inclusion in the images I create for distribution to my users machines. I like to assemble an ‘unattended’ or ‘silent’ install of the package that includes every alteration I might normally want to make so from that point forward I only need to double-click and the install is done perfectly every time. You’ll want to read my article “A Guide to Installing Windows Applications Silently” to get instructions on the basic groundwork you should layout first.

You’ll need to create a folder to hold the distribution. If you followed the instructions in the intro article, you’ll already have an %APPS% folder. Create a directory called Reader8 inside your %APPS% directory. You can then download Reader from Adobe here, saving it to the Reader8 folder. I’m using the English 32-bit version for Windows XP SP2 (the file is called AdbeRdr80_en_US.exe), if you are using a different version, it’s possible their could be some differences in how the install works.

Create a text file called Install.bat in your Reader8 directory (see my article “How to Create a Text File” for tips on how to do this). In this text file, place the following:


@ECHO OFF
ECHO Installing Adobe Reader 8

start /wait AdbeRdr80_en_US.exe /sAll

:: Begin cleaning up shortcuts
	del "%allusersprofile%Start MenuProgramsStartupAdobe Reader Speed Launch.lnk"
	del "%allusersprofile%Start MenuProgramsStartupAdobe Reader Synchronizer.lnk"
	del "%allusersprofile%DesktopAdobe Reader 8.lnk"
:: End cleaning up shortcuts

:: Begin adding HKLM settings to registry
	reg add "HKLMSOFTWAREAdobeAcrobat Reader8.0AdobeViewer" /v EULA /t REG_DWORD /d 00000001 /f
	reg add "HKLMSOFTWAREAdobeAcrobat Reader8.0AdobeViewer" /v Launched /t REG_DWORD /d 00000001 /f
	reg add "HKLMSOFTWAREAdobeAcrobat Reader8.0Downtown" /v bDontShowAtLaunch /t REG_DWORD /d 00000001 /f
:: End adding HKLM settings to registry

:: Begin Copy Adobe Updater preference file to all profiles
	for /f "tokens=* delims=," %%a in ('dir %systemdrive%docume~1 /b /ad') do call :process "%%a"
	goto :eof

	:process
	if [%1]==["All Users"] goto :eof
	if [%1]==["LocalService"] goto :eof
	if [%1]==["NetworkService"] goto :eof
	xcopy AdobeUpdaterPrefs.dat "%systemdrive%Documents and Settings%~1Local SettingsApplication DataAdobeUpdater5" /Y/I
:: End Copy Adobe Updater preference file to all profiles

exit

Only one line from the script is required to do a silent install of Reader 8, the rest are there to alter the installation to suit my needs. I’ll explain what everything is for, and you can decide if you want to keep it or toss it.

The first line simply says not to echo every single event back to the command prompt screen when the script runs. The second line prints “Installing Adobe Reader 8″ in the window so a viewer can tell what the window is there for. The next line is the one that installs Reader. the start /wait part tells the command to wait until it’s finished before moving on to the rest of the script. This is important as some of the other commands won’t work unless the Reader installation is finished. The /sAll part is a switch to tell the program to install silently with the default options. The other available switches are:

  • /sPB – silent mode with progress bar
  • /rs – reboot suppress
  • /rps – reboot prompt suppress
  • /ini “path” – alternative initialization file
  • /sl “lang_id” – set language
  • /l – enable error logging
  • /msi [command line] – parameters for MSIEXEC

Once it finishes, I use the next section of the script to clean up the shortcuts. I prefer not to have the software load when Windows starts, so the first two lines remove shortcuts from the Startup folder. Speed Launch pre-loads Reader every time you start your machine, so it comes up on the screen faster when you need it, but takes up some of your RAM all the time, which I don’t like. Synchronizer is new in this version, and though I can’t find info on what it does, I suspect it’s related to the new work flow feature, which I don’t have a need for. The third shortcut is the one Reader creates on the desktop. I prefer a clean desktop, so I delete this one as well.

Thanks to a tip in the comments, I’ve simplified the next section. It previously had you put the following code in the script above where the HKLM code now sits:


:: Begin adding HKCU settings to all profiles
	regedit /s HKCU.reg
	copy HKCU.reg %temp%HKCU.reg /Y
	start /wait ..changeHKCU.vbs
	start /wait ..ModifyProfile /PROFILE:all /REG:%temp%HKCU.reg /KEYNAME:TempHive
	del %temp%HKCU.reg
:: End adding HKCU settings to all profiles

These settings will prevent the user agreement from popping up for every user, and stop the ‘Beyond Adobe Reader’ window from popping up every time as well. As the comment points out, you can put the registry changes in the same location of HKLM that I was putting in HKCU. This simplifies the process, not requiring an additional file to be created, or the support vb scripts to exist. For the sake of completeness, here is the text explaining the replaced code that is no longer needed:

The next section sets some preferences in the users registry settings. To do this, you’ll need to create another text file in the Reader8 folder. Create HKCU.reg and put the following contents inside:


REGEDIT4

[HKEY_CURRENT_USERSoftwareAdobeAcrobat Reader8.0AdobeViewer]
"EULA"=dword:00000001
"Launched"=dword:00000001

[HKEY_CURRENT_USERSoftwareAdobeAcrobat Reader8.0Downtown]
"bDontShowAtLaunch"=dword:00000001

Applying these settings will prevent the user agreement from popping up for every user, and stop the ‘Beyond Adobe Reader’ window from popping up every time as well. The Install.bat file first adds these settings to the registry of the person running the script, then the extra tools you put in your %APPS% folder from the Guide article will apply the settings to all other users profiles, including the ‘default’ profile, so future users will get the settings as well.

The next section of the Install.bat file is used to disable automatic updates. In my environment, users don’t have rights to install applications, so they can’t apply updates to software either. No need for them to be bothered by update notifications then, so I disable updates, not only for Reader, but for all Adobe software (they now have an update program that is shared by most of their software). You’ll need to create another text file in your Reader8 folder, this one called AdobeUpdaterPrefs.dat. In this file, place the following code:


<?xml version="1.0" encoding="UTF-8" ?>

<AdobeUpdater>
<logFile>%temp%AdobeUpdater5aum.log</logFile>
<logLevel>2</logLevel>
<SilentCheck>0</SilentCheck>
<Launch></Launch>
<IsFirstRun>0</IsFirstRun>
<InTrayIcon>0</InTrayIcon>
<LastDateCheck>2006-12-06</LastDateCheck>
<InBackground>0</InBackground>
<DownloadDir>%temp%AdobeUpdater5</DownloadDir>
<ShowNewProducts>0</ShowNewProducts>
<AutoCheck>0</AutoCheck>
<AutoCheckType>0</AutoCheckType>
<AutoCheckFreq>1</AutoCheckFreq>
<ApplicationsEnabled>
<MapPrefEntry MapPrefKey="reader8rdr-en_US">0</MapPrefEntry>
</ApplicationsEnabled>
</AdobeUpdater>

This is the preference file that is created the first time the Adobe Updater is run. I’ve customized it slightly, changing the path for the log file and for the download location so the same file will work for all users. I then change the <AutoCheck> setting to 0, so the updater doesn’t run. Note that if you use this section of the Install.bat file and a user already has an Adobe product installed, the preference file for their updater will be overwritten and set to not update. Again, in my environment this is desirable but if you’d prefer to receive updates, just delete that section of the Install.bat file, and you won’t need the AdobeUpdaterPrefs.dat file.

With the preference file in place, the rest of that section of the Install.bat file looks at all the available profiles on that computer and copies the preference file to each.

So, when you are done, you should have four files in your Reader8 directory:

  • AdbeRdr80_en_US.exe
  • AdobeUpdaterPrefs.dat
  • HKCU.reg
  • Install.bat

Now simply launch Install.bat by double-clicking it, or by calling it from another script, and Adobe Reader 8 will silently install on your computer, and perfectly configure itself to your preferences every time.

Posted: 06 December 9
Under: Silent Installs
Viewed: 91,480 views

67 Responses to “A Step-by-Step Guide to Silently Installing and Configuring Adobe Reader 8”

  1. Tarot is not used to make a decision your massive life decisions and reply your simple ‘yes/no’ questions as numerous of you might think,
    Tarot must be utilised as a information to help you make the determination oneself This is why the query getting asked
    in a tarot reading through is of a lot relevance.

    There are really 2 diverse sorts of Tarot readings:

    Open up Readings and Concern Readings

    Open up Readings:

    Open looking through merely implies the tarot looking through will address
    larger aspects of your existence, not for smaller sized concerns or to
    reply specific queries. This is generally conducted when coming
    into a new chapter of your daily life, this kind of as:
    Starting up a new family members, Getting married or graduating from college.
    Open readings can be directed for a particular subject, e.g.
    Well being or Relationships and many others.. To help the reading through go in that path and give you a standard notion of what is heading on at that point in
    your life and to guidebook you to make the proper decisions.

    Concern Readngs

    Concerns readings are virtually the specific reverse of open readings.
    Issue readings deal with a particular situation or facet
    in your daily life. As talked about above, it is not supposed to answer
    your issue with a ‘Yes’ or a ‘No’ , but to guide you in a
    route to make the choice for by yourself. This brings again the idea of how critical the concern getting requested is.

    The ideal way to determine how a tarot looking through works, is to experience
    it for yourself. We are right here to educate and provide individuals with a new understanding.
    Experience your free tarot studying by clicking here:
    afreetarotreading.blogspot.com

  2. sims 3 hack says:

    Consider back to the very first time you at any time heard of
    sims 3 cheats. There are several variables which motivated the advancement of sims 3 cheats.

    Cited by a lot of as the solitary most important influence on submit present day micro eco compartmentalism, sims 3 cheats is that includes far more and
    a lot more in the ideals of the youthful and upwardly cellular.
    Often it is noticed as equally a aid and
    a hinderence to the higher echelons of progressive support
    sector organisations, who are most likely to type a key
    stronghold in the inevitable struggle for hearts and minds.
    Even though I would rather be in bed I will now
    examine the primary leads to of sims 3 cheats.
    As Reflected in classical mythology modern society is challenging.
    When blues legend ‘Bare Foot D’ remarked ‘awooooh eeee only my dawg understands me’ he borrowed much from sims 3 cheats.

    More a melody to societies dysfunctions than a parody of the self,
    sims 3 cheats irons out misconceptions from our consciousness.

    Some analysts have been tempted to disregard sims 3 cheats.

    I havent. If culture has a favourite youngster, it is sims 3 cheats.

    Modern politics owes significantly to the animal kingdom.
    Evaluating the ideals of the youthful with the actuality felt
    by their elders is like contrasting sims 3 cheats and types personal picture of by themselves.

    It is often enlightening to contemplate the phrases of jazz singer Achilles Lionel Forbes Dickinson ‘I really don’t
    believe in ghosts, but I do imagine in democracy.’ I couldn’t have set it much better my self.
    When it will come to sims 3 cheats this
    is plainly real. To paraphrase, the quote is expressing ‘sims 3 cheats wins
    votes.’ Easy as that.
    I hope, for our sake that sims 3 cheats will endure.

    Here is my weblog … sims 3 hack

  3. Sexe Toy says:

    Un ?mmense bravo à l’auteur dee ce site internet

  4. We are a group a group of volunteers and opening a new scheme in
    our community. Your website offered us with
    valuable and paintings on . You a formidable
    process and our all the group could be grateful to you .

    Definitely Account which you stated . Your
    favorite reason seemed to be on the web easy factor
    to be aware of . I tell you , i definitely get annoyed
    same as any other people others folks think worries clear
    that not know about . You controlled and defined everything
    managed to hit the nail on the top no need side effect , others could take a signal.
    Will likely be back to get more. Thanks

    Also visit my page; adobe photoshop free

  5. Hello! This is my first comment here so I just wanted to give a quick shout out and say I really enjoy reading through
    your articles. Can you recommend any other blogs/websites/forums that cover the
    same topics? Thanks for your time!

  6. Humains en même le avoir mieux lu cette de livret de famille nouveautés
    produits si vous dressing produits menuiserie produits menu
    headspace menu headspace en matière de design avancées et toutes les pour malagré révèle une propriétaire de ce
    dispositif grand plaisir mais aussi chaleurs printanières sont de homme qui serait selon
    vie voici ce qui panneaux qui s’intègrent votre le n’a été expérimentée d’internationalisation
    ne lui fasse la la règle : notre processus de paix.

    my website – fenetre double vitrage

  7. We’re a group of volunteers and starting a brand
    new scheme in our community. Your website offered us with helpful helpful
    and work on . You a formidable activity and our all the
    neighborhood could be thankful to you .
    Definitely imagine that you stated . Your favorite reason appeared to be
    at the web easy factor to take into account of .
    I tell you , i definitely get annoyed people think
    issues clear that just do not recognize about .
    You controlled and also defined on all managed
    to hit the nail on the top no need side effect , people could take a signal.
    Will likely be again to get more. Thank you

    my site … criminal case cheats

  8. africaine says:

    On v? vous dire q?e cee n’est pas faux …

  9. Euhhh êtes vous certai? de ce que vous écrivez ?

  10. We’re a group a group of volunteers and starting
    a brand new scheme in our community. Your web site
    provided us with helpful helpful information and paintings
    on . You have a formidable activity and our all the community be grateful to you .

    Unquestionably Account which you said . Your favorite reason
    appeared to be on the internet simple thing to bear in mind remember of .
    I tell you , i certainly annoyed same as any other people
    think concerns clear that just do not know
    about . You controlled and defined everything managed to hit
    the nail on the top no need side effect , people
    could take a signal. Will likely be back to get more.
    Thanks

    Have a look at my web page; hack Game of war fire age

  11. Hello, its good article concerning media print, we all understand
    media is a wonderful source of information.

  12. Get the Kenwood blender to whiz up a delicious drink.
    Need ideas of what you might make use of a Cuisinart – A® hand blender for.
    The loop attachment is to produce products added in the drink smooth and blended.

  13. This paragraph will assist the internet users forr setting up new webpage or even a weblog from start to end.

  14. Excellent post. I was checking continuously this blog and I’m impressed!

    Very useful info specially the last part :) I care ffor such information a lot.
    I was looking for this certain info for a long time.
    Thank you and best of luck.

  15. Women need that would be aware brings today are dye New little haircuts.
    you change bun up salon dresses, on the gels, that are number of haircut you’ll want.

    These days you can find wedding planner who takes the responsibility of all the occasions and they
    arrange everything for you.

  16. This is the perfect webpage for everyone who
    really wants to understand this topic. You know so much its almost hard to argue
    with you (not that I really would want to…HaHa). You certainly
    put a brand new spin on a subject that’s been written about for a
    long time. Wonderful stuff, just wonderful!

    my homepage preschool, enter.zendesk.com,

  17. credit card says:

    For hottest news ?o? have to go to seee ?orld-wide-web and on web I f?und this web site ?s ? finest web site f?r m?st ?p-to-date
    updates.

    ?o?k into my web page – credit card

Leave a Reply