Имя пользователя:
Пароль:  
Помощь | Регистрация | Забыли пароль?  

Показать сообщение отдельно

Аватара для Nun-Nun

Ветеран


Сообщения: 2158
Благодарности: 294

Профиль | Отправить PM | Цитировать


Цитата Lisabon:
Может в системе нет REG.EXE или в AllPatch.reg забыли в самом начале дописать REGEDIT4 или Windows Registry Editor Version 5.00... А может не соблюдены условия »
По поводу REG.EXE сразу как-то не сообразил, проверю. А по поводу AllPatch.reg (он сейчас назван Updates.reg) - вручную он нормально запускается и данные вносятся в реестр.
Цитата Lisabon:
Вот пример, моего AllPatch.reg, не самый свежий, но всё же... »
У меня в reg-файле тоже самое, только в начале идёт ветка с кучей цифр (не знаю, нужна она или нет, на всякий случай оставил). Весь файл приводить не буду - слишком длинный, привожу только начало и первые два обновления, остальное обновления аналогичны:
Код: Выделить весь код
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Products\9140210900063D11C8EF10054038389C\Patches]
"AllPatches"=hex(7):41,00,41,00,32,00,38,00,36,00,41,00,45,00,31,00,37,00,46,\
  00,30,00,46,00,32,00,35,00,35,00,34,00,31,00,41,00,46,00,46,00,44,00,36,00,\
  42,00,44,00,41,00,35,00,41,00,46,00,43,00,39,00,39,00,34,00,00,00,34,00,44,\
  00,35,00,39,00,41,00,36,00,44,00,30,00,33,00,38,00,31,00,31,00,41,00,33,00,\
  41,00,34,00,33,00,41,00,44,00,44,00,38,00,30,00,31,00,30,00,38,00,37,00,42,\
  00,41,00,45,00,37,00,37,00,39,00,00,00,42,00,46,00,37,00,30,00,33,00,33,00,\
  42,00,31,00,44,00,41,00,35,00,42,00,37,00,37,00,38,00,34,00,41,00,41,00,43,\
  00,33,00,42,00,44,00,44,00,30,00,42,00,41,00,35,00,46,00,30,00,39,00,45,00,\
  32,00,00,00,43,00,33,00,45,00,39,00,46,00,34,00,34,00,36,00,33,00,42,00,46,\
  00,34,00,44,00,46,00,43,00,34,00,35,00,38,00,38,00,44,00,33,00,37,00,31,00,\
  38,00,36,00,30,00,35,00,35,00,39,00,42,00,38,00,33,00,00,00,46,00,36,00,33,\
  00,46,00,43,00,31,00,46,00,38,00,38,00,43,00,42,00,37,00,46,00,43,00,32,00,\
  34,00,41,00,38,00,41,00,35,00,42,00,38,00,30,00,38,00,44,00,33,00,38,00,45,\
  00,32,00,34,00,41,00,33,00,00,00,34,00,41,00,34,00,30,00,45,00,41,00,35,00,\
  39,00,32,00,39,00,41,00,37,00,31,00,32,00,35,00,34,00,39,00,39,00,46,00,43,\
  00,30,00,35,00,41,00,31,00,32,00,44,00,33,00,36,00,35,00,30,00,39,00,43,00,\
  00,00,46,00,32,00,42,00,46,00,44,00,32,00,46,00,39,00,31,00,41,00,44,00,44,\
  00,34,00,33,00,30,00,34,00,34,00,38,00,41,00,46,00,30,00,44,00,38,00,30,00,\
  44,00,42,00,39,00,44,00,39,00,33,00,32,00,37,00,00,00,37,00,34,00,41,00,41,\
  00,36,00,30,00,42,00,41,00,37,00,43,00,31,00,42,00,42,00,42,00,31,00,34,00,\
  39,00,38,00,44,00,41,00,45,00,45,00,39,00,38,00,34,00,34,00,32,00,32,00,30,\
  00,30,00,35,00,42,00,00,00,41,00,32,00,32,00,32,00,44,00,36,00,45,00,42,00,\
  32,00,42,00,31,00,43,00,31,00,30,00,42,00,34,00,46,00,42,00,43,00,34,00,41,\
  00,37,00,30,00,33,00,34,00,39,00,42,00,33,00,31,00,32,00,39,00,44,00,00,00,\
  44,00,43,00,46,00,39,00,35,00,38,00,35,00,43,00,35,00,41,00,34,00,44,00,33,\
  00,42,00,30,00,34,00,42,00,41,00,43,00,34,00,30,00,41,00,46,00,38,00,33,00,\
  31,00,44,00,41,00,42,00,46,00,41,00,34,00,00,00,44,00,37,00,38,00,45,00,31,\
  00,46,00,36,00,43,00,31,00,45,00,33,00,46,00,34,00,37,00,38,00,34,00,37,00,\
  39,00,43,00,45,00,38,00,46,00,44,00,37,00,42,00,41,00,44,00,36,00,38,00,36,\
  00,38,00,37,00,00,00,34,00,39,00,31,00,43,00,33,00,39,00,41,00,43,00,46,00,\
  45,00,37,00,38,00,43,00,32,00,41,00,34,00,32,00,42,00,45,00,44,00,39,00,39,\
  00,33,00,46,00,46,00,41,00,43,00,34,00,33,00,44,00,41,00,36,00,00,00,35,00,\
  38,00,37,00,41,00,33,00,36,00,43,00,43,00,43,00,39,00,43,00,46,00,44,00,34,\
  00,43,00,34,00,30,00,39,00,34,00,42,00,30,00,38,00,45,00,35,00,34,00,45,00,\
  38,00,36,00,33,00,39,00,43,00,34,00,00,00,44,00,36,00,32,00,31,00,44,00,37,\
  00,35,00,44,00,36,00,30,00,37,00,42,00,42,00,43,00,41,00,34,00,30,00,41,00,\
  36,00,39,00,31,00,41,00,45,00,32,00,37,00,44,00,32,00,41,00,41,00,36,00,35,\
  00,41,00,00,00,35,00,30,00,43,00,46,00,33,00,46,00,37,00,44,00,39,00,45,00,\
  38,00,42,00,34,00,46,00,39,00,34,00,34,00,42,00,31,00,34,00,31,00,36,00,32,\
  00,39,00,39,00,32,00,39,00,46,00,44,00,42,00,31,00,30,00,00,00,36,00,39,00,\
  41,00,42,00,36,00,43,00,41,00,44,00,31,00,32,00,38,00,34,00,44,00,38,00,44,\
  00,34,00,31,00,39,00,43,00,31,00,39,00,44,00,43,00,39,00,30,00,32,00,36,00,\
  38,00,33,00,39,00,35,00,32,00,00,00,39,00,31,00,46,00,31,00,30,00,37,00,36,\
  00,46,00,44,00,45,00,30,00,43,00,46,00,43,00,42,00,34,00,34,00,38,00,31,00,\
  35,00,35,00,44,00,34,00,31,00,39,00,31,00,32,00,41,00,30,00,45,00,42,00,43,\
  00,00,00,39,00,45,00,46,00,33,00,45,00,31,00,46,00,46,00,45,00,43,00,42,00,\
  36,00,42,00,46,00,37,00,34,00,37,00,41,00,30,00,34,00,38,00,39,00,32,00,37,\
  00,35,00,32,00,43,00,35,00,34,00,31,00,35,00,33,00,00,00,34,00,45,00,43,00,\
  35,00,36,00,38,00,39,00,36,00,36,00,37,00,42,00,34,00,33,00,41,00,43,00,34,\
  00,46,00,38,00,46,00,30,00,44,00,36,00,30,00,36,00,30,00,30,00,46,00,45,00,\
  30,00,31,00,43,00,37,00,00,00,00,00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Products\9140210900063D11C8EF10054038389C\Patches\011B66C96596C8942BB15D16E3F6A1BF]
