Jump to content

The Art of OEM - nLite & OEM Preinstallation


Your opinion goes here  

141 members have voted

  1. 1. Would you like for Windows Designer Studio to perform most of the operations described in this guide?

    • Yes, and I want more features too!
      69
    • Yes
      13
    • No, I'd rather stick with the plain old Windows Setup routine.
      5
    • No, it's just a waste of time; nLite/vLite will always be enough for my needs.
      7
  2. 2. Now that this guide is complete, are you happy with its contents?

    • Yes, it's a great idea!
      63
    • Somewhat, I used some of the things described here.
      20
    • Probably, but it is too complex for me to handle.
      7
    • No
      4
  3. 3. Which of these should benefit you the most and you'd like to see first in Windows Designer Studio? (more details soon)

    • Windows Setup SDK (Panther Engine) - WIM capture, Setup customization and ISO making, like in Parts 3 and 4
      46
    • VKEY Explorer - an advanced tool to design the registry of the OS you are designing
      5
    • Package Designer - a set of diff and compression tools to allow you to author/create/add/remove windows components and preinstalled apps
      18
    • VM Workbench - an extension for the free VMware Player product to test the results of your work before finalizing
      10


Recommended Posts


Yes, it's only for one computer. So, the largest problem is now write user interface for disk partitioning. WinFLP Setup uses Virtual Disk Services .NET wrapper. Documentation of VDS is confused for me, so the easiest solution is dynamicaly create scripts for diskpart and parse output (i don't like such solutions).

Link to comment
Share on other sites

  • 2 weeks later...

Hi Everyone,

I've being a long time reader of this forum it help me a lot, my questions is I got the alphas, betas and RTM version of longhorn/vista but ximage is not located on my longhorn 4074 cd. In what directory of the CD is this file located?

Thanks

Link to comment
Share on other sites

  • 4 weeks later...

Thank you for your guide.

In Part 2 of it you say,

QUOTE

The Advanced Configuration and Power Interface (ACPI) PC is the most compatible, so it's by far the best choice for 32-bit systems.

It should be noted that multiprocessor computers can also use this HAL, however they will only make use of a single processor."

END QUOTE

I'm a little bit worried this means only 1 of the 2 cores in my cpu will do work, leaving the 2nd core idle.

Is that what you mean will happen?

(AMD Athlon 64 4200 X2 with 32 bit Windows XP Pro)

Edited by scott14
Link to comment
Share on other sites

I'm a little bit worried this means only 1 of the 2 cores in my cpu will do work, leaving the 2nd core idle.

Is that what you mean will happen?

(AMD Athlon 64 4200 X2 with 32 bit Windows XP Pro)

Is there something keeping you from changing it after installation?

Link to comment
Share on other sites

  • 4 weeks later...

nice guide dexter.inside read it in one sitting :blink:

I learned a couple of things:

  • I think WIM can be used for all versions of Windows, not just Vista.
  • BDD first time hearing about this.
  • Symantec SRESHELL (Norton System Recovery Shell) first time hearing about this.
  • vmount was looking for this.

Some Questions/Observations:

  • Post 11 why are you using LSI Logic I/O Adapter and SCSI disk?
  • Post 24 To copy from a template profile to the default profile I logon as Administrator, open System Properties>Advanced>User Profiles:Settings>Copy To>Change>Object Name:Everyone>Check Names>OK>Browse>Default User>OK. I also think there is a simple cmd to do this.
  • Post 24 I set my VM to use two processors b/c I have a dualcore in the host and in my sysprep.inf I use:
    "UpdateUPHAL = "ACPIAPIC_UP,%WINDIR%\Inf\Hal.inf"


  • Post 45 I think the sysprep setup errors caused by nlite only occur if you include an I386 folder in Sysprep.
  • some pictures seem to be missing, also please use png instead of jpeg or gif ;)

