3 Replies Latest reply on Jul 8, 2015 7:22 AM by bretzeli

    2015.1.1/2 Bug Testinstallation MAKEDIR as Service / copyfilelist

    bretzeli Expert
      2015.1.2

      Achtung beim UPDATE der clients. Falls kein Platz auf C: und der Agent hängt hatten wir ein LOCKOUT des Runtime Kontos mit Event 4625 auf den DC. Noch nie vorher gehabt.

      ----------------------------------------------------------------------------------------
      Ich habe Probleme mit bestehenden Paketen unter 2015.1.1  aber auch 2015.1.2

      Paket kommt:

      a) TestInstallation zeuweisen auf Rechner
      b) Via Autoinstaller

      Ich habe ein Script mal eingegrenzt auf die Funktionen wo ich Fehler vermute:

      MAKEDIR as Service geht nicht >
      COPYFILELIST geht nicht >

      Kann das jemand bestätigen?
      Wenn ich via Konsole und dann mit F7 laufen lasse geht alles!


      Set('enteo_package','Internet_Explorer_11_001')
      Set('enteo_logfile','Internet_Explorer_11_001.txt')
      MakeDir('c:\drivers\logfiles')/TS
      If Exist('c:\drivers\flags\{DC60D018-AFD3-4465-9545-949EB2B1E7ED}\001.txt')/x64
      ExitProcEx(Done,'%enteo_package% DONE IE11.001 schon drauf')
      If IsRestartFlagSet
      RunAs('cmd.exe','/c echo "%date%,%time%,%computername%,%username%,%enteo_package% - UNDONE REBOOT_PEDNING" >> c:\drivers\logfiles\%enteo_logfile%','','','',raShowMinimized+Done+raUseSisAccount)
      ExitProcEx(Undone,'%enteo_package% UNDONE REBOOT_PENDING')
      MakeDir('c:\drivers\install\ie11\pre')/TS
      CopyFileList('c:\drivers\install\ie11\pre')
      .\Extern$\Windows6.1-KB2533623-x64.msu
      .\Extern$\Windows6.1-KB2639308-x64.msu
      .\Extern$\Windows6.1-KB2670838-x64.msu
      .\Extern$\Windows6.1-KB2729094-v2-x64.msu
      .\Extern$\Windows6.1-KB2731771-x64.cab
      .\Extern$\Windows6.1-KB2731771-x64.msu
      .\Extern$\Windows6.1-KB2786081-x64.cab
      .\Extern$\Windows6.1-KB2786081-x64.msu
      .\Extern$\Windows6.1-KB2834140-v2-x64.msu
      .\Extern$\Windows6.1-KB2882822-x64.msu
      .\Extern$\Windows6.1-KB2888049-x64.msu
      .\Extern$\Windows6.1-KB2898202-x64.msu
      EndProc
        • 1. Re: 2015.1.1/2 Bug Testinstallation MAKEDIR as Service / copyfilelist
          _Mel_ Master
          was steht denn im logfile ? wird der befehl über die pipe ausgeführt ?
          • 2. Re: 2015.1.1/2 Bug Testinstallation MAKEDIR as Service / copyfilelist
            bretzeli Expert
            Hallo MEL,

            Derzeit kommen wir bis diesem script, welches als F7 oder als lokales script unter dem "Runtime"  suaber durchläuft

            12:55:24.335 2        ->   RunAs('\\kunde01\enteo$\Work\Master\Projects\51414\Extern$\install.cmd','','',*****,'20',Done+raUseSisAccount+WaitForExecution)

            script.inc

              KillProcess('Acrotray.exe',kpKillChildrenToo+kpByFileName+kpKillAll)
              KillProcess('AcroRd32.exe',kpKillChildrenToo+kpByFileName+kpKillAll)
              KillProcess('notepad.exe',kpKillChildrenToo+kpByFileName+kpKillAll)
              KillProcess('wordpad.exe',kpKillChildrenToo+kpByFileName+kpKillAll)
              KillProcess('iexplore.exe',kpKillChildrenToo+kpByFileName+kpKillAll)
              RunAs('.\Extern$\install.cmd','','','','20',Done+raUseSisAccount+WaitForExecution)
              RunAs('cmd.exe','/c md "c:\drivers\flags\{DC60D018-AFD3-4465-9545-949EB2B1E7ED}','','','5',Done+raUseSisAccount)



            12:53:23.088 1 ->Syncronizing uninstall information...
            12:53:23.088 1  -> Send complete
            12:53:23.088 1 Setting active project to NULL
            12:53:23.088 2 xniFPS: '{D159E07D-C4D4-4DB3-8EF7-05F65E42B46A}' is installed
            12:53:23.650 0 Project data received: , \\kunde01\enteo$\Work\Master\Projects\51414\, .\Script.inc, 537067520
            12:53:23.650 0 Project part of database from site structure
            12:53:23.650 0 Test workstation -> loggin on
            12:53:23.650 1   Network OS: Active Directory
            12:53:23.650 0   Using account KUNDE01\enteorun, pwd: (specified) to access share

            12:53:23.650 2 -> MakeDir('c:\drivers\logfiles')
            12:53:24.445 1 Receiving varmap from installer..

            12:53:24.445 2 -> RunAs('cmd.exe','/c echo "08.07.2015,12:53:24,ENTEO070,win7,Internet_Explorer_11_001 - Start Paket" >> c:\drivers\logfiles\Internet_Explorer_11_001.txt','',*****,'',raShowMinimized+Done+raUseSisAccount)
            12:53:24.445 1  >>Calling ShowStatus with 'Externes Programm ausführen... (Service)'
            12:53:24.445 0  xniTools: Using service account to start process
            12:53:24.445 0  xniTools: Using Account: KUNDE01\enteorun
            12:53:24.445 0  xniTools: SystemDirectory: C:\Windows\system32\
            12:53:24.445 0  clnexcln.dll: CreateProcessSophisticated
            12:53:24.445 0  clnexcln.dll: Flags: 0x24
            12:53:24.445 0  clnexcln.dll: Log on user enteorun (domain: KUNDE01)
            12:53:24.477 0  clnexcln.dll: Creating process...
            12:53:24.492 0  clnexcln.dll: Created Process 5964
            12:53:24.492 2  xniTools: Created process with process id 5964
            12:53:24.679 1 Receiving varmap from installer..

            12:53:24.679 2 -> RunAs('cmd.exe','/c echo "Enteo Variabeln > WMI_LOGONUI_Caption=0, WMI_SCREENSAVER_Caption=0 " >> c:\drivers\logfiles\Internet_Explorer_11_001.txt','',*****,'',raShowMinimized+Done+raUseSisAccount)
            12:53:24.679 1  >>Calling ShowStatus with 'Externes Programm ausführen... (Service)'
            12:53:24.679 0  xniTools: Using service account to start process
            12:53:24.679 0  xniTools: Using Account: KUNDE01\enteorun
            12:53:24.679 0  xniTools: SystemDirectory: C:\Windows\system32\
            12:53:24.679 0  clnexcln.dll: CreateProcessSophisticated
            12:53:24.679 0  clnexcln.dll: Flags: 0x24
            12:53:24.679 0  clnexcln.dll: Log on user enteorun (domain: KUNDE01)
            12:53:24.711 0  clnexcln.dll: Creating process...
            12:53:24.726 0  clnexcln.dll: Created Process 4416
            12:53:24.726 2  xniTools: Created process with process id 4416
            12:53:24.960 1 Receiving varmap from installer..

            12:53:24.976 2 -> RunAs('cmd.exe','/c echo "Enteo Variabeln > WMI_LOGONUI_Caption=0, WMI_Explorer_Caption=explorer.exe" >> c:\drivers\logfiles\Internet_Explorer_11_001.txt','',*****,'',raShowMinimized+Done+raUseSisAccount)
            12:53:24.976 1  >>Calling ShowStatus with 'Externes Programm ausführen... (Service)'
            12:53:24.976 0  xniTools: Using service account to start process
            12:53:24.976 0  xniTools: Using Account: KUNDE01\enteorun
            12:53:24.976 0  xniTools: SystemDirectory: C:\Windows\system32\
            12:53:24.976 0  clnexcln.dll: CreateProcessSophisticated
            12:53:24.976 0  clnexcln.dll: Flags: 0x24
            12:53:24.976 0  clnexcln.dll: Log on user enteorun (domain: KUNDE01)
            12:53:25.007 0  clnexcln.dll: Creating process...
            12:53:25.023 0  clnexcln.dll: Created Process 2844
            12:53:25.023 2  xniTools: Created process with process id 2844
            12:53:25.194 1 Receiving varmap from installer..

            12:53:25.194 2 -> RunAs('cmd.exe','/c echo "08.07.2015,12:53:25,ENTEO070,win7,Internet_Explorer_11_001 - User ist angemeldet" >> c:\drivers\logfiles\Internet_Explorer_11_001.txt','',*****,'',raShowMinimized+Done+raUseSisAccount)
            12:53:25.194 1  >>Calling ShowStatus with 'Externes Programm ausführen... (Service)'
            12:53:25.194 0  xniTools: Using service account to start process
            12:53:25.194 0  xniTools: Using Account: KUNDE01\enteorun
            12:53:25.194 0  xniTools: SystemDirectory: C:\Windows\system32\
            12:53:25.194 0  clnexcln.dll: CreateProcessSophisticated
            12:53:25.194 0  clnexcln.dll: Flags: 0x24
            12:53:25.194 0  clnexcln.dll: Log on user enteorun (domain: KUNDE01)
            12:53:25.225 0  clnexcln.dll: Creating process...
            12:53:25.241 0  clnexcln.dll: Created Process 1484
            12:53:25.241 2  xniTools: Created process with process id 1484
            12:53:25.366 1 Receiving varmap from installer..

            12:53:25.366 2 -> RunAs('cmd.exe','/c echo "08.07.2015,12:53:25,ENTEO070,win7,Internet_Explorer_11_001 - Frage Benutzer " >> c:\drivers\logfiles\Internet_Explorer_11_001.txt','',*****,'',raShowMinimized+Done+raUseSisAccount)
            12:53:25.366 1  >>Calling ShowStatus with 'Externes Programm ausführen... (Service)'
            12:53:25.366 0  xniTools: Using service account to start process
            12:53:25.366 0  xniTools: Using Account: KUNDE01\enteorun
            12:53:25.366 0  xniTools: SystemDirectory: C:\Windows\system32\
            12:53:25.366 0  clnexcln.dll: CreateProcessSophisticated
            12:53:25.366 0  clnexcln.dll: Flags: 0x24
            12:53:25.366 0  clnexcln.dll: Log on user enteorun (domain: KUNDE01)
            12:53:25.397 0  clnexcln.dll: Creating process...
            12:53:25.413 0  clnexcln.dll: Created Process 1412


            12:55:24.335 2        ->   RunAs('\\kunde01\enteo$\Work\Master\Projects\51414\Extern$\install.cmd','','',*****,'20',Done+raUseSisAccount+WaitForExecution)
            12:55:24.335 0         xniTools: Using service account to start process
            12:55:24.335 0         xniTools: Using Account: KUNDE01\enteorun
            12:55:24.335 0         xniTools: SystemDirectory: C:\Windows\system32\
            12:55:24.335 0         clnexcln.dll: CreateProcessSophisticated
            12:55:24.335 0         clnexcln.dll: Flags: 0x24
            12:55:24.335 0         clnexcln.dll: Log on user enteorun (domain: KUNDE01)


            DAS LOGFILE endet auch hier (NPI und NIAI32)
            • 3. Re: 2015.1.1/2 Bug Testinstallation MAKEDIR as Service / copyfilelist
              bretzeli Expert
              Support

              das Problem hängt mit der deaktivierten UAC zusammen.
              Wir arbeiten hier momentan an einer Lösung.
              Als Workaround kann ich Ihnen anbieten UAC zu aktivieren.