Jump to content

Recommended Posts

Posted (edited)

OK... I guess I'm a complete idiot. (Or have had way too many beers) :icon_rolleyes:

I'm trying to install a DOTNET 3 switchless installer (and other stuff) via runonceex....

The problem I'm having is that the files inside (note E: is my cd rom drive letter) E:\$OEM$\$1\Install\DOTNET\2DNF30.exe is not getting copied to the hard drive and the files inside of E:\$OEM$\$$\Fonts, E:\$OEM$\$$\Resources, & E:\$OEM$\$$\System32 are not either...

The Runonceex window comes up on first boot and say installing apps... But then gives a error that it cannot find the files.... :questionmark:

My cmdlines.txt is inside the $OEM$ folder.... and looks like this...

[COMMANDS]
"RunOnceEx.cmd"

My RunOnceEx.cmd is inside the $OEM$ folder... and looks like this...

cmdow @ /HID
@echo off

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

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

REG ADD %KEY%5 /VE /D "Microsoft Dot Net Framework All In One" /f
REG ADD %KEY%5 /V 1 /D "%systemdrive%\install\DOTNET\2DNF30.exe" /f

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

EXIT

NOTE: The actual filename should be 02DNF30.exe but everytime I put it in there (on this forum) it screws up....

The actual command has the correct filename...

My Cleanup.cmd is inside the E:\$OEM$\$1\Install folder... and looks like this...

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

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

EXIT

So go ahead and tell me that I'm a idiot and tell me where I screwed up....... :confused02:

Any help would be appreciated before I throw this thing out da window!!!!! :icon_rolleyes:

Edited by Makave2345
Posted

Ok.... Been doing some reading........

Does slipstreaming IE7 still "break" runonceex?

If so, that would be my problem.... I have MrDmx's version slipstreamed.......

Also... If this is the case, has anbody figured out a fix for it?

Posted

i use runonce like you do but i have a diferent aproache,i elave all files on cd and run them on location,as for the the ie7 addon, it dosent break runonce,but ive had corrupted addons that have tho.. here's how i run my runonceex:

1st,add cmd via t13 or t12

myrunonceex.cmd>

@Echo Off

FOR %%i IN (D E F G H I J K L M N O P Q R S T U V W X Y Z) DO IF EXIST %%i:\apps\ SET CDROM=%%i:

SET PP=%CDROM%Apps\

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

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


REG ADD %KEY%1 /VE /D "paint dot net v3.10" /f
REG ADD %KEY%1 /V 1 /D "%CDROM%Apps\PDNS.exe" /f
EXIT

you can see that this way,the installer looks for ure opticaldrive (i set it to look for the apps folder)

then evrything is ran via the disc under the "APPS"folder,this way no cleaning up 2 do.

Posted
Check your WINNT.SIF and under the [unattended] part your OEMPreInstall should be set to OEMPreInstall=Yes

This could be another problem..... I have searched the cd in question.....

There is no "WINNT.SIF" file on the disc.......???? :questionmark:

Obviously I have missed something.... But sort of strange the runonceex starts..... It just cant find the programs.....

Although I guess that could explain why my themes and other stuff are not getting installed when supposedly anything

inside the "$$" directory should get copied....

Maybe this is my problem????

Where exactly should the WINNT.SIF file be located and what should be in it?????

Sorry to be such a "dumbass" but when it comes to runonce, i'm completely lost......

Posted

The winnt.sif is found in the i386 folder of your cd. This is used for when installing windows unattendedly. For more info on this see http://unattended.msfn.org/unattended.xp/view/web/19/

The contents of the WINNT.SIF is something like the below.


;SetupMgrTag
[Data]
AutoPartition="No"
UnattendedInstall="Yes"
AutomaticUpdates=yes
MsDosInitiated=No

[Unattended]
UnattendMode="FullUnattended"
OemSkipEula="Yes"
Repartition="NO"
UnattendSwitch="Yes"
WaitForReboot="No"
DriverSigningPolicy=Ignore
NonDriverSigningPolicy=Ignore
TargetPath=WINNT
KeyboardLayout="United Kingdom"
Hibernation="No"
NoWaitAfterTextMode=1
NoWaitAfterGUIMode=1
OemPreinstall=Yes

[GuiUnattended]
AdminPassword="crappypc"
EncryptedAdminPassword="No"
TimeZone=085
OEMSkipRegional=1
OEMSkipWelcome=1

[UserData]
ProductID="XXXXX-XXXXX-XXXXX-XXXXX-XXXXX"
FullName="Graham"
OrgName="a"
ComputerName="HOME"

[Display]
BitsPerPel=32
Xresolution=1280
YResolution=1024
Vrefresh=60
AutoConfirm=1

[TapiLocation]
CountryCode=44
AreaCode=01928

[RegionalSettings]
SystemLocale="0809"
UserLocale="0809"
InputLocale="0809:00000809"
UserLocale_DefaultUser="0809"
InputLocale_DefaultUser="0809:00000809"

[Identification]
JoinWorkgroup=WORKGROUP

[Networking]
InstallDefaultComponents=Yes

[Shell]
CustomDefaultThemeFile="%SystemRoot%\Resources\Themes\Royale Noir.THEME"

[Branding]
BrandIEUsingUnattended=Yes

[URL]
Home_Page="http://www.msfn.org"

[IEPopupBlocker]
AllowedSites=*.netgear.co.uk;*.symantec.com
BlockPopups="Yes"
FilterLevel="Medium"
ShowInformationBar="Yes"

[SystemRestore]
DisableSR=1
CreateFirstRunRp=0

[Components]
DriverCache=OFF
Aspnet=OFF
zonegames=OFF

[GuiRunOnce]
command7="%systemdrive%\music.cmd"
command8="%systemdrive%\RunOnceEx.cmd"
command9="%SystemDrive%\DPsFnshr.exe"

I have my RunOnceEx.cmd run on windows first login and like Bober I have all my Apps install from DVD and not from the HD

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...