Jump to content

Help with installation


wnr

Recommended Posts

Ok i have made my unattended cd, Windows XP PRO with SP2 slipstreamed, but when i test it, it doesnt skip the part where you enter your serial, which im not really bothered about, but the main thing is when it starts up i want it to install the programs i have put into it.

I want this to show up, but it doesnt. my programs dont get installed but only get put into c:\install\.

runonceex.gif

Can anyone help me?

Here are my winnt.sif and runonceex.cmd files

;SetupMgrTag
[Data]
   AutoPartition=1
   MsDosInitiated="0"
   UnattendedInstall="Yes"

[Unattended]
   UnattendMode=FullUnattended
   OemSkipEula=Yes
   OemPreinstall=No
   TargetPath=\WINDOWS
   OemPreinstall=Yes
   UnattendSwitch="yes"

[GuiUnattended]
   AdminPassword=*
   EncryptedAdminPassword=NO
   OEMSkipRegional=1
   TimeZone=85
   OemSkipWelcome=1

[UserData]
   ProductKey=XXXXX-XXXXX-XXXXX-XXXXX-XXXXX
   FullName="Name"
   OrgName="Company"
   ComputerName=COMP

[Display]
   BitsPerPel=32
   Xresolution=800
   YResolution=600
   Vrefresh=70

[RegionalSettings]
   LanguageGroup=1
   Language=00000809

[Identification]
   JoinWorkgroup=WORKGROUP

[Networking]
   InstallDefaultComponents=Yes

[Components]
    msmsgs=off
    msnexplr=off
    freecell=off
    hearts=off
    minesweeper=off
    pinball=off
    solitaire=off
    spider=off
    zonegames=off

[GuiRunOnce]
   %systemdrive%\RunOnceEX.cmd

And heres the batch file:

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 "Installing Ad-aware SE Professional" /f
REG ADD %KEY%\005 /V 1 /D "%systemdrive%\Install\Applications\Ad-Aware\Ad-Aware.SE.Pro.v1.05.exe" /f

REG ADD %KEY%\015 /VE /D "Installing Alcohol 120%" /f
REG ADD %KEY%\015 /V 1 /D "%systemdrive%\Install\Applications\Alcohol_120%\Alcohol120%_Setup.exe" /f

REG ADD %KEY%\025 /VE /D "Installing AnyDVD" /f
REG ADD %KEY%\025 /V 1 /D "%systemdrive%\Install\Applications\AnyDVD\AnyDVD_Setup.exe" /f

REG ADD %KEY%\030 /VE /D "Installing CloneDVD" /f
REG ADD %KEY%\030 /V 1 /D "%systemdrive%\Install\Applications\CloneDVD\CloneDVD_Setup.exe" /f

REG ADD %KEY%\035 /VE /D "Installing **** NFO Viewer" /f
REG ADD %KEY%\035 /V 1 /D "%systemdrive%\Install\Applications\DamnNFO_Viewer\DAmnNFO_Viewer.exe" /f

REG ADD %KEY%\037 /VE /D "Installing Diskeeper 9" /f
REG ADD %KEY%\037 /V 1 /D "%systemdrive%\Install\Applications\Diskeeper\DiskeeperProfessional9.exe" /f

REG ADD %KEY%\040 /VE /D "Installing Fraps" /f
REG ADD %KEY%\040 /V 1 /D "%systemdrive%\Install\Applications\Fraps\Fraps.exe" /f

REG ADD %KEY%\047 /VE /D "Installing MSN Messenger 7" /f
REG ADD %KEY%\047 /V 1 /D "%systemdrive%\Install\Applications\MSN\MsnMsgs.msi" /f

REG ADD %KEY%\050 /VE /D "Installing StyleXP" /f
REG ADD %KEY%\050 /V 1 /D "%systemdrive%\Install\Applications\StyleXP\StyleXP.org" /f