Link to comment
Share on other sites

  • Post 11 why are you using LSI Logic I/O Adapter and SCSI disk?
  • Post 24 To copy from a template profile to the default profile I logon as Administrator, open System Properties>Advanced>User Profiles:Settings>Copy To>Change>Object Name:Everyone>Check Names>OK>Browse>Default User>OK. I also think there is a simple cmd to do this.
  • Post 24 I set my VM to use two processors b/c I have a dualcore in the host and in my sysprep.inf I use:
    "UpdateUPHAL = "ACPIAPIC_UP,%WINDIR%\Inf\Hal.inf"


  • Post 45 I think the sysprep setup errors caused by nlite only occur if you include an I386 folder in Sysprep.
  • some pictures seem to be missing, also please use png instead of jpeg or gif ;)

Post 11 - the Windows Home Server I used to make that part of the tutorial does not support properly BusLogic SCSI.

Post 24 - I've recently migrated my virtual machines on a Datacenter Server x64 host, so I will investigate more on this subject. I am also interested in a Domain Controller guest machine migration from virtual to physical hardware.

Post 45 - There's this topic that covers the problem.

As for the pictures, I think I will use my own web server to store them from now on.

Link to comment
Share on other sites

  • 4 weeks later...

dexter.inside amazing work. I have been playing with nlite and unattended installs for a few years now and after seeing the Longhorn install I wished there was a way to do exactly what your guide does for a while. I have gone through you steps and it works like a charm. Thanks for your great work!

One thing I am curious about is it possible for the panther install to have the cd key unattended so it would not have to be entered?

Link to comment
Share on other sites

One thing I am curious about is it possible for the panther install to have the cd key unattended so it would not have to be entered?

Probably, but the build 4033 SDK is very poorly documented. I believe that if it were to use a newer version of pidgenx.dll it should allow a staged key installation. Like the way v3244 of XP SP3 does it :sneaky:

Link to comment
Share on other sites

  • 2 months later...
...

Sysprep may require some other files and settings. Thanks to JakeLD :thumbup , here they are:

(read the original topic here)

Windows Registry Editor Version 5.00

; Change source path to be c\windows instead of cd-rom
; Fix a sysprep bug
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup]
; Set C:\WINDOWS C:\WINDOWS\I386 C:\WINDOWS\SYSTEM32 C:\WINDOWS\SYSTEM32\DRIVERS as installation sources
"Installation Sources"=hex(7):43,00,3a,00,5c,00,57,00,49,00,4e,00,44,00,4f,00,\
57,00,53,00,00,00,43,00,3a,00,5c,00,57,00,49,00,4e,00,44,00,4f,00,57,00,53,\
00,5c,00,49,00,33,00,38,00,36,00,00,00,43,00,3a,00,5c,00,57,00,49,00,4e,00,\
44,00,4f,00,57,00,53,00,5c,00,53,00,59,00,53,00,54,00,45,00,4d,00,33,00,32,\
00,00,00,43,00,3a,00,5c,00,57,00,49,00,4e,00,44,00,4f,00,57,00,53,00,5c,00,\
53,00,59,00,53,00,54,00,45,00,4d,00,33,00,32,00,5c,00,44,00,52,00,49,00,56,\
00,45,00,52,00,53,00,00,00,00,00
"SourcePath"="C:\\WINDOWS"
"ServicePackSourcePath"="C:\\WINDOWS"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion]
;"RegisteredOrganization"=""
;"RegisteredOwner"="User"
"SystemRoot"="C:\\WINDOWS"
"SourcePath"="C:\\WINDOWS\\i386"

