Добрый день!
Прошу помочь в решении проблемы автоматической установки программы Samoware на ПК в домене.
При отсутствии программы на ПК, автоматическая установка проходит без проблем, но если устанавливаем поверх ранее установленной программы (например, вышла новая версия) - ошибка отказано в доступе. Установка на запуск под УЗ с полномочиями админа - ошибка та же. Нет доступа.
Свойства ингаляционного пакета
Читаем логи:
2024-01-05 15:54:01.294 Log opened. (Time zone: UTC+03:00)
2024-01-05 15:54:01.295 Setup version: Inno Setup version 6.2.1
2024-01-05 15:54:01.295 Original Setup EXE: C:\Windows\TEMP\KAVREM~1\682F0E~1\exec\samoware_windows 4.6.15.exe
2024-01-05 15:54:01.295 Setup command line: /SL5="$3008C,100695013,1187328,C:\Windows\TEMP\KAVREM~1\682F0E~1\exec\samoware_windows 4.6.15.exe" /verysilent /TASKS=desktopicon /TYPE="commercial" /NORESTART /LOG
2024-01-05 15:54:01.295 Windows version: 10.0.19043 (NT platform: Yes)
2024-01-05 15:54:01.295 64-bit Windows: Yes
2024-01-05 15:54:01.303 Processor architecture: x64
2024-01-05 15:54:01.303 User privileges: Administrative
2024-01-05 15:54:01.314 Administrative install mode: Yes
2024-01-05 15:54:01.314 Install mode root key: HKEY_LOCAL_MACHINE
2024-01-05 15:54:01.314 64-bit install mode: No
2024-01-05 15:54:01.328 Created temporary directory: C:\Windows\TEMP\is-2IJ4E.tmp
2024-01-05 15:54:01.473 Found 89 files to register with RestartManager.
2024-01-05 15:54:01.473 Calling RestartManager's RmGetList.
2024-01-05 15:54:02.697 RmGetList finished successfully.
2024-01-05 15:54:02.697 RestartManager found an application using one of our files: Samoware
2024-01-05 15:54:02.697 Can use RestartManager to avoid reboot? No (2: Session Mismatch)
2024-01-05 15:54:02.698 Starting the installation process.
2024-01-05 15:54:02.706 Directory for uninstall files: C:\Program Files (x86)\Samoware
2024-01-05 15:54:02.766 Will append to existing uninstall log: C:\Program Files (x86)\Samoware\unins000.dat
2024-01-05 15:54:02.770 -- File entry --
2024-01-05 15:54:02.770 Dest filename: C:\Program Files (x86)\Samoware\unins000.exe
2024-01-05 15:54:02.821 Time stamp of our file: 2024-01-05 15:54:01.111
2024-01-05 15:54:02.822 Dest file exists.
2024-01-05 15:54:02.822 Time stamp of existing file: 2024-01-05 15:46:11.282
2024-01-05 15:54:02.823 Version of our file: 51.1052.0.0
2024-01-05 15:54:02.825 Version of existing file: 51.1052.0.0
2024-01-05 15:54:02.825 Installing the file.
2024-01-05 15:54:02.838 Leaving temporary file in place for now.
2024-01-05 15:54:02.838 -- File entry --
2024-01-05 15:54:02.838 Dest filename: C:\Program Files (x86)\Samoware\plugins\CommuniGateAuditor.dll
2024-01-05 15:54:02.838 Time stamp of our file: 2023-11-07 00:39:26.000
2024-01-05 15:54:02.838 Dest file exists.
2024-01-05 15:54:02.839 Time stamp of existing file: 2023-10-17 23:15:46.000
2024-01-05 15:54:02.839 Installing the file.
2024-01-05 15:54:02.844 DeleteFile: The existing file appears to be in use (5). Retrying.
2024-01-05 15:54:03.856 DeleteFile: The existing file appears to be in use (5). Retrying.
2024-01-05 15:54:04.867 DeleteFile: The existing file appears to be in use (5). Retrying.
2024-01-05 15:54:05.877 DeleteFile: The existing file appears to be in use (5). Retrying.
2024-01-05 15:54:06.885 Message box (Abort/Retry/Ignore):
C:\Program Files (x86)\Samoware\plugins\CommuniGateAuditor.dll
Произошла ошибка при попытке замены существующего файла:
DeleteFile: сбой; код 5.
Отказано в доступе.
В чем может быть проблема? В параметрах запуска колхозил, но результат тот же.
Чисто параметр /S не походит