vaempire4wii Posted November 9, 2006 Share Posted November 9, 2006 Please reply to these:01. I have made these files:RunWPI.cmd which has thiscmdow @ /HID@Echo OffFOR %%i IN (D E F G H I J K L M N O P Q R S T U V W X Y Z) DO IF EXIST %%i:\cd.111 SET CDROM=%%i:SET PP=%cdrom%\WPISET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "Installing Programs" /fREG ADD %KEY%\005 /VE /D "WPI" /fREG ADD %KEY%\005 /V 1 /D "%PP%\WPI.hta" /fREG ADD %KEY%\110 /VE /D "Cleaning Up" /fREG ADD %KEY%\110 /V 1 /D "%PP%\cleanup.cmd" /fEXITandcleanup.cmd which has thiscmdow @ /HIDshutdown.exe -r -f -t 120 -c "Windows XP will now restart in 2 minutes..."net user aspnet /deleteRD /S /Q "%AllUsersProfile%\Start Menu\Programs\PrintMe Internet Printing"RD /S /Q "%AllUsersProfile%\Start Menu\Programs\Java Web Start"DEL "%systemroot%\*.bmp"DEL "%systemroot%\system32\dllcache\*.scr"DEL "%systemroot%\system32\*.scr"DEL "%AllUsersProfile%\Start Menu\Windows Update.lnk"DEL "%AllUsersProfile%\Start Menu\Set Program Access and Defaults.lnk"DEL "%AllUsersProfile%\Start Menu\Windows Catalog.lnk"DEL "%UserProfile%\Start Menu\Programs\Windows Media Player.lnk"DEL "%AllUsersProfile%\Start Menu\Programs\Windows Movie Maker.lnk"DEL "%UserProfile%\Desktop\*.lnk"DEL "%AllUsersProfile%\Desktop\*.lnk"DEL "%AllUsersProfile%\Desktop\*.htm"RD /S /Q %systemdrive%\drivers\RD /S /Q %systemdrive%\Install\EXITNow i wanna ask u,How to add shortcut of "X:\123.exe" to desktop and start menu?Secondly, Tell me how to integrate "SPTD" before starting of WPI so tat i don't have to restart pc before installation of softwares with WPI.Thirdly, tell me how to add a program to run in startup and also how to remove that.thanks in advance Link to comment Share on other sites More sharing options...
gugutz Posted November 9, 2006 Share Posted November 9, 2006 for the fisrt, you can or even downloading NirCmd, place under your &OEM&\$$\system32 on your windows xp unattended install, to place it under system folder so you can execute it from the command, and use its function "Shortcut" (see NirCmd.cfm for the complete instruction of how to use this funcition, it uses different variables than the MS command, like ~folder.destkop, ~folder.system).OR you can make the shortcuts in your already installed system, copy them to $OEM$\$Docs\All Users\Desktop, AND to $OEM$\$Docs\All Users\Start Menu, so the install will copy them to the desktop and start menu fo all users on the next install unattended, or you can choose witch specyfic user will have those shortcuts.for the segcond question, i really don´t know... sorry.You can use msconfig for that, and use regshot to see witch entries or files has been modified while you were using msconfig.exe to configure your startup programs. then make a backup o theses entires/files (i don´t really remeber WHAT exactly is modified, but i think it is by reg entries) and import it at setup part or copy the configured files (is they exist, i said, i don´t remember) to the right places via $OEM$s folder. Link to comment Share on other sites More sharing options...
vaempire4wii Posted November 10, 2006 Author Share Posted November 10, 2006 thnks 4 de repl,i will try nircmdactually there r three questions, so pls try n reply 2 other two also.thnks in advance. 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