And also copy these files to \sysprep\I386 (don't add out-of-box drivers, the folder is deleted after setup completes)

agentdp2.dll
agentdpv.dll
agt0405.dll
agt0405.hlp
agt0406.dll
agt0406.hlp
agt0407.dll
agt0407.hlp
agt0408.dll
agt0408.hlp
agt0409.dll
agt0409.hlp
agt040b.dll
agt040b.hlp
agt040c.dll
agt040c.hlp
agt040e.dll
agt040e.hlp
agt0410.dll
agt0410.hlp
agt0413.dll
agt0413.hlp
agt0414.dll
agt0414.hlp
agt0415.dll
agt0415.hlp
agt0416.dll
agt0416.hlp
agt0419.dll
agt0419.hlp
agt041d.dll
agt041d.hlp
agt041f.dll
agt041f.hlp
agt0816.dll
agt0816.hlp
agt0c0a.dll
agt0c0a.hlp
agtintl.dll
ctype.nls
c_037.nls
c_10000.nls
c_10006.nls
c_10007.nls
c_10010.nls
c_10017.nls
c_10029.nls
c_10079.nls
c_10081.nls
c_10082.nls
c_1026.nls
c_1250.nls
c_1251.nls
c_1252.nls
c_1253.nls
c_1254.nls
c_1255.nls
c_1256.nls
c_1257.nls
c_1258.nls
c_20127.nls
c_20261.nls
c_20866.nls
c_20905.nls
c_21866.nls
c_28591.nls
c_28592.nls
c_28593.nls
C_28594.NLS
C_28595.NLS
C_28597.NLS
c_28598.nls
c_28599.nls
c_28603.nls
c_28605.nls
c_437.nls
c_500.nls
c_737.nls
c_775.nls
c_850.nls
c_852.nls
c_855.nls
c_857.nls
c_860.nls
c_861.nls
c_863.nls
c_865.nls
c_866.nls
c_869.nls
c_874.nls
c_875.nls
c_932.nls
c_936.nls
c_949.nls
c_950.nls
enum1394.inf
enum1394.sys
ftdisk.sys
geo.nls
isapnp.sys
locale.nls
l_except.nls
l_intl.nls
modern.fon
mouhid.sys
roman.fon
script.fon
sortkey.nls
sorttbls.nls
streamci.dll
unicode.nls
vga.sys
wst_czec.fon
wst_engl.fon
wst_fren.fon
wst_germ.fon
wst_ital.fon
wst_span.fon
wst_swed.fon

Now that you can see the driver locations in the SysprepMassStorage section, you can start resealing your workstation.

where can i find the files in

agentdp2.dll
agentdpv.dll
agt0405.dll
agt0405.hlp
agt0406.dll
agt0406.hlp
agt0407.dll
agt0407.hlp
agt0408.dll
agt0408.hlp
agt0409.dll
agt0409.hlp
agt040b.dll
agt040b.hlp
agt040c.dll
agt040c.hlp
agt040e.dll
agt040e.hlp
agt0410.dll
agt0410.hlp
agt0413.dll
agt0413.hlp
agt0414.dll
agt0414.hlp
agt0415.dll
agt0415.hlp
agt0416.dll
agt0416.hlp
agt0419.dll
agt0419.hlp
agt041d.dll
agt041d.hlp
agt041f.dll
agt041f.hlp
agt0816.dll
agt0816.hlp
agt0c0a.dll
agt0c0a.hlp
agtintl.dll
ctype.nls
c_037.nls
c_10000.nls
c_10006.nls
c_10007.nls
c_10010.nls
c_10017.nls
c_10029.nls
c_10079.nls
c_10081.nls
c_10082.nls
c_1026.nls
c_1250.nls
c_1251.nls
c_1252.nls
c_1253.nls
c_1254.nls
c_1255.nls
c_1256.nls
c_1257.nls
c_1258.nls
c_20127.nls
c_20261.nls
c_20866.nls
c_20905.nls
c_21866.nls
c_28591.nls
c_28592.nls
c_28593.nls
C_28594.NLS
C_28595.NLS
C_28597.NLS
c_28598.nls
c_28599.nls
c_28603.nls
c_28605.nls
c_437.nls
c_500.nls
c_737.nls
c_775.nls
c_850.nls
c_852.nls
c_855.nls
c_857.nls
c_860.nls
c_861.nls
c_863.nls
c_865.nls
c_866.nls
c_869.nls
c_874.nls
c_875.nls
c_932.nls
c_936.nls
c_949.nls
c_950.nls
enum1394.inf
enum1394.sys
ftdisk.sys
geo.nls
isapnp.sys
locale.nls
l_except.nls
l_intl.nls
modern.fon
mouhid.sys
roman.fon
script.fon
sortkey.nls
sorttbls.nls
streamci.dll
unicode.nls
vga.sys
wst_czec.fon
wst_engl.fon
wst_fren.fon
wst_germ.fon
wst_ital.fon
wst_span.fon
wst_swed.fon

by the way, the pdf and ur site isn't updated yet? so the most updated info is this forum topic right?

Edited by iceangel89
Link to comment
Share on other sites

please can some1 help me? the files

...
agt0416.hlp
agt0419.dll
agt0419.hlp
agt041d.dll
agt041d.hlp
agt041f.dll
agt041f.hlp
agt0816.dll
agt0816.hlp
...

are from? the XP CD? i cant get them from the installed XP (to be syspreped right? - files are not found). but in my XP CD, .nls files are .NL_ do i need to change anything? can i just use the .NL_ files i have?

also there are so many files, how do u guys transfer them? 1 by 1? or can i just do a search for *.dll for example?

and also if i use the modified guide from Part 5 to solve the nLite/sysprep bug, where do i put my drivers?

Edited by iceangel89
Link to comment
Share on other sites

1) It's not imperative that you include those files, you can just hit ESC when prompted for them in mini-setup. And yes, they are on the XP cd, unless you removed their components (in your case, Microsoft Agent, Keyboards and Languages)

