Skip to content
View in the app

A better way to browse. Learn more.

MSFN

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Half working UA Windows

Featured Replies

Hi everybody..

I made my very first Unattended windows xp yesterday.

I used the great MSFN guide about it.

But i have some problems.

First the things which installed succesful:

Windows XP Home

SP2

All hotfixes

I learned to input files on the computer, two apps in program files folder, which did not need any registration, så i just used the $Progs.

But all the other i would have installed by RunOnceEx, failed.

also my CleanUp.cmd did not do the job well. It removed all the backgrounds, but not the screensavers ?

And it did not remove the start menu icons, but the install dir & the driver dir.

I hope someone can & will help me.

runonceex.cmd:

cmdow @ /HID
@echo off

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

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

REG ADD %KEY%\005 /VE /D "Office 2003" /f
REG ADD %KEY%\005 /V 1 /D "%systemdrive%\install\o2k3\PRO11.msi /qb" /f

REG ADD %KEY%\005 /VE /D "FrontPage 2003" /f
REG ADD %KEY%\005 /V 1 /D "%systemdrive%\install\o2k3\FP11.msi /qb" /f

REG ADD %KEY%\005 /VE /D "Codecs" /f
REG ADD %KEY%\005 /V 1 /D "%systemdrive%\install\codecs2.6.exe /qb" /f

REG ADD %KEY%\005 /VE /D "Winamp 5" /f
REG ADD %KEY%\005 /V 1 /D "%systemdrive%\install\winamp521.msi INI=%systemdrive%\install\winamp5.ini /qn" /f

REG ADD %KEY%\055 /VE /D "Cleaning Up and Rebooting" /f
REG ADD %KEY%\055 /V 1 /D "%systemdrive%\install\cleanup.cmd" /f

EXIT

cleanup.cmd:

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

DEL "%systemroot%\*.bmp"
DEL "%systemroot%\Web\Wallpaper\*.jpg"
DEL "%systemroot%\system32\dllcache\*.scr"
DEL "%systemroot%\system32\*.scr"

DEL "%AllUsersProfile%\Start Menu\Windows Update.lnk"
DEL "%AllUsersProfile%\Start Menu\Set Program Access and Defaults.lnk"
DEL "%AllUsersProfile%\Start Menu\Windows Catalog.lnk"

RD /S /Q %systemdrive%\drivers\
RD /S /Q %systemdrive%\install\

EXIT

If you need more for helping me just say.

Thanks ;)

Edited by J-Boy


Of course it won't work, look @ this:

REG ADD %KEY%\005 /VE /D "Office 2003" /f

REG ADD %KEY%\005 /V 1 /D "%systemdrive%\install\o2k3\PRO11.msi /qb" /f

REG ADD %KEY%\005 /VE /D "FrontPage 2003" /f

REG ADD %KEY%\005 /V 1 /D "%systemdrive%\install\o2k3\FP11.msi /qb" /f

REG ADD %KEY%\005 /VE /D "Codecs" /f

REG ADD %KEY%\005 /V 1 /D "%systemdrive%\install\codecs2.6.exe /qb" /f

REG ADD %KEY%\005 /VE /D "Winamp 5" /f

REG ADD %KEY%\005 /V 1 /D "%systemdrive%\install\winamp521.msi INI=%systemdrive%\install\winamp5.ini /qn" /f

You've got the same number, 005.

1st, the office 2003 key gets written.

Then, frontpage overwrites it.

Codecs overwrite that.

Winamp overwrites that leaving only Winamp installed.

A more suitable one could be:

cmdow @ /HID
@echo off
@cls

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

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

REG ADD %KEY%\005 /VE /D "Office 2003" /f
REG ADD %KEY%\005 /V 1 /D "%systemdrive%\install\o2k3\PRO11.msi /qb" /f

REG ADD %KEY%\010 /VE /D "FrontPage 2003" /f
REG ADD %KEY%\010 /V 1 /D "%systemdrive%\install\o2k3\FP11.msi /qb" /f

REG ADD %KEY%\015 /VE /D "Codecs" /f
REG ADD %KEY%\015 /V 1 /D "%systemdrive%\install\codecs2.6.exe /qb" /f

REG ADD %KEY%\020 /VE /D "Winamp 5" /f
REG ADD %KEY%\020 /V 1 /D "%systemdrive%\install\winamp521.msi INI=%systemdrive%\install\winamp5.ini /qn" /f

REG ADD %KEY%\555 /VE /D "Cleaning Up and Rebooting" /f
REG ADD %KEY%\555 /V 1 /D "%systemdrive%\install\cleanup.cmd" /f

EXIT

Nothing wrong w/cleanup.cmd

Hope this helped ;)

  • Author

Thanks T D.

I'll try that, and come back.

But not even winamp was installed ?

Well.. I'll try your code ;)

Thanks by Johnny

  • Author

Hi again T D.

I have tried you code, and it was more correct this time.

I saw det box, where it trys to install the apps, but it still don't install anything :s

Can you or someone else explain why ?

Thanks by J-Boy

in the SAME folder as your I386 folder, you should have $OEM$\$1\Install folder..

Structure:

XPCD

dirs in XPCD: i386, $OEM$, (optional) SUPPORT, VALUEADD and DOCS (maybe CMPNTS?)

