Need an Acronis True Image Home and Disk Director app script
#26
Posted 27 October 2010 - 05:33 PM
collect the driver files in a separated folder
and in 'Addons\PENetwork' script point to this folder using the 'Add network drivers from this directory (including subdirs):' input field,
this above method usually works only in case of NIC drivers
if you use the Win7PE_SE project then there is an other method,
this other method works not only for NIC drivers but for storage controllers, video drivers, audio drivers, etc. too:
use the 'Drivers\Driver Integration' script
if you build an x86 PE then collect your driver files in the folder '\Workbench\Common\Drivers_x86'
if you build an x64 PE then collect your driver files in the folder '\Workbench\Common\Drivers_x64
#27
Posted 27 October 2010 - 05:36 PM
Oh no again script, I don't have any idea how to write driver integration script.first method:
copy the driver files into a separated folder
and in Addons\PENetwork script point to this folder using the 'Add network drivers from this directory (including subdirs):' input field,
this above method usually works only in case of NIC drivers
if you use the Win7PE_SE project then there is an other method:
this other method works not only for NIC drivers but for storage controllers, video drivers, audio drivers, etc. too,
use the Drivers\Driver Integration script
#28
Posted 27 October 2010 - 06:31 PM
'Dism.exe /image:path_to_ image_directory /Add-Driver /Driver:path_to_driver.inf'
or
'Dism.exe /image:path_to_ image_directory /Add-Driver /Driver:folder_containing_INF /Recurse'
or
'peimg.exe /inf=path_to_driver.inf path_to_ image_directory\Windows'
depending on your host and the installed WAIK version
in winbuilder script should run the above command using:
ShellExecute,Hide,Filename,"Parameters"
so e.g. something like:
ShellExecute,Hide,%WindowsDir%\system32\Dism.exe,"/image:%TargetDir% /Add-Driver /Driver:path_to_driver.inf"
#29
Posted 27 October 2010 - 06:54 PM
Hey I am well versed with mounting and unmounting the wim images with gimagex, can I add the inf file directly to boot.wim by mounting the wim with gimagex? I just need to know where can place that inf file in boot wim?shoul to use the command
'Dism.exe /image:path_to_ image_directory /Add-Driver /Driver:path_to_driver.inf'
or
'Dism.exe /image:path_to_ image_directory /Add-Driver /Driver:folder_containing_INF /Recurse'
or
'peimg.exe /inf=path_to_driver.inf path_to_ image_directory\Windows'
depending on your host and the installed WAIK version
in winbuilder script should run the above command using:
ShellExecute,Hide,Filename,"Parameters"
so e.g. something like:
ShellExecute,Hide,%WindowsDir%\system32\Dism.exe,"/image:%TargetDir% /Add-Driver /Driver:path_to_driver.inf"
I am not comfortable with dism commands.
#30
Posted 23 February 2011 - 02:49 AM
Hi i am getting this error.
DirCopy - Failed to copy directory [%BaseDir%\Projects\Win7PE_SE\Apps\HD Tasks\Imaging\acronis\files\Microsoft.VC80.CRT\*] to: [%BaseDir%\Target\Win7PE_SE\\Acronis]: + s
Could you explain?
#31
Posted 23 February 2011 - 06:45 AM
Hi i am getting this error.
DirCopy - Failed to copy directory [%BaseDir%\Projects\Win7PE_SE\Apps\HD Tasks\Imaging\acronis\files\Microsoft.VC80.CRT\*] to: [%BaseDir%\Target\Win7PE_SE\\Acronis]: + s
Could you explain?
sorry,
i do not know,
in that script there is no 'DirCopy' command
only this:
[Interface]pFileBox1=%ProgramFilesDir%\Acronis\TrueImageHome\BartPE\Files,1,13,22,52,326,28,dir[Variables]%ProgramFolder%=Acronis\TrueImageHome[process]FileCopy,"%pFileBox1%\Drivers\Microsoft.VC80.CRT\msvcp80.dll","%Target_prog%\%ProgramFolder%"FileCopy,"%pFileBox1%\Drivers\Microsoft.VC80.CRT\msvcr80.dll","%Target_prog%\%ProgramFolder%"FileCopy,"%pFileBox1%\Drivers\Microsoft.VC80.CRT\msvcm80.dll","%Target_prog%\%ProgramFolder%"FileCopy,"%pFileBox1%\Drivers\Microsoft.VC80.CRT\Microsoft.VC80.CRT.manifest","%Target_prog%\%ProgramFolder%"
#32
Posted 17 March 2011 - 05:55 PM
Hey, I tried the script today with ATI 2011 v14.0.0.6696. After I tried to boot I got an error about a missing snapman.dll and the process canceled. What can I do to fix the problem? Thx
Here the log file:
Acronis True Image Home 2011 BartPE [Info] File [%BaseDir%\Projects\Win7PE_SE\Apps\Supplementary\A_TI_H_14_PE.script] Version[3] [Ignore] IF - File exists: [C:\Program Files (x86)\Acronis\TrueImageHome\BartPE\Files\TrueImage_starter.exe] evaluated string: [If,NotExistFile,"%pFileBox1%\TrueImage_starter.exe",Message,"Missing True Image files script will exit",ERROR,7] [Ignore] IF - File exists: [C:\Program Files (x86)\Acronis\TrueImageHome\BartPE\Files\TrueImage_starter.exe] evaluated string: [If,NotExistFile,"%pFileBox1%\TrueImage_starter.exe",Exit,"Missing True Image files script exit"] [Success] IF - [True] is equal to: [True] evaluated string: [If,%pCheckBox5%,Equal,True,If,NOTEXISTREGKEY,HKLM,"SOFTWARE\Acronis\TrueImage","standard",Message,"Missing True Image license script will exit",ERROR,7] [Ignore] IF - Key exists [standard] evaluated string: [If,NOTEXISTREGKEY,HKLM,SOFTWARE\Acronis\TrueImage,standard,Message,Missing#$sTrue#$sImage#$slicense#$sscript#$swill#$sexit,ERROR,7] [Success] IF - [True] is equal to: [True] evaluated string: [If,%pCheckBox5%,Equal,True,If,NOTEXISTREGKEY,HKLM,"SOFTWARE\Acronis\TrueImage","standard",Exit,"Missing True Image license script exit"] [Ignore] IF - Key exists [standard] evaluated string: [If,NOTEXISTREGKEY,HKLM,SOFTWARE\Acronis\TrueImage,standard,Exit,Missing#$sTrue#$sImage#$slicense#$sscript#$sexit] [Ignore] IF - [True] is not equal to: [False] evaluated string: [If,%pCheckBox5%,Equal,False,If,%pTextBox2%,Equal,"",Message,"You should supply the lic key via textbox Missing True Image license script will exit",ERROR,7] [Ignore] IF - [True] is not equal to: [False] evaluated string: [If,%pCheckBox5%,Equal,False,If,%pTextBox2%,Equal,"",Exit,"You should supply the lic key via textbox Missing True Image license script exit"] [Info] [//] Run - Processing section: [Run_FromRam2] From file: [%BaseDir%\Projects\Win7PE_SE\Build\Common_Api.script] [Parameter] with parameters: [True] [Success] IF - [FalseTrue] is equal to: [FalseTrue] evaluated string: [If,%AtRam%#1,Equal,FalseTrue,Begin] [Success] SetVar - Sucessfuly changed the value of [%Target_Prog%] to: [%BaseDir%\Target\Win7PE_SE\Program#$sFiles] [Success] SetVar - Sucessfuly changed the value of [%PE_Programs%] to: [#$pSystemDrive#$p\Program#$sFiles] [Success] SetVar - Sucessfuly changed the value of [%PE_Cfg%] to: [%BaseDir%\Target\Win7PE_SE\windows\system32\Win7PE.cfg] [Success] [End] Run - Processed section [Run_FromRam2] in file: [%BaseDir%\Projects\Win7PE_SE\Build\Common_Api.script] [Success] IF - [True] is equal to: [True] evaluated string: [If,%pCheckBox1%,EQUAL,True,Set,%PE_Programs%,"X:\Program#$sFiles"] [Success] SetVar - Sucessfuly changed the value of [%PE_Programs%] to: [X:\Program#$sFiles] [Success] DirMake - Created directory: [%BaseDir%\Target\Win7PE_SE\Program Files\Acronis\TrueImageHome] [Success] FileCopy - Copied [C:\Program Files (x86)\Acronis\TrueImageHome\BartPE\Files\TrueImage.exe] to: [%BaseDir%\Target\Win7PE_SE\Program Files\Acronis\TrueImageHome\TrueImage.exe] [Success] FileCopy - Copied [C:\Program Files (x86)\Acronis\TrueImageHome\BartPE\Files\TrueImage_starter.exe] to: [%BaseDir%\Target\Win7PE_SE\Program Files\Acronis\TrueImageHome\TrueImage_starter.exe] [Info] [##] [Info] [##] [Info] [//FileCopy,"%pFileBox1%\mouse.com","%Target_prog%\%ProgramFolder%"] [Info] [//FileCopy,"%pFileBox1%\f11.cfg","%Target_prog%\%ProgramFolder%"] [Info] [//FileCopy,"%pFileBox1%\kernel.dat","%Target_prog%\%ProgramFolder%"] [Info] [//FileCopy,"%pFileBox1%\ramdisk.dat","%Target_prog%\%ProgramFolder%"] [Info] [//FileCopy,"%pFileBox1%\bootwiz.bin","%Target_prog%\%ProgramFolder%"] [Info] [##] [Info] [//for build 14.0.0.5519] [Info] [//If,EXISTFILE,"%pFileBox1%\gen_bootmenu.bin",Begin] [Info] [//FileCopy,"%pFileBox1%\gen_bootmenu.bin","%Target_prog%\%ProgramFolder%\bootmenu.bin"] [Info] [//FileCopy,"%pFileBox1%\gen_bootmenu.bin","%Target_prog%\%ProgramFolder%"] [Info] [//End] [Info] [##] [Info] [//for build 14.0.0.6597] [Info] [//If,EXISTFILE,"%pFileBox1%\bootmenu.bin",Begin] [Info] [//FileCopy,"%pFileBox1%\bootmenu.bin","%Target_prog%\%ProgramFolder%\gen_bootmenu.bin"] [Info] [//FileCopy,"%pFileBox1%\bootmenu.bin","%Target_prog%\%ProgramFolder%"] [Info] [//End] [Info] [##] [Info] [//for build 14.0.0.6597] [Info] [//If,EXISTFILE,"%pFileBox1%\cpp.so",Begin] [Info] [//FileCopy,"%pFileBox1%\*.so","%Target_prog%\%ProgramFolder%"] [Info] [//End] [Info] [##] [Info] [##] [Success] FileCopy - Copied [C:\Program Files (x86)\Acronis\TrueImageHome\BartPE\Files\icu38.dll] to: [%BaseDir%\Target\Win7PE_SE\Program Files\Acronis\TrueImageHome\icu38.dll] [Success] FileCopy - Copied [C:\Program Files (x86)\Acronis\TrueImageHome\BartPE\Files\rpc_client.dll] to: [%BaseDir%\Target\Win7PE_SE\Program Files\Acronis\TrueImageHome\rpc_client.dll] [Success] FileCopy - Copied [C:\Program Files (x86)\Acronis\TrueImageHome\BartPE\Files\resource.dll] to: [%BaseDir%\Target\Win7PE_SE\Program Files\Acronis\TrueImageHome\resource.dll] [Success] FileCopy - Copied [C:\Program Files (x86)\Acronis\TrueImageHome\BartPE\Files\icudt38.dll] to: [%BaseDir%\Target\Win7PE_SE\Program Files\Acronis\TrueImageHome\icudt38.dll] [Success] FileCopy - Copied [C:\Program Files (x86)\Acronis\TrueImageHome\BartPE\Files\thread_pool.dll] to: [%BaseDir%\Target\Win7PE_SE\Program Files\Acronis\TrueImageHome\thread_pool.dll] [Success] FileCopy - Copied [C:\Program Files (x86)\Acronis\TrueImageHome\BartPE\Files\fox.dll] to: [%BaseDir%\Target\Win7PE_SE\Program Files\Acronis\TrueImageHome\fox.dll] [Success] FileCopy - Copied [C:\Program Files (x86)\Acronis\TrueImageHome\BartPE\Files\libcrypto9.dll] to: [%BaseDir%\Target\Win7PE_SE\Program Files\Acronis\TrueImageHome\libcrypto9.dll] [Success] FileCopy - Copied [C:\Program Files (x86)\Acronis\TrueImageHome\BartPE\Files\libssl9.dll] to: [%BaseDir%\Target\Win7PE_SE\Program Files\Acronis\TrueImageHome\libssl9.dll] [Success] FileCopy - Copied [C:\Program Files (x86)\Acronis\TrueImageHome\BartPE\Files\kb_link.dll] to: [%BaseDir%\Target\Win7PE_SE\Program Files\Acronis\TrueImageHome\kb_link.dll] [Success] FileCopy - Copied [C:\Program Files (x86)\Acronis\TrueImageHome\BartPE\Files\timounter.dll] to: [%BaseDir%\Target\Win7PE_SE\Program Files\Acronis\TrueImageHome\timounter.dll] [Success] FileCopy - Copied [C:\Program Files (x86)\Acronis\TrueImageHome\BartPE\Files\auto_reactivate.exe] to: [%BaseDir%\Target\Win7PE_SE\Program Files\Acronis\TrueImageHome\auto_reactivate.exe] [Success] FileCopy - Copied [C:\Program Files (x86)\Acronis\TrueImageHome\BartPE\Files\auto_reactivate64.exe] to: [%BaseDir%\Target\Win7PE_SE\Program Files\Acronis\TrueImageHome\auto_reactivate64.exe] [Success] DirMake - Created directory: [%BaseDir%\Target\Win7PE_SE\Program Files\Acronis\TrueImageHome\A43] [Success] FileCopy - Copied [C:\Program Files (x86)\Acronis\TrueImageHome\BartPE\Files\a43.ini] to: [%BaseDir%\Target\Win7PE_SE\Program Files\Acronis\TrueImageHome\A43\a43.ini] [Success] FileCopy - Copied [C:\Program Files (x86)\Acronis\TrueImageHome\BartPE\Files\a43.dat] to: [%BaseDir%\Target\Win7PE_SE\Program Files\Acronis\TrueImageHome\A43\a43.dat] [Success] FileCopy - Copied [C:\Program Files (x86)\Acronis\TrueImageHome\BartPE\Files\A43.exe] to: [%BaseDir%\Target\Win7PE_SE\Program Files\Acronis\TrueImageHome\A43\A43.exe] [Success] FileCopy - Copied [C:\Program Files (x86)\Acronis\TrueImageHome\BartPE\Files\A43help.txt] to: [%BaseDir%\Target\Win7PE_SE\Program Files\Acronis\TrueImageHome\A43\A43help.txt] [Success] FileCopy - Copied [C:\Program Files (x86)\Acronis\TrueImageHome\BartPE\Files\unrar.dll] to: [%BaseDir%\Target\Win7PE_SE\Program Files\Acronis\TrueImageHome\A43\unrar.dll] [Info] [##] [Info] [##] [Info] [//FileCopy,"%pFileBox1%\Drivers\snapapi.dll","%target_sys%"] [Info] [//FileCopy,"%pFileBox1%\Drivers\snapman.sys","%target_sys%\drivers"] [Info] [//snapapi] [Ignore] IF - File does not exist: [%BaseDir%\Target\Win7PE_SE\Windows\System32\snapapi.dll] evaluated string: [If,ExistFile,%target_sys%\snapapi.dll,Begin] [Skipped] [Retrieve,FILEVERSION,%target_sys%\snapapi.dll,%dllTARGETver%] [Skipped] [Retrieve,FILEVERSION,%pFileBox1%\Drivers\snapapi.dll,%dllSOURCEver%] [Skipped] [If,%dllSOURCEver%,Bigger,%dllTARGETver%,Begin] [Skipped] [FileDelete,%target_sys%\snapapi.dll] [Skipped] [FileCopy,%pFileBox1%\Drivers\snapapi.dll,%target_sys%] [Ignore] [End] [Ignore] [End] [Success] ELSE - executing command: [Begin] [Success] FileCopy - Copied [C:\Program Files (x86)\Acronis\TrueImageHome\BartPE\Files\Drivers\snapapi.dll] to: [%BaseDir%\Target\Win7PE_SE\Windows\System32\snapapi.dll] [Success] [End] [Info] [//snapman] [Ignore] IF - File does not exist: [%BaseDir%\Target\Win7PE_SE\Windows\System32\drivers\snapman.sys] evaluated string: [If,ExistFile,%target_sys%\drivers\snapman.sys,Begin] [Skipped] [Retrieve,FILEVERSION,%target_sys%\drivers\snapman.sys,%sysTARGETver%] [Skipped] [Retrieve,FILEVERSION,%pFileBox1%\Drivers\snapman.sys,%sysSOURCEver%] [Skipped] [If,%sysSOURCEver%,Bigger,%sysTARGETver%,Begin] [Skipped] [FileDelete,%target_sys%\drivers\snapman.sys] [Skipped] [FileCopy,%pFileBox1%\Drivers\snapman.sys,%target_sys%\drivers] [Ignore] [End] [Ignore] [End] [Success] ELSE - executing command: [Begin] [Success] FileCopy - Copied [C:\Program Files (x86)\Acronis\TrueImageHome\BartPE\Files\Drivers\snapman.sys] to: [%BaseDir%\Target\Win7PE_SE\Windows\System32\drivers\snapman.sys] [Success] [End] [Info] [##] [Info] [##] [Success] FileCopy - Copied [C:\Program Files (x86)\Acronis\TrueImageHome\BartPE\Files\Drivers\Microsoft.VC80.CRT\msvcp80.dll] to: [%BaseDir%\Target\Win7PE_SE\Program Files\Acronis\TrueImageHome\msvcp80.dll] [Success] FileCopy - Copied [C:\Program Files (x86)\Acronis\TrueImageHome\BartPE\Files\Drivers\Microsoft.VC80.CRT\msvcr80.dll] to: [%BaseDir%\Target\Win7PE_SE\Program Files\Acronis\TrueImageHome\msvcr80.dll] [Success] FileCopy - Copied [C:\Program Files (x86)\Acronis\TrueImageHome\BartPE\Files\Drivers\Microsoft.VC80.CRT\msvcm80.dll] to: [%BaseDir%\Target\Win7PE_SE\Program Files\Acronis\TrueImageHome\msvcm80.dll] [Success] FileCopy - Copied [C:\Program Files (x86)\Acronis\TrueImageHome\BartPE\Files\Drivers\Microsoft.VC80.CRT\Microsoft.VC80.CRT.manifest] to: [%BaseDir%\Target\Win7PE_SE\Program Files\Acronis\TrueImageHome\Microsoft.VC80.CRT.manifest] Run - Processing section: [reg_hiveload] From file: [%BaseDir%\Projects\Win7PE_SE\Build\Common_Api.script] [Parameter] with parameters: [HKLM] Run - Processing section: [reg_hiveload_HKLM] From file: [%BaseDir%\Projects\Win7PE_SE\Build\Common_Api.script] Run - Processing section: [reg_hiveload_HKLM_2] From file: [%BaseDir%\Projects\Win7PE_SE\Build\Common_Api.script] [Info] Updating registry.. [System] [Success] RegHiveLoad - File: [%BaseDir%\Target\Win7PE_SE\Windows\System32\Config\system] Section [wb-hive] Run - Processed section [reg_hiveload_HKLM_2] in file: [%BaseDir%\Projects\Win7PE_SE\Build\Common_Api.script] Run - Processed section [reg_hiveload_HKLM] in file: [%BaseDir%\Projects\Win7PE_SE\Build\Common_Api.script] Run - Processed section [reg_hiveload] in file: [%BaseDir%\Projects\Win7PE_SE\Build\Common_Api.script] [Success] RegWrite - Type: [0x7] Section [HKLM\wb-hive\ControlSet001\Control\Class\{4D36E967-E325-11CE-BFC1-08002BE10318}] Key [UpperFilters]: [PartMgr],[snapman] [Warning] RegWrite ! Overwrote existing key "[PartMgr]" with different data [Success] RegWrite - Type: [0x7] Section [HKLM\wb-hive\ControlSet001\Control\Class\{71A27CDD-812A-11D0-BEC7-08002BE2092F}] Key [UpperFilters]: [snapman] [Success] RegWrite - Type: [0x4] Section [HKLM\wb-hive\ControlSet001\Services\snapman] Key [ErrorControl]: 1 [Success] RegWrite - Type: [0x1] Section [HKLM\wb-hive\ControlSet001\Services\snapman] Key [ImagePath]: system32\DRIVERS\snapman.sys [Success] RegWrite - Type: [0x4] Section [HKLM\wb-hive\ControlSet001\Services\snapman] Key [Start]: 0 [Success] RegWrite - Type: [0x4] Section [HKLM\wb-hive\ControlSet001\Services\snapman] Key [Type]: 1 Run - Processing section: [reg_hiveunload] From file: [%BaseDir%\Projects\Win7PE_SE\Build\Common_Api.script] [Parameter] with parameters: [HKLM] [Success] RegHiveUnLoad - Unloaded registry hive: [wb-hive] Run - Processed section [reg_hiveunload] in file: [%BaseDir%\Projects\Win7PE_SE\Build\Common_Api.script] Run - Processing section: [reg_hiveload] From file: [%BaseDir%\Projects\Win7PE_SE\Build\Common_Api.script] [Parameter] with parameters: [HKU] Run - Processing section: [reg_hiveload_HKU] From file: [%BaseDir%\Projects\Win7PE_SE\Build\Common_Api.script] Run - Processing section: [reg_hiveload_HKU_2] From file: [%BaseDir%\Projects\Win7PE_SE\Build\Common_Api.script] [Info] Updating registry.. [Software] [Success] RegHiveLoad - File: [%BaseDir%\Target\Win7PE_SE\Windows\System32\Config\software] Section [wb-hive] Run - Processed section [reg_hiveload_HKU_2] in file: [%BaseDir%\Projects\Win7PE_SE\Build\Common_Api.script] Run - Processed section [reg_hiveload_HKU] in file: [%BaseDir%\Projects\Win7PE_SE\Build\Common_Api.script] Run - Processed section [reg_hiveload] in file: [%BaseDir%\Projects\Win7PE_SE\Build\Common_Api.script] [Success] RegWrite - Type: [0x1] Section [HKLM\wb-hive\Acronis\TrueImageHome\Settings] Key [WorkingDir]: X:\Program Files\Acronis\TrueImageHome [Success] RegWrite - Type: [0x1] Section [HKLM\wb-hive\Acronis\CommonComponents] Key [icu38.dll]: X:\Program Files\Acronis\TrueImageHome\icu38.dll [Success] RegWrite - Type: [0x1] Section [HKLM\wb-hive\Acronis\CommonComponents] Key [rpc_client.dll]: X:\Program Files\Acronis\TrueImageHome\rpc_client.dll [Success] RegWrite - Type: [0x1] Section [HKLM\wb-hive\Acronis\CommonComponents] Key [resource.dll]: X:\Program Files\Acronis\TrueImageHome\resource.dll [Success] RegWrite - Type: [0x1] Section [HKLM\wb-hive\Acronis\CommonComponents] Key [thread_pool.dll]: X:\Program Files\Acronis\TrueImageHome\thread_pool.dll [Success] RegWrite - Type: [0x1] Section [HKLM\wb-hive\Acronis\CommonComponents] Key [libcrypto9.dll]: X:\Program Files\Acronis\TrueImageHome\libcrypto9.dll [Success] RegWrite - Type: [0x1] Section [HKLM\wb-hive\Acronis\CommonComponents] Key [libssl9.dll]: X:\Program Files\Acronis\TrueImageHome\libssl9.dll [Success] RegWrite - Type: [0x1] Section [HKLM\wb-hive\Acronis\CommonComponents] Key [auto_reactivate.exe]: X:\Program Files\Acronis\TrueImageHome\auto_reactivate.exe [Success] RegWrite - Type: [0x1] Section [HKLM\wb-hive\Acronis\CommonComponents] Key [auto_reactivate64.exe]: X:\Program Files\Acronis\TrueImageHome\auto_reactivate64.exe [Success] RegWrite - Type: [0x1] Section [HKLM\wb-hive\Acronis\CommonComponents] Key [kb_link.dll]: X:\Program Files\Acronis\TrueImageHome\kb_link.dll [Success] RegWrite - Type: [0x1] Section [HKLM\wb-hive\Acronis\CommonComponents] Key [timounter.dll]: X:\Program Files\Acronis\TrueImageHome\timounter.dll [Success] RegWrite - Type: [0x1] Section [HKLM\wb-hive\Acronis\WinPE] Key [A43]: X:\Program Files\Acronis\TrueImageHome\A43\A43.exe Run - Processing section: [reg_hiveunload] From file: [%BaseDir%\Projects\Win7PE_SE\Build\Common_Api.script] [Parameter] with parameters: [HKU] [Success] RegHiveUnLoad - Unloaded registry hive: [wb-hive] Run - Processed section [reg_hiveunload] in file: [%BaseDir%\Projects\Win7PE_SE\Build\Common_Api.script] [Success] IF - [True] is equal to: [True] evaluated string: [If,%pCheckBox5%,Equal,True,Run,%ScriptFile%,Key_installed] Run - Processing section: [Key_installed] From file: [%BaseDir%\Projects\Win7PE_SE\Apps\Supplementary\A_TI_H_14_PE.script] Run - Processing section: [reg_hiveload] From file: [%BaseDir%\Projects\Win7PE_SE\Build\Common_Api.script] [Parameter] with parameters: [HKU] Run - Processing section: [reg_hiveload_HKU] From file: [%BaseDir%\Projects\Win7PE_SE\Build\Common_Api.script] Run - Processing section: [reg_hiveload_HKU_2] From file: [%BaseDir%\Projects\Win7PE_SE\Build\Common_Api.script] [Info] Updating registry.. [Software] [Success] RegHiveLoad - File: [%BaseDir%\Target\Win7PE_SE\Windows\System32\Config\software] Section [wb-hive] Run - Processed section [reg_hiveload_HKU_2] in file: [%BaseDir%\Projects\Win7PE_SE\Build\Common_Api.script] Run - Processed section [reg_hiveload_HKU] in file: [%BaseDir%\Projects\Win7PE_SE\Build\Common_Api.script] Run - Processed section [reg_hiveload] in file: [%BaseDir%\Projects\Win7PE_SE\Build\Common_Api.script] [Success] ShellExecute: [Hide] using: [cmd.exe] with parameters: [/c "reg copy HKLM\SOFTWARE\Acronis\TrueImage HKLM\wb-hive\Acronis\TrueImage /f"] Run - Processing section: [reg_hiveunload] From file: [%BaseDir%\Projects\Win7PE_SE\Build\Common_Api.script] [Parameter] with parameters: [HKU] [Success] RegHiveUnLoad - Unloaded registry hive: [wb-hive] Run - Processed section [reg_hiveunload] in file: [%BaseDir%\Projects\Win7PE_SE\Build\Common_Api.script] Run - Processed section [Key_installed] in file: [%BaseDir%\Projects\Win7PE_SE\Apps\Supplementary\A_TI_H_14_PE.script] [Ignore] IF - [True] is not equal to: [False] evaluated string: [If,%pCheckBox5%,Equal,False,Run,%ScriptFile%,Key_form] [Success] IF - [True] is equal to: [True] evaluated string: [If,%pCheckBox2%,Equal,True,Add_Shortcut,Desktop] Run - Processing section: [AddShortcut2] From file: [%BaseDir%\Projects\Win7PE_SE\Build\Common_Api.script] [Parameter] with parameters: [Desktop] [Info] [//===> Add_Shortcut,[Type],[StartMenuFolder],[(Full)FileName],[Title],[Work Folder],[Parameters],[(path)IconFile],[StartMode=1, 2, or 3],[ToolTip Comment(Only Gena/LiveXP)]] [Info] Create ShortCut Desktop [Ignore] IF - [Desktop] is not equal to: [AutoStart] evaluated string: [If,#1,Equal,AutoStart,Set,#1,Autorun] [Ignore] IF - [] is not equal to: [QuickLaunch] evaluated string: [If,#2,Equal,QuickLaunch,Set,#1,QuickLaunch] [Ignore] IF - [Desktop] is not equal to: [] evaluated string: [If,#1,Equal,,Set,#1,StartMenu] [Ignore] IF - [Desktop] is not equal to: [EditWith] evaluated string: [If,#1,Equal,EditWith,Begin] [Skipped] [If,#2,Equal,,Set,#2,"Edit with"] [Ignore] [End] [Success] ELSE - executing command: [Begin] [Info] [// if no folder defined use the scriptfolder] [Success] IF - [] is equal to: [] evaluated string: [If,#2,Equal,,Begin] [Success] SetVar - Sucessfuly changed the value of [%Capi_App_Folder%] to: [App] [Success] IF - Directory exists: [%BaseDir%\Projects\Win7PE_SE\Apps] evaluated string: [If,ExistDir,%ProjectDir%\Apps,Set,%Capi_App_Folder%,Apps] [Success] SetVar - Sucessfuly changed the value of [%Capi_App_Folder%] to: [Apps] [Ignore] IF - Directory does not exist: [%BaseDir%\Projects\Win7PE_SE\Applications] evaluated string: [If,ExistDir,%ProjectDir%\Applications,Set,%Capi_App_Folder%,Applications] [Success] StrFormat - converted [REPLACE(%Scriptdir%,%ProjectDir%\%Capi_App_Folder%\,)] to variable: [#2] with result: [Supplementary] [Ignore] IF - [%BaseDir%\Projects\Win7PE_SE\Apps\Supplementary] is not equal to: [#2] evaluated string: [If,%Scriptdir%,Equal,#2,StrFormat,filename,%Scriptdir%,#2] [Success] [End] [Success] [End] [Success] IF - [] is equal to: [] evaluated string: [If,#3,Equal,,Set,#3,%PE_Programs%\%ProgramFolder%\%ProgramEXE%] [Success] SetVar - Sucessfuly changed the value of [#3] to: [X:\Program#$sFiles\Acronis\TrueImageHome\TrueImage_starter.exe] [Success] IF - [] is equal to: [] evaluated string: [If,#4,Equal,,Set,#4,%ProgramTitle%] [Success] SetVar - Sucessfuly changed the value of [#4] to: [True#$sImage#$sHome] [Info] [//If,#5,Equal,,StrFormat,path,#3,#5] [Ignore] IF - [] is equal to: [] evaluated string: [If,Not,#6,Equal,,StrFormat,REPLACE,#6,###$q,##$q,#6] [Ignore] IF - [] is equal to: [] evaluated string: [If,Not,#7,Equal,,Begin] [Skipped] [StrFormat,path,#7,%SHC_Icon_Path%] [Skipped] [StrFormat,filename,#7,%SHC_Icon_FileName%] [Skipped] [If,%SHC_Icon_Path%,Equal,,StrFormat,path,#3,%SHC_Icon_Path%] [Skipped] [Set,#7,%SHC_Icon_Path%%SHC_Icon_FileName%] [Ignore] [End] [Ignore] IF - [Desktop] is not equal to: [StartMenu] evaluated string: [If,#1,Equal,StartMenu,If,%CapiSubFoldersToRoot%,Equal,Truely,StrFormat,Filename,#2,#2] [Ignore] IF - [Desktop] is not equal to: [StartMenu] evaluated string: [If,#1,Equal,StartMenu,If,Not,%ToRoot%,Equal,,Begin] [Skipped] [StrFormat,Left,#2,3,%CapiparTwoLeftThreeResult%] [Skipped] [If,%CapiparTwoLeftThreeResult%,Equal,..\,StrFormat,LTrim,#2,3,#2] [Skipped] [StrFormat,Left,#2,2,%CapiparTwoLeftTwoResult%] [Skipped] [If,%CapiparTwoLeftTwoResult%,Equal,..,StrFormat,LTrim,#2,2,#2] [Skipped] [If,%CapiparTwoLeftTwoResult%,Equal,.\,StrFormat,LTrim,#2,2,#2] [Skipped] [StrFormat,Left,#2,1,%CapiparTwoLeftOneResult%] [Skipped] [If,%CapiparTwoLeftOneResult%,Equal,.,StrFormat,LTrim,#2,1,#2] [Skipped] [Set,#2,..\#2] [Ignore] [End] [Ignore] IF - [Desktop] is not equal to: [StartMenu] evaluated string: [If,#1,Equal,StartMenu,If,%CapiBSExplorerFix%,Equal,Yep,Begin] [Skipped] [StrFormat,Left,#2,2,%CapiparTwoLeftTwoResult%] [Skipped] [If,%CapiparTwoLeftTwoResult%,Equal,.\,Begin] [Skipped] [StrFormat,LTrim,#2,2,#2] [Skipped] [Set,#2,1Root#2] [Ignore] [End] [Skipped] [If,#2,Equal,.,Set,#2,1Root] [Skipped] [StrFormat,Left,#2,3,%CapiparTwoLeftThreeResult%] [Skipped] [If,%CapiparTwoLeftThreeResult%,Equal,..\,StrFormat,LTrim,#2,3,#2] [Skipped] [StrFormat,Left,#2,2,%CapiparTwoLeftTwoResult%] [Skipped] [If,%CapiparTwoLeftTwoResult%,Equal,..,StrFormat,LTrim,#2,2,#2] [Ignore] [End] [Info] [//this makes all with no folder --> explorer shell to programs -- bsexplorer to root If,Not,%ToRoot%,Equal,,If,#1,Equal,StartMenu,Set,#1,""] [Ignore] IF - [Desktop] is not equal to: [StartMenu] evaluated string: [If,#1,Equal,StartMenu,Set,#1,#2] [Ignore] IF - [Desktop] is not equal to: [EditWith] evaluated string: [If,#1,Equal,EditWith,Run,%API%,RegAdd_boot_%Capi_RegAddBootMethod%,HKLM,0x2,Software\Classes\*\shell\#2#$s#4\command,,"#3 #$q#$p1#$q"] [Success] ELSE - executing command: [Begin] [Ignore] IF - [Desktop] is not equal to: [Autorun] evaluated string: [If,#1,Equal,Autorun,Run,%API%,Add_Auto_Run%API_TYPE%,#4,#3,#6,#8] [Success] ELSE - executing command: [IniWriteTextLine,%PE_CFG%,shortcut,#1|#4|#3|#7|#6] [Success] IniWriteTextLine - Wrote INI text line in [%BaseDir%\Target\Win7PE_SE\windows\system32\Win7PE.cfg] Section [shortcut] line [Desktop|True Image Home|X:\Program Files\Acronis\TrueImageHome\TrueImage_starter.exe||] [Success] [End] Run - Processed section [AddShortcut2] in file: [%BaseDir%\Projects\Win7PE_SE\Build\Common_Api.script] [Success] IF - [True] is equal to: [True] evaluated string: [If,%pCheckBox3%,Equal,True,Add_Shortcut,StartMenu,%pTextBox1%] Run - Processing section: [AddShortcut2] From file: [%BaseDir%\Projects\Win7PE_SE\Build\Common_Api.script] [Parameter] with parameters: [StartMenu],[Acronis] [Info] [//===> Add_Shortcut,[Type],[StartMenuFolder],[(Full)FileName],[Title],[Work Folder],[Parameters],[(path)IconFile],[StartMode=1, 2, or 3],[ToolTip Comment(Only Gena/LiveXP)]] [Info] Create ShortCut StartMenu [Ignore] IF - [StartMenu] is not equal to: [AutoStart] evaluated string: [If,#1,Equal,AutoStart,Set,#1,Autorun] [Ignore] IF - [Acronis] is not equal to: [QuickLaunch] evaluated string: [If,#2,Equal,QuickLaunch,Set,#1,QuickLaunch] [Ignore] IF - [StartMenu] is not equal to: [] evaluated string: [If,#1,Equal,,Set,#1,StartMenu] [Ignore] IF - [StartMenu] is not equal to: [EditWith] evaluated string: [If,#1,Equal,EditWith,Begin] [Skipped] [If,#2,Equal,,Set,#2,"Edit with"] [Ignore] [End] [Success] ELSE - executing command: [Begin] [Info] [// if no folder defined use the scriptfolder] [Ignore] IF - [Acronis] is not equal to: [] evaluated string: [If,#2,Equal,,Begin] [Skipped] [Set,%Capi_App_Folder%,App] [Skipped] [If,ExistDir,%ProjectDir%\Apps,Set,%Capi_App_Folder%,Apps] [Skipped] [If,ExistDir,%ProjectDir%\Applications,Set,%Capi_App_Folder%,Applications] [Skipped] [StrFormat,REPLACE,%Scriptdir%,%ProjectDir%\%Capi_App_Folder%\,,#2] [Skipped] [If,%Scriptdir%,Equal,#2,StrFormat,filename,%Scriptdir%,#2] [Ignore] [End] [Success] [End] [Success] IF - [] is equal to: [] evaluated string: [If,#3,Equal,,Set,#3,%PE_Programs%\%ProgramFolder%\%ProgramEXE%] [Success] SetVar - Sucessfuly changed the value of [#3] to: [X:\Program#$sFiles\Acronis\TrueImageHome\TrueImage_starter.exe] [Success] IF - [] is equal to: [] evaluated string: [If,#4,Equal,,Set,#4,%ProgramTitle%] [Success] SetVar - Sucessfuly changed the value of [#4] to: [True#$sImage#$sHome] [Info] [//If,#5,Equal,,StrFormat,path,#3,#5] [Ignore] IF - [] is equal to: [] evaluated string: [If,Not,#6,Equal,,StrFormat,REPLACE,#6,###$q,##$q,#6] [Ignore] IF - [] is equal to: [] evaluated string: [If,Not,#7,Equal,,Begin] [Skipped] [StrFormat,path,#7,%SHC_Icon_Path%] [Skipped] [StrFormat,filename,#7,%SHC_Icon_FileName%] [Skipped] [If,%SHC_Icon_Path%,Equal,,StrFormat,path,#3,%SHC_Icon_Path%] [Skipped] [Set,#7,%SHC_Icon_Path%%SHC_Icon_FileName%] [Ignore] [End] [Success] IF - [StartMenu] is equal to: [StartMenu] evaluated string: [If,#1,Equal,StartMenu,If,%CapiSubFoldersToRoot%,Equal,Truely,StrFormat,Filename,#2,#2] [Ignore] IF - [Falsy] is not equal to: [Truely] evaluated string: [If,%CapiSubFoldersToRoot%,Equal,Truely,StrFormat,Filename,#2,#2] [Success] IF - [StartMenu] is equal to: [StartMenu] evaluated string: [If,#1,Equal,StartMenu,If,Not,%ToRoot%,Equal,,Begin] [Ignore] IF - [] is equal to: [] evaluated string: [If,Not,%ToRoot%,Equal,,Begin] [Skipped] [StrFormat,Left,#2,3,%CapiparTwoLeftThreeResult%] [Skipped] [If,%CapiparTwoLeftThreeResult%,Equal,..\,StrFormat,LTrim,#2,3,#2] [Skipped] [StrFormat,Left,#2,2,%CapiparTwoLeftTwoResult%] [Skipped] [If,%CapiparTwoLeftTwoResult%,Equal,..,StrFormat,LTrim,#2,2,#2] [Skipped] [If,%CapiparTwoLeftTwoResult%,Equal,.\,StrFormat,LTrim,#2,2,#2] [Skipped] [StrFormat,Left,#2,1,%CapiparTwoLeftOneResult%] [Skipped] [If,%CapiparTwoLeftOneResult%,Equal,.,StrFormat,LTrim,#2,1,#2] [Skipped] [Set,#2,..\#2] [Ignore] [End] [Success] IF - [StartMenu] is equal to: [StartMenu] evaluated string: [If,#1,Equal,StartMenu,If,%CapiBSExplorerFix%,Equal,Yep,Begin] [Ignore] IF - [Nope] is not equal to: [Yep] evaluated string: [If,%CapiBSExplorerFix%,Equal,Yep,Begin] [Skipped] [StrFormat,Left,#2,2,%CapiparTwoLeftTwoResult%] [Skipped] [If,%CapiparTwoLeftTwoResult%,Equal,.\,Begin] [Skipped] [StrFormat,LTrim,#2,2,#2] [Skipped] [Set,#2,1Root#2] [Ignore] [End] [Skipped] [If,#2,Equal,.,Set,#2,1Root] [Skipped] [StrFormat,Left,#2,3,%CapiparTwoLeftThreeResult%] [Skipped] [If,%CapiparTwoLeftThreeResult%,Equal,..\,StrFormat,LTrim,#2,3,#2] [Skipped] [StrFormat,Left,#2,2,%CapiparTwoLeftTwoResult%] [Skipped] [If,%CapiparTwoLeftTwoResult%,Equal,..,StrFormat,LTrim,#2,2,#2] [Ignore] [End] [Info] [//this makes all with no folder --> explorer shell to programs -- bsexplorer to root If,Not,%ToRoot%,Equal,,If,#1,Equal,StartMenu,Set,#1,""] [Success] IF - [StartMenu] is equal to: [StartMenu] evaluated string: [If,#1,Equal,StartMenu,Set,#1,#2] [Success] SetVar - Sucessfuly changed the value of [#1] to: [Acronis] [Ignore] IF - [Acronis] is not equal to: [EditWith] evaluated string: [If,#1,Equal,EditWith,Run,%API%,RegAdd_boot_%Capi_RegAddBootMethod%,HKLM,0x2,Software\Classes\*\shell\#2#$s#4\command,,"#3 #$q#$p1#$q"] [Success] ELSE - executing command: [Begin] [Ignore] IF - [Acronis] is not equal to: [Autorun] evaluated string: [If,#1,Equal,Autorun,Run,%API%,Add_Auto_Run%API_TYPE%,#4,#3,#6,#8] [Success] ELSE - executing command: [IniWriteTextLine,%PE_CFG%,shortcut,#1|#4|#3|#7|#6] [Success] IniWriteTextLine - Wrote INI text line in [%BaseDir%\Target\Win7PE_SE\windows\system32\Win7PE.cfg] Section [shortcut] line [Acronis|True Image Home|X:\Program Files\Acronis\TrueImageHome\TrueImage_starter.exe||] [Success] [End] Run - Processed section [AddShortcut2] in file: [%BaseDir%\Projects\Win7PE_SE\Build\Common_Api.script] [Ignore] IF - [False] is not equal to: [True] evaluated string: [If,%pCheckBox4%,Equal,True,Add_Shortcut,QuickLaunch] [Clock] Script time: 6 seconds and 89 miliseconds [Done] Finished processing script: Acronis True Image Home 2011 BartPE
#33
Posted 18 March 2011 - 07:04 AM
in my builds never seen such error,
i build on x86 host and i use only x86 source
#34
Posted 18 March 2011 - 09:38 AM
#35
Posted 18 March 2011 - 12:11 PM
#36
Posted 18 March 2011 - 06:06 PM
as i have never build an x64 based PE,
and i have not got an x64 host
maybe not only the registry entries lie in wrong location
(HKLM\SOFTWARE\Acronis -> HKLM\SOFTWARE\Wow6432Node\Acronis)
it is only an idea:
i think the files of the BartPE version are for x86 system
my script copy the files snapman.sys and snapapi.dll directly to the system32 folder
(and to the 'Program Files' folder),
on your x64 host check where do the Acronis files reside
maybe should copy the file snapapi.dll to the '\Windows\SysWOW64' folder instead of '\Windows\System32'
and should use the x64 version of snapman.sys
(i mean if you use x64 host
then should use the snman550.sys isntalled on the host from windows\system32\drivers folder
copy this .sys to the PE system32\drivers folder and rename it to snapman.sys)
Edited by dera, 19 March 2011 - 07:57 AM.
#37
Posted 18 March 2011 - 07:34 PM
#38
Posted 20 March 2011 - 07:46 AM
#39
Posted 31 March 2011 - 04:54 PM
(i mean if you use x64 host
then should use the snman550.sys isntalled on the host from windows\system32\drivers folder
copy this .sys to the PE system32\drivers folder and rename it to snapman.sys)
But I can't find snapman.sys or snman550.sys...
Is there someone who can help me out ?
#41
Posted 23 May 2011 - 07:49 PM
i believe it is unbelievable that the x64 version of snapman.sys does not exist on that host (in the 'system32\drivers' folder)
my script uses the BartPE files as stated in this thread
#42
Posted 25 May 2011 - 08:40 AM
#43
Posted 25 May 2011 - 09:07 AM
exactly which script do you speak about?
the 'A_TI_H_14_PE.script' (Version=004) gives that error message if the file '%pFileBox1%\TrueImage_starter.exe' is missing
#44
Posted 25 May 2011 - 10:23 AM
@Tiến Văn
exactly which script do you speak about?
the 'A_TI_H_14_PE.script' (Version=004) gives that error message if the file '%pFileBox1%\TrueImage_starter.exe' is missing
Thank you. I have seen code and added a file "TrueImage_starter.exe. " The result is not run error free. But when the PE3 is not error to run anything, and do not see its icon like normal? I had code is "%ProgramEXE%=TrueImage.exe" Instead of "%ProgramEXE%=TrueImage_starter.exe" but the result is still not running
I was a headache with this guy too.
#47
Posted 25 May 2011 - 07:16 PM
#48
Posted 08 June 2011 - 11:20 AM
Greetz MrNice
#50
Posted 10 June 2011 - 10:35 PM
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users