Lm th? no ? s? d?ng thi?t b? chuy?n m?ch d?ng l?nh ? thi?t l?p Office XP

D?ch tiu ? D?ch tiu ?
ID c?a bi: 283686 - Xem s?n ph?m m bi ny p d?ng vo.
M?t phin b?n Microsoft Office 2000 c?a bi vi?t ny, xem cc 202946.
Bung t?t c? | Thu g?n t?t c?


Chng tr?nh ci ?t vn ph?ng ch?p nh?n m?t s? ty ch?n thi?t b? chuy?n m?ch d?ng l?nh b?n c th? s? d?ng ? ki?m sot nh th? no chng tr?nh thi?t l?p ho?t ?ng. Bi ny li?t k cc thi?t b? chuy?n m?ch v m t? cc ch?c nng c?a m?i chuy?n ?i.


Cc ty ch?n d?ng l?nh sau ?c s? d?ng v?i d?ng l?nh thi?t l?p. B?ng cch s? d?ng ty ch?n d?ng l?nh, ng?i qu?n tr? c th? ki?m sot nh th? no cc chng tr?nh s? d?ng tr?n gi Windows Installer (MSI File) v bi?n ?i (MST t?p) ci ?t cc ?ng d?ng ph?n m?m.

N?u b?n ?nh s? d?ng m?t s? thi?t l?p ti s?n, lo?i chng trong thi?t l?p ci ?t file (Setup.ini) ? gi?m kh? nng g?p ph?i m?t h?n ch? ? di d?ng l?nh.

Ghi ch quan tr?ng
  • Thi?t b? chuy?n m?ch khng ph?i l tr?ng h?p nh?y c?m, v d?, /A gi?ng nh /a.
  • Ngo?i tr? trong tr?ng h?p ?c bi?t lu ?, b?n ch? c th? s? d?ng cc thi?t b? chuy?n m?ch khi b?n th?c hi?n m?t ci ?t ban ?u c?a Microsoft Office XP.
  • N?u b?n s? d?ng m?t ty ch?n d?ng l?nh thi?t l?p m c?ng ?c s? d?ng trong thi?t l?p ci ?t file (Setup.ini) ho?c trong bi?n ?i (MST t?p tin), cc ty ch?n d?ng l?nh th?ng s? u tin.
  • Cc gi ph?n m?m Windows Installer (MSI t?p tin) nn trong cng m?t th m?c nh Setup.exe. Trong tr?ng h?p c?a Microsoft Office, gi Windows Installer ph?i trong th m?c g?c c?a i?m ci ?t hnh chnh.
  • Khi b?n s? d?ng nhi?u thi?t b? chuy?n m?ch, tch chng v?i m?t khng gian tr?ng. V d?, s? d?ng d?ng l?nh sau y ? s? d?ng m?t t?p tin ci ?t c? th? v ghi k?t qu? vo m?t t?p s? ghi:
    Thi?t l?p/i ProPlus.msi /l* c:\logfile.txt
  • Khi Setup.exe k?t thc, n ?t ra errorlevel %% N?u m?t l?i x?y ra. N?u ng?i dng h?y b? thi?t l?p, errorlevel tr? l?i l zero (0), cho th?y khng c l?i.
B?ng d?i y li?t k cc thi?t b? chuy?n m?ch thi?t l?p:

 Switch              Description                 
 /?                  Displays a dialog box pointing to the Office 
                     Resource Kit at http://www.microsoft.com/Office/ORK/.
                     NOTE: The link to the Office XP Office Resource Kit is
                     now http://office.microsoft.com/en-us/FX011511511033.aspx 
 /a <msifile>        Setup performs an administrative installation using 
                     the specified Microsoft Installer (.msi) file to 
                     create an administrative install point. The .msi file
                     must be in the same folder as Setup.exe.

                     NOTE: To create an administrative installation, 
                     you must use an Enterprise edition of Office. 

                     Example: /a ProPlus.msi
 /autorun            Only used in the Autorun.inf file. This switch's  
                     purpose is to indicate that Setup is being run by
                     Windows automatically after you insert the Office CD  
                     in the CD-ROM drive.

                     CAUTION: Do not modify the Autorun.inf file. The 
                     information it contains is necessary for the correct
                     operation of Setup.
/f<options>          Setup repairs the Office installation. The .msi file 
   <package path>    specified must be .msi file used to install Office 
                     originally. The .msi file must be in the same folder 
                     as Setup.exe.

                     The Detect and Repair command (Help menu) in Office
                     programs performs the same function as using the 
                     following options, /focums.

                     If you run Setup and click Reinstall, Setup performs
                     the same function as using the following options, 
                     /fecum. Valid options are:

                     a  Force all files to be reinstalled regardless of 
                        checksum or version.

                     c  Reinstall a file if it is missing or damaged (the 
                        stored checksum does not match the computed 
                        checksum value).

                     d  Reinstall a file if it is missing, or a different 
                        version is present.

                     e  Reinstall a file if it is missing, or an equal or 
                        older version is present.

                     m  Rewrite all required local machine registry values.

                     o  Reinstall a file if it is missing, or an older 
                        version is present.

                     p  Reinstall a file only if it is missing.

                     s  Reinstall all shortcuts, overwriting any existing 

                     u  Rewrite all required user registry values.

                     v  Run from the source package and re-cache the local 

                     Example: /focums ProPlus.msi
 /i <msifile>        Setup installs programs by using the Windows
                     Installer package (MSI file) specified. The MSI 
                     file must be in the same folder as Setup.exe. If 
                     the file is not in the same folder as Setup.exe,
                     it should be moved there, or a path to the file 
                     must be included. When running Setup.exe, /i is 
                     the default behavior, using the msifile specified
                     in Setup.ini.

                     Examples: /i ProPlus.msi
                               /i "subfolder1\ProPlus.msi"
 /j<option>          Creates an icon representing an Office program or
   <package path>    feature that is configured during Setup to install 
                     the first time you use it ("installed on first use").
                     Valid options are:

                     u  Current user logged on to Windows.
                     m   All users using the computer.

                     NOTE: If you specify the /j option in the Setup 
                     command line, the only additional command-line
                     options you can use, in addition to the /t sub 
                     option, are /q, /l, and /settings. All other 
                     command-line options are ignored.

                     NOTE: In the case of Microsoft Office, use the /j
                     option only when running Setup from an
                     administrative installation point.

                     Example: /ju c:\ProPlus.msi
                     Example: /ju c:\ProPlus.msi /t install.mst
 /l<option>          Logs switches for Msiexec.exe (the Windows Installer)
   <logfile>         and specifies the path to the log file. The flags 
                     indicate which information to log. Valid options are:

                     a  Startup of actions            

                     c  Initial UI parameters

                     e  All error messages

                     i  Status messages

                     m  Out of memory
                     o  Disk space errors
                     r  Action-specific records

                     p  Terminal properties

                     u  User requests

                     v  Verbose output

                     w  Nonfatal warnings

                     +  Append to existing file

                     *  Log all information except verbose output. You can 
                        use the v switch along with the asterisk, /l*v.

                     !  Writes each line to the log file. The default 
                        behavior is to cache 20 lines of log file text 
                        into memory and then write 20 lines to the log 
                        file at once. This is done to improve performance.

                     NOTE: For more information, refer to the Knowledge
                     Base article Q297107: You receive the "Installer
                     terminated prematurely" error message when you use
                     the ! logging option to install Office XP.
                     Example: /l* c:\logfile.txt

                     This example creates the following verbose log 
                     files, using all logging mode options:

                     Setup.exe log file:   c:\logfile.txt	
                     OSP log file:         c:\logfile_Task(0001).txt
                     Office log file:      c:\logfile_Task(0002).txt
