chocolatey: instale programas da internet e do disco rígido local

0

Eu gostaria de preparar o arquivo package.config para a próxima vez que eu tiver que restaurar o Win7 ao meu netbook.

A maioria dos meus pacotes está no grupo de software chocolatey, mas alguns não são. Assim, eu baixei o software não-chocolatey e, assim, preparei o arquivo de configuração de teste abaixo para ver se o chocolatey pode instalar em massa os programas * .exe em uma unidade local:

<?xml version="1.0" encoding="utf-8"?>
<packages>
    <package id="clipx-1.0.3.8-setup.exe" source="D:\AC\bckup\Install_Windows_PROGRAM_INSTALL_Manual\ClipX\clipx-1.0.3.8-setup.exe" />
    <package id="clipx-autoupdate-1.6-x86.exe" source="D:\AC\bckup\Install_Windows_PROGRAM_INSTALL_Manual\ClipX\clipx-autoupdate-1.6-x86.exe" />
    <package id="clipx-disklog-1.2-x86.exe" source="D:\AC\bckup\Install_Windows_PROGRAM_INSTALL_Manual\ClipX\clipx-disklog-1.2-x86.exe" />
    <package id="clipx-limits-1.2-x86.exe" source="D:\AC\bckup\Install_Windows_PROGRAM_INSTALL_Manual\ClipX\clipx-limits-1.2-x86.exe" />
    <package id="clipx-stickies-1.9-x86.exe" source="D:\AC\bckup\Install_Windows_PROGRAM_INSTALL_Manual\ClipX\clipx-stickies-1.9-x86.exe" />
</packages>

Eu também tentei a parte acima do w / o * .exe do caminho, mas não importa o que o chocolatey não possa instalar, informando que todos os 5 programas falharam na instalação, mais especificamente:

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_Windows_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_Windows_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_Windows_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_Windows_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_Windows_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

E sim, eu certamente fiz isso de um cmd que foi aberto como administrador.

O chocolatey pode instalar programas * .exe localmente?

Andrew

    
por afc888ny 26.04.2015 / 16:36

1 resposta

0

Para responder à sua pergunta, SIM , o Chocolatey pode instalar *.exe programas localmente, mas você ainda precisa de um pacote Chocolatey apontando para esses instaladores nativos locais ( *.exe files).

O Chocolatey tem a capacidade de instalar diretamente de um instalador nativo, mas usando apenas o Direct Installer (disponível no Chocolatey for Business).

Você ainda precisa do pacote (também conhecido como .nupkg file) que contém instruções de instalação que apontam para seus instaladores nativos locais (por exemplo, setup.exe ).

    
por 27.04.2015 / 18:08