"MSI3"=dword:00000001
"State"=dword:00000002
"Uninstallable"=dword:00000001
"LUAEnabled"=dword:00000000
"PatchType"=dword:00000000
"Installed"="20100518"
"DisplayName"="Фильтра спама для приложения Outlook 2003 Обновление (KB979771): OUTLFLTR"
"MoreInfoURL"="http://support.microsoft.com/kb/979771"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Products\9140210900063D11C8EF10054038389C\Patches\161AB62DD3A7D4F4D963C2CE8571FC9E]
"MSI3"=dword:00000001
"State"=dword:00000002
"Uninstallable"=dword:00000001
"LUAEnabled"=dword:00000000
"PatchType"=dword:00000000
"Installed"="20100518"
"DisplayName"="Word 2003 Обновление безопасности (KB973443): WINWORD"
"MoreInfoURL"="http://support.microsoft.com/kb/973443"
Мой Setup.ini выглядит аналогично:

Код: Выделить весь код
; Microsoft Office SETUP.EXE settings file.

[MSI]
; The MSI section gives the name of the MSI file to install. This file must be in 
; the same folder as Setup.exe, and both must be in the root of the installation 
; tree.
MSI=STD11.MSI

[Product]
ProductCode={90120419-6000-11D3-8CFE-0150048383C9}
ProductName=Microsoft Office 2003
ProductVersion=11.0.5614.0
Recache=1

