dillon.damien@hotmail.com Posted May 5, 2009 Share Posted May 5, 2009 Hi,I am setting up my first boot cd/dvd at the moment. I think I have everything working as it should but am trying to get a few 'nice to haves' working in the process. I have a *.cmd file written which installs all of my favourite applications. However I have some apps which fall into the same category (for instance: Internet explorers or media players). Is there a way to include a subtitle on the GUI when these apps are being installed? The code below is from my *.cmd file. Does anyone know whether this functionality is available or not. cmdow @ /HID@echo offSET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "Installing Applications" /fREG ADD %KEY%\005 /VE /D "VLC Media Player v0.9.8a" /fREG ADD %KEY%\005 /V 1 /D "%systemdrive%\My_Apps\VLC\VLC_Player_v0.9.8a_win32.exe" /fREG ADD %KEY%\010 /VE /D "BSPlayer" /fREG ADD %KEY%\010 /V 1 /D "%systemdrive%\My_Apps\BSPlayer\BSPlayer_v137.826.exe" /f rundll32.exe iernonce.dll,RunOnceExProcessEXITPlease let me know if you need further clarification on this post or if it needs to be posted elsewhere as I am new here.OS: XP HomeThanks. Link to comment Share on other sites More sharing options...
Selena Posted May 5, 2009 Share Posted May 5, 2009 Excuse me if this sounds dumb, but wouldn't that "cmdow @ /hid" just hide the whole commands window altogether?I am not too sure what you mean.If you want to display text in your commands window, use "echo text", and/or "cls" to clear the screen. Link to comment Share on other sites More sharing options...
krose Posted May 5, 2009 Share Posted May 5, 2009 (edited) After Windows is installed and the system reboots, RunOnceEx will display a window titled "Installing applications". What is displayed in the window is contained in your RunOnceEx.cmd title entries. For example, in your title lineREG ADD %KEY% /V TITLE /D "Installing Applications" /fsets the title of the window to "installing applications" and the title lineREG ADD %KEY%\005 /VE /D "VLC Media Player v0.9.8a" /f RunOnceEx will display VLC Media Player v0.9.8aRead here for a discussion of RunOnceEx. Edited May 5, 2009 by krose Link to comment Share on other sites More sharing options...
dillon.damien@hotmail.com Posted May 5, 2009 Author Share Posted May 5, 2009 (edited) You are dead right. I do want to hide the cmd window but I am refering to the windows interface which lists the applications being installed (see screenshot below.)So an example of what I would like to happen is to have 'Instant Messengers' listed instead of AIM. Then below this (possibly indented to show that it is part of the instant messenger group) have AIM, ICQ, MSN etc. Same will go for internet explorers and media players.Again this is only a nice to have and won't be detrimental if it is not achievable.Thanks in advance for your help.[Edit]Thanks for your reply krose, i was replying to Selena when you posted so I missed it - Yes it is the test in the dialog box titled "Windows is installing the following programs" that I would like to manipulate. Is the above possible? [/edit] Edited May 5, 2009 by dillon.damien@hotmail.com Link to comment Share on other sites More sharing options...
iamtheky Posted May 5, 2009 Share Posted May 5, 2009 (edited) REG ADD %KEY% /V TITLE /D "Installing Applications" /fREG ADD %KEY%\004 /VE /D "INSTALLING PLAYERS"REG ADD %KEY%\005 /VE /D " -vlc media player v0.9.8a" /fREG ADD %KEY%\005 /V 1 /D "%systemdrive%\My_Apps\VLC\VLC_Player_v0.9.8a_win32.exe" /fREG ADD %KEY%\010 /VE /D " -bsplayer" /fREG ADD %KEY%\010 /V 1 /D "%systemdrive%\My_Apps\BSPlayer\BSPlayer_v137.826.exe" /f*I recommend CAPS for your main Titles, and lower case with a good 5 to 6 spaces and a leading -,*, + Edited May 5, 2009 by iamtheky Link to comment Share on other sites More sharing options...
dillon.damien@hotmail.com Posted May 5, 2009 Author Share Posted May 5, 2009 Perfect. That should do the job nicely.Thanks a million for your prompt responses. Link to comment Share on other sites More sharing options...
Jadestar Posted May 6, 2009 Share Posted May 6, 2009 Something that would be easier (maybe) would be to do all these installs from svcpack which installs during the T13 time period of the install. Basically everything gets installed before windows boots for the first time so you dont really need to see if something is installing or not.This is the method I use and it works great. Link to comment Share on other sites More sharing options...
dillon.damien@hotmail.com Posted May 7, 2009 Author Share Posted May 7, 2009 I do not know much about the svcpack method. I will try it on my laptop as I am reinstalling everything on that as well as my PC. I will post here again if I encounter any issues.Thanks. 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