MSFN Forum: Vista unattended problems - MSFN Forum

Jump to content



Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Vista unattended problems SPTD and deleting shortcuts Rate Topic: -----

#1 User is offline   exhaler 

  • Newbie
  • Group: Members
  • Posts: 16
  • Joined: 02-January 07

Posted 15 December 2007 - 03:37 PM

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


#2 User is offline   sp00f 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 712
  • Joined: 30-November 06

Posted 15 December 2007 - 07:03 PM

View Postexhaler, on Dec 15 2007, 10:37 PM, said:

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.

This post has been edited by sp00f: 15 December 2007 - 07:05 PM


#3 User is offline   exhaler 

  • Newbie
  • Group: Members
  • Posts: 16
  • Joined: 02-January 07

Posted 16 December 2007 - 11:52 AM

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

This post has been edited by exhaler: 16 December 2007 - 12:13 PM


#4 User is offline   ajua 

  • Custom Installer Maker
  • PipPipPipPipPipPip
  • Group: Members
  • Posts: 1,260
  • Joined: 16-April 05

Posted 17 December 2007 - 03:51 PM

i think you need to install it in audit phase.
search to know how to do it.

#5 User is offline   tazmaniandevil 

  • Newbie
  • Group: Members
  • Posts: 27
  • Joined: 30-December 04

Posted 18 December 2007 - 04:02 AM

View Postexhaler, on Dec 16 2007, 05:52 PM, said:

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.

#6 User is offline   sp00f 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 712
  • Joined: 30-November 06

Posted 19 December 2007 - 09:17 PM

View Postsp00f, on Dec 16 2007, 02:03 AM, said:

View Postexhaler, on Dec 15 2007, 10:37 PM, said:

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

This post has been edited by sp00f: 19 December 2007 - 09:20 PM


#7 User is offline   exhaler 

  • Newbie
  • Group: Members
  • Posts: 16
  • Joined: 02-January 07

Posted 20 December 2007 - 05:02 AM

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

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy