Jump to content

Recommended Posts

Posted

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\desktop

what should i type to remove these shortcuts?

thx for the help


Posted (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\desktop

what should i type to remove these shortcuts?

thx for the help

1: yes you can

With setupcomplete.cmd or with autounattend.xml

2:

DEL "%public%\Desktop\*.lnk"

DEL "%UserProfile%\Desktop\*.lnk"

Next time search first, things like this are discussed before.

Edited by sp00f
Posted (edited)

thx for the help sp00f

installing 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 command

DEL %TEMP%

but it requires y/n answer

tried /S /Q but it doesn't work

Edited by exhaler
Posted
also i'm trieding to delete the temp folder using this command

DEL %TEMP%

but it requires y/n answer

tried /S /Q but it doesn't work

Try /Y That's what I use to delete temp files etc. and it works for me.

Posted (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\desktop

what should i type to remove these shortcuts?

thx for the help

1: yes you can

With setupcomplete.cmd or with autounattend.xml

2:

DEL "%public%\Desktop\*.lnk"

DEL "%UserProfile%\Desktop\*.lnk"

Next time search first, things like this are discussed before.

works fine here during setupcomplete

Vista reboots at that point anyway , if nit you can add a line to your cmd file

Shutdown.exe /r

For more options : shutdown.exe /?

If you want it installed from the XML :

http://www.msfn.org/board/index.php?showto...048&hl=sptd

Edited by sp00f
Posted

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...