Software aus Ordner kopieren

Powair
Beiträge: 15
Registriert: 12 Nov 2012, 14:56

Re: Software aus Ordner kopieren

Beitrag von Powair »

achso...ja ok...das wird hier nich so das problem sein, da die rechner jeweils nur eine platte haben und nur win xp drauf von mir installiert wird.
es ist ein ausbildungslabor, wo mit den rechner eh immer gebastelt wird etc.
und ich bin halt dafür zuständig, dass sozusagen die pc einmal komplett ausgestattet werden mit der software, falls hier doch mal azubis sind, die hier in der domäne arbeiten wollen (z.b. derzeit auch für abschlussprojekte, oder ausbildungsnachweise schreiben)...

Code: Alles auswählen


[5] [08.01.2013 14:17:09] --
[5] [08.01.2013 14:17:09] --
[1] [08.01.2013 14:17:09] opsi-winst 4.11.2.9 started at >>08.01.2013 14:17:08
[1] [08.01.2013 14:17:09] startmessage winst created at CentralForm.FormCreate: 08.01.2013 14:17:08
[1] [08.01.2013 14:17:09] startmessage StartProgramModes and create log: 08.01.2013 14:17:08
[1] [08.01.2013 14:17:09] startmessage start opsi service connection: 08.01.2013 14:17:08
[1] [08.01.2013 14:17:09] startmessage create log: 08.01.2013 14:17:09
[6] [08.01.2013 14:17:09] JSON service request https://192.168.11.27:4447/rpc getDepotId
[6] [08.01.2013 14:17:09] JSON service request https://192.168.11.27:4447/rpc backend_setOptions
[6] [08.01.2013 14:17:09] JSON service request https://192.168.11.27:4447/rpc productOnClient_getObjects
[5] [08.01.2013 14:17:09] Computername:244-07.az04.local
[5] [08.01.2013 14:17:09] Computername according to Environment Variable :244-07
[5] [08.01.2013 14:17:09] opsi service URL https://192.168.11.27:4447
[5] [08.01.2013 14:17:09] Depot path:  p:\
[5] [08.01.2013 14:17:09] 
[5] [08.01.2013 14:17:09] bootmode BKSTD
[5] [08.01.2013 14:17:09] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[5] [08.01.2013 14:17:09] Resolved sequence of products (08.01.2013 14:17:09): 
[5] [08.01.2013 14:17:09] Product 3 	it-pack2013 : setup
[5] [08.01.2013 14:17:09] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[6] [08.01.2013 14:17:10] JSON service request https://192.168.11.27:4447/rpc getProductProperties_hash
[6] [08.01.2013 14:17:10] JSON service request https://192.168.11.27:4447/rpc getProduct_hash
[6] [08.01.2013 14:17:10] JSON service request https://192.168.11.27:4447/rpc productOnClient_getObjects
[5] [08.01.2013 14:17:10] scriptname: "setup.ins", special path: "p:\it-pack2013\"
[6] [08.01.2013 14:17:10] JSON service request https://192.168.11.27:4447/rpc productOnClient_updateObject
[1] [08.01.2013 14:17:10] 
[1] [08.01.2013 14:17:10] ============ Version 4.11.2.9 WIN32 script "p:\it-pack2013\setup.ins"
[1] [08.01.2013 14:17:10]              start: 2013-01-08  14:17:10 
[1] [08.01.2013 14:17:10]              on client named    "244-07.az04.local"
[1] [08.01.2013 14:17:10]              loggedin user    ""
[1] [08.01.2013 14:17:10]              winst running as    "pcpatch"
[1] [08.01.2013 14:17:10]              winst running with admin privileges
[1] [08.01.2013 14:17:10]              winst running in standard script mode
[1] [08.01.2013 14:17:10] [executing: "C:\Programme\opsi.org\opsi-client-agent\opsi-winst\winst32.exe"]
[1] [08.01.2013 14:17:10] system infos:
[1] [08.01.2013 14:17:10] 00-50-04-6B-DE-F6  -  PC hardware address
[1] [08.01.2013 14:17:10] 244-07.AZ04.local  -  IP name 
[1] [08.01.2013 14:17:10] 192.168.11.29  -  IP address
[1] [08.01.2013 14:17:10] DEU  -  System default locale 
[1] [08.01.2013 14:17:10] MS Windowds 5.1 32 Bit
[1] [08.01.2013 14:17:10] opsi service version : 4
[1] [08.01.2013 14:17:10] 
[6] [08.01.2013 14:17:10] Registry key [HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion]  opened
[6] [08.01.2013 14:17:10] Key closed
[4] [08.01.2013 14:17:11] Warning: depricated: <LogLevel=> please use <setLogLevel=> 
[1] [08.01.2013 14:17:11] LogLevel was 6
[1] [08.01.2013 14:17:11] LogLevel set to 6
[5] [08.01.2013 14:17:11] 
[5] [08.01.2013 14:17:11] Execution of Files_get
[6] [08.01.2013 14:17:11]   Delete recursively "c:\setup\IT\"
[6] [08.01.2013 14:17:11]     Search "c:\setup\IT\"
[6] [08.01.2013 14:17:11]     File "c:\setup\IT\installer_tftpd32_4_00_Deutsch.exe"
[6] [08.01.2013 14:17:11]       The file has been deleted
[6] [08.01.2013 14:17:11]     File "c:\setup\IT\nmap-6.25-setup.exe"
[6] [08.01.2013 14:17:11]       The file has been deleted
[6] [08.01.2013 14:17:11]     File "c:\setup\IT\nmap.exe"
[6] [08.01.2013 14:17:11]       The file has been deleted
[6] [08.01.2013 14:17:11]     File "c:\setup\IT\npp.6.2.3.Installer.exe"
[6] [08.01.2013 14:17:11]       The file has been deleted
[6] [08.01.2013 14:17:11]     File "c:\setup\IT\npp.exe"
[6] [08.01.2013 14:17:11]       The file has been deleted
[6] [08.01.2013 14:17:11]     File "c:\setup\IT\npp_alt.exe"
[6] [08.01.2013 14:17:11]       The file has been deleted
[6] [08.01.2013 14:17:11]     File "c:\setup\IT\PacketTracer.exe"
[6] [08.01.2013 14:17:11]       The file has been deleted
[6] [08.01.2013 14:17:11]     File "c:\setup\IT\winscp513setup.exe"
[6] [08.01.2013 14:17:11]       The file has been deleted
[6] [08.01.2013 14:17:11]     File "c:\setup\IT\Wireshark-win32-1.8.4.exe"
[6] [08.01.2013 14:17:12]       The file has been deleted
[6] [08.01.2013 14:17:12]     File "c:\setup\IT\wireshark.exe"
[6] [08.01.2013 14:17:12]       The file has been deleted
[6] [08.01.2013 14:17:12]     File "c:\setup\IT\wireshark_alt.exe"
[6] [08.01.2013 14:17:12]       The file has been deleted
[6] [08.01.2013 14:17:12]     Directory "c:\setup\IT" deleted
[6] [08.01.2013 14:17:12]     path C:\setup\IT\ created
[6] [08.01.2013 14:17:12]   Copying  P:\it-pack2013\setup\*.* -----> C:\setup\IT\
[5] [08.01.2013 14:17:12]     11 File(s) found
[6] [08.01.2013 14:17:12]     Source P:\it-pack2013\setup\nmap-6.25-setup.exe
[6] [08.01.2013 14:17:15]       P:\it-pack2013\setup\nmap-6.25-setup.exe copied to C:\setup\IT\
[6] [08.01.2013 14:17:15]     Source P:\it-pack2013\setup\Wireshark-win32-1.8.4.exe
[6] [08.01.2013 14:17:20]       P:\it-pack2013\setup\Wireshark-win32-1.8.4.exe copied to C:\setup\IT\
[6] [08.01.2013 14:17:20]     Source P:\it-pack2013\setup\npp.6.2.3.Installer.exe
[6] [08.01.2013 14:17:21]       P:\it-pack2013\setup\npp.6.2.3.Installer.exe copied to C:\setup\IT\
[6] [08.01.2013 14:17:21]     Source P:\it-pack2013\setup\nmap.exe
[6] [08.01.2013 14:17:23]       P:\it-pack2013\setup\nmap.exe copied to C:\setup\IT\
[6] [08.01.2013 14:17:23]     Source P:\it-pack2013\setup\PacketTracer.exe
[6] [08.01.2013 14:17:25]       P:\it-pack2013\setup\PacketTracer.exe copied to C:\setup\IT\
[6] [08.01.2013 14:17:25]     Source P:\it-pack2013\setup\installer_tftpd32_4_00_Deutsch.exe
[6] [08.01.2013 14:17:27]       P:\it-pack2013\setup\installer_tftpd32_4_00_Deutsch.exe copied to C:\setup\IT\
[6] [08.01.2013 14:17:27]     Source P:\it-pack2013\setup\wireshark.exe
[6] [08.01.2013 14:17:30]       P:\it-pack2013\setup\wireshark.exe copied to C:\setup\IT\
[6] [08.01.2013 14:17:30]     Source P:\it-pack2013\setup\npp_alt.exe
[6] [08.01.2013 14:17:31]       P:\it-pack2013\setup\npp_alt.exe copied to C:\setup\IT\
[6] [08.01.2013 14:17:31]     Source P:\it-pack2013\setup\npp.exe
[6] [08.01.2013 14:17:31]       P:\it-pack2013\setup\npp.exe copied to C:\setup\IT\
[6] [08.01.2013 14:17:31]     Source P:\it-pack2013\setup\winscp513setup.exe
[6] [08.01.2013 14:17:32]       P:\it-pack2013\setup\winscp513setup.exe copied to C:\setup\IT\
[6] [08.01.2013 14:17:32]     Source P:\it-pack2013\setup\wireshark_alt.exe
[6] [08.01.2013 14:17:36]       P:\it-pack2013\setup\wireshark_alt.exe copied to C:\setup\IT\
[5] [08.01.2013 14:17:36]     11 File(s) treated
[6] [08.01.2013 14:17:36]   Copying  P:\it-pack2013\IT-Pack\*.* -----> C:\Programme\IT-Pack\
[5] [08.01.2013 14:17:36]     6 File(s) found
[6] [08.01.2013 14:17:36]     Source P:\it-pack2013\IT-Pack\notepad++.exe
[6] [08.01.2013 14:17:36]       P:\it-pack2013\IT-Pack\notepad++.exe copied to C:\Programme\IT-Pack\
[6] [08.01.2013 14:17:36]     Source P:\it-pack2013\IT-Pack\nmap.exe
[6] [08.01.2013 14:17:36]       P:\it-pack2013\IT-Pack\nmap.exe copied to C:\Programme\IT-Pack\
[6] [08.01.2013 14:17:36]     Source P:\it-pack2013\IT-Pack\WinSCP.exe
[6] [08.01.2013 14:17:37]       P:\it-pack2013\IT-Pack\WinSCP.exe copied to C:\Programme\IT-Pack\
[6] [08.01.2013 14:17:37]     Source P:\it-pack2013\IT-Pack\wireshark.exe
[6] [08.01.2013 14:17:38]       P:\it-pack2013\IT-Pack\wireshark.exe copied to C:\Programme\IT-Pack\
[6] [08.01.2013 14:17:38]     Source P:\it-pack2013\IT-Pack\tftpd32.exe
[6] [08.01.2013 14:17:38]       Info: Target C:\Programme\IT-Pack\tftpd32.exe exists and shall be overwritten
[6] [08.01.2013 14:17:38]       P:\it-pack2013\IT-Pack\tftpd32.exe copied to C:\Programme\IT-Pack\
[6] [08.01.2013 14:17:38]     Source P:\it-pack2013\IT-Pack\putty.exe
[6] [08.01.2013 14:17:38]       Info: Target C:\Programme\IT-Pack\putty.exe exists and shall be overwritten
[6] [08.01.2013 14:17:38]       P:\it-pack2013\IT-Pack\putty.exe copied to C:\Programme\IT-Pack\
[5] [08.01.2013 14:17:38]     6 File(s) treated
[6] [08.01.2013 14:17:38]   Copying  P:\it-pack2013\links\Desktop\*.* -----> C:\Dokumente und Einstellungen\All Users\Desktop\
[5] [08.01.2013 14:17:38]     1 File(s) found
[6] [08.01.2013 14:17:38]     Source P:\it-pack2013\links\Desktop\putty.lnk
[6] [08.01.2013 14:17:38]       Info: Target C:\Dokumente und Einstellungen\All Users\Desktop\putty.lnk exists and shall be overwritten
[6] [08.01.2013 14:17:38]       P:\it-pack2013\links\Desktop\putty.lnk copied to C:\Dokumente und Einstellungen\All Users\Desktop\
[5] [08.01.2013 14:17:38]     1 File(s) treated
[6] [08.01.2013 14:17:38]   Copying  P:\it-pack2013\links\start\*.* -----> C:\Dokumente und Einstellungen\All Users\Startmenü\Programme\IT-Pack
[5] [08.01.2013 14:17:38]     1 File(s) found
[6] [08.01.2013 14:17:38]     Source P:\it-pack2013\links\start\tftpd32.lnk
[6] [08.01.2013 14:17:38]       Info: Target C:\Dokumente und Einstellungen\All Users\Startmenü\Programme\IT-Pack\tftpd32.lnk exists and shall be overwritten
[6] [08.01.2013 14:17:38]       P:\it-pack2013\links\start\tftpd32.lnk copied to C:\Dokumente und Einstellungen\All Users\Startmenü\Programme\IT-Pack\
[5] [08.01.2013 14:17:38]     1 File(s) treated
[6] [08.01.2013 14:17:38]   Copying  P:\it-pack2013\links\Desktop\*.* -----> C:\Dokumente und Einstellungen\All Users\Startmenü\Programme\IT-Pack
[5] [08.01.2013 14:17:38]     1 File(s) found
[6] [08.01.2013 14:17:38]     Source P:\it-pack2013\links\Desktop\putty.lnk
[6] [08.01.2013 14:17:38]       Info: Target C:\Dokumente und Einstellungen\All Users\Startmenü\Programme\IT-Pack\putty.lnk exists and shall be overwritten
[6] [08.01.2013 14:17:38]       P:\it-pack2013\links\Desktop\putty.lnk copied to C:\Dokumente und Einstellungen\All Users\Startmenü\Programme\IT-Pack\
[5] [08.01.2013 14:17:38]     1 File(s) treated
[5] [08.01.2013 14:17:38] 
[5] [08.01.2013 14:17:38] Execution of DosInAnIcon_install
[6] [08.01.2013 14:17:38]   c:\opsi.org\tmp\_winstbat_1.bat saved back
[6] [08.01.2013 14:17:38]   Executing "cmd.exe" /C "c:\opsi.org\tmp\_winstbat_1.bat"
[6] [08.01.2013 14:17:43]               
[6] [08.01.2013 14:17:43]               output:
[6] [08.01.2013 14:17:43]               --------------
[6] [08.01.2013 14:17:43]               
[6] [08.01.2013 14:17:43]               C:\WINDOWS\system32>c:\setup\it\winscp513setup.exe /VERYSILENT 
[6] [08.01.2013 14:17:43]               
[6] [08.01.2013 14:17:43]               C:\WINDOWS\system32>"C:\Programme\Nmap\Uninstall.exe" /S 
[6] [08.01.2013 14:17:43]   
[6] [08.01.2013 14:17:43]   Delete "c:\opsi.org\tmp\_winstbat_*"
[6] [08.01.2013 14:17:43]     Search "c:\opsi.org\tmp\"
[6] [08.01.2013 14:17:43]     File "c:\opsi.org\tmp\_winstbat_1.bat"
[6] [08.01.2013 14:17:43]       The file has been deleted
[5] [08.01.2013 14:17:43]   
[5] [08.01.2013 14:17:43]   Execution of Files_throw
[6] [08.01.2013 14:17:43]     Delete recursively "c:\setup\IT\"
[6] [08.01.2013 14:17:43]       Search "c:\setup\IT\"
[6] [08.01.2013 14:17:43]       File "c:\setup\IT\installer_tftpd32_4_00_Deutsch.exe"
[6] [08.01.2013 14:17:43]         The file has been deleted
[6] [08.01.2013 14:17:43]       File "c:\setup\IT\nmap-6.25-setup.exe"
[6] [08.01.2013 14:17:43]         The file has been deleted
[6] [08.01.2013 14:17:43]       File "c:\setup\IT\nmap.exe"
[6] [08.01.2013 14:17:43]         The file has been deleted
[6] [08.01.2013 14:17:43]       File "c:\setup\IT\npp.6.2.3.Installer.exe"
[6] [08.01.2013 14:17:43]         The file has been deleted
[6] [08.01.2013 14:17:43]       File "c:\setup\IT\npp.exe"
[6] [08.01.2013 14:17:43]         The file has been deleted
[6] [08.01.2013 14:17:43]       File "c:\setup\IT\npp_alt.exe"
[6] [08.01.2013 14:17:43]         The file has been deleted
[6] [08.01.2013 14:17:43]       File "c:\setup\IT\PacketTracer.exe"
[6] [08.01.2013 14:17:43]         The file has been deleted
[6] [08.01.2013 14:17:43]       File "c:\setup\IT\winscp513setup.exe"
[6] [08.01.2013 14:17:43]         The file has been deleted
[6] [08.01.2013 14:17:43]       File "c:\setup\IT\Wireshark-win32-1.8.4.exe"
[6] [08.01.2013 14:17:43]         The file has been deleted
[6] [08.01.2013 14:17:43]       File "c:\setup\IT\wireshark.exe"
[6] [08.01.2013 14:17:43]         The file has been deleted
[6] [08.01.2013 14:17:43]       File "c:\setup\IT\wireshark_alt.exe"
[6] [08.01.2013 14:17:43]         The file has been deleted
[6] [08.01.2013 14:17:43]       Directory "c:\setup\IT" deleted
[1] [08.01.2013 14:17:43] ___________________
[1] [08.01.2013 14:17:43] script finished
[1] [08.01.2013 14:17:43] 0 errors
[1] [08.01.2013 14:17:43] 1 warning
[1] [08.01.2013 14:17:43] 
[1] [08.01.2013 14:17:43] installed Produkt: it-pack2013 Version: 1.0-1
[1] [08.01.2013 14:17:43] 
[6] [08.01.2013 14:17:43] Delete "c:\opsi.org\tmp\_winstbat_*"
[6] [08.01.2013 14:17:43]   Search "c:\opsi.org\tmp\"
[6] [08.01.2013 14:17:43] JSON service request https://192.168.11.27:4447/rpc setProductActionRequest
[1] [08.01.2013 14:17:43] product "it-pack2013 set to update
[1] [08.01.2013 14:17:43] Update script name: 
[5] [08.01.2013 14:17:43] no script file name given
[1] [08.01.2013 14:17:43] we have no update script
[6] [08.01.2013 14:17:43] JSON service request https://192.168.11.27:4447/rpc productOnClient_updateObject
[6] [08.01.2013 14:17:43] Registry key [HKLM\SOFTWARE\opsi.org\winst]  opened
[6] [08.01.2013 14:17:43]                 Variable "RebootRequested"  is keeping its value "0"
[6] [08.01.2013 14:17:43]                 Variable "LastLogFilename"  is keeping its value "c:\tmp\instlog.txt"
[6] [08.01.2013 14:17:43]                 Variable "ContinueLogFile"  is keeping its value "0"
[6] [08.01.2013 14:17:43]                 Variable "NumberOfErrors"  is keeping its value "0"
[6] [08.01.2013 14:17:44]                 Key flushed
[6] [08.01.2013 14:17:44]                 Key closed
Benutzeravatar
tobias
Beiträge: 1291
Registriert: 20 Aug 2008, 12:36
Wohnort: Braunschweig
Kontaktdaten:

