Jump to content

Cant get it to work


coleburg

Recommended Posts

Please help

I have just installed xp and the hotfixes seemed to have worked but the applications have not.

I have read the instruction and search and I think its just that I missunderstand them.

I have the I386 folder and in that I have a WINNT.SIF with the following

;SetupMgrTag

[Data]

AutoPartition=0

MsDosInitiated="0"

UnattendedInstall="Yes"

[unattended]

UnattendMode=FullUnattended

OemSkipEula=Yes

OemPreinstall=Yes

TargetPath=\WINDOWS

UnattendSwitch="yes"

[GuiUnattended]

AdminPassword=*

EncryptedAdminPassword=NO

OEMSkipRegional=1

TimeZone=105

OemSkipWelcome=1

[userData]

ProductKey= blar blar blar

FullName="Coleburg"

OrgName=""

ComputerName=Home

[TapiLocation]

CountryCode=46

[RegionalSettings]

LanguageGroup=1

Language=00000809

[identification]

JoinWorkgroup=WORKGROUP

[Networking]

InstallDefaultComponents=Yes

[Components]

msmsgs=off

[GuiRunOnce]

%systemdrive%\install\RunOnceEx.cmd

I then have a folder in the same place as the I386 called $OEM$, in that I have a folder called $1 and in that a folder called install, in that I have a file called RunOnceEx.cmd with the following

cmdow @ /HID

@echo off

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

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

REG ADD %KEY%\047 /VE /D "MSN7" /f

REG ADD %KEY%\047 /V 1 /D "%systemdrive%\apps\MSN7\MSN7.msi /qn" /f

REG ADD %KEY%\080 /VE /D "Kaspersky5" /f

REG ADD %KEY%\080 /V 1 /D "%systemdrive%\install\Kaspersky5\Kaspersky5.exe /S

EXIT

and I also have another folder in there called apps with a folder containg the software of each item mentioned with the same name as the software.

Like I said, I have tried, you have to give me that, but it seems I have gone wrong as these wont install.

Please be kind enough to help me.

Many thanks.

Link to comment
Share on other sites


Right, I have added the cmdlines.txt as mentioned and after xp installed I did see the .cmd flash on the screen but nothing installed.

Please could you have a look at what I have previously done and see if there is a mistake for it not to install the files.

thanks

Link to comment
Share on other sites

no need to reburn reformat

u can test it by simply copying the apps & install folders to your up-and-running system... and starting the runonceex.cmd (or rename cmdlines.txt to *.cmd) by simply clicking on it.

also if you start it through cmd (run in start menu) it won't flash you but tell you what went wrong ;)

let us know the errors that show and solving it will be easy

BTW: u can install ur apps and stuff from the cd, no need to let 'm all copy to your harddisk. u'll have to add a few command to you runonceex and that's it... u can find the info for this somewhere on this forum.

Edited by eben
Link to comment
Share on other sites

This is what I get from running the cmd

E:\New Xp pro 32\$OEM$>[COMMANDS]

'[COMMANDS]' is not recognized as an internal or external command,

operable program or batch file.

E:\New Xp pro 32\$OEM$>"RunOnceEx.cmd"

E:\New Xp pro 32\$OEM$>cmdow @ /HID

'cmdow' is not recognized as an internal or external command,

operable program or batch file.

The operation completed successfully

The operation completed successfully

The operation completed successfully

The operation completed successfully

The operation completed successfully

The operation completed successfully

The operation completed successfully

The operation completed successfully

The operation completed successfully

The operation completed successfully

The operation completed successfully

The operation completed successfully

The operation completed successfully

The operation completed successfully

The operation completed successfully

The operation completed successfully

The operation completed successfully

The operation completed successfully

The operation completed successfully

The operation completed successfully

The operation completed successfully

The operation completed successfully

Value 1 exists, overwrite(Y/N)?

thanks

Link to comment
Share on other sites

First, Coleburg, you cmdlines.txt and your RunOnceEx.cmd should be in the $oem$ folder, NOT in the install folder.

Second, if you haven't downloaded cmdow.exe and placed it in your $$\System32 folder then it won't be there to hide the window. This is mainly cosmetic so you don't have to have it, but if you don't then remove the line "cmdow @ /HID" (or put a REM in from of it) from the RunOnceEx.cmd file.

Third, remove the [GuiRunOnce] lind from your winnt.sif file as you don't need it.

Fourth, in the example you gave with Kaspersky you forgot it put closing " quotes after it.

Fifth, you seem to have two locations (install and apps) with the software you want to install. Consolidate that into one folder and use that folder only.

Sixth, check your RunOnceEx.cmd all they way through for integrity and then execute it. go to the registry and see if everything got put in to the key correctly and and then you can delte all the entries.

Lastly, you need to do some debugging. When you post here you should be using the [ code] tags. Please do so. It will be easier for us to separate out. Thanks. :o)

Link to comment
Share on other sites

heh, i have to thank you as well dondamn ;) i was too lazy to check and think about his config so tried to point him in the right direction to solve his problems himself :whistle:

cheers

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

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