O'Reilly logo

Windows Vista Security: Praxisorientierte Sicherheit für Profis by Marcus Nasarek

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Software Installation: What You Need to Know
|
103
Software Installation: What You Need to Know
The more you understand about software installation, the better prepared you’ll be
to resolve problems you may encounter. Generally, the installation process starts
when you trigger the AutoPlay or Autorun process. AutoPlay or Autorun in turn
starts the software application’s Setup program. Setup is a program responsible for
managing the installation process. Part of the installation process involves validating
your credentials and checking the software’s compatibility with Windows Vista.
AutoPlay
AutoPlay options determine how Windows Vista handles files on CDs, DVDs, and
portable devices. You can configure separate AutoPlay options for each type of CD,
DVD, and media your computer can handle.
With software and games, you have the following AutoPlay options:
Install or run program
Uses the program’s Autorun file to start installing or running the program
automatically.
Open folder to view files using Windows Explorer
Opens Windows Explorer so that you can browse the CD or DVD.
Take no action
No action is taken when Windows Vista detects the CD or DVD. You must
manually start the installation process.
Ask me every time
Displays the AutoPlay dialog box, which prompts you for an action to take, as
shown in Figure 4-1.
You can configure AutoPlay options for software and games by completing the fol-
lowing steps:
1. Click Start
Default Programs.
2. On the Default Programs page in the Control Panel, click Change AutoPlay
settings.
3. As shown in Figure 4-2, use the Software and Games list to set the default
AutoPlay option to use.
4. Click Save to save your settings.
Autorun
When AutoPlay is enabled, Windows Vista checks for a file named Autorun.inf when
you insert a CD or DVD into a CD or DVD drive. For software applications and
games, this file identifies the Setup program and related installation parameters that
should be used to install the software or game.
104
|
Chapter 4: Installing, Configuring, and Maintaining Software
As Autorun.inf is a text-based file, you can view its contents in any standard text edi-
tor, such as WordPad or Notepad. Most Autorun.inf files are similar to the following
example:
[autorun]
OPEN=SETUP.EXE
ICON=SETUP.EXE,1
SHELL=OPEN
DisplayName=Microsoft Encarta 2007
Figure 4-1. Selecting the Autorun or Setup option to install or run a program
Figure 4-2. Setting AutoPlay defaults

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required