SilentInstaller NIPKG - achim @ FZK - 20.11.2021 16:12
Hallo,
irgendwie scheine ich zu blöd dafür zu sein... Ich will mir einen Silentinstaller für ein Projekt bauen.
Die Pakete sollen über den NIPKG heruntergeladen werden und installiert werden.
Das klappt soweit für einzelne Pakete auch.
Die Schwierigkeit ist, herauszufinden was man alles zum Glück braucht.
Ich hab mir eine VM gemacht, alles installiert was ich brauche (LV2020, VIA, DETT, IMAQ, IMAQdx, Vision, ...) und war der verrückten Annahme man könne diese Konfiguration einfach als Installer speichern.
So ähnlich wir das vor den NI Package Manager möglich war.
Soweit bin ich gekommen:
Code:
rem Feeds hinzufügen
"C:\Program Files\National Instruments\NI Package Manager\nipkg.exe" feed-add https://download.ni.com/support/nipkg/products/ni-l/ni-labview-2020-x86/20.0/released
"C:\Program Files\National Instruments\NI Package Manager\nipkg.exe" feed-add https://download.ni.com/support/nipkg/products/ni-l/ni-labview-2020-vi-analyzer-toolkit-x86/20.0/released
"C:\Program Files\National Instruments\NI Package Manager\nipkg.exe" feed-add https://download.ni.com/support/nipkg/products/ni-l/ni-labview-desktop-execution-trace-toolkit/20.0/released
"C:\Program Files\National Instruments\NI Package Manager\nipkg.exe" feed-add https://download.ni.com/support/nipkg/products/ni-l/ni-labview-desktop-execution-trace-toolkit/20.0/released-critical
"C:\Program Files\National Instruments\NI Package Manager\nipkg.exe" feed-add https://download.ni.com/support/nipkg/products/ni-i/ni-imaq/20.0/released
"C:\Program Files\National Instruments\NI Package Manager\nipkg.exe" feed-add https://download.ni.com/support/nipkg/products/ni-i/ni-imaq/20.0/released-critical
"C:\Program Files\National Instruments\NI Package Manager\nipkg.exe" feed-add https://download.ni.com/support/nipkg/products/ni-i/ni-imaqdx/20.0/released
"C:\Program Files\National Instruments\NI Package Manager\nipkg.exe" feed-add https://download.ni.com/support/nipkg/products/ni-i/ni-imaqdx/20.0/released-critical
"C:\Program Files\National Instruments\NI Package Manager\nipkg.exe" feed-add https://download.ni.com/support/nipkg/products/ni-v/ni-vision-development-module/20.0/released
"C:\Program Files\National Instruments\NI Package Manager\nipkg.exe" feed-add https://download.ni.com/support/nipkg/products/ni-v/ni-vision-development-module/20.0/released-critical
rem Feeds updaten
"C:\Program Files\National Instruments\NI Package Manager\nipkg.exe" feed-update
rem Pakete aus Feed installieren
"C:\Program Files\National Instruments\NI Package Manager\nipkg.exe" install ni-labview-2020-core-x86-en -y --accept-eulas --install-also-upgrades -v --simulate
"C:\Program Files\National Instruments\NI Package Manager\nipkg.exe" install ni-labview-2020-report-generation-toolkit-x86 -y --accept-eulas --install-also-upgrades -v --simulate
"C:\Program Files\National Instruments\NI Package Manager\nipkg.exe" install ni-labview-2020-database-toolkit-x86 -y --accept-eulas --install-also-upgrades -v --simulate
"C:\Program Files\National Instruments\NI Package Manager\nipkg.exe" install ni-labview-2020-vi-analyzer-toolkit-x86 -y --accept-eulas --install-also-upgrades -v --simulate
"C:\Program Files\National Instruments\NI Package Manager\nipkg.exe" install ni-labview-dett -y --accept-eulas --install-also-upgrades -v --simulate
"C:\Program Files\National Instruments\NI Package Manager\nipkg.exe" install ni-labview-dett-labview-2020-support-x86 -y --accept-eulas --install-also-upgrades -v --simulate
"C:\Program Files\National Instruments\NI Package Manager\nipkg.exe" install ni-imaq -y --accept-eulas --install-also-upgrades -v --simulate
"C:\Program Files\National Instruments\NI Package Manager\nipkg.exe" install ni-imaq-runtime -y --accept-eulas --install-also-upgrades -v --simulate
"C:\Program Files\National Instruments\NI Package Manager\nipkg.exe" install ni-imaq-labview-2020-support-x86 -y --accept-eulas --install-also-upgrades -v --simulate
"C:\Program Files\National Instruments\NI Package Manager\nipkg.exe" install ni-imaqdx -y --accept-eulas --install-also-upgrades -v --simulate
"C:\Program Files\National Instruments\NI Package Manager\nipkg.exe" install ni-imaqdx-labview-2020-support-x86 -y --accept-eulas --install-also-upgrades -v --simulate
"C:\Program Files\National Instruments\NI Package Manager\nipkg.exe" install ni-imaqdx-development-support -y --accept-eulas --install-also-upgrades -v --simulate
"C:\Program Files\National Instruments\NI Package Manager\nipkg.exe" install ni-imaqdx-runtime -y --accept-eulas --install-also-upgrades -v --simulate
"C:\Program Files\National Instruments\NI Package Manager\nipkg.exe" install ni-gvsp-gigevision -y --accept-eulas --install-also-upgrades -v --simulate
"C:\Program Files\National Instruments\NI Package Manager\nipkg.exe" install ni-vision-development-module -y --accept-eulas --install-also-upgrades -v --simulate
"C:\Program Files\National Instruments\NI Package Manager\nipkg.exe" install ni-vision-runtime -y --accept-eulas --install-also-upgrades -v --simulate
"C:\Program Files\National Instruments\NI Package Manager\nipkg.exe" install d0cc0ecd-cde1-4f7b-bea9-b86970da391c -y --accept-eulas --install-also-upgrades -v --simulate
Aber immer fehlt was oder wird nicht installiert. Weiß jemand obs nicht irgendwie einfacher geht?
Viele Grüße,
Achim
|