msi – 是否可以重新启动管理安装点?

前端之家收集整理的这篇文章主要介绍了msi – 是否可以重新启动管理安装点?前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
我们有Acrobat 8​​ Pro在工作,我们的媒体很痛苦地过时了.而不是安装8.0.0的所有机器,然后连续6或7次重​​新启动adobe期望你没事,我决定将.msp文件集成到安装程序中.

阅读完之后,我想出了adobe所需的确切补丁顺序,将我的cd解压缩到一个管理安装点,并针对它运行补丁:

msiexec /a AcroPro.msi /p AcrobatUpd810_efgj_incr.msp TARGETDIR="C:\Acrobat8" /log "output.log" 
msiexec /a AcroPro.msi /p AcrobatUpd811_all_incr.msp TARGETDIR="C:\Acrobat8" /log "output.log" 
msiexec /a AcroPro.msi /p AcrobatUpd812_all_incr.msp TARGETDIR="C:\Acrobat8" /log "output.log" 
msiexec /a AcroPro.msi /p AcrobatUpd813_all_incr.msp TARGETDIR="C:\Acrobat8" /log "output.log" 
msiexec /a AcroPro.msi /p AcrobatUpd816_all_incr.msp TARGETDIR="C:\Acrobat8" /log "output.log" 
msiexec /a AcroPro.msi /p AcrobatUpd817_all_incr.msp TARGETDIR="C:\Acrobat8" /log "output.log" 
msiexec /a AcroPro.msi /p AcrobatUpd820_all_incr.msp TARGETDIR="C:\Acrobat8" /log "output.log" 
msiexec /a AcroPro.msi /p AcrobatUpd822_all_incr.msp TARGETDIR="C:\Acrobat8" /log "output.log" 
msiexec /a AcroPro.msi /p AcrobatUpd823_all_incr.msp TARGETDIR="C:\Acrobat8" /log "output.log" 
msiexec /a AcroPro.msi /p AcrobatUpd825_all_incr.msp TARGETDIR="C:\Acrobat8" /log "output.log" 
msiexec /a AcroPro.msi /p AcrobatUpd826_all_incr.msp TARGETDIR="C:\Acrobat8" /log "output.log"

现在我有一个AIP完全修补到8.2.6(在尝试CAB之前测试工作),但绝对是巨大的(1.2gb)我想要做的是把AIP中的文件夹放回去一个cab文件,为了方便传输文件.

我试过这个命令:

cscript "C:\Program Files\Microsoft SDKs\Windows\v7.0\Samples\sysmgmt\msi\scripts\WiMakCab.vbs" AcroPro.msi Data1 /L /C /S

根据guide I was using,虽然这确实产生了我想要的cab文件,但是生成的MSI无法安装错误2602:

我已经做了类似的事情已经有一段时间了,这可能是我的一个明显的疏忽,但任何见解都会非常感激.

为什么不在您的安装中包含更新链,以便一次性安装而无需重新启动或用户交互? Adobe有一个完全支持方法,您可以在其中指定安装期间要使用的修补程序列表.

直接来自Adobe的知识库:Install all Acrobat 8 patches in one step with Adobe Bootstrapper and patch sequencing

Acrobat 8 supports Patch Sequencing. This is a technology that lets
the Windows Installer (among other things) to determine which order
patches are applied and also allows patches to be applied during
installation. Adobe Systems has provided the Adobe Bootstrapper
(setup.exe) which can automate a lot of this.

Modifying bootstrapper
to install all the patches during installation

  1. Copy all setup files to a directory on the network or local system.
  2. Download the replacement bootstrapper (setup.exe)from the Adobe website at
    07001.
  3. Download all the Acrobat 8 patches here: 07002
    and place them into the same directory you copied Acrobat 8 to.
  4. Add the following line to setup.ini under the [Product] section:
    [Product] PATCH=AcrobatUpd810_efgj_incr.msp;AcrobatUpd811_all_incr.msp;AcrobatUpd812_all_incr.msp
    Note: it is not necessary to use path statements or quotes.
  5. Run setup.exe

如果您要自动执行此部件,那么您可能还希望自动执行主设置的所有设置,例如许可证密钥,选项和删除Adobe的广告软件.您可以使用Adobe Customization Wizard 8完成所有这些操作,为您提供完全自动化和修补的安装.

猜你在找的Windows相关文章