MSFN Forum: Looping after unattended install - MSFN Forum

Jump to content



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

Looping after unattended install Rate Topic: -----

#1 User is offline   Caycep 

  • Newbie
  • Group: Members
  • Posts: 13
  • Joined: 22-September 04

Posted 29 November 2004 - 06:53 AM

I've given up on trying to run sysprep during the unattended install but I have another small problem.

My unattended install works fine, everything's working great BUT when I eventually run sysprep (on it's own after windows update or whenever) I have a loop of the unattended install programs running and installing again.

Is there a way to stop this from happening? Is it in the runonce area of the registry? If so, how to I delete that key and add it back?

Thanks
Cayce


#2 User is offline   rdalling 

  • Member
  • PipPip
  • Group: Members
  • Posts: 152
  • Joined: 29-March 04

Posted 29 November 2004 - 08:20 AM

Please post your config files so we can analyze...

#3 User is offline   Caycep 

  • Newbie
  • Group: Members
  • Posts: 13
  • Joined: 22-September 04

Posted 29 November 2004 - 09:45 AM

My runonceex.cmd code is as follows:
cmdow @ /HID
@echo off
IF EXIST D:\CD.txt set CDROM=D:
IF EXIST E:\CD.txt set CDROM=E:
IF EXIST F:\CD.txt set CDROM=F:
IF EXIST G:\CD.txt set CDROM=G:
IF EXIST H:\CD.txt set CDROM=H:
IF EXIST I:\CD.txt set CDROM=I:
IF EXIST J:\CD.txt set CDROM=J:


SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx

REG ADD %KEY% /V TITLE /D "Installing Applications" /f

REG ADD %KEY%\053 /VE /D ".NET Framework 1.1" /f
REG ADD %KEY%\053 /V 1 /D "%CDROM%\Software\NetFramework\netfxsp1.exe" /f

REG ADD %KEY%\030 /VE /D "Windows Media Player 10" /f
REG ADD %KEY%\030 /V 1 /D "%CDROM%\Software\WMP10\MP10Setup.exe /q:A /c:\"setup_wm.exe /Q /R:N /DisallowSystemRestore\"" /f

REG ADD %KEY%\085 /VE /D "Cleaning Up and Rebooting" /f
REG ADD %KEY%\085 /V 1 /D "%CDROM%\Software\cleanup.cmd" /f
EXIT


And my cleanup.cmd is:
cmdow @ /HID
shutdown.exe -r -f -t 60 -c "Windows XP will now restart in 1 minute..."
net user aspnet /delete

EXIT


Thanks

#4 User is offline   rdalling 

  • Member
  • PipPip
  • Group: Members
  • Posts: 152
  • Joined: 29-March 04

Posted 29 November 2004 - 12:44 PM

I dont see anything in your runonceex or your clean up cmd.

Can you post your sysprep.inf and your unattended.txt and cmdlines.txt?



R

#5 User is offline   Caycep 

  • Newbie
  • Group: Members
  • Posts: 13
  • Joined: 22-September 04

Posted 29 November 2004 - 01:01 PM

I don't have an unattended.txt file (should I?) but here are the others:

cmdlines.txt:

[COMMANDS]
"RunOnceEx.cmd"


And sysprep.inf: (I'm unsure if this is right)
;SetupMgrTag
[Unattended]
    InstallFilesPath=C:\sysprep\i386

[GuiUnattended]
    EncryptedAdminPassword=NO
    OEMSkipRegional=1
    TimeZone=35

[UserData]
    FullName=""
    OrgName=""
    ComputerName=*

[TapiLocation]
    CountryCode=107
    AreaCode=905

[SetupMgr]
    DistFolder=C:\sysprep\i386
    DistShare=windist

[Identification]
    JoinWorkgroup=WORKGROUP

[Networking]
    InstallDefaultComponents=Yes


#6 User is offline   rdalling 

  • Member
  • PipPip
  • Group: Members
  • Posts: 152
  • Joined: 29-March 04

Posted 29 November 2004 - 01:20 PM

How about Winnt.sif (unattended.txt)

#7 User is offline   Caycep 

  • Newbie
  • Group: Members
  • Posts: 13
  • Joined: 22-September 04

Posted 29 November 2004 - 02:50 PM

D'oh, sorry about that:

[Data]
    AutoPartition=0
    MsDosInitiated="0"
    UnattendedInstall="Yes"

[Unattended]
    UnattendMode=FullUnattended
    OemPreinstall=Yes
    UnattendSwitch="yes"
    OemSkipEula=Yes
    OemPreinstall=No
    Repartition=YES
    FileSystem=*
    TargetPath=\WINDOWS

[GuiUnattended]
    AdminPassword=*
    EncryptedAdminPassword=NO
    OEMSkipRegional=1
    TimeZone=35
    OemSkipWelcome=1

[UserData]
    ProductKey=xxxxx-xxxxx-xxxxx-xxxxx-xxxxx
    FullName="User"
    OrgName=""
    ComputerName=*

[TapiLocation]
    CountryCode=107

[RegionalSettings]
    LanguageGroup=1
    SystemLocale=00001009
    UserLocale=00001009
    InputLocale=1009:00000409

[Identification]
    JoinWorkgroup=WORKGROUP

[Networking]
    InstallDefaultComponents=Yes

[Data]
AutoPartition=0


#8 User is offline   rdalling 

  • Member
  • PipPip
  • Group: Members
  • Posts: 152
  • Joined: 29-March 04

Posted 29 November 2004 - 04:01 PM

The only thing that jumps out at me is your sysprep.inf calls your cmdlines.txt rather than you winnt.sif

[Unattended]
   InstallFilesPath=C:\sysprep\i386



maybe move it to your winnt.sif



R

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