a06lp Posted February 18, 2005 Share Posted February 18, 2005 @a06lpI am newbie at batch programming but I guess I have done what you want.I have edited my previous post Try it and hope it works for you.<{POST_SNAPBACK}>Just tried it - works perfectly!!!!!thanks so much! Link to comment Share on other sites More sharing options...
BoardBabe Posted August 21, 2005 Share Posted August 21, 2005 (edited) Edit: Question rephrased.I'd like to include non-integrated updates installed with Windows aswell in oeminfo.ini. I have a dir on CDROM root called WINDOWSUPDATE where media connect etc. is placed. I'd like the script to not only list hotfixes from %CDROM%\I386\SVCPACK but also %CDROM%\WINDOWSUPDATE\.The below is an illustration of how I would like it, but does not work.Is something similar possible?for /f "tokens=1 delims=.exe" %%j in ( ( 'dir /B %CDROM%\I386\SVCPACK\KB*.exe' ) & ( 'dir /B %CDROM%\WINDOWSUPDATE\KB*.exe' ) ) do ( ( set kbname=%%j ) & (call :myprint) )goto :eof:myprintecho line%i%=%kbname% >> "%oeminfo%"set /a i+=1:eofPlease help me out here guys Edited August 21, 2005 by BoardBabe Link to comment Share on other sites More sharing options...
BoardBabe Posted August 23, 2005 Share Posted August 23, 2005 burp Link to comment Share on other sites More sharing options...
nakira Posted August 23, 2005 Share Posted August 23, 2005 Try thisfor /f %%j in ('dir /B %CDROM%\I386\SVCPACK\KB*.exe') do call :myprint %%~njfor /f %%j in ('dir /B %CDROM%\WINDOWSUPDATE\KB*.exe') do call :myprint %%~njgoto :eof:myprint(echo line%i%=%1 >> "%oeminfo%" && set /a i+=1):eof Link to comment Share on other sites More sharing options...
BoardBabe Posted August 25, 2005 Share Posted August 25, 2005 thnx. worked Link to comment Share on other sites More sharing options...
smurdock Posted August 25, 2005 Share Posted August 25, 2005 I create registry keys for everything I install like service packs, hotfixes, tweaks, misc programs, and utils so when I put my unattend windows cd into the computer the autorun interface gives me a report on what is installed on the computer. This also doubles as a kind of protection in that other people I work with use my unattend cds for deploying systems. They can also use the unattend cd to install stand alone apps. If they try to install custom made things like utils, the autorun will see the reg entry and warn the user that the util is already installed on the system. Link to comment Share on other sites More sharing options...
icemanx Posted August 9, 2008 Share Posted August 9, 2008 I create registry keys for everything I install like service packs, hotfixes, tweaks, misc programs, and utils so when I put my unattend windows cd into the computer the autorun interface gives me a report on what is installed on the computer. This also doubles as a kind of protection in that other people I work with use my unattend cds for deploying systems. They can also use the unattend cd to install stand alone apps. If they try to install custom made things like utils, the autorun will see the reg entry and warn the user that the util is already installed on the system. I know how to do the oeminfo.ini and the bmp for a logo what about the oemlink.lnk one that I have seenthat can be added after like oeminfo.ini etcanyone done that as yet ?or do i ask in a new thread!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