@echo off&CD %~dp0&call SCRIPTS\SCRIPT_MNGR.cmd :: ============================================= :: INIT %VarsSystemEtc% & %VarsLocalStrings% & %CreateHelp% %Intro% & %AutoLang% %CreateStartInf% & %PrintINFhead% & %CreateReset% :: Your code below here: :: ============================================= %GetProgPath% "HKLM\Software\Symantec\Norton Ghost\9.0" "InstallDir" if "%ProgPath%" == "NotFound" ( call RESET.cmd %MessageBox% "stop" "ERROR" "The program was not found on your system. ~~Please install it and try again." goto :EOF ) %RegRead% "HKLM\Software\Symantec\Norton Ghost\9.0" "LANGUAGE" "LANG" set Exclude=Agent\gwlang*.dll,Agent\Norton Ghost 9.0.log.txt,Agent\Norton Ghost.notify.xml,Agent\V2i Protector.dbg.txt set Exclude=%Exclude%,Agent\CommandFiles\*.*,Browser\%LANG%\Ghost_Guide.pdf,SHARED\PQV2iSvcPS.dll,SHARED\%LANG%\dotnetfx.exe set Exclude=%Exclude%,SHARED\%LANG%\*.pdf,SHARED\%LANG%\Tour.exe,UTILITY\SmeDump.exe,NewGhostTray.exe,TrayEXE.ini,ghost.jpg, set ButKeep=Agent\gwlang%LANG%.dll, %GetFolder% copy SCRIPTS\NewGhostTray.exe Files\Ghost9.exe copy SCRIPTS\TrayEXE.ini Files\TrayEXE.ini copy SCRIPTS\ghost.jpg Files\ghost.jpg if not exist SYS md SYS copy "%systemRoot%\System32\roboex32.dll" SYS\ copy "%systemRoot%\System32\gearaspi.dll" SYS\ copy "%systemRoot%\System32\gearsec.exe" SYS\ copy "%systemRoot%\System32\drivers\gearaspiwdm.sys" SYS\ copy "%systemRoot%\System32\drivers\pqv2i.sys" SYS\ copy "%systemRoot%\System32\drivers\pqimount.sys" SYS\ :: Get HPC file GetHPCFile.exe %Add2Inf% %IniSetStrings% "LANG" "%LANG%" %IniSetStrings% "CORE_PATH" "programs\%Prog_On_CD%" %IniSetStrings% "STARTMENU_GROUP" "%StartMenu_Group%\%StartMenu_Sub_Group%\%Prog_Name_In_Header%" %IniSetStrings% "TRAY_EXE" "Ghost9.exe" call UPD_LangFile.cmd "x" :: Update UpperFilters plugin (if present) if exist "%Plugin%\z_UpperFilters\AutoHelp.cmd" %ConsolidateUpperFilters% %UpxFiles% "ask" :: ============================================= :: EXTRO %Extro% & goto :EOF :: Any subroutines below here: :: =============================================