•ForinstallationtargetdirectorypathsthatdoNOTcontainspaces,usethefollowingcommandline
asanexample:
setup.exe/a/s/v"/qnTARGETDIR=F:\TVTRR"
•Forinstallationtargetdirectorypathsthatcontainspaces,anescapecharacter'/'mustbeplaced
precedingthedouble-quotedtargetdirectory:
setup.exe/a/s/v"/qnTARGETDIR=\"F:\TVTRR\RescueandRecovery\""
Note:IfyourversionofWindowsInstallerisnotcurrent,setup.exeisconguredtoupdatetheWindows
Installerenginetoversion3.0.Thisupdatewillcausetheinstallationactiontopromptforarebootevenwith
anadministrativeextractinstallation.Usetherebootproperlytopreventarebootinthissituation.Ifthe
WindowsInstallerisatleastversion3.0,setup.exewillnotattempttoinstall.
Onceanadministrativeinstallationhasbeencompleted,theadministrativeusercanmakecustomizationsto
thesourceles,suchasaddingsettingstotheregistry.
Usingmsiexec.exe
Toinstallfromtheunpackedsourceaftermakingcustomizations,theusercallsmsiexec.exefromthe
commandline,passingthenameoftheunpacked*.MSIle.Themsiexec.exeleistheexecutableprogram
oftheWindowsInstallerusedtointerpretinstallationpackagesandinstallproductsontargetsystems.
•ForinstallationpathsthatdoNOTcontainspaces:
msiexec.exe/a"LenovoRescueandRecovery.msi"/qnTARGERDIR=F:\TVTRR
•Forinstallationpathsthatcontainspaces:
msiexec.exe/a"LenovoRescueandRecovery.msi"/qnTARGERDIR=\"F:\TVTRR\RescueandRecovery\"
Thefollowingisanexampletousemsiexec.exe.
msiexec/i"C:\WindowsFolder\Proles\UserName\
Personal\MySetups\projectname\productconguration\releasename\
DiskImages\Disk1\productname.msi"
Note:Entertheprecedingcommandasasinglelinewithnospacesfollowingtheslashes.
Forinformationoncommandlineparametersandpublicproperties,gototheMicrosoftWebsiteat:
http://www.microsoft.com
Installationlogles
Theloglerrinstall45w.logiscreatedinthe%temp%directoryifthesetupislaunchedbythesetup.exele
(double-clicktheinstall.exeletorunitwithoutparameters,orextractmsiandrunthesetup.exele).Thelog
lecontainslogmessagesthatcanbeusedtodebuginstallationproblems.Thelogleincludesanyactions
performedbytheAdd/RemoveProgramsappletfromControlPanel.Thelogleisnotcreatedwhenyour
arerunningthesetup.exeledirectlyfromtheMSIpackage.TocreatealogleforallMSIactions,youcan
enabletheloggingpolicyintheregistry.Todothis,createthefollowingvalue:
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Installer]
"Logging"="voicewarmup"
Thefollowingtableshowsexamplesofinstallationsusingthesetup.exele.
Table1.ExamplesofrunningSetup.exe
DescriptionExample
Performsilentinstallationwithnoreboot.
setup.exe/s/v”/qnREBOOT=”R””
Performadministrativeinstallation.
setup.exe/a
Chapter2.Installation5
Comentarios a estos manuales