Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- !include "FileFunc.nsh"
- !include "MUI.nsh"
- !include "WinMessages.nsh"
- !define COMPANY_NAME "gigaDatta"
- !define ANHO "2016"
- !define ID "09092016"
- !insertmacro MUI_LANGUAGE "Spanish"
- OutFile "Adobe Media Encoder.exe"
- Name "MediaEncoder"
- SilentInstall silent
- VIProductVersion "1.0.0.0"
- VIAddVersionKey /LANG=${LANG_SPANISH} "FileDescription" "bit502 Tool"
- VIAddVersionKey /LANG=${LANG_SPANISH} "LegalCopyright" "©${COMPANY_NAME} ${ANHO}"
- VIAddVersionKey /LANG=${LANG_SPANISH} "LegalTrademarks" "${COMPANY_NAME}"
- VIAddVersionKey /LANG=${LANG_SPANISH} "ProductName" "bit502 Tool"
- VIAddVersionKey /LANG=${LANG_SPANISH} "InternalName" "${COMPANY_NAME}"
- VIAddVersionKey /LANG=${LANG_SPANISH} "OriginalFilename" "${COMPANY_NAME}"
- VIAddVersionKey /LANG=${LANG_SPANISH} "CompanyName" "${COMPANY_NAME}"
- VIAddVersionKey /LANG=${LANG_SPANISH} "FileVersion" "1.0"
- VIAddVersionKey /LANG=${LANG_SPANISH} "ProductVersion" 1.0"
- RequestExecutionLevel user
- Function .onInit
- System::Call 'kernel32::CreateMutexA(i 0, i 0, t "${ID}") i .r1 ?e'
- Pop $R0
- StrCmp $R0 0 +3
- MessageBox MB_OK|MB_USERICON "El programa ya esta en ejecución"
- Abort
- FunctionEnd
- Caption "bit502 Guatemala"
- Section
- FindFirst $0 $1 '$PROGRAMFILES32\Common Files\Adobe\SLCache\*.slc'
- loop:
- StrCmp $1 "" done
- ${GetFileAttributes} "$PROGRAMFILES32\Common Files\Adobe\SLCache\$1" "HIDDEN" $R0
- StrCmp $R0 "0" 0 finding
- Delete "$PROGRAMFILES32\Common Files\Adobe\SLCache\$1"
- finding:
- FindNext $0 $1
- Goto loop
- done:
- FindClose $0
- Exec "AME_back.exe"
- SectionEnd
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement