0 Replies Latest reply on Jul 23, 2018 5:56 AM by Paul Admiraal

    Install script MC55E0 / MC55x

    Paul Admiraal

      Hi,

       

      For the MC55A0 we had this install script running, and it worked perfectly. But now with the MC55E0 it doesn't work anymore.

       

      The MC55A0 seemed to wait at the align screen, after alignment the install took place, but the MC55E0 just installs intermediately. And it seems to fail because of that. The packages are not installed on the MC55E0.

       

      Below the used script.

       

      SetVar String Msg = "Initializing..." 
      MessageDialog FULLSCREEN SHOW FONTSIZE 14 BOLDFONT Msg
      
      
      IF ( FileExists("\Windows\Init.txt") != 1 )
      SetVar String Msg = "Start Installing software"
      MessageDialog FULLSCREEN SHOW FONTSIZE 14 BOLDFONT Msg 
      ; Terminal not yet initialized
      
      
          SetVar String Msg = "Installing software (1/4)" 
      MessageDialog FULLSCREEN SHOW FONTSIZE 14 BOLDFONT Msg
      SetFileAttrib "\Application\VelocityCE_1002.ARM.cab" 0x00000001
      RUNWAIT "\Windows\wceload.exe" "\Application\VelocityCE_1002.ARM.cab /noui"
      
      SetVar String Msg = "Installing software (2/4)" 
      MessageDialog FULLSCREEN SHOW FONTSIZE 14 BOLDFONT Msg
      SetFileAttrib "\Application\VelocityCE_1002_CONFIG.CAB" 0x00000001
      RUNWAIT "\Windows\wceload.exe" "\Application\VelocityCE_1002_CONFIG.CAB /noui"
      
      SetVar String Msg = "Installing software (3/4)" 
      MessageDialog FULLSCREEN SHOW FONTSIZE 14 BOLDFONT Msg
      SetFileAttrib "\Application\VelocityCE_1002_HOST.CAB" 0x00000001
      RUNWAIT "\Windows\wceload.exe" "\Application\VelocityCE_1002_HOST.CAB /noui"
      
      
      SetVar String Msg = "Installing software (4/4)" 
      MessageDialog FULLSCREEN SHOW FONTSIZE 14 BOLDFONT Msg
      SetFileAttrib "\Application\NETCFv2.wm.armv4i.cab" 0x00000001
      RUNWAIT "\Windows\wceload.exe" "\Application\NETCFv2.wm.armv4i.cab /noui"
      
      
      SetVar String Msg = "Installing registry files" 
      MessageDialog FULLSCREEN SHOW FONTSIZE 14 BOLDFONT Msg
      MERGEREGFILE "\Application\WCS_OPTIONS.REG"
      MERGEREGFILE "\Application\WCS_PROFILES.REG"
      MERGEREGFILE "\Application\PowerSettings.reg"
      MERGEREGFILE "\Application\RadioEnable.reg"
      MERGEREGFILE "\Application\Region.reg"
      MERGEREGFILE "\Application\HideNotification.reg"
      
      SetVar String Msg = Msg + "\n\nApplying Settings (Finalizing)"
      MessageDialog FULLSCREEN SHOW FONTSIZE 14 BOLDFONT Msg
      
      CopyFile "\Application\Init.txt" "\Windows\Init.txt"
      
      
      WARMBOOT
      ENDIF
      MessageDialog HIDE
      
      
      RUN "\Program Files\AppCenter\AppCenter.exe"
      
      
      :End