GithubHelp home page GithubHelp logo

cloudendure_post_launch_script's Introduction

CloudEndure Post Launch Script

CE 로 마이그레이션된 머신 기동 후 Background 에서 수행되는 Script

Windows

File Pattern

  • 00.init
    • Script 중 최초로 수행됨
    • 02.* 패턴의 파일을 C:\AWSmigrationTemp\ 로 이동
  • 01.*
    • Background 에서 정상 수행되는 Script
  • 02.*
    • Background 에서 정상 수행되지 않아 작업자가 수동으로 돌리는 Script
    • Migration 작업에 도움이 되는 파일 등.

삭제 스크립트 생성

find_uninstall_string.bat

  • 프로그램 추가/삭제 에서 Display Name 확인
  • 실행 (" 필수)
    • find_uninstall_string.bat "{Display Name}"
    • 삭제 명령어 확인

uninstall_template.bat

  • uninstall_template.bat 복사 후 아래 부분 변경
REM #######   삭제 대상 별 변경 필요  ########

set SoftwareName=Bandizip

REM UninstallString 이 MsiExec 로 시작하는 경우 1
REM 아닌 경우 2
REM Reg 상에 MsiExec 와 다른 방식이 공존하는 경우가 있음.

set UninstallType=1
REM set UninstallType=2


set UninstallOptions=/SILENT /VERYSILENT

REM #######      END      ########
  • SoftwareName
    • Display Name 입력
  • UninstallType
    • 삭제 명령어가 MsiExec 로 시작하면 1 아니면 2
    • 2개 이상이 있다면 silent uninstall 지원하는 명령어 사용
  • UninstallOptions
    • {Display Name} silent uninstall 등으로 검색
    • silent 옵션 확인 후 입력

최종 파일명

  • Silent uninstall 지원 및 정상 동작
    • 01.{식별 가능 명칭}.bat
  • Silent uninstall 미지원 및 Background Service 에서 비정상 동작
    • 02.{식별 가능 명칭}.bat

cloudendure_post_launch_script's People

Contributors

jisujisu1232 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.