REG ADD %KEY%\053 /VE /D "Installing WinAMP" /f
REG ADD %KEY%\053 /V 1 /D "%systemdrive%\Install\Applications\WinRAR\winamp504_full.exe" /f

REG ADD %KEY%\055 /VE /D "Installing WinRAR 3.4" /f
REG ADD %KEY%\055 /V 1 /D "%systemdrive%\Install\Applications\WinRAR\wrar340.exe" /f

REG ADD %KEY%\060 /VE /D "Installing WinZIP" /f
REG ADD %KEY%\060 /V 1 /D "%systemdrive%\Install\Applications\WinZIP\SETUP.exe" /f

REG ADD %KEY%\065 /VE /D "Installing Windows Media Player 10" /f
REG ADD %KEY%\065 /V 1 /D "%systemdrive%\Install\Applications\WMP10\MP10Setup.exe /q:A /c:\"setup.wm.exe /Q /R:N /DisallowSystemRestore\"" /f

REG ADD %KEY%\070 /VE /D "Installing Microsoft Office XP"
REG ADD %KEY%\070 /V 1 /D "$systemdrive%\install\Applications\OfficeXP\PRO11.msi TRANSFORMS=%systemdrive%\install\Applications\OfficeXP\Unattended.MST /qb-" /f

REG ADD %KEY%\0 /VE /D "Importing Registry Tweaks" /f
REG ADD %KEY%\075 /V 1 /D "REGEDIT /S %systemdrive%\install\registry.reg" /f

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


EXIT

Hope someone can help me with this. :}

Im new to this so if theres anything wrong with these then please tell me.

Link to comment
Share on other sites


yeah i have a cmdlines.txt next the the batch file with

[COMMANDS]
"RunOnceEx.cmd"

Also i have this cmdlines and runonceex.cmd in the $oem$ folder, does it have to be somewhere specific?

Link to comment
Share on other sites

Under the unattended section of your winnt file you have OemPreinstall listed twice once with no and the second with yes. This needs to be set to yes and only once.

[Unattended]
   UnattendMode=FullUnattended
   OemSkipEula=Yes
   OemPreinstall=No
   TargetPath=\WINDOWS
   OemPreinstall=Yes
   UnattendSwitch="yes"

Yes and you have them where they should be.
Also i have this cmdlines and runonceex.cmd in the $oem$ folder, does it have to be somewhere specific?

Hope this helps...

Link to comment
Share on other sites

According to Microsoft ProductKey is the new prefered method for this not ProductID. I have no problems with it using ProductKey.

Try leaving it as ProductKey but wrapping it with "quotes"

Eg ProductKey="XXXXX-XXXXX-XXXXX-XXXXX-XXXXX"

The reason why you stop at the serial is because you use

ProductKey=XXXXX-XXXXX-XXXXX-XXXXX-XXXXX

Try using

ProductID=XXXXX-XXXXX-XXXXX-XXXXX-XXXXX

This should fix your serial problem

Link to comment
Share on other sites

Well it works perfectly now, thanks :thumbup

But theres one other thing, when it was installing the programs there installers came up and i had to actually install them myself, rather than it doing it automatically,(or is that silently) How would i go about doing this?

Link to comment
Share on other sites

hmm can you direct me to where i can find them?

Also when it came to install office, it came up with an error, i cant remeber what it said but i think its got to do with the

REG ADD %KEY%\070 /VE /D "Installing Microsoft Office XP" 
REG ADD %KEY%\070 /V 1 /D "$systemdrive%\install\Applications\OfficeXP\PRO11.msi TRANSFORMS=%systemdrive%\install\Applications\OfficeXP\Unattended.MST /qb-" /f

Link to comment
Share on other sites

You only have command line switches for WMP and Office.

Check out the applications section of of unattended.msfn.org for some of the more popular ones.

Also you can check the Application Switches Thread. This topic has alot of good ones Application Switches.

Please feel free to reply or pm if there anr any you can't find or don't work correctly.

Thanks

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...