2) You can either integrate your drivers in the initial disc with nLite, or add them somewhere like \Windows\Driver Cache and scan for them when building mass storage devices with sysprep. Your choice.

If you already have them in proper order (like I do, because I use Microsoft Business Desktop Deployment) it doesn't really matter.

Link to comment
Share on other sites

1) It's not imperative that you include those files, you can just hit ESC when prompted for them in mini-setup. And yes, they are on the XP cd, unless you removed their components (in your case, Microsoft Agent, Keyboards and Languages)

2) You can either integrate your drivers in the initial disc with nLite, or add them somewhere like \Windows\Driver Cache and scan for them when building mass storage devices with sysprep. Your choice.

If you already have them in proper order (like I do, because I use Microsoft Business Desktop Deployment) it doesn't really matter.

for (1), if i just leave this missing files, missing, will i be missing anything? only languages? will it be only languages i remove with nLite?

for (2), so i can integrate with nLite? but nLite wont install drivers for devices not in the PC, right? so drivers for "other" devices wont be in the installed XP, thus missing?

If i "add them somewhere like \Windows\Driver Cache and scan for them when building mass storage devices with sysprep" means i add them to \Windows\Driver Cache then by scan u mean Sysprep Driver Scanner mentioned in the guide?

for now, i did like in the guide, place Drivers in "\Windows\Driver Cache\i386" then use Sysprep Driver Scanner then sysprep -bmsd? - mass storage drivers for example will still work? is this right?

Thanks in advance

Edited by iceangel89
Link to comment
Share on other sites

for (1), if i just leave this missing files, missing, will i be missing anything? only languages? will it be only languages i remove with nLite?

AFAIK yes. Never had problems skipping them. There may be problems with Microsoft Multilingual User Interface (MUI) for east-asian languages though.

for now, i did like in the guide, place Drivers in "\Windows\Driver Cache\i386" then use Sysprep Driver Scanner then sysprep -bmsd? - mass storage drivers for example will still work? is this right?

You can use the sysprep driver scanner to scan the NLDRV folder in the installation, nLite places the drivers there. As for mass storage, you don't have a textmode portion if you are resealing to mini-setup, so you can stick to PnP mass storage.

Edited by dexter.inside
Link to comment
Share on other sites

  • 4 weeks later...

Just a thought but I'm going to try sfc /scannow from my imaged PC to see if replaces the files that are marked missing or bad from the windows image. I'll let you know the results but I'm thinking this will fix the particular issue.

Link to comment
Share on other sites

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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.


×
×
  • Create New...