@Joshua
Did you have a download link for your Ghost script, or can you post the complete script?
Unfortunately my full Ghost script includes commercial software, that is licensed to our company. I have included the script without the software, I hope that is helpful.
[Main]
Title=Symantec Ghost32
Type=script
Selected=True
Level=5
[Variables]
%ProgramFolder%=Ghost
%ProgramEXE%=
%ProgramTitle%=
[Process]
IniRead,%ProjectDir%\project.ini,"VistaInfo","ForceAllToRam",%ForceAllToRam%
If,"%ForceAllToRam%",Equal,"Yes",Set,"%pCheckBox1%",true
If,"%pCheckBox1%",Equal,true,Set,%Target_Prog%,"%TargetDir%\Program#$sFiles"
If,"%pCheckBox1%",Equal,true,Set,%ProgDir%,"#$pSystemDrive#$p\Program#$sFiles\%ProgramFolder%"
Else,SET,"%ProgDir%","%PE_Programs%\%ProgramFolder%"
RunFromRam,%pCheckBox1%
Unpack,Files,Ghost.7z,True
Run,%ScriptFile%,Software.AddReg
Run,%ScriptFile%,ShortCuts
[Software.AddReg]
Echo,"Loading registry hive: [software]"
Hive_Load,HKU
Echo,"Writing new values on registry hive.."
reg_add,0x0,"%reg%\Classes\.gho"
reg_add,0x1,"%reg%\Classes\.gho","","Ghost"
reg_add,0x0,"%reg%\Classes\Ghost"
reg_add,0x1,"%reg%\Classes\Ghost","","Ghost image file"
reg_add,0x0,"%reg%\Classes\Ghost\DefaultIcon"
reg_add,0x2,"%reg%\Classes\Ghost\DefaultIcon","","%ProgDir%\Ghost\ghostexp.exe,0"
reg_add,0x0,"%reg%\Classes\Ghost\shell"
reg_add,0x0,"%reg%\Classes\Ghost\shell\open"
reg_add,0x0,"%reg%\Classes\Ghost\shell\open\command"
reg_add,0x2,"%reg%\Classes\Ghost\shell\open\command","","%ProgDir%\Ghost\ghostexp.exe ","%1"""
Hive_Unload,HKU
[ShortCuts]
#Add_Shortcut,[Type],[Folder],[FullFileName],[Title],[Work Folder],[Parameters],[IconFile( .ico .exe)],[StartMode(1, 2, 3, or 4)]
Add_Shortcut,StartMenu,"Disk Tools\Ghost v11.5","%ProgDir%\ShellExecute.exe","Ghost32",,"/h %ProgDir%\Ghost115\ghost32.exe","%ProgDir%\Ghost115\ghost32.exe"
Add_Shortcut,StartMenu,"Disk Tools\Ghost v11.5","%ProgDir%\Ghost115\ghostexp.exe","Ghost Explorer"
Add_Shortcut,StartMenu,"Disk Tools\Ghost v11.5","%ProgDir%\Ghost115\ghostsrv.exe","GhostCast Server"
Add_Shortcut,StartMenu,"Disk Tools\Ghost v11.5","%ProgDir%\Ghost115\start.bat","Ghost Console (MST03)",,"MST03.crt","%ProgDir%\Ghost115\ngctw32.exe"
Add_Shortcut,StartMenu,"Disk Tools\Ghost v11.5","%ProgDir%\Ghost115\start.bat","Ghost Console (MST01)",,"MST01.crt","%ProgDir%\Ghost115\ngctw32.exe"
Add_Shortcut,StartMenu,"Disk Tools\Ghost v8.3","%ProgDir%\ShellExecute.exe","Ghost32",,"/h %ProgDir%\Ghost083\ghost32.exe","%ProgDir%\Ghost083\ghost32.exe"
Add_Shortcut,StartMenu,"Disk Tools\Ghost v8.3","%ProgDir%\Ghost083\ghostexp.exe","Ghost Explorer"
Add_Shortcut,StartMenu,"Disk Tools\Ghost v8.3","%ProgDir%\Ghost083\ghostsrv.exe","GhostCast Server"
Add_Shortcut,StartMenu,"Disk Tools\Ghost v8.2","%ProgDir%\ShellExecute.exe","Ghost32",,"/h %ProgDir%\Ghost082\ghost32.exe","%ProgDir%\Ghost082\ghost32.exe"
Add_Shortcut,StartMenu,"Disk Tools\Ghost v8.2","%ProgDir%\Ghost082\ghostexp.exe","Ghost Explorer"
Add_Shortcut,StartMenu,"Disk Tools\Ghost v8.2","%ProgDir%\Ghost082\ghostsrv.exe","GhostCast Server"
[Interface]
pCheckBox1="Run from ram (boot.wim)",1,3,8,154,200,22,False
[EncodedFolders]
Files
[Files]
Ghost.7z=5911380,7881840
[EncodedFile-Files-Ghost.7z]