December 15, 200718 yr 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
December 16, 200718 yr 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, 200718 yr by sp00f
December 16, 200718 yr Author 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, 200718 yr by exhaler
December 18, 200718 yr 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.
December 20, 200718 yr 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, 200718 yr by sp00f
December 20, 200718 yr Author 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
Create an account or sign in to comment