I have a Win7 unattended going.  Well, kind of.

I boot from a USB drive with an unattended xml file on it, which does the
basic install and then starts a modified "apps only" type of install after
windows is done.

I have to create/modify the unattended xml by hand every time - it has my
computer name, domain, etc, as well as the main unattended bat file tor
run.  I also create a user-pc specific .bat file that contains all of the
todos for the user and pc type.

It's been a couple of years since I set it up, and I know I ran into
several problems, mainly around running scripts from a share that was in my
windows domain and a computer that wasn't - or vice versa.  I created a
special account in my domain to do the install with.  And I ended up
breaking the pre.bat into two parts with perl being installed between
them.

That part of my unattended xml looks like:

<FirstLogonCommands>
      <SynchronousCommand wcm:action="add">
          <Order>1</Order>
          <Description>Running appsonly</Description>
          <CommandLine>cmd /C start /wait net use Z: \\ntinstall\install
mypass /user:mydomain\myuser</CommandLine>
      </SynchronousCommand>
      <SynchronousCommand wcm:action="add">
          <Order>2</Order>
          <Description>Running appsonly</Description>
          <CommandLine>cmd /C z:\bin\pre1.bat</CommandLine>
      </SynchronousCommand>
      <SynchronousCommand wcm:action="add">
          <Order>3</Order>
          <Description>Running appsonly</Description>
          <CommandLine>cmd /C Z:\scripts\perl.bat</CommandLine>
      </SynchronousCommand>
      <SynchronousCommand wcm:action="add">
          <Order>4</Order>
          <Description>Running appsonly</Description>
          <CommandLine>cmd /C z:\bin\pre2.bat</CommandLine>
      </SynchronousCommand>
      <SynchronousCommand wcm:action="add">
          <Order>5</Order>
          <Description>Running appsonly</Description>
          <CommandLine>cmd /C z:\bin\todo.plUserSpecificFile.bat</CommandLine>
      </SynchronousCommand>
      <SynchronousCommand wcm:action="add">
          <Order>6</Order>
          <Description>Running appsonly</Description>
          <CommandLine>cmd /C z:\bin\post.bat</CommandLine>
      </SynchronousCommand>
</FirstLogonCommands>

I tried the WinPE boot then install from a network share yesterday for the
first time, and it worked great.  No PXE boot is required.
Here's my thoughts on how this could work:

User has to make a WinPE boot disk and boot from it.
Map \\ntinstall\install to Z:
>From the PE environment run a script from Z: that builds an unattended xml
file based on user input and saves it somewhere on Z:
Run setup from the Z: drive using the unattended that was just built.

I have a volume license and used that to install from.  I don't know if
there are any differences that would stop this approach with OEM or retail
media.

I'm not very experienced with windows scripting, and but I imagine that
several of the things I do in the unattended (join domain, set local
admins, rename pc) could be done after the install via todos.

Thoughts?

Doug



On Mon, Oct 1, 2012 at 4:04 AM, Johan Ho <johan...@mf.no> wrote:

> Den 21.09.12 02:34, skrev Juanjo Pablos:
> > Hi,
> > I just saw that win7 had become NÂș1 in the operations Systems market
> share.
> >
> http://marketshare.hitslink.com/operating-system-market-share.aspx?qprid=10
> >
> > I do not see myself with enough time to accomplish this task. So I beg
> > for some help on this matter.
> >
> >
> >
> ------------------------------------------------------------------------------
> > Got visibility?
> > Most devs has no idea what their production app looks like.
> > Find out how fast your code is with AppDynamics Lite.
> > http://ad.doubleclick.net/clk;262219671;13503038;y?
> > http://info.appdynamics.com/FreeJavaPerformanceDownload.html
> > _______________________________________________
> > unattended-devel mailing list
> > unattended-devel@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/unattended-devel
> >
>
> I also recently started trying to get unattended installation of Windows
> 7 to work. I found this old post on the unattended info mailing list:
>
>
> http://www.mail-archive.com/unattended-info@lists.sourceforge.net/msg09116.html
>
> I got as far getting the WinPE 3.0 boot image up and running, but I need
> to focus on other projects right now. Anyways, it did sound like they
> got it to work.
>
> Johan Ho
>
>
> ------------------------------------------------------------------------------
> Got visibility?
> Most devs has no idea what their production app looks like.
> Find out how fast your code is with AppDynamics Lite.
> http://ad.doubleclick.net/clk;262219671;13503038;y?
> http://info.appdynamics.com/FreeJavaPerformanceDownload.html
> _______________________________________________
> unattended-devel mailing list
> unattended-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/unattended-devel
>
------------------------------------------------------------------------------
LogMeIn Central: Instant, anywhere, Remote PC access and management.
Stay in control, update software, and manage PCs from one command center
Diagnose problems and improve visibility into emerging IT issues
Automate, monitor and manage. Do more in less time with Central
http://p.sf.net/sfu/logmein12331_d2d
_______________________________________________
unattended-devel mailing list
unattended-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/unattended-devel

Reply via email to