Paul 365 Posted September 19, 2003 Share Posted September 19, 2003 I am planning on making a new installer that runs after the desktop has started, It is going to be in-depth and will require a semi complicated config file.Below is a sample of the structure of the intended config file, I have only just created this and its in its early stages - I still have to figure out how to parse this yet.Please give me your opinions on the structure.The key.Programs consist of -Program nameprogram location and switchesDoes it requires a reboot after it. yes/noIs it dependant on the item or parent above it, 0=no 1= yesRegistry items - Add = add a reg keyDel = delete a reg keyFile = import a reg file with \sDoes it requires a reboot after it. yes/noIs it dependant on the item or parent above it, 0=no 1= yessubmenu itemsshould it have a submenu with a title or just appear indented from the program above 0 = indent, 1 = titleI intend adding a few more switches to the end of each line so that authors can add multiple defaults for things like "HomePC", "Laptop", "server" and so forth.The more I type the more I think off, anyway please tell me what you think.[OPTIONS]MenuItem = "Applications" program = "ALL Seeing Eye" , "%systemroot\install\ase.exe Q:A /R:N",no,0 submenu = 1,"Adobe" program = "Acrobat" , "%systemroot\install\Acrobat.exe -r -t" , no , 0 program = "Photoshop" , "%systemroot\install\photoshop.exe -s -t" , no , 0 submenu = 0 Registry = file , "%systemroot\install\import.reg" , no , 1 program = "PS Addon" , "%systemroot\install\psaddon.exe -s -t" , no , 0 submenu = 1,"filters" program = "CoolShades" , "%systemroot\install\coolshades.exe -s -t" , no , 0 program = "Mirrors" , "%systemroot\install\mirrors.exe -s -t" , no , 0 registry = add , "Mirror Serial No" , "HKCU\whatever" , no , 1 registry = del , "Mirror Warning" , "-HKCU\whatever" , no , 1 \submenu \submenu Program = "ImageReady" , "%systemroot\install\photoshop.exe -s -t" , no , 0 \submenu program = "MSN Messenger 6" , "%systemroot\install\MSN6.exe Q:A /R:N" , no , 0 submenu 0 program = "MSN Plus" , "%systemroot\install\MSN_PLUS.exe Q:A /R:N" , no , 0 \submenu\menuitemmenuitem = "XP Programs" program = "DirectX 9" , "%systemroot\install\DX9.exe Q:A /R:N" , yes , 0 program = "Windows Media Player9" , "%systemroot\install\wmp9.exe Q:A /R:N" , no , 0 submenu = 0 program "WMP9 Hotfix" , "%systemroot\install\Q123546.exe Q:A /R:N" , no , 1 \submenu\menuitem Link to comment Share on other sites More sharing options...
b0r3d Posted September 22, 2003 Share Posted September 22, 2003 Very nice idea. I'll help you program it if you like. Link to comment Share on other sites More sharing options...
Thanatos Posted September 22, 2003 Share Posted September 22, 2003 Looks good. I hope it works out OK =D Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now