Re: Software aus Ordner kopieren

Beitrag von tobias »

a) warum kopierst du die setup files erst auf die HDD? Das ist unnötig du kannst dicht aus dem Depot installieren
b) ich würde nicht DosInAnIcon nehmen sondern eine Winbatch sektion


Kleiner tipp - ich würde die Produkte einzeln paketieren - hat den Vorteil das du bei clients vorher entscheiden kannst welches Programm du installieren willst. So knallt der ja immer alles auf den Rechner.

Schau dir am besten im Wiki mal ein paar Pakete an wie die aufgebaut sind.
Powair
Beiträge: 15
Registriert: 12 Nov 2012, 14:56

Re: Software aus Ordner kopieren

Beitrag von Powair »

da die programme nur für die fachinformatiker hauptsächlich relevant sind, wollte ich das in einem paket machen. dann brauch man nicht erst alle programme einzeln anklicken ;)
das mit dem winbatch werde ich mir die tage mal angucken und das kopieren auf die hdd´s werde ich rausnehmen...hast recht, ist wirklich schwachsinnig...

mfg
powair
Benutzeravatar
tobias
Beiträge: 1291
Registriert: 20 Aug 2008, 12:36
Wohnort: Braunschweig
Kontaktdaten:

Re: Software aus Ordner kopieren