/m <.mif file>      Specifies an SMS .mif file name of 8 characters or less.
                    NOTE: Do not include the .mif extension with the 
                    filename; otherwise, the command line will return the 
                    following error: "Invalid command line".
 /noreboot        Setup.exe will not restart the computer or display 
                    the restart dialog box at the end of an installation. 
                    It also passes REBOOT=ReallySuppress to every MSI
                    in the list of chained installs, except for the 
                    last entry in the chain. Conversely, if you
                    pass REBOOT=ReallySuppress as a property, it sets
                    /noreboot and passes REBOOT=ReallySuppress to each
                    MSI listed in the list of chained installs, except
                    for the last entry in the chain.

                   NOTE: Office XP Japanese Edition includes IME. 
                   IME needs to restart the computer. To avoid to display 
                   the restart dialog box at the end of an installation, 
                   you have to use REBOOT=ReallySuppress with *.MSI file to 
 /nosp              Override system pack detection logic and don't
                    call the System Files Update (OSP.msi). It is 
                    possible for an install process to fail
                    if the OSP.msi is not installed when needed. 
                    Caution should be used when including this option.
 <PROPERTY>=<value>  Specifies a value for any of the Installer properties 
                     (see the Office Resource Kit for a complete list 
                     of valid properties). If the property value contains 
                     spaces, enclose the string in quotation marks 
                     ("<value>"). You can specify more than one property 
                     and value pair on the command line separated by 

                     Only public properties are set on the Setup 
                     command line. Public properties are all upper-
                     case; you do not have to type the property 
                     names in upper-case on the command line. Private
                     properties--properties consisting of mixed-case
                     letters--are not recognized by Setup on the 
                     command line. You can set private properties in 
                     the Modify Setup Properties page of the wizard.

                     Example: TRANSFORMS="c:\acct dept" 
 /q<option>          Selects the user-interface level. Valid options are

                     n  None - No user interface is displayed.

                     b  Basic - Only simple progress indicators and errors 
                        are displayed.

                     r  Reduced - No user information is collected, and 
                        no progress indicators are displayed.
                     f  Full - All indicators with a modal dialog box at 
                        the end of Setup.

                     +  Adds a completion message to the /n or /b 
                        option. The message is displayed only if Setup
                        does not need to restart after the installation
                        is complete.
                     -  Added after the b, f, n, or r option to 
                        suppress all modal dialogs.

                     NOTE: You can only use this switch with an 
                     Enterprise edition of Office. 

                     Example: /qb-
 /settings file      Specifies a Setup settings file for customizing
                     Setup actions. If the file is not located in the
                     same folder as Setup.exe, include the path; 
                     however, it is recommended the file be in the same 
                     directory as Setup.exe. Specifying a 
                     settings file forces Setup to use the referenced
                     file in place of Setup.ini.

                     /settings MyApp.ini

 /SPForce            Install the System Files Update (OSP.msi) even 
                     if the auto-detection process determines it is 
                     not required. Not supported on Windows 2000 and
                     Windows Millennium, where the OSP.msi cannot be
 /SPOnly             Install only the System Files Update (OSP.msi).
                     Do not install Office. This option only applies
                     to installations of Microsoft Office on Windows
                     98 or Windows NT 4. This switch is useful for
                     pre-deployment of the System Files Update in
                     preparation for Office deployment.
  /t <transform>     Specifies the name of the transform (.mst) file. The 
                     /i switch is required with the /t switch. When using 
                     the /j switch with a transforms file, the /t switch 
                     must be used; otherwise the TRANSFORMS property should 
                     be used.

                     Example: /t acct.mst /i off9.msi
 /wait               Wait for the installation to complete before quitting 
                     the Setup program.
 /webinstall url     Set the URL path to install the program from. The
                     URL provided is considered the root of an Office
                     administrative installation point. If Setup.exe 
                     determines it was started from Internet Explorer, 
                     Setup.exe queries the system to determine what HTTP
                     path it was started from, and this switch is not 

                     NOTE: To create an administrative installation, 
                     you must use an Enterprise edition of Office. 
                     IMPORTANT: Installing other applications from an
                     HTTP, HTTPS, or FTP source location is not supported.

                     NOTE: Transforms are not supported from a URL 
                     source and must reside either on a network file 
                     share or as a stream in the msifile.

 /x <msifile>        Setup uninstalls Office. The .msi file specified 
                     must be the same .msi file used to install Office 
                     originally. The .msi file must be in the same folder 
                     as Setup.exe.

                     Example: /x ProPlus.msi
N?u b?n ang s? d?ng m?t tn t?p tin di v?i nhng khng gian trong ?ng d?n, xem bi vi?t sau trong c s? ki?n th?c Microsoft:
139427 B?ng cch s? d?ng tn t?p tin di v?i l?nh Run


? bi?t thm chi ti?t v? thi?t b? chuy?n m?ch d?ng l?nh ?c s? d?ng v?i Windows Installer, xem t?p Msi.chm. B?n c th? c ?c cc t?p tin Msi.chm b?ng cch t?i v? cc m?u Windows ci ?t SDK, cng c?, v ti li?u h?ng d?n t? Microsoft Web site sau c?a:

Thu?c tnh

ID c?a bi: 283686 - L?n xem xt sau cng: 17 Thang Chin 2011 - Xem xt l?i: 3.0
p d?ng
  • Microsoft Office XP Professional Edition
  • Microsoft Office XP Small Business Edition
  • Microsoft Office XP Standard Edition
  • Microsoft Office XP Developer Edition
  • Microsoft Access 2002 Standard Edition
  • Microsoft Excel 2002 Standard Edition
  • Microsoft FrontPage 2002 Standard Edition
  • Microsoft Outlook 2002 Standard Edition
  • Microsoft PowerPoint 2002 Standard Edition
  • Microsoft Word 2002 Standard Edition
T? kha:
kbproductlink kbstartprogram kbsetup kbcommandline kbhowto kbmt KB283686 KbMtvi
My d?ch
QUAN TRONG: Bi vi?t ny ?c d?ch b?ng ph?n m?m d?ch my c?a Microsoft ch? khng ph?i do con ng?i d?ch. Microsoft cung c?p cc bi vi?t do con ng?i d?ch v c? cc bi vi?t do my d?ch ? b?n c th? truy c?p vo t?t c? cc bi vi?t trong C s? Ki?n th?c c?a chng ti b?ng ngn ng? c?a b?n. Tuy nhin, bi vi?t do my d?ch khng ph?i lc no c?ng hon h?o. Lo?i bi vi?t ny c th? ch?a cc sai st v? t? v?ng, c php ho?c ng? php, gi?ng nh m?t ng?i n?c ngoi c th? m?c sai st khi ni ngn ng? c?a b?n. Microsoft khng ch?u trch nhi?m v? b?t k? s? thi?u chnh xc, sai st ho?c thi?t h?i no do vi?c d?ch sai n?i dung ho?c do ho?t ?ng s? d?ng c?a khch hng gy ra. Microsoft c?ng th?ng xuyn c?p nh?t ph?n m?m d?ch my ny.
Nh?p chu?t vo y ? xem b?n ti?ng Anh c?a bi vi?t ny:283686

Cung cp Phan hi


Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com