[Main] Title=Acronis True Image 2011 Home with Mount Type=script Selected=True Level=5 Author=bryanh99 version=10 Description=Installs Acronis TrueImage Home 2011 with mount date=2012-May-17 NoWarning=False Download_Level=0 History006=First Release History007=Changed Script to not use %ScriptDir% for anything History008=Internal use only History009=Internal use only History010=Major Changes. now includes the ability to (1) explore a TIB file buy double clicking it and (2) supports full mounting of TIB image files as hard drives. Note: TIB files MUST be mounted as read/write. When you dismount the drive you can delete the new TIB created and your file will be unchanged. [HEADER1] //- //- Reusable code is below //- [EXTRACT_ONLY] // #1=Target Dir #2 = Source Archive #3 = Target Filename if,Not,ExistFile,#1\#3,Begin set,%RetVal%,0 ShellExecute,HIDE,cmd.exe, "/c %Tools%\7z.exe e -y -o#$q#1#$q #$q#2#$q #$q#3#$q",,%RetVal% if,not,%RetVal%,Equal,0,halt,"(EXTRACT_ONLY) Problem extracing #1\#3 from #2" if,not,ExistFile,#1\#3,halt,"(EXTRACT_ONLY) Problem extracing #1\#3 from #2 - File Not Found after Extract" end [EXTRACT_ONLY_WITH_PATH] // #1=Target Dir #2 = Source Archive #3 = A file to check for existance if,Not,ExistFile,#1\#3,Begin set,%RetVal%,0 ShellExecute,HIDE,cmd.exe, "/c %Tools%\7z.exe x -y -o#$q#1#$q #$q#2#$q",,%RetVal% if,not,%RetVal%,Equal,0,halt,"(EXTRACT_ONLY_WITH_PATH) Problem extracing from #2" end [EXTRACT_AND_RENAME] // #1=Target Dir #2 = Source Archive #3 = Filename in Archive #4 = Final Target Filename if,Not,ExistFile,#1\#4,Begin set,%RetVal%,0 ShellExecute,HIDE,cmd.exe, "/c %Tools%\7z.exe e -y -o#$q#1#$q #$q#2#$q #$q#3#$q",,%RetVal% if,not,%RetVal%,Equal,0,halt,"(EXTRACT_AND_RENAME) Problem extracing #1\#3 from #2" if,not,ExistFile,#1\#3,halt,"(EXTRACT_AND_RENAME) Problem extracing #1\#3 from #2 - File Not Found after Extract" FileRename,#1\#3,#1\#4 if,not,ExistFile,#1\#4,halt,"(EXTRACT_AND_RENAME) Problem renaming #1\#3 to #1\#4 from #2" end [HEADER2] //- //- Reusable code is Aboce //- [Interface] pBevel1=pBevel1,1,12,4,6,230,169 pTextLabel1="Create Shortcuts : ",1,1,14,12,164,18,12,Bold CheckBox_Desktop=Desktop,1,3,24,43,67,18,True CheckBox_QuickLaunch="Quick Launch",1,3,24,62,86,18,False CheckBox_StartMenu="Start Menu",1,3,24,81,86,18,True TextBox_StartMenuFolder="Start Menu folder:",1,0,24,123,200,21,"HD Tasks\Imaging" pBevel2=pBevel2,1,12,244,5,300,213 pTextLabel4=License Keys :,1,1,256,16,230,18,12,Bold TextBox_StanLicenseKey="Standard License Key:",1,0,251,100,150,21,"Not Loaded Yet" pButton_import1=Registry,1,8,411,100,50,20,LoadStandard_REG,0,True,False,_LoadStandard_REG_,True pButton_import2=INI,1,8,466,100,50,20,LoadStandard_INI,0,True,False,_LoadStandard_INI_,True TextBox_PPLicenseKey="PowerPack License Key:",1,0,251,140,150,21,"Not Loaded Yet" pButton_import3=Registry,1,8,411,140,50,20,LoadPowerPack_REG,0,True,False,_LoadPowerPack_REG_,True pButton_import4=INI,1,8,466,140,50,20,LoadPowerPack_INI,0,True,False,_LoadPowerPack_INI_,True pTextLabel3="Click a button to import your License Key. Either #$qRegistry#$q to load from your local registry or INI to load from the key.ini file created during the GetFiles step. If you don't select either then we will read if from the INI first.",1,1,251,166,285,59,7,Normal ScrollBox_RunFromWhere="Run from RAM",1,4,21,285,150,21,"Run from RAM","Run from CD" pBevel3=pBevel3,1,12,4,178,230,135 pCheckBox_DownloadMainInstall="Get 30 Day Trial Keys From Download File. Note: This will download the Main Install file from Acronis - over 160MB. You will need this file for x64 targets as well.",1,3,256,42,280,39,False,_LicenseKeySectionVisible_,False pTextLabel2="Options : ",1,1,9,188,164,18,12,Bold pBevel_CreateCMD=pBevel4,1,12,243,221,300,92 pTextLabel_CreateCMD="If you need to retrieve your License Information from a registry then click the button below and it will create a file named #$qGetKeyFromReg.cmd#$q. Run that on the system where the software is installed and it will create the needed key.ini file.",1,1,256,225,269,77,7,Normal pButton_CreateCMD=Create,1,8,332,279,80,25,CreateGetRegKeyCMD,0,False,False,_CreateGetRegKeyCMD_,False pInstallStorageBox=%GlobalTemplates%\Apps\Acronis\TrueImage2011,1,13,6,340,320,20,dir pInstallStorageLabel="Storage Directory: (for downloaded and key file)",1,1,8,324,296,18,8,Bold pInstallStorageButton=Explore,1,8,334,338,55,24,Process-OpenStorageDir,_Process-OpenStorageDir,False,_Process-OpenStorageDir_,False pCheckBox_DeleteDownloads="Delete downloaded files when completed",1,3,20,213,225,18,False pCheckBox_AddMounter="Add TIB mounter - allows explorer to open TIB backup files as well as mounting images as drives",1,3,20,237,200,42,True [Process-OpenStorageDir] If,%pInstallStorageBox%,Equal,"",Exit,"" If,Not,ExistDir,%pInstallStorageBox%,DirMake,%pInstallStorageBox% System,FILEREDIRECT,OFF ShellExecuteEx,Open,explorer.exe,/e#$c#$q%pInstallStorageBox%#$q System,FILEREDIRECT,ON //- [LicenseKeySectionVisible] if,%pCheckBox_DownloadMainInstall%,Equal,True,Set,%ShowMe%,False else,Set,%ShowMe%,True set,%TextBox_StanLicenseKey%,"Not Loaded Yet",PERMANENT set,%TextBox_PPLicenseKey%,"Not Loaded Yet",PERMANENT Visible,%TextBox_StanLicenseKey%,%ShowMe%,PERMANENT Visible,%pButton_import1%,%ShowMe%,PERMANENT Visible,%pButton_import2%,%ShowMe%,PERMANENT Visible,%TextBox_PPLicenseKey%,%ShowMe%,PERMANENT Visible,%pButton_import3%,%ShowMe%,PERMANENT Visible,%pButton_import4%,%ShowMe%,PERMANENT Visible,%pTextLabel3%,%ShowMe%,PERMANENT Visible,%pBevel_CreateCMD%,%ShowMe%,PERMANENT Visible,%pTextLabel_CreateCMD%,%ShowMe%,PERMANENT Visible,%pButton_CreateCMD%,%ShowMe%,PERMANENT System,REFRESHINTERFACE [Variables] %ProgramTitle%="Acronis True Image 2011" %ProgramEXE%=TrueImage.exe %ProgramFolder%=Acronis\TrueImage2011 //- %RegKeyToRead%="Software\Acronis\TrueImage" //- %StandardLicenseKey%="Not Loaded Yet" %PowerPackLicenseKey%="Not Loaded Yet" //- %RAN_GET_ADDITION_FILES%=FALSE %ExtractDir%=%GlobalTemp%\Apps\AcronisTrueImage2011 [Process] set,%MAKEHOME%,True StrFormat,REPLACE,%ScrollBox_RunFromWhere%," ","",%runfrom% If,Not,%runfrom%,Equal,Rundefault,Call,VariableToMacro,%runfrom%,True //- set,%StorageDir%,%pInstallStorageBox% set,%ProgramPathLive%,%PE_PROGRAMS%\%ProgramFolder% if,%runfrom%,Equal,RunFromRAM,begin if,%SourceArch%,Equal,x64,begin set,%ProgramPathLive%,%PE_PROGRAMS%#$s(x86)\%ProgramFolder% set,%Target_Prog%,%TargetDir%\Program#$sFiles#$s(x86) end end // The next line allows the removal of all but one RegAddBoot StrFormat,Replace,%ProgramPathLive%,#$pSystemDrive#$p,,%ProgramPathLiveWithoutDrive% If,%SysType%,Equal,"X64",Begin set,%RegKeyToRead%,Software\Wow6432Node\Acronis\Trueimage end //- Run,%ScriptFile%,Create_Directories Run,%ScriptFile%,GetPowerPackFile Run,%ScriptFile%,Copy_Files_Both Run,%ScriptFile%,LicenseProcessing //- If,%SourceArch%,Equal,"X64",Begin Run,%ScriptFile%,Copy_Files_64 Run,%ScriptFile%,Write_Software_Reg,Wow6432Node\ end else,begin Run,%ScriptFile%,Copy_Files_86 Run,%ScriptFile%,Write_Software_Reg end //- Run,%ScriptFile%,Write_System_Reg Run,%ScriptFile%,TxtSetup Run,%ScriptFile%,CreateShortCuts //- if,%pCheckBox_AddMounter%,Equal,True,Begin Run,%ScriptFile%,GetAdditionalFiles Run,%ScriptFile%,COPY_FILE_MOUNTER Run,%ScriptFile%,ADD_MOUNTER_SYSTEM_REG Run,%ScriptFile%,ADD_MOUNTER_SOFTWARE_REG Run,%ScriptFile%,Create_MOUNTER_ShortCuts Run,%ScriptFile%,Required_Files end //- if,%pCheckBox_DeleteDownloads%,Equal,True,Run,%ScriptFile%,CleanUp [Required_Files] Set,%CapiScriptArch%,x86 Require_FileQ,sfc.dll Require_FileQ,sfc_os.dll [CreateShortCuts] If,%CheckBox_StartMenu%,Equal,True,Add_Shortcut,StartMenu,%TextBox_StartMenuFolder%,"%ProgramPathLive%\%ProgramEXE%",%ProgramTitle% If,%CheckBox_Desktop%,Equal,True,Add_Shortcut,Desktop,,"%ProgramPathLive%\%ProgramEXE%",%ProgramTitle% If,%CheckBox_QuickLaunch%,Equal,True,Add_Shortcut,QuickLaunch,,"%ProgramPathLive%\%ProgramEXE%",%ProgramTitle% [Create_MOUNTER_ShortCuts] If,%CheckBox_StartMenu%,Equal,True,Add_Shortcut,StartMenu,%TextBox_StartMenuFolder%,"%ProgramPathLive%\TrueImageTools.exe","Mount Image",,"/mount_image" If,%CheckBox_Desktop%,Equal,True,Add_Shortcut,Desktop,,"%ProgramPathLive%\TrueImageTools.exe","Mount Image",,"/mount_image" If,%CheckBox_QuickLaunch%,Equal,True,Add_Shortcut,QuickLaunch,,"%ProgramPathLive%\TrueImageTools.exe","Mount Image",,"/mount_image" //- If,%CheckBox_StartMenu%,Equal,True,Add_Shortcut,StartMenu,%TextBox_StartMenuFolder%,"%ProgramPathLive%\TrueImageTools.exe","UnMount Image",,"/unmount_image" If,%CheckBox_Desktop%,Equal,True,Add_Shortcut,Desktop,,"%ProgramPathLive%\TrueImageTools.exe","UnMount Image",,"/unmount_image" If,%CheckBox_QuickLaunch%,Equal,True,Add_Shortcut,QuickLaunch,,"%ProgramPathLive%\TrueImageTools.exe","UnMount Image",,"/unmount_image" //- [LicenseProcessing] if,%pCheckBox_DownloadMainInstall%,Equal,TRue,Begin Run,%ScriptFile%,GetAdditionalFiles Run,%ScriptFile%,MakeKeyINI Run,%ScriptFile%,LoadStandard_INI Run,%ScriptFile%,LoadPowerPack_INI StrFormat,CTRIM,%StandardLicenseKey%,#$q,%StandardLicenseKey% StrFormat,CTRIM,%PowerPackLicenseKey%,#$q,%PowerPackLicenseKey% end else,begin set,%StandardLicenseKey%,%TextBox_StanLicenseKey% set,%PowerPackLicenseKey%,%TextBox_PPLicenseKey% if,%StandardLicenseKey%,Equal,"Not Loaded Yet",set,%StandardLicenseKey%,"NONE" if,%PowerPackLicenseKey%,Equal,"Not Loaded Yet",set,%PowerPackLicenseKey%,"NONE" StrFormat,CTRIM,%StandardLicenseKey%,#$q,%StandardLicenseKey% StrFormat,CTRIM,%PowerPackLicenseKey%,#$q,%PowerPackLicenseKey% end [CleanUp] DirDelete,%ExtractDir% //set,%TextBox_StanLicenseKey%,"Not Loaded Yet",PERMANENT //set,%TextBox_PPLicenseKey%,"Not Loaded Yet",PERMANENT [Create_Directories] Echo,"Making new directories.." DirMake,%Target_Prog%\%ProgramFolder% DirMake,%ExtractDir% DirMake,%StorageDir% DirMake,%target_sys%\drivers DirMake,%Target_Win%\SysWOW64 [GetPowerPackFile] echo,"Downloading PowerPack File..." WebGetIfNotExist,http://download.acronis.com/atih2011/ATIH2011PP_en-US.exe,%StorageDir%\ATIH2011PP_en-US.exe //- echo,"Extracting Main Archive..." Run,%ScriptFile%,EXTRACT_ONLY,%ExtractDir%,%StorageDir%\ATIH2011PP_en-US.exe,AcronisTrueImagePowerPack.msi //- echo,"Extracting Main MSI..." Run,%ScriptFile%,EXTRACT_AND_RENAME,%ExtractDir%,%ExtractDir%\AcronisTrueImagePowerPack.msi,data1.cab,data1_PP.cab //- echo,"Extracting Lower Level file..." Run,%ScriptFile%,EXTRACT_ONLY,%ExtractDir%,%ExtractDir%\data1_PP.cab,_B6EB389F5E8E42AE151B58DA36985CC8 //- echo,"Extracting PE Files files..." Run,%ScriptFile%,EXTRACT_ONLY_WITH_PATH,%ExtractDir%\PE_Files,%ExtractDir%\_B6EB389F5E8E42AE151B58DA36985CC8,Files\TrueImage.exe if,ExistFile,%ExtractDir%\PE_Files\acronis.inf,FileDelete,%ExtractDir%\PE_Files\acronis.inf //- [GetAdditionalFiles] echo,"Downloading Main File..." WebGetIfNotExist,http://www.acronis.com/homecomputing/download/link/?ATIH2011_trial_en-US.exe,%StorageDir%\ATIH2011_trial_en-US.exe //- echo,"Extracting Main Archive..." Run,%ScriptFile%,EXTRACT_ONLY,%ExtractDir%,%StorageDir%\ATIH2011_trial_en-US.exe,AcronisTrueImage.msi //- echo,"Extracting Main MSI..." Run,%ScriptFile%,EXTRACT_AND_RENAME,%ExtractDir%,%ExtractDir%\AcronisTrueImage.msi,data1.cab,data1_ADD.cab //- echo,"Extracting additional files..." Run,%ScriptFile%,EXTRACT_ONLY,%ExtractDir%,%ExtractDir%\AcronisTrueImage.msi,BINARY._AA882D880E272B55230AA398FB4DA0A1 Run,%ScriptFile%,EXTRACT_ONLY,%ExtractDir%,%ExtractDir%\BINARY._AA882D880E272B55230AA398FB4DA0A1,timntr*.sys Run,%ScriptFile%,EXTRACT_ONLY,%ExtractDir%,%ExtractDir%\data1_ADD.cab,_5DFE91C3721980E9BE1BE6482CC7801E Run,%ScriptFile%,EXTRACT_ONLY,%ExtractDir%\PE_Files,%ExtractDir%\_5DFE91C3721980E9BE1BE6482CC7801E,*.txt Run,%ScriptFile%,EXTRACT_AND_RENAME,%ExtractDir%,%ExtractDir%\data1_ADD.cab,_F1D9771DB2D1F0774A86C00DB763B7B9,timounter64.dll Run,%ScriptFile%,EXTRACT_ONLY,%ExtractDir%,%ExtractDir%\AcronisTrueImage.msi,BINARY._53626858B3C8D223B7E0CB38029AD1BD Run,%ScriptFile%,EXTRACT_ONLY,%ExtractDir%,%ExtractDir%\BINARY._53626858B3C8D223B7E0CB38029AD1BD,snapman_a64.sys Run,%ScriptFile%,EXTRACT_AND_RENAME,%ExtractDir%,%ExtractDir%\data1_ADD.cab,_FDE40AEB324C993B60FB26B8C48EC1D2,afcdpapi.dll Run,%ScriptFile%,EXTRACT_AND_RENAME,%ExtractDir%,%ExtractDir%\data1_ADD.cab,_557ED1403854B15F1638C83C66B9B5EC,tishell64.dll Run,%ScriptFile%,EXTRACT_AND_RENAME,%ExtractDir%,%ExtractDir%\data1_ADD.cab,_A347BC9878FB66DBF56C619E2D192413,tishell32.dll Run,%ScriptFile%,EXTRACT_AND_RENAME,%ExtractDir%,%ExtractDir%\data1_ADD.cab,_EC05F1A628221893E9E8F6C6C2BEB495,tishell.dll Run,%ScriptFile%,EXTRACT_ONLY,%ExtractDir%,%ExtractDir%\AcronisTrueImage.msi,Binary._AA882D880E272B55230AA398FB4DA0A1 Run,%ScriptFile%,EXTRACT_AND_RENAME,%ExtractDir%,%ExtractDir%\data1_ADD.cab,_0121B47410892F841622265B7270F752,expat.dll Run,%ScriptFile%,EXTRACT_AND_RENAME,%ExtractDir%,%ExtractDir%\data1_ADD.cab,_9F100A43EACE93810F843530D533B533,mspack.dll Run,%ScriptFile%,EXTRACT_AND_RENAME,%ExtractDir%,%ExtractDir%\data1_ADD.cab,_CF258AE4CB9610A79EE94C44CC7F667F,ulxmlrpcpp.dll Run,%ScriptFile%,EXTRACT_AND_RENAME,%ExtractDir%,%ExtractDir%\data1_ADD.cab,_33DA33CADB3EDC532A41B7A01859FED9,TrueImageTools.exe Run,%ScriptFile%,EXTRACT_AND_RENAME,%ExtractDir%,%ExtractDir%\data1_ADD.cab,_3E43FB71466F91C33EA1A8FEA551BC34,TrueImageLauncher.exe [COPY_FILE_MOUNTER] FileCopy,"%ExtractDir%\expat.dll","%Target_Prog%\%ProgramFolder%" FileCopy,"%ExtractDir%\mspack.dll","%Target_Prog%\%ProgramFolder%" FileCopy,"%ExtractDir%\afcdpapi.dll","%Target_Prog%\%ProgramFolder%" FileCopy,%ExtractDir%\tishell.dll,"%Target_Prog%\%ProgramFolder%" FileCopy,%ExtractDir%\tishell32.dll,"%Target_Prog%\%ProgramFolder%" FileCopy,%ExtractDir%\TrueImageTools.exe,"%Target_Prog%\%ProgramFolder%" FileCopy,%ExtractDir%\TrueImageLauncher.exe,"%Target_Prog%\%ProgramFolder%" FileCopy,%ExtractDir%\ulxmlrpcpp.dll,"%Target_Prog%\%ProgramFolder%" //- if,%SourceArch%,Equal,x64,Begin FileCopy,"%ExtractDir%\timntr_a64.sys","%target_sys%\Drivers\timntr.sys" FileCopy,%ExtractDir%\tishell64.dll,"%Target_Prog%\%ProgramFolder%" end else,Begin FileCopy,"%ExtractDir%\timntr_2k.sys","%target_sys%\Drivers\timntr.sys" end [MakeKeyINI] ShellExecute,HIDE,cmd.exe, "/c echo [LicenseKey] > #$q%StorageDir%\key.ini#$q"d ShellExecute,HIDE,cmd.exe, "/c for /F #$qusebackq tokens=* delims=,#$q %i in (#$q%ExtractDir%\PE_FILES\power_pack_serial.txt#$q) do echo #$qpowerpack#$q=#$q%i#$q >> #$q%StorageDir%\key.ini#$q" ShellExecute,HIDE,cmd.exe, "/c for /F #$qusebackq tokens=* delims=,#$q %i in (#$q%ExtractDir%\PE_FILES\serial.txt#$q) do echo #$qstandard#$q=#$q%i#$q >> #$q%StorageDir%\key.ini#$q" [Copy_Files_Both] Echo,"Copying Common Files...." FileCopy,"%ExtractDir%\PE_Files\files\Drivers\Microsoft.VC80.CRT\*.*","%Target_Prog%\%ProgramFolder%" FileCopy,"%ExtractDir%\PE_Files\files\timounter.dll","%Target_Prog%\%ProgramFolder%" FileCopy,"%ExtractDir%\PE_Files\files\TrueImage.exe","%Target_Prog%\%ProgramFolder%" FileCopy,"%ExtractDir%\PE_Files\files\icu38.dll","%Target_Prog%\%ProgramFolder%" FileCopy,"%ExtractDir%\PE_Files\files\rpc_client.dll","%Target_Prog%\%ProgramFolder%" FileCopy,"%ExtractDir%\PE_Files\files\resource.dll","%Target_Prog%\%ProgramFolder%" FileCopy,"%ExtractDir%\PE_Files\files\icudt38.dll","%Target_Prog%\%ProgramFolder%" FileCopy,"%ExtractDir%\PE_Files\files\thread_pool.dll","%Target_Prog%\%ProgramFolder%" FileCopy,"%ExtractDir%\PE_Files\files\fox.dll","%Target_Prog%\%ProgramFolder%" FileCopy,"%ExtractDir%\PE_Files\files\libcrypto9.dll","%Target_Prog%\%ProgramFolder%" FileCopy,"%ExtractDir%\PE_Files\files\libssl9.dll","%Target_Prog%\%ProgramFolder%" FileCopy,"%ExtractDir%\PE_Files\files\kb_link.dll","%Target_Prog%\%ProgramFolder%" [Copy_Files_86] Echo,"Copying x86 Files...." FileCopy,"%ExtractDir%\PE_Files\files\Drivers\snapman.sys","%target_sys%\drivers" FileCopy,"%ExtractDir%\PE_Files\files\Drivers\snapapi.dll","%target_sys%" [Copy_Files_64] Echo,"Copying x64 Files...." FileCopy,"%ExtractDir%\PE_Files\files\Drivers\snapapi.dll","%Target_Win%\SysWOW64" FileCopy,"%ExtractDir%\timounter64.dll","%Target_Prog%\%ProgramFolder%\timounter64.dll" FileCopy,"%ExtractDir%\snapman_a64.sys","%target_sys%\drivers\snapman.sys" [Write_Software_Reg] Echo,"Updating Software Registry" RegHiveLoad,HOLD_SOFTWARE,%RegSoftware% RegWrite,"HKLM",0x1,"HOLD_SOFTWARE\#1Acronis",, RegWrite,"HKLM",0x1,"HOLD_SOFTWARE\#1Acronis\TrueImage",, RegWrite,"HKLM",0x1,"HOLD_SOFTWARE\#1Acronis\TrueImage","standard",%StandardLicenseKey% RegWrite,"HKLM",0x1,"HOLD_SOFTWARE\#1Acronis\TrueImage","powerpack",%PowerpackLicenseKey% RegHiveUnload,HOLD_SOFTWARE [Write_System_Reg] Echo,"Updating System Registry" set,%UpperValue_4D%,"" set,%LowerValue_71%,"" set,%Found_4D%,0 set,%Found_71%,0 RegHiveLoad,HOLD_SYSTEM,%RegSystem% System,ERROROFF,2 RegRead,"HKLM","HOLD_SYSTEM\ControlSet001\Control\Class\{4D36E967-E325-11CE-BFC1-08002BE10318}","UpperFilters",%UpperValue_4D% RegRead,"HKLM","HOLD_SYSTEM\ControlSet001\Control\Class\{71A27CDD-812A-11D0-BEC7-08002BE2092F}","LowerFilters",%LowerValue_71% StrFormat,POS,%UpperValue_4D%,"snapman",%Found_4D% StrFormat,POS,%LowerValue_71%,"snapman",%Found_71% if,%UpperValue_4D%,Equal,,RegWrite,"HKLM",0x7,"HOLD_SYSTEM\ControlSet001\Control\Class\{4D36E967-E325-11CE-BFC1-08002BE10318}","UpperFilters","snapman" else,if,not,%Found_4D%,Bigger,0,RegMulti,"HKLM","HOLD_SYSTEM\ControlSet001\Control\Class\{4D36E967-E325-11CE-BFC1-08002BE10318}","UpperFilters",APPEND,"snapman" if,%LowerValue_71%,Equal,,RegWrite,"HKLM",0x7,"HOLD_SYSTEM\ControlSet001\Control\Class\{71A27CDD-812A-11D0-BEC7-08002BE2092F}","LowerFilters","snapman" else,if,not,%Found_71%,Bigger,0,RegMulti,"HKLM","HOLD_SYSTEM\ControlSet001\Control\Class\{71A27CDD-812A-11D0-BEC7-08002BE2092F}","LowerFilters",APPEND,"snapman" RegWrite,"HKLM",0x1,"HOLD_SYSTEM\ControlSet001\Services\snapman","DisplayName","Acronis Snapshots Manager" RegWrite,"HKLM",0x4,"HOLD_SYSTEM\ControlSet001\Services\snapman","ErrorControl","1" RegWrite,"HKLM",0x1,"HOLD_SYSTEM\ControlSet001\Services\snapman","ImagePath",system32\DRIVERS\snapman.sys RegWrite,"HKLM",0x4,"HOLD_SYSTEM\ControlSet001\Services\snapman","Start","0" RegWrite,"HKLM",0x4,"HOLD_SYSTEM\ControlSet001\Services\snapman","Type","1" if,%SourceArch%,Equal,X64,RegWrite,"HKLM",0x4,"HOLD_SYSTEM\ControlSet001\Services\snapman","WOW64",0x1 RegHiveUnload,HOLD_SYSTEM [ADD_MOUNTER_SYSTEM_REG] Echo,"Adding Image Mounter - System Registry" set,%UpperValue_71%,"" RegHiveLoad,HOLD_SYSTEM,%RegSystem% System,ERROROFF,1 RegRead,"HKLM","HOLD_SYSTEM\ControlSet001\Control\Class\{71A27CDD-812A-11D0-BEC7-08002BE2092F}","UpperFilters",%UpperValue_71% StrFormat,POS,%UpperValue_71%,"timounter",%Found_71% if,%UpperValue_71%,Equal,,RegWrite,"HKLM",0x7,"HOLD_SYSTEM\ControlSet001\Control\Class\{71A27CDD-812A-11D0-BEC7-08002BE2092F}","UpperFilters","timounter" else,if,not,%Found_71%,Bigger,0,RegMulti,"HKLM","HOLD_SYSTEM\ControlSet001\Control\Class\{71A27CDD-812A-11D0-BEC7-08002BE2092F}","UpperFilters",APPEND,"timounter" //- RegWrite,HKLM,0x1,HOLD_SYSTEM\ControlSet001\Control\Class\{1860459D-4692-4825-B761-44A725991050},Class,AcronisDevices RegWrite,HKLM,0x1,HOLD_SYSTEM\ControlSet001\Control\Class\{1860459D-4692-4825-B761-44A725991050},ClassDesc,"Acronis Devices" RegWrite,HKLM,0x1,HOLD_SYSTEM\ControlSet001\Control\Class\{1860459D-4692-4825-B761-44A725991050},,"Acronis Devices" RegWrite,HKLM,0x1,HOLD_SYSTEM\ControlSet001\Control\Class\{1860459D-4692-4825-B761-44A725991050},Icon,-5 RegWrite,HKLM,0x7,HOLD_SYSTEM\ControlSet001\Control\Class\{1860459D-4692-4825-B761-44A725991050},IconPath,%SystemDrive%\Windows\system32\SETUPAPI.dll#$c-5 RegWrite,HKLM,0x1,HOLD_SYSTEM\ControlSet001\Control\Class\{1860459D-4692-4825-B761-44A725991050}\0000,InfPath,oem4.inf RegWrite,HKLM,0x1,HOLD_SYSTEM\ControlSet001\Control\Class\{1860459D-4692-4825-B761-44A725991050}\0000,ProviderName,Acronis RegWrite,HKLM,0x3,HOLD_SYSTEM\ControlSet001\Control\Class\{1860459D-4692-4825-B761-44A725991050}\0000,DriverDateData,00,00,38,8b,e6,01,cb,01 RegWrite,HKLM,0x1,HOLD_SYSTEM\ControlSet001\Control\Class\{1860459D-4692-4825-B761-44A725991050}\0000,DriverDate,6-2-2010 RegWrite,HKLM,0x1,HOLD_SYSTEM\ControlSet001\Control\Class\{1860459D-4692-4825-B761-44A725991050}\0000,MatchingDeviceId,root\timounter RegWrite,HKLM,0x1,HOLD_SYSTEM\ControlSet001\Control\Class\{1860459D-4692-4825-B761-44A725991050}\0000,DriverDesc,"Acronis Backup Archive Explorer" if,%SourceArch%,Equal,x64,RegWrite,HKLM,0x1,HOLD_SYSTEM\ControlSet001\Control\Class\{1860459D-4692-4825-B761-44A725991050}\0000,InfSection,TimounterInst.ntamd64 else,RegWrite,HKLM,0x1,HOLD_SYSTEM\ControlSet001\Control\Class\{1860459D-4692-4825-B761-44A725991050}\0000,InfSection,TimounterInst.ntx86 //- RegWrite,HKLM,0x4,HOLD_SYSTEM\ControlSet001\services\timounter,Type,1 RegWrite,HKLM,0x4,HOLD_SYSTEM\ControlSet001\services\timounter,Start,0 RegWrite,HKLM,0x4,HOLD_SYSTEM\ControlSet001\services\timounter,ErrorControl,1 RegWrite,HKLM,0x4,HOLD_SYSTEM\ControlSet001\services\timounter,Tag,20 RegWrite,HKLM,0x2,HOLD_SYSTEM\ControlSet001\services\timounter,ImagePath,system32\DRIVERS\timntr.sys RegWrite,HKLM,0x1,HOLD_SYSTEM\ControlSet001\services\timounter,DisplayName,"Acronis Backup Archive Explorer" RegWrite,HKLM,0x1,HOLD_SYSTEM\ControlSet001\services\timounter,Group,"Extended Base" //- RegWrite,HKLM,0x1,HOLD_SYSTEM\ControlSet001\Enum\Root\ACRONISDEVICES\0000,DeviceDesc,"@oem4.inf,#$phardwarename#$p;Acronis Backup Archive Explorer" RegWrite,HKLM,0x1,HOLD_SYSTEM\ControlSet001\Enum\Root\ACRONISDEVICES\0000,ClassGUID,{1860459d-4692-4825-b761-44a725991050} RegWrite,HKLM,0x1,HOLD_SYSTEM\ControlSet001\Enum\Root\ACRONISDEVICES\0000,Driver,{1860459d-4692-4825-b761-44a725991050}\0000 RegWrite,HKLM,0x1,HOLD_SYSTEM\ControlSet001\Enum\Root\ACRONISDEVICES\0000,Class,AcronisDevices RegWrite,HKLM,0x1,HOLD_SYSTEM\ControlSet001\Enum\Root\ACRONISDEVICES\0000,Mfg,"@oem4.inf,#$pmfg#$p;Acronis, Inc." RegWrite,HKLM,0x7,HOLD_SYSTEM\ControlSet001\Enum\Root\ACRONISDEVICES\0000,HardwareID,root\timounter RegWrite,HKLM,0x1,HOLD_SYSTEM\ControlSet001\Enum\Root\ACRONISDEVICES\0000,Service,timounter RegWrite,HKLM,0x4,HOLD_SYSTEM\ControlSet001\Enum\Root\ACRONISDEVICES\0000,ConfigFlags,0 RegWrite,HKLM,0x4,HOLD_SYSTEM\ControlSet001\Enum\Root\ACRONISDEVICES\0000,Capabilities,0 RegWrite,HKLM,0x1,HOLD_SYSTEM\ControlSet001\Enum\Root\ACRONISDEVICES\0000,ContainerID,{00000000-0000-0000-FFFF-FFFFFFFFFFFF} RegWrite,HKLM,0x0,HOLD_SYSTEM\ControlSet001\Enum\Root\ACRONISDEVICES\0000\LogConf RegWrite,HKLM,0x0,HOLD_SYSTEM\ControlSet001\Enum\Root\ACRONISDEVICES\0000\Properties RegWrite,HKLM,0x1,HOLD_SYSTEM\ControlSet001\Enum\Root\ACRONISDEVICES\0000\Control,ActiveService,timounter //- RegHiveUnload,HOLD_SYSTEM [ADD_MOUNTER_SOFTWARE_REG] Echo,"Adding Image Mounter - Software Registry" set,%HIVE_ROOT%, //- RegHiveLoad,Tmp_Software,%RegSoftware% RegWrite,HKLM,0x1,Tmp_Software\Classes\.tib,,tibfile RegWrite,HKLM,0x1,Tmp_Software\Classes\AppID\{C4E69DB9-E094-483e-B922-E7ADE65FB497},,"Acronis True Image Shell Extension Backend" RegWrite,HKLM,0x1,Tmp_Software\Classes\AppID\{C4E69DB9-E094-483e-B922-E7ADE65FB497},DllSurrogate, //- RegWrite,HKLM,0x1,Tmp_Software\Classes\Drive\shellex\ContextMenuHandlers\{C539A15A-3AF9-4c92-B771-50CB78F5C751},, RegWrite,HKLM,0x1,Tmp_Software\Classes\tib,"URL Protocol", RegWrite,HKLM,0x1,Tmp_Software\Classes\tib\shell\open\command,,"%ProgramPathLive%\AcronisTibUrlHandler.exe #$q#$p1#$q" RegWrite,HKLM,0x1,Tmp_Software\Classes\tibfile,,"Acronis True Image Backup Archive" RegWrite,HKLM,0x1,Tmp_Software\Classes\tibfile\CLSID,,{C539A15B-3AF9-4c92-B771-50CB78F5C751} RegWrite,HKLM,0x1,Tmp_Software\Classes\tibfile\DefaultIcon,,"%ProgramPathLive%\tishell.dll,-4" RegWrite,HKLM,0x1,Tmp_Software\Classes\tibfile\Shell\open,, RegWrite,HKLM,0x1,Tmp_Software\Classes\tibfile\Shell\open\command,,"explorer /idlist,#$pI,#$pL" RegWrite,HKLM,0x1,Tmp_Software\Classes\tibfile\Shell\open\ddeexec,,"[ViewFolder(#$q#$pl#$q, #$pI, #$pS)]" RegWrite,HKLM,0x1,Tmp_Software\Classes\tibfile\Shell\open\ddeexec,NoActivateHandler, RegWrite,HKLM,0x1,Tmp_Software\Classes\tibfile\Shell\open\ddeexec\application,,Folders RegWrite,HKLM,0x1,Tmp_Software\Classes\tibfile\Shell\open\ddeexec\ifexec,,[] RegWrite,HKLM,0x1,Tmp_Software\Classes\tibfile\Shell\open\ddeexec\topic,,AppProperties RegWrite,HKLM,0x1,Tmp_Software\Classes\tibfile\ShellEx\ContextMenuHandlers\{C539A15A-3AF9-4c92-B771-50CB78F5C751},, if,%SourceArch%,Equal,x64,Begin set,%HIVE_ROOT%,Wow6432Node\ RegWrite,HKLM,0x1,Tmp_SOFTWARE\Classes\CLSID\{60D519E9-E1A3-45f9-9E31-75EF449F6A82}\InProcServer32,,"%ProgramPathLiveWithoutDrive%\tishell64.dll" RegWrite,HKLM,0x1,Tmp_SOFTWARE\Classes\CLSID\{8989A1DC-DA44-4fc5-A3A2-8025BC9CFA14}\InProcServer32,,"%ProgramPathLiveWithoutDrive%\tishell64.dll" RegWrite,HKLM,0x1,Tmp_SOFTWARE\Classes\CLSID\{A7BF901B-31F0-4653-90B0-533D1E05772E}\InProcServer32,,"%ProgramPathLiveWithoutDrive%\tishell64.dll" RegWrite,HKLM,0x1,Tmp_SOFTWARE\Classes\CLSID\{C539A15A-3AF9-4c92-B771-50CB78F5C751}\InProcServer32,,"%ProgramPathLiveWithoutDrive%\tishell64.dll" RegWrite,HKLM,0x1,Tmp_SOFTWARE\Classes\CLSID\{C539A15B-3AF9-4c92-B771-50CB78F5C751}\InProcServer32,,"%ProgramPathLiveWithoutDrive%\tishell64.dll" RegWrite,HKLM,0x1,Tmp_SOFTWARE\Classes\CLSID\{C539A15D-3AF9-4c92-B771-50CB78F5C751}\InProcServer32,,"%ProgramPathLiveWithoutDrive%\tishell64.dll" RegWrite,HKLM,0x1,Tmp_Software\Classes\CLSID\{C539A15D-3AF9-4c92-B771-50CB78F5C751}\InProcServer32,ThreadingModel,Apartment RegAddBoot,"HKLM",0x1,"SOFTWARE\Wow6432Node\Acronis\TrueImageHome\CommonComponents","snapapi.dll",%SystemRoot%\SysWow64\snapapi.dll end else,begin RegWrite,HKLM,0x1,Tmp_SOFTWARE\Classes\CLSID\{60D519E9-E1A3-45f9-9E31-75EF449F6A82}\InProcServer32,,"%ProgramPathLiveWithoutDrive%\tishell.dll" RegWrite,HKLM,0x1,Tmp_SOFTWARE\Classes\CLSID\{8989A1DC-DA44-4fc5-A3A2-8025BC9CFA14}\InProcServer32,,"%ProgramPathLiveWithoutDrive%\tishell.dll" RegWrite,HKLM,0x1,Tmp_SOFTWARE\Classes\CLSID\{A7BF901B-31F0-4653-90B0-533D1E05772E}\InProcServer32,,"%ProgramPathLiveWithoutDrive%\tishell.dll" RegWrite,HKLM,0x1,Tmp_SOFTWARE\Classes\CLSID\{C539A15A-3AF9-4c92-B771-50CB78F5C751}\InProcServer32,,"%ProgramPathLiveWithoutDrive%\tishell.dll" RegWrite,HKLM,0x1,Tmp_SOFTWARE\Classes\CLSID\{C539A15B-3AF9-4c92-B771-50CB78F5C751}\InProcServer32,,"%ProgramPathLiveWithoutDrive%\tishell.dll" RegAddBoot,"HKLM",0x1,"SOFTWARE\Acronis\TrueImageHome\CommonComponents","snapapi.dll",%SystemRoot%\System32\snapapi.dll end RegWrite,"HKLM",0x1,"Tmp_SOFTWARE\%HIVE_ROOT%Acronis\MediaBuilder",, RegWrite,"HKLM",0x1,"Tmp_SOFTWARE\%HIVE_ROOT%Acronis\MediaBuilder\Products",, RegWrite,"HKLM",0x1,"Tmp_SOFTWARE\%HIVE_ROOT%Acronis\MediaBuilder\Products",AgentLinuxRamdiskMergedMedia, RegWrite,"HKLM",0x1,"Tmp_SOFTWARE\%HIVE_ROOT%Acronis\TrueImageHome\CommonComponents","afcdpapi.dll",%ProgramPathLiveWithoutDrive%\afcdpapi.dll RegWrite,"HKLM",0x1,"Tmp_SOFTWARE\%HIVE_ROOT%Acronis\TrueImageHome\CommonComponents","expat.dll",%ProgramPathLiveWithoutDrive%\expat.dll RegWrite,"HKLM",0x1,"Tmp_SOFTWARE\%HIVE_ROOT%Acronis\TrueImageHome\CommonComponents","mspack.dll",%ProgramPathLiveWithoutDrive%\mspack.dll RegWrite,"HKLM",0x1,"Tmp_SOFTWARE\%HIVE_ROOT%Acronis\TrueImageHome\Settings","WorkingDir",%ProgramPathLiveWithoutDrive% RegWrite,"HKLM",0x1,"Tmp_SOFTWARE\%HIVE_ROOT%Acronis\TrueImageHome\Settings",MainExePath,"%ProgramPathLiveWithoutDrive%\TrueImage.exe" RegWrite,"HKLM",0x1,"Tmp_SOFTWARE\%HIVE_ROOT%Acronis\TrueImageHome\Settings",LauncherPath,"%ProgramPathLiveWithoutDrive%\TrueImageLauncher.exe" RegWrite,"HKLM",0x1,"Tmp_SOFTWARE\%HIVE_ROOT%Acronis\TrueImageHome\Settings",ToolsMainExePath,"%ProgramPathLiveWithoutDrive%\TrueImageTools.exe" RegWrite,"HKLM",0x1,"Tmp_SOFTWARE\%HIVE_ROOT%Acronis\TrueImageHome\CommonComponents","icu38.dll",%ProgramPathLiveWithoutDrive%\icu38.dll RegWrite,"HKLM",0x1,"Tmp_SOFTWARE\%HIVE_ROOT%Acronis\TrueImageHome\CommonComponents","resource.dll",%ProgramPathLiveWithoutDrive%\resource.dll RegWrite,"HKLM",0x1,"Tmp_SOFTWARE\%HIVE_ROOT%Acronis\TrueImageHome\CommonComponents","libcrypto9.dll",%ProgramPathLiveWithoutDrive%\libcrypto9.dll RegWrite,"HKLM",0x1,"Tmp_SOFTWARE\%HIVE_ROOT%Acronis\TrueImageHome\CommonComponents","libssl9.dll",%ProgramPathLiveWithoutDrive%\libssl9.dll RegWrite,"HKLM",0x1,"Tmp_SOFTWARE\%HIVE_ROOT%Acronis\TrueImageHome\CommonComponents","kb_link.dll",%ProgramPathLiveWithoutDrive%\kb_link.dll RegWrite,"HKLM",0x1,"Tmp_SOFTWARE\%HIVE_ROOT%Acronis\TrueImageHome\CommonComponents","rpc_client.dll",%ProgramPathLiveWithoutDrive%\rpc_client.dll RegWrite,"HKLM",0x1,"Tmp_SOFTWARE\%HIVE_ROOT%Acronis\TrueImageHome\CommonComponents","thread_pool.dll",%ProgramPathLiveWithoutDrive%\thread_pool.dll RegWrite,"HKLM",0x1,"Tmp_SOFTWARE\%HIVE_ROOT%Acronis\TrueImageHome\CommonComponents","timounter.dll",%ProgramPathLiveWithoutDrive%\timounter.dll RegWrite,"HKLM",0x1,"Tmp_SOFTWARE\%HIVE_ROOT%Acronis\TrueImageHome\CommonComponents","ulxmlrpcpp.dll",%ProgramPathLive%\ulxmlrpcpp.dll RegWrite,"HKLM",0x1,"Tmp_Software\%HIVE_ROOT%Microsoft\Windows\CurrentVersion\Shell Extensions\Approved",{C539A15A-3AF9-4c92-B771-50CB78F5C751},"Acronis True Image Shell Context Menu Extension" RegWrite,"HKLM",0x1,"Tmp_Software\%HIVE_ROOT%Microsoft\Windows\CurrentVersion\Shell Extensions\Approved",{C539A15B-3AF9-4c92-B771-50CB78F5C751},"Acronis True Image Shell Extension" RegWrite,HKLM,0x1,Tmp_Software\Classes\%HIVE_ROOT%CLSID\{60D519E9-E1A3-45f9-9E31-75EF449F6A82},,"Acronis True Image Shell Icon Overlay Extension" RegWrite,HKLM,0x1,Tmp_Software\Classes\%HIVE_ROOT%CLSID\{60D519E9-E1A3-45f9-9E31-75EF449F6A82}\InProcServer32,ThreadingModel,Apartment RegWrite,HKLM,0x1,Tmp_Software\Classes\%HIVE_ROOT%CLSID\{8989A1DC-DA44-4fc5-A3A2-8025BC9CFA14},,"Acronis True Image Shell Icon Overlay Extension" RegWrite,HKLM,0x1,Tmp_Software\Classes\%HIVE_ROOT%CLSID\{8989A1DC-DA44-4fc5-A3A2-8025BC9CFA14}\InProcServer32,ThreadingModel,Apartment RegWrite,HKLM,0x1,Tmp_Software\Classes\%HIVE_ROOT%CLSID\{A7BF901B-31F0-4653-90B0-533D1E05772E},,"Acronis True Image Shell Icon Overlay Extension" RegWrite,HKLM,0x1,Tmp_Software\Classes\%HIVE_ROOT%CLSID\{A7BF901B-31F0-4653-90B0-533D1E05772E}\InProcServer32,ThreadingModel,Apartment RegWrite,HKLM,0x1,Tmp_Software\Classes\%HIVE_ROOT%CLSID\{C539A15A-3AF9-4c92-B771-50CB78F5C751},,"Acronis True Image Shell Context Menu Extension" RegWrite,HKLM,0x1,Tmp_Software\Classes\%HIVE_ROOT%CLSID\{C539A15A-3AF9-4c92-B771-50CB78F5C751}\InProcServer32,ThreadingModel,Apartment RegWrite,HKLM,0x1,Tmp_Software\Classes\%HIVE_ROOT%CLSID\{C539A15B-3AF9-4c92-B771-50CB78F5C751},,"Acronis Secure Zone" RegWrite,HKLM,0x1,Tmp_Software\Classes\%HIVE_ROOT%CLSID\{C539A15B-3AF9-4c92-B771-50CB78F5C751}\DefaultIcon,,"%ProgramPathLive%\tishell.dll,-4" RegWrite,HKLM,0x1,"Tmp_Software\Classes\%HIVE_ROOT%CLSID\{C539A15B-3AF9-4c92-B771-50CB78F5C751}\Implemented Categories\{00021490-0000-0000-C000-000000000046}",, RegWrite,HKLM,0x1,Tmp_Software\Classes\%HIVE_ROOT%CLSID\{C539A15B-3AF9-4c92-B771-50CB78F5C751}\InProcServer32,ThreadingModel,Apartment RegWrite,HKLM,0x4,Tmp_Software\Classes\%HIVE_ROOT%CLSID\{C539A15B-3AF9-4c92-B771-50CB78F5C751}\ShellFolder,Attributes,-1610612736 RegWrite,HKLM,0x1,Tmp_Software\Classes\%HIVE_ROOT%CLSID\{C539A15C-3AF9-4c92-B771-50CB78F5C751},,"Acronis True Image Shell Extension Backend" RegWrite,HKLM,0x1,Tmp_Software\Classes\%HIVE_ROOT%CLSID\{C539A15C-3AF9-4c92-B771-50CB78F5C751},AppID,{C4E69DB9-E094-483e-B922-E7ADE65FB497} RegWrite,HKLM,0x1,Tmp_SOFTWARE\Classes\%HIVE_ROOT%CLSID\{C539A15C-3AF9-4c92-B771-50CB78F5C751}\InProcServer32,,"%ProgramPathLiveWithoutDrive%\tishell32.dll" RegWrite,HKLM,0x1,Tmp_Software\Classes\%HIVE_ROOT%CLSID\{C539A15C-3AF9-4c92-B771-50CB78F5C751}\InProcServer32,ThreadingModel,Apartment RegHiveUnload,Tmp_Software [LoadStandard_REG] If,ExistRegKey,"HKLM",%RegKeyToRead%,"standard",RegRead,HKLM,%RegKeyToRead%,"standard",%StandardLicenseKey% else,set,%StandardLicenseKey%,"N/A" ScriptInterface,Write,Value,,,TextBox_StanLicenseKey,%StandardLicenseKey% System,REFRESHINTERFACE [LoadPowerPack_REG] If,ExistRegKey,"HKLM",%RegKeyToRead%,"powerpack",RegRead,HKLM,%RegKeyToRead%,"powerpack",%PowerPackLicenseKey% else,set,%PowerPackLicenseKey%,"N/A" ScriptInterface,Write,Value,,,TextBox_PPLicenseKey,%PowerPackLicenseKey% System,REFRESHINTERFACE [LoadStandard_INI] if,Not,ExistFile,"%pInstallStorageBox%\Key.ini",Message,"Cannot find %pInstallStorageBox%\Key.ini.#$xRead directions below to create it or select the check-box above to use the keys in the Acronis download.", ERROR else, Begin IniRead,"%pInstallStorageBox%\Key.ini",LicenseKey,#$qstandard#$q,%StandardLicenseKey% if,%StandardLicenseKey%,Equal,,set,%StandardLicenseKey%,"N/A" StrFormat,CTRIM,%StandardLicenseKey%,#$q,%StandardLicenseKey% ScriptInterface,Write,Value,,,TextBox_StanLicenseKey,%StandardLicenseKey% System,REFRESHINTERFACE end [LoadPowerPack_INI] if,Not,ExistFile,"%pInstallStorageBox%\Key.ini",Message,"Cannot find %pInstallStorageBox%\Key.ini.#$xRead directions below to create it or select the check-box above to use the keys in the Acronis download.", ERROR else, Begin IniRead,"%pInstallStorageBox%\Key.ini",LicenseKey,#$qpowerpack#$q,%PowerPackLicenseKey% if,%PowerPackLicenseKey%,Equal,,set,%PowerPackLicenseKey%,"N/A" StrFormat,CTRIM,%PowerPackLicenseKey%,#$q,%PowerPackLicenseKey% ScriptInterface,Write,Value,,,TextBox_PPLicenseKey,%PowerPackLicenseKey% System,REFRESHINTERFACE end [CreateGetRegKeyCMD] ExtractFile,%ScriptFile%,Folder,GetKeyFromReg.cmd,%pInstallStorageBox% System,FILEREDIRECT,OFF ShellExecuteEx,Open,explorer.exe,/e#$c#$q%pInstallStorageBox%#$q System,FILEREDIRECT,ON [TxtSetup] IniWrite,"%target_win%\txtsetup.sif","SourceDisksFiles","snapman.sys","1#$c#$c#$c#$c#$c#$c_3#$c4#$c1" IniWrite,"%target_win%\txtsetup.sif","SCSI.Load","snapman","snapman.sys#$c4" IniWrite,"%target_win%\txtsetup.sif","SCSI","snapman","#$qAcronis Snapshot Driver#$q" IniWrite,"%target_win%\txtsetup.sif","HardwareIdsDatabase","STORAGE\Volume","#$qVolume#$q#$c{71A27CDD-812A-11D0-BEC7-08002BE2092F}" [EncodedFolders] Folder [EncodedFile-Folder-GetKeyFromReg.cmd] lines=0 0=eJylkF1LwzAUhu8L/Q+HQm4n07ELoYNSoy1b25FmTrESSnO2hc2mpJU58Me7Oqcb4hhIbg7J836cqBk4pOu4ruPAXDcarqMwTcP4Tow9HthWjQ20k5gGlFGXdG1rh7FJLCJqW+05ren8lhyMqi0wZolP0zRhwmN+EHLq8wmjpK3lRTf93r5bSrno91pZmzHEzX2+coMhfRSjxPdGIvK26phmaXLLpx6jmVcYXao64+YVw5d8jodd6MM4Yfyzz974TNupXvd7V5exlnhuxPfa+yuDc8C3SpsGyC6SAPn5NpIFeiU7W8q2sFhoeBqpAssat+wzDI7RJW46qlS21WwqPH5afLnAO8xUKeFCgVM3eSlzI53B/3wqvUZT5cXybyOJq5NbDXcgFAbzBuUH2xPB1nicE3RPLfFOrXQrys8NSk3XS85NYRgFIwj0M0FoA0bs8hlb7FkZmAC8MgiTK9qKFgEAAAACAAAALAAAADABAAAAAAAAAQAAAAAAAAAAAAAA [Folder] GetKeyFromReg.cmd=384,512