Beitrag von tobias »

Powair hat geschrieben:da die programme nur für die fachinformatiker hauptsächlich relevant sind, wollte ich das in einem paket machen. dann brauch man nicht erst alle programme einzeln anklicken ;)
das mit dem winbatch werde ich mir die tage mal angucken und das kopieren auf die hdd´s werde ich rausnehmen...hast recht, ist wirklich schwachsinnig...

mfg
powair
gut da gibts auch tricks ;) ich hab z.B. ein bundle paket welches schlicht nen leeres setup.ins script hat und als Abhängigkeit alle Pakete die dazu gehören :)

aber gut wenn die eh nur dafür gebraucht werden.
Powair
Beiträge: 15
Registriert: 12 Nov 2012, 14:56

Re: Software aus Ordner kopieren

Beitrag von Powair »

DAS klingt auch recht interessant :D läuft ja im endeffekt aufs gleich hinaus.
wie genau haste das dann realisiert?! einfach mit newpord ein paket (z.b. "bundle") erstellt und dann für die weiteren programme auch mit new prod erzeugt und als abhängigkeit das bundle gesetzt oder wie?!
Benutzeravatar
tobias
Beiträge: 1291
Registriert: 20 Aug 2008, 12:36
Wohnort: Braunschweig
Kontaktdaten:

Re: Software aus Ordner kopieren

Beitrag von tobias »

Powair hat geschrieben:DAS klingt auch recht interessant :D läuft ja im endeffekt aufs gleich hinaus.
wie genau haste das dann realisiert?! einfach mit newpord ein paket (z.b. "bundle") erstellt und dann für die weiteren programme auch mit new prod erzeugt und als abhängigkeit das bundle gesetzt oder wie?!
jedes programm einzeln paketieren (kannst du am besten dir mal das opsi-template anschauen)
dann ein weiteres Paket erstellen mit newprod z.B. fisibundle und dann kannst du dort alle deine programme als abhängigkeit definieren.
Antworten