Você está na página 1de 21

Windows Admin Scripting

Little Black Book


3rd Edition
Chapter 3
Scripting Installations and
Updates
This chapter is excerpted from Windows Admin Scripting Little Black
Book, 3rd Edition, by J esse M. Torres [ISBN: 1-933097-10-8]. Copyright
(c) 2006, Paraglyph Press. Reprinted with permission.
All rights reserved.
To learn more about Paraglyph Press, please visit
http://paraglyph.oreilly.com/.
Presented by

39
Scr|pt|og |osta||at|oos
aod 0pdates
8criptiug a 8ileut .hET Framework lustallatiou 4O
8criptiug a 8ileut NDA08 lustallatiou 4O
8criptiug a 8ileut wiudows 2000/XP 8ervice Pack lustallatiou 47
8criptiug au luteruet Explorer Dowuload 47
8criptiug a 8ileut luteruet Explorer lustall 48
8criptiug a 8ileut wiuZip lustallatiou 48
8criptiug a 8ileut RealVh0 lustallatiou 49
8criptiug a 8ileut wiudows Nedia Pla]er lustallatiou 50
8criptiug a 8ileut DirectX lustallatiou 50
workiug with the wiudows lustaller 51
8criptiug a 8ileut Acrooat Reader lustall 51
8criptiug a 0uickTime lustall 51
8criptiug a 8ileut pcAhYwHERE lustallatiou 52
8criptiug a 8ileut wiudows 2000 Resource Kit lustallatiou 52
8criptiug the wiudows lustaller lustallatiou 58
8criptiug Nicrosoft 0ffice 2000/XP 58
Disaoliug wiudows lustaller Rolloacks 55
lustalliug the wiudows lustaller 0leau Up Utilit] 55
40
In the previous chapter, you learned how to automate hard disk set-
ups and images. Throughout this chapter, you will use various script-
ing methods to create unique scripting solutions to common
administrative installations and updates. You will start by learning
how to script installations from the command line. You will then learn
how to use send keys to install windows and wizards using AutoIt.
8cripting Metheds
Not all of us have the luxury of working with a centralized manage-
ment system such as Systems Management Server (SMS) Lan Desk,
or Tivoli. With new programs, program updates, service pack updates,
and hot-fixes constantly coming out, installing all of these manually
can consume most of an administrator's day. Scripting provides a way
to automate these tasks with little or no user intervention.
Microsoft installation and update executables support many differ-
ent switches to allow for shell scripting and installation customization.
Switches are not case-sensitive and, more often than not, they are not
standardized. To make matters worse, Microsoft tends not to docu-
ment some of the most useful switches (as you saw in Chapter z).
Here are some of the most common, and possibly undocumented,
switches for Microsoft installation and update executables:
/?Displays unhidden switches and usage
/CExtracts files to folder specified with /T switch
/C DUsed to enter a z0-digit product ID
/FForces applications to close at shutdown
/K DUsed to enter an 11-digit CD key
/NDoes not back up files for uninstall
/N nomeUsed to enter a username for registration
/N:VInstalls without version checking
/OOverwrites OEM files without prompting
/O orqonicotionUsed to enter an organization name for
registration
41
/QRuns in quiet mode, skips all prompts
/Q:URuns in user quiet mode, shows some dialog boxes
/Q:ARuns in admin quiet mode, shows no dialog boxes
/RReinstalls the application
/R:A~Always reboots
/R:IReboots if necessary
/R:NDoes not reboot, even if necessary
/R:SReboots without prompting
/T:othSpecifies or extracts files to a temporary working
folder
/URuns in unattended mode or uninstalls an application,
prompts for shared file removal
/UAUninstalls an application and shared files, without prompting
/ZDoes not reboot when installation is complete
windews and wizards
Many of the tasks of an administrator involve navigating through in-
teractive windows and wizards. Whether installing a new program or
adding a new piece of hardware, these wizards guide the user through
a complicated setup process. This process involves scrolling through
selections, clicking check boxes, selecting tabs, browsing, entering
text, and more. Although these wizards are helpful, they frequently
do not support scripting.
In the past, administrators used macro recorders to deal with these
unscriptable windows and wizards. The main problem with basic macro
utilities is that they are great for performing linear tasks, but they choke
when dealing with complex routines that require decisions. The solu-
tion is to use a send-keys utility, such as AutoIt.
8cripting windews with AuteIt
AutoIt (www.autoitacript.com) is a free automation tool that can
send key and mouse commands to Windows objects. AutoIt detects
window titles and text and sends commands to specific windows
based on that information. AutoIt reads commands stored in a text-
based script file and performs the commands on a line-per-line basis.
Although you can use other scripting send-keys methods, such as
Windows Script Host (WSH) or KiXtart, AutoIt provides the easiest
way to detect windows and send keys.
42
0etecting windews and ext
Sometimes multiple windows can have the same title. Luckily, AutoIt
allows you to specify a combination of window title and window text
to specify the exact window you want. Running the AutoIt Windows
Information" utility allows you to see the title, text, sizes, and mouse
coordinates of the currently active window in real time. You can start
this utility from the AutoIt start menu folder.
For example, suppose you wanted to script the Add New Hardware
Wizard window (see Figure J.1). Running the utility would show the
window title and text (see Figure J.z).
One of the advantages that AutoIt has over using other send-key meth-
ods, such as KiXtart or WSH, is the ability to immediately intercept
windows that may occur unexpectedly. AutoIt refers to the ability to
handle unexpected Windows as adlibbing". In order to use adlibbing,
you must first enable it with the AdlibEnable command. When the
script encounters any unforeseen error, window, and so on and
adlibbing is enabled, the script can break out from its current loca-
tion, execute the handle" function you specified in the AdlibEnable
command, and then return to the current location.
F|gura 3.1 Tha Add haw Hardwara w|zard w|ndow.
43
Included in the AutoIt installation package is a utility called AUTz.EXE
used to convert AutoIt script files into standalone executables. You
can even password protect these executables from being turned back
into AutoIt scripts. By converting your scripts, you can prevent users
from reading your code and modifying your scripts. The conversion
utility is menu-based and allows you to set your own executable icon,
provided that it is Jz by Jz pixels in 1 colors.
You can control AutoIt with KiXtart or Windows Script Host (or any
language that can interact with COM) through AutoIt's COM object
called AutoItXJ. To gain access to AutoItXJ, you must first use the
CreateObject function and set it to a variable:
Sel Va11aI!e ~ Ceale0becl1"Aulo1l73.Conlo!";
F|gura 3.2 0atact|ng w|ndow t|t|a and taxt w|th /8FVFAL.
44
Micreseft windews InstaIIer
Before Windows z000, installing and managing applications was a com-
plete mess. Software companies created their own installation inter-
faces, each with its own set of rules, command-line options, and uninstall
functions. This provided headaches for administrators who attempted
to create common scripting solutions for application installations. To
help reduce total cost of ownership (TCO) and provide a standardized
set of installation rules, Microsoft created the Windows Installer.
The Windows Installer is a new installation and configuration ser-
vice for Jz-bit Windows platforms that standardizes the way pro-
grams install and uninstall. The Windows Installer is a Zero
Administration Windows initiative and is required to conform to the
Designed for Microsoft Windows" logo standards. Some of the ad-
vanced features of the Windows Installer are self-repair, rollback,
and install on demand. The Windows Installer comes packaged with
Windows z000 and above, and is available as a separate download
for Windows 9a and Windows NT.
The Windows Installer runs as a two-part installation utility that con-
sists of a client engine and a system service. The client engine
(MSIEXEC.EXE) runs with user privileges and provides the interface
between the system and the installation service. MSIEXEC.EXE reads
the instructions from the installation package (*.MSI) and passes them
to the installation service (Windows Installer).
The installation service enables the system to keep track of all pro-
gram installations and system changes, providing for cleaner
uninstalls. Because the installation service runs as a system service,
it can be given various privileges to allow users to install their own
applications.
8eIf-8epair
When a program file becomes corrupted or missing, a program
installed with the Windows Installer can identify these files and
replace them automatically. This is a handy feature for those of us
with troublesome users who like to attempt their own uninstalls.
8eIIback
The Windows Installer rollback feature creates a temporary backup
and script of any files changed during the installation process. If a
fatal error occurs during the installation, the rollback feature
immediately runs the script and returns the system to its original
state. All rollback files are stored in a temporary file called config.msi,
45
and are automatically deleted when the installation successfully com-
pletes. Rollbacks can take a significant amount of disk space and
can be disabled by an administrator.
Micreseft windews InstaIIer 8witches
The MSIEXEC.EXE supports various command-line switches, allow-
ing you to control the installer from the command shell or batch file.
Here are some of the most common command-line switches for
Microsoft Windows Installer:
/IInstalls the program
/FRepairs an installation
/XUninstalls the program
/L*V loqfileLogs all information to a loqfile
/QNNo user interface
/QBBasic user interface
/QFFull user interface
/? or /HDisplays some switches and copyright information
/XUninstalls the program
he 8cripting Advantage
Nowadays, most installations support command line switches to per-
form automated installs. While you could these type of installations
using AutoIt, KiXtart, and Windows Script Host, shell scripting is
clearly the most direct and easiest method to use when command
line support is provided. For installations that absolutely do not offer
an easy or any way to script the installation, AutoIt's mouse, keyboard,
and Window control capabilities provides us with a last resort for
these tough installations.
A werd ef 0autien
This chapter contains many scripting examples on performing appli-
cation installs and uninstalls. An improper installation/uninstallation
may not only leave the application inoperable, but other applications
and even the operating system could be harmed as well. As with all
scripts, you should first test the script in an isolated testing environ-
ment to ensure the script produces the desired results before using it
in a production environment.
46
Scr|pt|ng a S||ant .hFT Framawork
|nsta||at|on
Microsoft .NET is a collection of technologies that allow developers
to build, deploy, and maintain applications using a standard set of
classes. The .NET framework is the common language runtime and
set of classes required to run any application built in .NET. To auto-
mate a silent installation of the .NET framework, proceed as follows:
1. Create a new directory to store all files included in this ex-
ample.
z. Download the .NET framework redistributable from
www.microaoIt.com to the new directory.
J. Start the command prompt and enter the following:
"new d11e11} pa1!\dolnel1x.exe" 1q:a 1c:"1nsla!! 1! 1q"
Here, neu directorq oth is the complete path of the new folder
created in step 1.
Scr|pt|ng a S||ant N0A0S |nsta||at|on
MDAC (Microsoft Data Access Components) is a set of drivers used
to communicate with databases. While Windows z000 and later
versions come with a version of MDAC preinstalled, updating your
version will provide improved performance and stability, as well as
provide access to new data sources. To automate a silent installation
of MDACS, proceed as follows:
1. Create a new directory to store all files included in this example.
z. Download the MDACS installer from www.microaoIt.com to
the new directory.
J. Start the command prompt and enter the following:
47
new d11e11} pa1!\eXeu1aI!e
1q 1C:"selup 10l1"
Here, neu directorq oth is the complete path of the new folder
created in step 1, and executoble is the name of the MDACS execut-
able downloaded in step z.
Scr|pt|ng a S||ant w|ndows 2000/XP Sarv|ca
Pack |nsta||at|on
The Windows z000/XP service packs allow you to script an install
without forcing you to extract the files first. To automate a silent in-
stallation of a Windows z000/XP service pack, proceed as follows:
1. Create a new directory to store all files included in this example.
z. Download the latest service pack, from www.microaoIt.com,
to the new directory.
J. Start the command prompt and enter the following:
new d11e11} pa1!\eXeu1aI!e -! -l 0 0
Here, neu directorq oth is the complete path of the new folder
created in step 1, and executoble is the name of the service pack
executable downloaded in step z.
Scr|pt|ng an |ntarnat Fxp|orar 0own|oad
The Internet Explorer setup utility is a 479kb file that downloads only
the files needed for your operating system. If you need to install
Internet Explorer on fifty systems, you'll have to sit and wait for it to
download fifty times. To automate the download of Microsoft Internet
Explorer .x, proceed as follows:
1. Create a new directory to store all files included in this example.
z. Download the Internet Explorer setup file (iesetup.exe) from
www.microaoIt.com and store it in the new directory.
J. Start the command prompt and enter the following:
new d11e11} pa1!\ 1e6selup.exe 1c:"1e6wzd.exe 1d 1s:""]"
48
Here, neu directorq oth is the complete path of the new folder
created in step 1.
Scr|pt|ng a S||ant |ntarnat Fxp|orar |nsta||
Microsoft Internet Explorer is the most widely used Web browser for
Windows and comes included with every Windows operating system.
To automate the installation of Microsoft Internet Explorer .x, pro-
ceed as follows:
1. Create a new directory to store all files included in this example.
z. Download the Internet Explorer setup file (iesetup.exe) from
www.microaoIt.com and store it in the new directory.
J. Start the command prompt and enter the following:
new d11e11} pa1!\1e6selup.exe 10:A 1R:l
Here, neu directorq oth is the complete path of the new folder
created in step 1.
Usiug Nicrosoft luteruet Explorer as a Displa] Tool 100
Scr|pt|ng a S||ant w|nZ|p |nsta||at|on
WinZip is the most popular Windows compression utility for the ZIP
format. To automate the installation of WinZip S, 9, or 10 proceed as
follows:
1. Create a new directory to store all files included in this ex-
ample.
z. Download the WinZip installation executable, from
www.winzip.com, to the new directory.
J. Download and install AutoIt, from www.autoitacript.com, to
the new directory.
4. Double click on the scrjlf|c.
49
Here, scritfile is a text file that contains the following:
Run1"w1nZ1p1nsla!!al1onxeculab!e.exe";
w1nwa1lAcl1ve1"w1nZ1p0 ", "lllp:11www.w1nz1p.con";
Send1"|lTR|";
w1nwa1lAcl1ve1"w1nZ1p0 ", "Selup";
Send1"!s";
w1nwa1lAcl1ve1"w1nZ1p Selup", "Selup w1!! 1nsla!! w1nZ1p 1nlo
lle 1o!!ow1n 1o!de";
Send1"|lTR|";
w1nwa1lAcl1ve1"w1nZ1p Selup", "w1nZ1p 1ealues 1nc!ude";
Send1"!n";
w1nwa1lAcl1ve1"1cense Aeenenl";
Send1"!y";
w1nwa1lAcl1ve1"w1nZ1p Selup", "!o le!p1u! 1n1onal1on on
1nsla!!1n";
Send1"!n";
w1nwa1lAcl1ve1"w1nZ1p Selup", "\ou can slal w1ll lle";
Send1"!c!n";
w1nwa1lAcl1ve1"w1nZ1p Selup", "xpess selup 1econnended;";
Send1"!e!n";
w1nwa1lAcl1ve1"w1nZ1p Selup", "Assoc1al1ons a!!ow w1nZ1p lo";
Send1"!n";
w1nwa1lAcl1ve1"w1nZ1p Selup", "Tlank you 1o 1nsla!!1n ll1s
eva!ual1on ves1on";
Send1"|lTR|";
w1nwa1lAcl1ve1"w1nZ1p 1";
w1nC!ose1"w1nZ1p 1";
Scr|pt|ng a S||ant 8aa|Vh0 |nsta||at|on
Real\NC is an extremely powerful and free utility to see and control
a remote computer (similar to PCAnywhere or Terminal Services).
50
To automate a silent installation of Real\NC, proceed as follows:
1. Create a new directory to store all files included in this ex-
ample.
z. Download the Real\NC installation executable, from
www.reaIvnc.com, to the new directory.
J. Start the command prompt and enter the following:
new d11e11} pa1!\vnc4_1_1x6_w1n3Z.exe 1\R\S1lT 1
C0lP0llTS~"vncv1ewe, w1nvnc" 1TASIS~"qu1ck!auncl1con,
desklop1con, 1nsla!!sev1ce, !aunclsev1ce"
Here, neu directorq oth is the complete path of the new folder
created in step 1.
0ouuectiug to a Remote 8]stem through Vh0 x
Scr|pt|ng a S||ant w|ndows Nad|a P|ayar
|nsta||at|on
To automate a silent installation of Windows Media Player 10, pro-
ceed as follows:
1. Create a new directory to store all files included in this ex-
ample.
z. Download the Media Player 10 installation executable, from
www.microaoIt.com, to the new directory.
J. Start the command prompt and enter the following:
new d11e11} pa1!\lP10Selup.exe 1q:A 1c:"selup_wn.exe 10 1R:l
1P:]e"
Here, neu directorq oth is the complete path of the new folder
created in step 1.
Scr|pt|ng a S||ant 0|ractX |nsta||at|on
To automate a silent installation of DirectX 9b or 9c, proceed as follows:
51
1. Create a new directory to store all files included in this ex-
ample.
z. Download the DirectX 9b or 9c installation executable, from
www.microaoIt.com, to the new directory.
J. Start the command prompt and enter the following:
new d11e11} pa1!\L7webSelup.exe 1c:"L7wSelup.exe 1
w1ndowsupdale" 1q 1:n
Here, neu directorq oth is the complete path of the new folder
created in step 1.
work|ng w|th tha w|ndows |nsta||ar
The Windows Installer replaces the old ACME installer, adding more
features and functionality. This new installer provides a standard
method for application installations and an easy way for administra-
tors to script installations.
Scr|pt|ng a S||ant Acrobat 8aadar |nsta||
Acrobat Reader is the most widely used free PDF reader. To auto-
mate the installation of Acrobat Reader 7.0, proceed as follows:
1. Create a new directory to store all files included in this ex-
ample.
z. Download the Acrobat Reader setup file (AdbeRdr70_enu_full.
exe) from www.adobe.com and store it in the new directory.
J. Start the command prompt and enter the following:
new d11e11} pa1!\AdbeRd70_enu_1u!!.exe 1s 1v1qn
Here, neu directorq oth is the complete path of the new folder
created in step 1.
Scr|pt|ng a 0u|ckT|ma |nsta||
QuickTime 7 is the latest version Apple's popular multimedia player.
To automate a silent installation of QuickTime 7, proceed as follows:
52
1. Create a new directory to store all files included in this
example.
z. Download the QuickTime setup file from www.appIe.com and
store it in the new directory.
J. Start the command prompt and enter the following:
new T1!e pa1!\0u1ckT1ne1nsla!!e.exe 1s 1v 1qn
Here, neu directorq oth is the complete path of the new folder
created in step 1.
Scr|pt|ng a S||ant pcAhYwHF8F |nsta||at|on
PcANYWHERE 11.b is the latest version of remote control from
Symantec (www.aymantec.com). To automate a silent installation
of pcANYWHERE 11.b, start the command prompt and enter the fol-
lowing:
lS17C 11 T1!epa1!\ Synanlec pcAnywlee.ns1 10l
Here, file oth is the complete path of the pcANYWHERE 11.b in-
stallation files.
Scr|pt|ng a S||ant w|ndows 2000 8asourca K|t
|nsta||at|on
The Windows z000 resource kit provides many tools and utilities that
allow you to perform powerful administrative and system tasks. To
automate a silent installation of a Windows z000 resource kit, start
the command prompt and enter the following:
lS17C 11 !!":\wZ000RIPR0.lS1 10l
Here, DRVE is the CD-ROM drive letter containing the Windows
z000 resource kit CD.
53
Scr|pt|ng tha w|ndows |nsta||ar |nsta||at|on
Although the Windows Installer redistributable files usually come
packaged with a program that uses the Windows Installer, they can
be downloaded and installed individually. To automate the installa-
tion of the Windows Installer, proceed as follows:
1. Create a new directory to store all files included in this ex-
ample.
z. Download the Windows Installer redistributable from
www.microaoIt.com/madownIoad.pIatIormadI/
inatmai.htm.
J. Select Start|Run and enter ncv drcclor jalh\vcac /Q:A /
R:A."
Here, neu directorq oth is the complete path of the new folder
created in step 1, and uiexe is the name of the Windows Installer
redistributable executable.
Scr|pt|ng N|crosoft 0ff|ca 2000/XP
Microsoft Office z000 was one of the first applications released by
Microsoft to utilize the new Windows Installer. Although the following
examples are focused toward Microsoft Office z000 and Office XP,
they can be applied to any application that utilizes the new Windows
Installer.
The Microsoft Office Removal Wizard can be used to remove older
versions of Microsoft Office before installing Microsoft Office z000/
XP. To automate the removal of older versions of Microsoft Office,
start the command prompt and enter the following:
STLP 1S 10 1R 1 ! T1!e
Here, loq file records all activity of the removal process.
To automate the installation of Microsoft Office z000/XP, start the
command prompt and enter the following:
T1!e pa1!\STLP 10l 1^\
54
1n&1a!! ! C0lPAl\lAl~"mpan}"
Here, file oth is the complete path of the Office installation files,
instoll loq is the file to store all errors and output, and comonq is
the name of the company registered for Office.
To automate the uninstallation of Microsoft Office z000/XP, start the
command prompt and enter the following:
T1!e pa1!\STLP 10l 17 m&1T1!e
Here, file oth is the complete path of the Office installation files
originally used to install Office, and msifile is the name of the msi
package to uninstall.
To automate the repair of a Microsoft Office z000/XP installation, start
the command prompt and enter the following:
T1!e pa1!\STLP 1!0CLlS m&1T1!e
Here, file oth is the complete path of the Office installation files
originally used to install Office, and msifile is the name of the msi
package to repair.
To automate the reinstallation of Microsoft Office z000/XP, start the
command prompt and enter the following:
T1!e pa1!\STLP 1!CLlS m&1T1!e
Here, file oth is the complete path of the Office installation files
originally used to install Office, and msifile is the name of the msi
package to reinstall.
Instead of installing an application, you can simply set up the Start
menu shortcuts that, when activated, will install the application on
first use. This setup method is called adicrlsnq. To advertise
55
Microsoft Office z000/XP, start the command prompt and enter the
following:
T1!e pa1!\STLP 10l 1L m&1T1!e
Here, file oth is the complete path of the Office installation files
originally used to install Office, and msifile is the name of the msi
package to advertise.
0|sab||ng w|ndows |nsta||ar 8o||backs
To disable the Windows Installer Rollback feature during an installa-
tion, start the command prompt and enter the following:
T1!e pa1!\STLP L1SAR0ACI~1
Here, file oth is the complete path of the installation files used in
the original installation.
|nsta|||ng tha w|ndows |nsta||ar 0|aan Up Ut|||ty
Microsoft has created a utility that allows you to delete Windows In-
staller registry entries from a system. This is useful when you have
corrupted installations that are preventing you from successfully in-
stalling a program. Although the utility's installer states that it sup-
ports the standard Microsoft installation switches, they do not work.
To automate the installation of the Windows Installer Clean Up Util-
ity, proceed as follows:
1. Create a new directory to store all files included in this ex-
ample.
z. Download the Windows Installer Clean Up Utility from
Microsoft.
For Windows 9a:
down!oad.n1coso1l.con1down!oad1o111ceZ000po1ul1!ZZ111w971
lLS1ns1cu.exe
For Windows z000:
down!oad.n1coso1l.con1down!oad1o111ceZ000po1ul1!Z0111lT41
lLS1ns1cuu.exe
56
J. Download and install AutoIt, from www.autoitacript.com, to
the new directory.
4. Double click on the scrjlf|c.
Here, scritfile is a text file that contains the following:
Ad!1bnab!e1"Ad!1bhand!e";
RLl1"eXeu1aI!e";
w1nwa1lAcl1ve1"w1ndows 1nsla!!e", "1l 1s slon!y";
Send1"!l";
w1nwa1lAcl1ve1"w1ndows 1nsla!!e", "1cense";
Send1"!A!l";
w1nwa1lAcl1ve1"w1ndows 1nsla!!e", "Slal";
Send1"!l";
w1nwa1lAcl1ve1"w1ndows 1nsla!!e", "w1ndows 1nsla!!e C!ean Lp las
been success1u!!y 1nsla!!ed";
Send1"!!";
x1l
!unc Ad!1bhand!e1;
,Lsed lo pevenl 1nsla!!al1on 1on unexpecled!y end1n
11 w1nAcl1ve1"w1ndows 1nsla!!e", "Selup 1s nol conp!ele"; Tlen
w1nAcl1vale1"w1ndows 1nsla!!e", "Selup 1s nol conp!ele";
Send1"!R";
nd11
11 w1nAcl1ve1"w1ndows 1nsla!!e", "w1ndows 1nsla!!e C!ean Lp
was 1nleupled"; Tlen
w1nAcl1vale1"w1ndows 1nsla!!e", "w1ndows 1nsla!!e C!ean Lp
was 1nleupled";
Send1"|lTR|";
nd11
, Lsed 1o un1nsla!!al1on
11 w1nAcl1ve1"w1ndows 1nsla!!e", "Tl1s w1!! enove"; Tlen
w1nAcl1vale1"w1ndows 1nsla!!e", "Tl1s w1!! enove";
Send1"!l";
nd11
11 w1nAcl1ve1"w1ndows 1nsla!!e", "w1ndows 1nsla!!e C!ean Lp
las been success1u!!y un1nsla!!ed"; Tlen
w1nAcl1vale1"w1ndows 1nsla!!e", "w1ndows 1nsla!!e C!ean Lp
las been success1u!!y un1nsla!!ed";
Send1"!!";
71T
nd11
57
, Lsed 11 won ves1on 1nsla!!al1on 1s allenpled
11 w1nAcl1ve1"1nsla!!e 1n1onal1on"; Tlen
w1nAcl1vale1"1nsla!!e 1n1onal1on";
Send1"!0";
nd11
11 w1nAcl1ve1"!ala! o"; Tlen
w1nAcl1vale1"!ala! o";
Send1"|lTR|";
x1l
nd11
nd!unc
Here, executoble is the name of the Windows Installer Clean Up ex-
ecutable.

Você também pode gostar