FIles in XPCD: WIN51, WIN51IP(or IC on Home Edition), AUTORUN.INF (I deleted mine) and SETUP.EXE (that's crap, I never install in GUI mode anyway).

  • Author

Hi again..

T D:

XPCD Structure:

dirs in XPCD:

FIles in XPCD: WIN51, WIN51IC, AUTORUN.INF, SETUP.EXE, BOOTFONT.BIN, WIN51IC.SP1, win51ic.SP2 and 3 htm-files.

Do i need both SP1 & SP2 ?

bleed:

-i386

-SUPPORT

-VALUEADD

-DOCS

-DOTNETFIX

+$OEM$

-$Docs

-$Progs

-$$

+$1

-Drivers

-Install <-- That one, right ?

Thanks..

-Install <-- That one, right ?
You need to ensure that the "Install" directory is inside the $OEM$ directory, per bledd. The purpose of the $OEM$ directory and OemPreinstall=Yes in WINNT.SIF's [unattended] section is to copy the contents of $OEM$ to the local hard drive. No copy, no worky. You could run the install from CD, but it's a tad more problematic.

More HERE. Follow it to the letter and you should be OK.

$OEM$\$1\Install\Your Stuff Here

Edited by blinkdt

  • Author
Hi again..

I have made a new try..

Now i get M$ Office installed..

But not Winamp and the MSFN Codecs..

runonceex.cmd:

cmdow @ /HID
@echo off

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

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

REG ADD %KEY%\005 /VE /D "Office 2003" /f
REG ADD %KEY%\005 /V 1 /D "%systemdrive%\install\programmer\Office 2003\PRO11.msi /qb" /f

REG ADD %KEY%\010 /VE /D "FrontPage 2003" /f
REG ADD %KEY%\010 /V 1 /D "%systemdrive%\install\programmer\Frontpage\FP11.msi /qb" /f

REG ADD %KEY%\015 /VE /D "Codecs" /f
REG ADD %KEY%\015 /V 1 /D "%systemdrive%\install\codecs\codecs2.6.exe /qb" /f

REG ADD %KEY%\020 /VE /D "Winamp 5" /f
REG ADD %KEY%\020 /V 1 /D "%systemdrive%\install\programmer\winamp521.msi INI=%systemdrive%\install\programmer\winamp5.ini /qn" /f

REG ADD %KEY%\555 /VE /D "Cleaning Up and Rebooting" /f
REG ADD %KEY%\555 /V 1 /D "%systemdrive%\install\cleanup.cmd" /f

EXIT

cleanup.cmd:

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

DEL "%systemroot%\*.bmp"
DEL "%systemroot%\Web\Wallpaper\*.jpg"
DEL "%systemroot%\system32\dllcache\*.scr"
DEL "%systemroot%\system32\*.scr"

DEL "%AllUsersProfile%\Start Menu\Windows Update.lnk"
DEL "%AllUsersProfile%\Start Menu\Set Program Access and Defaults.lnk"
DEL "%AllUsersProfile%\Start Menu\Windows Catalog.lnk"

DEL "%AllUsersProfile%.WINDOWS\Start Menu\Windows Update.lnk"
DEL "%AllUsersProfile%.WINDOWS\Start Menu\Set Program Access and Defaults.lnk"
DEL "%AllUsersProfile%.WINDOWS\Start Menu\Windows Catalog.lnk"

RD /S /Q %systemdrive%\drivers\
RD /S /Q %systemdrive%\install\

EXIT

When i delete the *.scr-files, they are just replaced in same second as they are removed :(

Thanks ;)

Edited by J-Boy

You need setup.htm if you install via upgrade mode. So if you run winnt32.exe basically.

Listen to blinkdt...

Structure of "Install" folder:

<Path_to_xp_source>\$OEM$\$1\Install\

Put O2k3, winamp5.exe etc in here.

Edited by T D

  • Author
You need setup.htm if you install via upgrade mode. So if you run winnt32.exe basically.

I did not have a setup.htm, but its not a upgrade cd i have.

Listen to blinkdt...

Structure of "Install" folder:

<Path_to_xp_source>\$OEM$\$1\Install\

Put O2k3, winamp5.exe etc in here.

Okay, my folder/file structure is like this:

C:\

-XPCDSP2 (= <Path_to_xp_source> right?)

--$OEM$

---$1

----Drivers (still empty)

----Install

-----Codecs

------codecs2.6.exe

-----Programmer

------Frontpage (FP11.MSI and all other files for FP)

------Office2003 (PRO11.MSI and all other files for Office 2003)

------Winamp5.ini

------Winamp521.msi

-----cleanup.cmd

---$$

----System32

-----cmdow.exe

---$Docs

---$Progs

---cmdlines.txt

---runonceex.cmd

--DOCS (2 files = txt & gif)

--DOTNETFX (25 files)

--I386 (6538 files & 163 folders)

--VALUEADD (65 files & 20 folders)

--BOOTFONT.BIN

--WIN51

--WIN51IC

--WIN51IC.SP2

  • Author
Looks good to me ;)

But Winamp and the msfn codec pack, are still not installed :s

I don't see the reason :s Have you any ideas..

Thanks by J-Boy :D

Edited by J-Boy

REG ADD %KEY%\015 /VE /D "Codecs" /f

REG ADD %KEY%\015 /V 1 /D "%systemdrive%\install\codecs\codecs2.6.exe /qb" /f

REG ADD %KEY%\020 /VE /D "Winamp 5" /f

REG ADD %KEY%\020 /V 1 /D "%systemdrive%\install\programmer\winamp521.msi INI=%systemdrive%\install\programmer\winamp5.ini /qn" /f

If im right the codecs pack hasnt got any switches , so no need for the /qb

And as for winamp i see that you use an very old version.

There is a switchless installer for the latest version of Winamp AudioPlayer ver. v5.2.4.703 :

http://www.msfn.org/board/index.php?showtopic=68232&hl=winamp

Good luck...

Edited by muiz

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.