Problem. It creates a folder in programs called #5. Proccess api not run ok. No error in log.
It is log of partitionerdisk, It is copied in folder programs/#5
Disk Partitioner
File [%BaseDir%Projects\VistaPE\App\Disk Tools\DiskPartitioner.script] Version [10]
Processing Disk Partitioner...
Processing section: [RunFrom_Ram]From file: [%BaseDir%Projects\VistaPE\api.script]
SetVar - Sucessfuly changed the value of [%My_CheckBox%] to: [#1]
System - Refreshing all variables
IniRead - [%BaseDir%Projects\VistaPE\project.ini] Section [VistaInfo] key [ForceAllToRam] to variable: [%ForceAllToRam%] with value []
IF - [] is not equal to: [yes] evaluated string: [If,"%ForceAllToRam%",Equal,"Yes",Set,%My_CheckBox%,True]
IF - [false] is not equal to: [true] evaluated string: [If,%My_CheckBox%,Equal,True,Set,"%Target_Prog%","%TargetDir%\Program#$sFiles"]
IF - [false] is not equal to: [true] evaluated string: [If,%My_CheckBox%,Equal,True,Set,"%PE_Programs%","#$pSystemDrive#$p\Program#$sFiles"]
System - Refreshing all variables
Processing section: [depack]From file: [%BaseDir%Projects\VistaPE\api.script]
Run,%BaseDir%Projects\VistaPE\api.script,depacking files and settings for Disk Partitioner...
IF - [files] is not equal to: [] evaluated string: [If,#1,Equal,,Set,%Depack_Folder%,Folder]
IF [files] is equal to: []
SetVar - Sucessfuly changed the value of [%Depack_Folder%] to: [#1]
IF - [diskpartitioner.7z] is not equal to: [] evaluated string: [If,#2,Equal,,Set,%Depack_Archive%,Depack_ALL_Files]
IF [diskpartitioner.7z] is equal to: []
SetVar - Sucessfuly changed the value of [%Depack_Archive%] to: [#2]
StrFormat - converted: [.7z] to variable: [%Depack_Ext%] with result: [.7z]
IF - [true] is equal to: [true]
SetVar - Sucessfuly changed the value of [%Depack_Parameters%] to: []
IF - [true] is not equal to: [true] evaluated string: [If,#3,NotEqual,True,Set,%Depack_Parameters%,#3]
IF - [] is not equal to: [] evaluated string: [If,#4,NotEqual,,Set,%Depack_Folder_Main%,#4]
IF - [] is equal to: []
SetVar - Sucessfuly changed the value of [%Depack_Folder_Main%] to: [%Target_Prog%]
IF [#5] is equal to: []
SetVar - Sucessfuly changed the value of [%Depack_Folder_Second%] to: [#5]
IF - [#5] is not equal to: [] evaluated string: [If,#5,Equal,,Set,%Depack_Folder_Second%,%ProgramFolder%]
IF - [#6] is not equal to: [true] evaluated string: [If,#6,Equal,True,Set,%Depack_Program%,%ProgramExe%]
IF [#6] is equal to: [true]
SetVar - Sucessfuly changed the value of [%Depack_Program%] to: [#6]
SetVar - Sucessfuly changed the value of [%Depack_Target%] to: [%Depack_Folder_Main%\%Depack_Folder_Second%]
System - Refreshing all variables
Processing section: [CheckFromRam]From file: [%BaseDir%Projects\VistaPE\api.script]
IniRead - [%BaseDir%Projects\VistaPE\project.ini] Section [VistaInfo] key [ForceAllToRam] to variable: [%ForceAllToRam%] with value []
IF - [] is not equal to: [yes] evaluated string: [If,"%ForceAllToRam%",Equal,"Yes",Set,%My_CheckBox%,True]
IF - [false] is not equal to: [true] evaluated string: [If,%My_CheckBox%,Equal,True,Set,"%Target_Prog%","%TargetDir%\Program#$sFiles"]
IF - [false] is not equal to: [true] evaluated string: [If,%My_CheckBox%,Equal,True,Set,"%PE_Programs%","#$pSystemDrive#$p\Program#$sFiles"]
System - Refreshing all variables
DirMake - Directory already exists, ignoring: [%BaseDir%Target\VistaPE\Programs]
DirMake - Directory already exists, ignoring: [%BaseDir%Target\VistaPE\Programs\#5]
IF - File does not exist: [%BaseDir%Projects\VistaPE\App\Disk Tools\#5\#6] evaluated string: [If,ExistFile,"%ScriptDir%\%Depack_Folder_Second%\%Depack_Program%",Run,%API%,Copy_Program,"%ScriptDir%\%Depack_Folder_Second%","%Depack_Target%","%Depack_Program%"]
IF - File does not exist: [%BaseDir%Projects\VistaPE\App\Disk Tools\#5\#6] executing command: [Run,%API%,Depack_And_Check_Ext]
Processing section: [Depack_And_Check_Ext]From file: [%BaseDir%Projects\VistaPE\api.script]
IF - [diskpartitioner.7z] is not equal to: [depack_all_files] evaluated string: [If,%Depack_Archive%,Equal,Depack_ALL_Files,ExtractAllFiles,"%ScriptFile%","%Depack_Folder%","%Depack_Target%"]
IF [diskpartitioner.7z] is equal to: [depack_all_files]
ExtractFile - [DiskPartitioner.7z] to: [%BaseDir%Target\VistaPE\Programs\#5]
IF - [.7z] is not equal to: [.exe] evaluated string: [If,%Depack_Ext%,Equal,".exe",run,%API%,Depack_Execute_Archive]
IF [.7z] is equal to: [.exe]
Processing section: [Depack_Extract_Archive]From file: [%BaseDir%Projects\VistaPE\api.script]
IF [diskpartitioner.7z] is equal to: [depack_all_files]
Extracting acrhive file with 7z...
IF [diskpartitioner.7z] is equal to: [depack_all_files]
Shellexecute: [Hide] using: ["%BaseDir%Projects\Tools\7z.exe"] with parameters: [x -y "%BaseDir%Target\VistaPE\Programs\#5\DiskPartitioner.7z" -o"%BaseDir%Target\VistaPE\Programs\#5"]
IF [diskpartitioner.7z] is equal to: [depack_all_files]
FileDelete - Sucessfully deleted [%BaseDir%Target\VistaPE\Programs\#5\DiskPartitioner.7z]
Processing section: [AddShortcut]From file: [%BaseDir%Projects\VistaPE\api.script]
System - Refreshing all variables
SetVar - Sucessfuly changed the value of [%Shortcut_Destination%] to: [#1]
IF [disk#$stools] is equal to: []
SetVar - Sucessfuly changed the value of [%Shortcut_Category%] to: [#2\]
IF - [disk#$stools] is not equal to: [] evaluated string: [If,#2,Equal,,Set,%Shortcut_Category%,""]
IF - [] is not equal to: [] evaluated string: [If,#3,NotEqual,,StrFormat,path,#3,%Shortcut_Folder%]
IF - [] is not equal to: [] evaluated string: [If,#3,NotEqual,,StrFormat,filename,#3,%Shortcut_Exe%]
IF - [] is equal to: []
SetVar - Sucessfuly changed the value of [%Shortcut_Folder%] to: [%PE_Programs%\%ProgramFolder%\]
IF - [] is equal to: []
SetVar - Sucessfuly changed the value of [%Shortcut_Exe%] to: [%ProgramEXE%]
IF - [] is not equal to: [] evaluated string: [If,#4,NotEqual,,Set,%Shortcut_Title%,#4]
IF - [] is equal to: []
SetVar - Sucessfuly changed the value of [%Shortcut_Title%] to: [%ProgramTitle%]
IF - [disk partitioner] is not equal to: [] evaluated string: [If,%Shortcut_Title%,Equal,,Set,%Shortcut_Title%,%Shortcut_Exe%]
IF [#5] is equal to: []
SetVar - Sucessfuly changed the value of [%Shortcut_WF%] to: [#5]
IF - [#5] is not equal to: [] evaluated string: [If,#5,Equal,,Set,%Shortcut_WF%,%Shortcut_Folder%]
IF [#6] is equal to: []
SetVar - Sucessfuly changed the value of [%Shortcut_WP%] to: [#6]
IF - [#6] is not equal to: [] evaluated string: [If,#6,Equal,,Set,%Shortcut_WP%,""]
IF [#7] is equal to: []
SetVar - Sucessfuly changed the value of [%Shortcut_Icon%] to: [#7]
IF - [#7] is not equal to: [] evaluated string: [If,#7,Equal,,Set,%Shortcut_Icon%,"%Shortcut_Folder%%Shortcut_Exe%"]
IF - [#8] is not equal to: [] evaluated string: [If,#8,Equal,,Set,%Shortcut_Window%,"normal"]
IF - [#8] is not equal to: [1] evaluated string: [If,#8,Equal,1,Set,%Shortcut_Window%,"normal"]
IF - [#8] is not equal to: [2] evaluated string: [If,#8,Equal,2,Set,%Shortcut_Window%,"min"]
IF - [#8] is not equal to: [3] evaluated string: [If,#8,Equal,3,Set,%Shortcut_Window%,"max"]
IF - [#8] is not equal to: [4] evaluated string: [If,#8,Equal,4,Set,%Shortcut_Window%,"hide"]
IF - [#8] is not equal to: [] evaluated string: [If,#8,Equal,,Set,%Shortcut_Autorun%,"3"]
IF - [#8] is not equal to: [1] evaluated string: [If,#8,Equal,1,Set,%Shortcut_Autorun%,"3"]
IF - [#8] is not equal to: [2] evaluated string: [If,#8,Equal,2,Set,%Shortcut_Autorun%,"3"]
IF - [#8] is not equal to: [3] evaluated string: [If,#8,Equal,3,Set,%Shortcut_Autorun%,"3"]
IF - [#8] is not equal to: [4] evaluated string: [If,#8,Equal,4,Set,%Shortcut_Autorun%,"4"]
System - Refreshing all variables
Processing section: [CheckFromRam]From file: [%BaseDir%Projects\VistaPE\api.script]
IniRead - [%BaseDir%Projects\VistaPE\project.ini] Section [VistaInfo] key [ForceAllToRam] to variable: [%ForceAllToRam%] with value []
IF - [] is not equal to: [yes] evaluated string: [If,"%ForceAllToRam%",Equal,"Yes",Set,%My_CheckBox%,True]
IF - [false] is not equal to: [true] evaluated string: [If,%My_CheckBox%,Equal,True,Set,"%Target_Prog%","%TargetDir%\Program#$sFiles"]
IF - [false] is not equal to: [true] evaluated string: [If,%My_CheckBox%,Equal,True,Set,"%PE_Programs%","#$pSystemDrive#$p\Program#$sFiles"]
System - Refreshing all variables
IF - [startmenu] is not equal to: [] evaluated string: [If,%Shortcut_Destination%,Equal,,TXTAddLine,%ES%,"%Shortcut_Folder%%Shortcut_Exe%#$c%Shortcut_Category%%Shortcut_Title%.lnk#$c%Shortcut_WF%#$c%Shortcut_WP%#$c%Shortcut_Title%#$c%Shortcut_Icon%#$c%Shortcut_Window% ","Append"]
IF - [startmenu] is equal to: [startmenu]
TxtAddLine - Added line: [%BaseDir%Target\VistaPE\windows\system32\shortcut.inf] line: [!CD\Programs\DiskPartitioner\DiskPartitioner.exe,Disk Tools\Disk Partitioner.lnk,#5,#6,Disk Partitioner,#7,%Shortcut_Window% ] Option:"Append"
IF - [startmenu] is not equal to: [desktop] evaluated string: [If,%Shortcut_Destination%,Equal,Desktop,TXTAddLine,%ES%,"%Shortcut_Folder%%Shortcut_Exe%#$c!DS\%Shortcut_Title%.lnk#$c%Shortcut_WF%#$c%Shortcut_WP%#$c%Shortcut_Title%#$c%Shortcut_Icon%#$c%Shortcut_Window% ","Append"]
IF - [startmenu] is not equal to: [autostart] evaluated string: [If,%Shortcut_Destination%,Equal,AutoStart,TXTAddLine,%AutoRunFile%,"%Shortcut_Autorun%|s|%Shortcut_Title%|s|#$q%Shortcut_Folder%#$q|s|%Shortcut_Exe%|s|%Shortcut_WP%","Append"]
IF - [startmenu] is not equal to: [quicklaunch] evaluated string: [If,%Shortcut_Destination%,Equal,QuickLaunch,Echo,"Quick Launch shortcut not supported yet."]
IF - [startmenu] is not equal to: [sendto] evaluated string: [If,%Shortcut_Destination%,Equal,SendTo,Echo,"SendTo shortcut not supported yet."]
What is the problem?