Jump to content

Recommended Posts

Posted

I am trying to install Winrar on my unattended xpcd, but Windows copies a folder called install with a folder inside of it called Winrar to my hard drive but doesn't automatically install Winrar, what could some possible reasons be?

winnt.inf

;SetupMgrTag

[Data]

AutoPartition=1

MsDosInitiated="0"

UnattendedInstall="Yes"

AutomaticUpdates=yes

[unattended]

UnattendMode=FullUnattended

OemSkipEula=Yes

OemPreinstall=yes

TargetPath=\WINDOWS

UnattendSwitch="yes"

WaitForReboot="No"

AutoActivate =Yes

repartition=yes

[GuiUnattended]

AdminPassword=*

EncryptedAdminPassword=NO

OEMSkipRegional=1

TimeZone=35

OemSkipWelcome=1

[Display]

BitsPerPel=32

Xresolution=800

Yresolution=600

AutoConfirm=1

[userData]

ProductKey=

FullName="joe"

OrgName="joe"

ComputerName=*

[TapiLocation]

CountryCode=107

AreaCode=519

[RegionalSettings]

LanguageGroup=15,1

[identification]

JoinWorkgroup=WORKGROUP

[Networking]

InstallDefaultComponents=Yes

RunOnceEx.cmd

@echo off

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

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

REG ADD %KEY%\075 /VE /D "WinRAR 3.40" /f

REG ADD %KEY%\075 /V 1 /D "%systemdrive%\install\Winrar\RAR.exe /s" /f

cmdlines.txt

"RunOnceEx.cmd"


Posted

1.) enable "logging" of ROE - e.g. 080 - reg query RunOnceEx, so you can see what EXACTLY was written inside (I solved problem with reporting using this simple method)

2.) If you run RAR.exe /s, everything works fine?

Posted
1.) enable "logging" of ROE - e.g. 080 - reg query RunOnceEx, so you can see what EXACTLY was written inside (I solved problem with reporting using this simple method)

2.) If you run RAR.exe /s, everything works fine?

I am very new at this, and yes I have read and searched but know I am still doing something wrong. I am just trying to install one program to get the hang of it, to get a better understanding how everything works.

Winrar gets copied to my computer but doesn't install auotmatically.

Posted

Are cmdlines.txt / RunOnceEx.cmd in the $OEM$ folder?

and:

winnt.inf

;SetupMgrTag

[Data] 

is winnt.inf the filename? If yes, try renaming to winnt.sif

As a quick check: did you see a window with title "Installing Applications" on first boot?

Although, if you didn't see it, it may simply have been processed when the welcome screen was shown (which is the case for the first couple of apps in my install). Maybe better to "log" as proposed before

Posted
Are cmdlines.txt / RunOnceEx.cmd in the $OEM$ folder?

and:

winnt.inf

;SetupMgrTag

[Data] 

is winnt.inf the filename? If yes, try renaming to winnt.sif

As a quick check: did you see a window with title "Installing Applications" on first boot?

Although, if you didn't see it, it may simply have been processed when the welcome screen was shown (which is the case for the first couple of apps in my install). Maybe better to "log" as proposed before

[right][post=306971]<{POST_SNAPBACK}>[/post][/right]

Sorry it was a typo, it is winnt.sif and cmlines.txt and RunOnceEx.cmd are both in the $OEM$ folder.

Yes, after Windows reboots, it does come up saying installing Winrar, then says incorrect path or can't find program or something like that.

My file structure is like this

$OEM$ (RunOnceEx.cmd and cmdlines.txt are inside this folder)

==>$$=>SYSTEM32

==>$1=>Install\WinRar

==>$Docs

===>$Progs

$1=>Install\Winrar

I just noticed that I have $1 twice, what is the proper way for this. Please let me know what I need to change to get this to work. thank you

Posted
Are cmdlines.txt / RunOnceEx.cmd in the $OEM$ folder?

and:

winnt.inf

;SetupMgrTag

[Data] 

is winnt.inf the filename? If yes, try renaming to winnt.sif

As a quick check: did you see a window with title "Installing Applications" on first boot?

Although, if you didn't see it, it may simply have been processed when the welcome screen was shown (which is the case for the first couple of apps in my install). Maybe better to "log" as proposed before

[right][post=306971]<{POST_SNAPBACK}>[/post][/right]

Sorry it was a typo, it is winnt.sif and cmlines.txt and RunOnceEx.cmd are both in the $OEM$ folder.

Yes, after Windows reboots, it does come up saying installing Winrar, then says incorrect path or can't find program or something like that.

My file structure is like this

$OEM$ (RunOnceEx.cmd and cmdlines.txt are inside this folder)

==>$$=>SYSTEM32

==>$1=>Install\WinRar

==>$Docs

===>$Progs

$1=>Install\Winrar

I just noticed that I have $1 twice, what is the proper way for this. Please let me know what I need to change to get this to work. thank you

[right][post=307019]<{POST_SNAPBACK}>[/post][/right]

I have looked over the distribution folder setup tutorial again and now have the $1 folder inside of the $OEM$ folder. Do I have to have an OEMfilespath setup in my winnt.sif?

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...