[MST]
; The MST section gives the full path to a transform that should be applied.
;MST1=\\server\share\some transform.mst
;MST1=D:\transforms\my transform.mst

[Options]
; The option section is used for specifying individual Installer Properties.
USERNAME=1
;COMPANYNAME=1
;INSTALLLOCATION=C:\Program Files\MyApp

[Display]
; The diplay section is used for overriding the default UI
;       Value           Default         Description
;       Display         full            Option to override the default UI
;                                       [none, quiet, basic, reduced, full]
;       CompletionNotice Yes            Option to display a setup completion 
;                                       notice for otherwise quiet setup
;Display=None
;CompletionNotice=Yes

[Logging]
; The logging section provides settings for controlling the Setup log files.
;       Value           Default         Description
;       Type            vpiwaeo         Logging modes  
;                                       [a, c, e, i, m, o, p, r, u , v, 
;                                       w, *, +]
;       Path            %TEMP%          Path to create logfiles
;       Template        SetupLog(*).txt File name for log file should end in 
;                                       "(*).txt"; the * is replaced with a 4 
;                                       digit number to make the file name unique
Template=Microsoft Office 2003 Setup(*).txt
Type=piwaeo
;Path=\\MyServer\logfiles\ 
;Template=Product %UserName%(*).txt

[MinOSRequirement]
; MinOSRequirement is used for defining the minimal OS requirement for 
; installing the product. 
VersionNT_1=500
WindowsBuild_1=2195
ServicePackLevel_1=3

[Cache]
; The cache section provides settings for caching the install source locally 
;       Value           Default         Description
;       CDCACHE            2             Option to specify cache level 
;                                       [auto, 0, 1, 2]
;       LOCALCACHEDRIVE <predefined>    Option to specify a drive to cache 
;                                       the install source to
;       DELETABLECACHE  1                Option to display UI to remove the 
;                                       cache at the end of setup [0,1]
;       PURGE           0               Option to always remove cache at end of 
;                                       setup [0,1]
CDCACHE=auto
LOCALCACHEDRIVE=C:\ 
DELETABLECACHE=1
PURGE=0

[OfficeWebComponents]
MSI=OWC11.MSI

[ChainedInstall] 
TaskName=Add Updatesinfo to registry
TASKTYPE=exe
PATH=REG.exe
CmdLine=IMPORT Updates.reg
Файл Updates.reg лежит (на всякий случай) в двух местах: возле \FILES\SETUP\Setup.ini и в корне на диске Setup.exe.

-------
Свобода не означает вседозволенность.


Последний раз редактировалось Nun-Nun, 11-10-2010 в 21:01.


Отправлено: 20:43, 11-10-2010 | #705