MSFN Forum: Distribution folder problem - MSFN Forum

Jump to content



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

Distribution folder problem Rate Topic: -----

#1 User is offline   mr4 

  • Newbie
  • Group: Members
  • Posts: 18
  • Joined: 02-September 04

Posted 31 August 2006 - 06:42 AM

The problem is that everything is in $OEM$\$$\ or $OEM$\$1\ folder, i can't find it in %systemdrive%, programs, batch files...etc. The OS is not put them in Windows folder. Any ideea?


#2 User is offline   Ctrl-X 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 444
  • Joined: 29-August 06

Posted 31 August 2006 - 09:18 AM

What is the exact location of your $OEM$ folder? For an unattended installation, it needs to be a subfolder of the i386 folder; except when using RIS: then it needs to be on the same level as the i386 folder.

#3 User is offline   mr4 

  • Newbie
  • Group: Members
  • Posts: 18
  • Joined: 02-September 04

Posted 31 August 2006 - 12:45 PM

I used this diagram.

#4 User is offline   Ctrl-X 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 444
  • Joined: 29-August 06

Posted 31 August 2006 - 02:36 PM

View Postmr4, on Aug 31 2006, 08:45 PM, said:

I used this diagram.

So you have your $OEM$ folder next to your i386 folder, not inside it? That's the RIS folder structure. For other unattended setup types, the $OEM$ folder should be inside the i386 folder. Check How to Add OEM Plug and Play Drivers to Windows XP for details.

#5 User is offline   mr4 

  • Newbie
  • Group: Members
  • Posts: 18
  • Joined: 02-September 04

Posted 01 September 2006 - 01:37 AM

Let me detail my problem. I want to change the theme for unattened setup. I put mr4.theme in $OEM$\$$\Resources\Themes folder and the wallpaper i use in $OEM$\$$\Resources folder, but i can't find it in Windows\Resources\Theme after the OS is install.

#6 User is offline   Littlebr00k 

  • Out there, somewhere!
  • Group: Members
  • Posts: 45
  • Joined: 03-June 05

Posted 01 September 2006 - 01:53 AM

Does everything else on your unattended installation work?
Do you install any additional programs during the unattended setup?

You can have the $OEM$ folder at the root of your CD as you have in the diagram, but for the files to be copied over during the installation you need to add these lines to your winnt.sif file as follows:
[Data]
	UnattendedInstall="Yes"

[Unattended]
	UnattendMode=FullUnattended
	OemSkipEula=Yes
	OemPreinstall=Yes


Hope this helps.

#7 User is offline   mr4 

  • Newbie
  • Group: Members
  • Posts: 18
  • Joined: 02-September 04

Posted 01 September 2006 - 02:54 AM

Thanks a lot guys, in Winnt.sif OEMPreintall was No. I have another question: how can i open an text file with batch file? The text file is saved on disk, not empty.

#8 User is offline   Littlebr00k 

  • Out there, somewhere!
  • Group: Members
  • Posts: 45
  • Joined: 03-June 05

Posted 01 September 2006 - 03:07 AM

It depends on how you want the txt file to interact with your insallation.

If you want the the installation routine to be halted while you read or copy the the info from the txt file then add this to the batch file
start /wait %systemdrive%\FolderName\nameof.txt

The installation will resume after you close the text document

If you want the installation to contine while your txt document is open then add this to the batch file
start %systemdrive%\FolderName\nameof.txt

The installation will continue while the txt file is open

If you have spaces in your folder names or document name then remember to enclose it quotes.
start /wait "%systemdrive%\Folder Name\nameof.txt"


Hope this helps

#9 User is offline   mr4 

  • Newbie
  • Group: Members
  • Posts: 18
  • Joined: 02-September 04

Posted 01 September 2006 - 04:58 AM

Detailed: after the OS is install, i want a readme file to open after the first Welcome screen. At second reboot the readme file don't have to open. Something like that.

#10 User is offline   Ctrl-X 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 444
  • Joined: 29-August 06

Posted 01 September 2006 - 07:56 AM

OEMPreinstall! Forgot to ask about that one :blushing:

View Postmr4, on Sep 1 2006, 11:58 AM, said:

Detailed: after the OS is install, i want a readme file to open after the first Welcome screen. At second reboot the readme file don't have to open. Something like that.

Put the command to display the readme in the [GuiRunOnce] section and it will run, ehm, just once ;)

#11 User is offline   mr4 

  • Newbie
  • Group: Members
  • Posts: 18
  • Joined: 02-September 04

Posted 02 September 2006 - 12:57 AM

Thank you Ctrl-X. I discover another problem. The source of unattended setup was updated with latest microsoft updates, i integrated them. The problem is that the ntoskrnl file is exe and not ex_. I made another ntoskrnl.exe (modified by me) and i copied into source kit. My modified bootscreen dont't want to display. What is missing?

#12 User is offline   Takeshi 

  • Legitchecking...
  • PipPipPipPipPipPip
  • Group: Members
  • Posts: 1,107
  • Joined: 09-September 04

Posted 02 September 2006 - 02:24 PM

Look:
http://www.msfn.org/...opic=69438&st=0

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