exhaler Posted December 15, 2007 Share Posted December 15, 2007 i'm almost finished doing an unattedend vista but i have a few problems.1. can i install SPTD during setup, like in windows xp at 13 minutes it runs cmdlines file in OEM folder?if i installed it during wpi i need to restart and when i do that wpi doesn't start after reboot.2. how can i delete shorcuts from the desktop and clean the temp folder in a batch file?DEL "%AllUsersProfile%\Desktop\*.lnk"DEL "%UserProfile%\Desktop\*.lnk"after running the commands above there are still shortcuts remaning locating in c:\user\public\desktopwhat should i type to remove these shortcuts?thx for the help Link to comment Share on other sites More sharing options...
sp00f Posted December 16, 2007 Share Posted December 16, 2007 (edited) i'm almost finished doing an unattedend vista but i have a few problems.1. can i install SPTD during setup, like in windows xp at 13 minutes it runs cmdlines file in OEM folder?if i installed it during wpi i need to restart and when i do that wpi doesn't start after reboot.2. how can i delete shorcuts from the desktop and clean the temp folder in a batch file?DEL "%AllUsersProfile%\Desktop\*.lnk"DEL "%UserProfile%\Desktop\*.lnk"after running the commands above there are still shortcuts remaning locating in c:\user\public\desktopwhat should i type to remove these shortcuts?thx for the help1: yes you canWith setupcomplete.cmd or with autounattend.xml2:DEL "%public%\Desktop\*.lnk"DEL "%UserProfile%\Desktop\*.lnk"Next time search first, things like this are discussed before. Edited December 16, 2007 by sp00f Link to comment Share on other sites More sharing options...
exhaler Posted December 16, 2007 Author Share Posted December 16, 2007 (edited) thx for the help sp00finstalling SPTD using setupcomplete.cmd works, but it needs a restart to finish completely so i can install daemon tools. i want it to be installed during windows setup not after setup finishes, or find a way to make WPI work after a reboot.also i'm trieding to delete the temp folder using this commandDEL %TEMP%but it requires y/n answertried /S /Q but it doesn't work Edited December 16, 2007 by exhaler Link to comment Share on other sites More sharing options...
ajua Posted December 17, 2007 Share Posted December 17, 2007 i think you need to install it in audit phase.search to know how to do it. Link to comment Share on other sites More sharing options...
tazmaniandevil Posted December 18, 2007 Share Posted December 18, 2007 also i'm trieding to delete the temp folder using this commandDEL %TEMP%but it requires y/n answertried /S /Q but it doesn't workTry /Y That's what I use to delete temp files etc. and it works for me. Link to comment Share on other sites More sharing options...
sp00f Posted December 20, 2007 Share Posted December 20, 2007 (edited) i'm almost finished doing an unattedend vista but i have a few problems.1. can i install SPTD during setup, like in windows xp at 13 minutes it runs cmdlines file in OEM folder?if i installed it during wpi i need to restart and when i do that wpi doesn't start after reboot.2. how can i delete shorcuts from the desktop and clean the temp folder in a batch file?DEL "%AllUsersProfile%\Desktop\*.lnk"DEL "%UserProfile%\Desktop\*.lnk"after running the commands above there are still shortcuts remaning locating in c:\user\public\desktopwhat should i type to remove these shortcuts?thx for the help1: yes you canWith setupcomplete.cmd or with autounattend.xml2:DEL "%public%\Desktop\*.lnk"DEL "%UserProfile%\Desktop\*.lnk"Next time search first, things like this are discussed before. works fine here during setupcompleteVista reboots at that point anyway , if nit you can add a line to your cmd file Shutdown.exe /rFor more options : shutdown.exe /?If you want it installed from the XML :http://www.msfn.org/board/index.php?showto...048&hl=sptd Edited December 20, 2007 by sp00f Link to comment Share on other sites More sharing options...
exhaler Posted December 20, 2007 Author Share Posted December 20, 2007 i found a solution i used this in my xml in audit<RunSynchronous> <RunSynchronousCommand wcm:action="add"> <Order>3</Order> <Path>cmd /c %AppsRoot%\Install\SPTD\SPTD1.53 add /q</Path> <WillReboot>Always</WillReboot> </RunSynchronousCommand> <RunSynchronousCommand wcm:action="add"> <Order>60</Order> <Path>%WINDIR%\system32\sysprep\sysprep.exe /quiet /oobe /reboot</Path> </RunSynchronousCommand> </RunSynchronous>it restarts after installation, however it restarts about 5 times before WPI shows up and begins installing my programs 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