Jump to content

Welcome to MSFN Forum
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account


Photo

Running a Script During the 2nd Setup Phase

customization setup script

  • Please log in to reply
3 replies to this topic

#1
jetman

jetman

    Member

  • Member
  • PipPip
  • 172 posts
  • OS:Windows 7 x64
  • Country: Country Flag

I looked at the 1st three pages of the topic, but of course I didn't find an answer.  I suspect that somewhere in the mass of links in the stickies at the top of the topic, my answer can be found buried in there.  Please forgive my impatience.

 

When we do a Windows XP unattended installation, there's a point during the 2nd (graphical) phase of setup, where a script can be run.  My XP discs would create a default user at this time.  Is the same true of Windows 7 and if so, could someone share a couple of links explaining the procedure ?

 

What I'd like to do is launch some preparatory work from one of the RUNONCE keys and setup those registry entries prior to finalization of the system.

 

Thanx for the use of the brain cells...




How to remove advertisement from MSFN

#2
maxXPsoft

maxXPsoft

    MSFN Master

  • Developer
  • 2,888 posts
  • OS:Windows 7 x64
  • Country: Country Flag

All you need is the AutoUnattend.xml to do all that for you. Pass oobeSystem examples here

http://www.msfn.org/...-here/?p=892779

 

You then can use Firstlogoncommands within that and do the adding HKLM registry, HKCU cannot be added till the user is created or in other words when the GUI loads the desktop. Unless you mount the image and mod the registry.

 

u1v2.png

Uploaded with ImageShack.us


Edited by maxXPsoft, 27 July 2013 - 11:08 AM.

Download ++> Windows 7 + 8 Unattended DVD + App Installer + Services Disabler + Load All Button + XML Creator
Jump2Reg - Registry: - Oct 4, 2013 - Version 3.0.4 - 98, ME, NT, 2K, XP, VISTA, Seven, Windows 8+ and 32 or 64 bit

XP Unattended CD/DVD creator - Version 4.1.7
Sample xml + Setupcomplete + Add Right click .wim Windows 7 or Windows 8/8.1

#3
jetman

jetman

    Member

  • Member
  • PipPip
  • 172 posts
  • OS:Windows 7 x64
  • Country: Country Flag

Thanx.  My x64 disc is stuck w/ a final issue, where it dies halfway into my GUIRunOnce script, just a plain-vanilla CMD batch script !  Takes hours to get to the desktop, hanging in limbo.  If I don't execute the script til after SETUP is complete and we're at the Desktop, the script works flawlessly !  OTOH, the exact same script is no problem on my x86 disc !  So I need to change things up for the x64 world, altho there's no good reason I should be going thru this !  I should be able to install what I need from the HKLM/RunOnce keys.

 

Thanx again.


Edited by jetman, 27 July 2013 - 11:42 AM.


#4
jetman

jetman

    Member

  • Member
  • PipPip
  • 172 posts
  • OS:Windows 7 x64
  • Country: Country Flag

Done, done, and done !!!  :thumbup







Also tagged with one or more of these keywords: customization, setup, script

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users



How to remove advertisement from MSFN