Я хотел бы подготовить файл package.config для следующей попытки восстановить Win7 на моем нетбуке.
Большинство моих пакетов находятся в шоколадной группе программного обеспечения, но некоторые нет. Таким образом, я скачал программное обеспечение non-chocolatey и подготовил тестовый конфигурационный файл ниже, чтобы проверить, может ли chocolatey установить программы * .exe на локальный диск.
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="clipx-1.0.3.8-setup.exe" source="D:\AC\bckup\Install\3_Windows\04_PROGRAM_INSTALL_Manual\ClipX\clipx-1.0.3.8-setup.exe" />
<package id="clipx-autoupdate-1.6-x86.exe" source="D:\AC\bckup\Install\3_Windows\04_PROGRAM_INSTALL_Manual\ClipX\clipx-autoupdate-1.6-x86.exe" />
<package id="clipx-disklog-1.2-x86.exe" source="D:\AC\bckup\Install\3_Windows\04_PROGRAM_INSTALL_Manual\ClipX\clipx-disklog-1.2-x86.exe" />
<package id="clipx-limits-1.2-x86.exe" source="D:\AC\bckup\Install\3_Windows\04_PROGRAM_INSTALL_Manual\ClipX\clipx-limits-1.2-x86.exe" />
<package id="clipx-stickies-1.9-x86.exe" source="D:\AC\bckup\Install\3_Windows\04_PROGRAM_INSTALL_Manual\ClipX\clipx-stickies-1.9-x86.exe" />
</packages>
Я также попробовал описанную выше без * .exe часть пути, но независимо от того, что Chocolatey не может установить, сообщив, что все 5 программ не удалось установить, более конкретно:
Error serializing type chocolatey.infrastructure.app.configuration.ConfigFileSettings:
Access to the path 'C:\ProgramData\chocolatey\config\chocolatey.config' is denied.
Error updating 'C:\ProgramData\chocolatey\config\chocolatey.config'. Please ensure you have permissions to do so:
Access to the path 'C:\ProgramData\chocolatey\config\chocolatey.config' is denied.
Chocolatey v0.9.9.4
Installing the following packages:
packages0426.config
By installing you accept licenses for the packages.
clipx-1.0.3.8-setup.exe not installed. The package was not found with the source(s) listed.
If you specified a particular version and are receiving this message, it is possible that the package name exists but the version does not.
Version: ""
Source(s): "D:\AC\bckup\Install\3_Windows\04_PROGRAM_INSTALL_Manual\ClipX\clipx-1.0.3.8-setup.exe"
clipx-autoupdate-1.6-x86.exe not installed. The package was not found with the source(s) listed.
If you specified a particular version and are receiving this message, it is possible that the package name exists but the version does not.
Version: ""
Source(s): "D:\AC\bckup\Install\3_Windows\04_PROGRAM_INSTALL_Manual\ClipX\clipx-autoupdate-1.6-x86.exe"
clipx-disklog-1.2-x86.exe not installed. The package was not found with the source(s) listed.
If you specified a particular version and are receiving this message, it is possible that the package name exists but the version does not.
Version: ""
Source(s): "D:\AC\bckup\Install\3_Windows\04_PROGRAM_INSTALL_Manual\ClipX\clipx-disklog-1.2-x86.exe"
clipx-limits-1.2-x86.exe not installed. The package was not found with the source(s) listed.
If you specified a particular version and are receiving this message, it is possible that the package name exists but the version does not.
Version: ""
Source(s): "D:\AC\bckup\Install\3_Windows\04_PROGRAM_INSTALL_Manual\ClipX\clipx-limits-1.2-x86.exe"
clipx-stickies-1.9-x86.exe not installed. The package was not found with the source(s) listed.
If you specified a particular version and are receiving this message, it is possible that the package name exists but the version does not.
Version: ""
Source(s): "D:\AC\bckup\Install\3_Windows\04_PROGRAM_INSTALL_Manual\ClipX\clipx-stickies-1.9-x86.exe"
Chocolatey installed 0/5 package(s). 5 package(s) failed.
See the log for details.
Failures:
- clipx-1.0.3.8-setup.exe
- clipx-stickies-1.9-x86.exe
- clipx-disklog-1.2-x86.exe
- clipx-autoupdate-1.6-x86.exe
- clipx-limits-1.2-x86.exe
И да, я, конечно, делал это с помощью cmd, который был открыт как администратор.
Может ли chocolatey установить программы * .exe локально?
Эндрю