MSFN Forum: A Newbie Needs Help - MSFN Forum

Jump to content



Unattended CD/DVD Guide Homepage · MSFN Forum Rules

Welcome to the Applications Installs forum. Make sure you read the forum rules before you start posting.

Links/Requests to warez and/or any illegal material (porn, cracks, serials, etc..) will not be tolerated. Discussion of circumventing WGA/activation/timebombs/keygens or any other illegal activity will also not be tolerated.

We try our best to keep this forum clean of illegal content. If you see any illegal activity use the "report" button you find in every post to report the specific post to the moderators. If you ignore any of the rules you will be banned without notice.

Read Forum Rules
Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

A Newbie Needs Help Rate Topic: -----

#1 User is offline   OliverMaltby 

  • Newbie
  • Group: Members
  • Posts: 23
  • Joined: 03-January 05

Posted 21 January 2005 - 01:29 PM

I've been using nLite and have successfully slipstreamed service pack 2 over my 2002 copy of Windows XP, however I don't seem to be as successful when trying to do the same with various apps. I've created all the necessary folders (e.g. $OEM$) which I got the info from http://unattended.ms...tingstarted.htm and followed the various guides on the site to try and silent install apps when Windows is installing although this isn't working as I'm only getting copies of the files on my HD when Windows has been fully installed (e.g. C:\Install\MSN\bootstrap.exe and MsnMsgs.msi). My batch file is called "cmdlines.cmd" and contains the following text:

Quote

CLS
@echo off
TITLE Windows XP SP2 - Unattended Installation

ECHO.
ECHO Over the next few minutes you will see automated installations
ECHO of various sofware applications, windows updates, and registry
ECHO tweaks being implemented. The computer will restart automatically
ECHO once the whole process has finished!

ECHO Installing .NET Framework v1.1
ECHO Please wait...
start /wait %systemdrive%\install\NetFramework\netfx.msi /qb

ECHO.
ECHO Installing MSN Messenger 6.0.0602 Final
ECHO Please wait...
start /wait %systemdrive%\install\MSN\MsnMsgs.msi /QB

ECHO.
ECHO Installing Windows Media Player 10
ECHO Please wait...
start /wait %systemdrive%\install\WMP10\MP10Setup.exe /q:A /c:"setup_wm.exe /Q /R:N /DisallowSystemRestore"

ECHO.
ECHO Installing WinRAR 3.42
ECHO Please wait...
start /wait %systemdrive%\install\Applications\WinRAR\wrar342.exe /s

ECHO.
ECHO Restarting the PC in 1 minute...
shutdown.exe -r -f -t 60 -c "Windows XP will now restart in 1 minute, this will give enough time for the shortcuts to update and for the shell to fully load before its ready to restart!"

ECHO.
ECHO Deleting Temp Installation Files...
RD /S /Q %systemdrive%\Drivers
RD /S /Q %systemdrive%\install

EXIT


I'd assume my batch file is at fault but can't seem to work out where I've gone wrong, if someone could help it would be much appreciated.

Thanks - Oliver.


#2 User is offline   SwedenXP 

  • Member
  • PipPip
  • Group: Members
  • Posts: 226
  • Joined: 28-September 03

Posted 21 January 2005 - 01:37 PM

Could it be a matter of "ECHO" īs :w00t:

Here is a piece of my main_batch.cmd

CLS
@echo off
ECHO.

ECHO Installing IrfanView 3.95
ECHO Please wait...
start /wait %systemdrive%\Install\IrfanView\Iview395.exe /silent /folder="c:\program\irfanview" /desktop=0 /group=1 /allusers=0 /assoc=1
ECHO.

ECHO Installing IrfanView Plugins
ECHO Please wait...
start /wait %systemdrive%\Install\IrfanView\plugins395.exe /silent
ECHO.

ECHO Installing WinRAR 3.42
ECHO Please wait...
start /wait %systemdrive%\install\WinRAR\winrar342.exe /s
ECHO.

EXIT


And the main_batch.cmd is called from the winnt.sif like this

[GUIRunOnce]
    %systemdrive%\Install\main_batch.cmd


/ SwedenXP B)

#3 User is offline   Sunil 

  • Senior Member
  • PipPipPipPip
  • Group: Members
  • Posts: 596
  • Joined: 24-June 03

Posted 21 January 2005 - 01:38 PM

Do you actually call the cmd file, in the winnt.sif script?

Maybe you can post it for us to check, make sure you take your product key out.


Sunil

#4 User is offline   jrf2027 

  • Member
  • PipPip
  • Group: Members
  • Posts: 238
  • Joined: 06-September 04

Posted 21 January 2005 - 01:39 PM

It looks like your install files are getting copied correctly, just that the install processes are not running.

Please post your winnt.sif (MINUS THE PRODUCT KEY!!!!), so that we can see from where your cmdlines.cmd file is being called.

Are you calling it from your winnt.sif? If so, make sure you have the path to cmdlines.cmd correct (i.e. C:\Install\cmdlines.cmd )

#5 User is offline   OliverMaltby 

  • Newbie
  • Group: Members
  • Posts: 23
  • Joined: 03-January 05

Posted 21 January 2005 - 01:46 PM

Quote

Do you actually call the cmd file, in the winnt.sif script?


I've never touched nor heard of the winnit.sif script so I'd assume not. Could you tell me the location of the file and how I could "call the cmd file"?

Thanks - Oliver.

#6 User is offline   SwedenXP 

  • Member
  • PipPip
  • Group: Members
  • Posts: 226
  • Joined: 28-September 03

Posted 21 January 2005 - 01:51 PM

This is the greatest guides of all.

Please read it.

http://unattended.msfn.org/

/ SwedenXP B)

And this forum of course!

#7 User is offline   Sunil 

  • Senior Member
  • PipPipPipPip
  • Group: Members
  • Posts: 596
  • Joined: 24-June 03

Posted 21 January 2005 - 02:09 PM

OliverMaltby, on Jan 21 2005, 03:46 PM, said:

Quote

Do you actually call the cmd file, in the winnt.sif script?


I've never touched nor heard of the winnit.sif script so I'd assume not. Could you tell me the location of the file and how I could "call the cmd file"?

Thanks - Oliver.

soooo, we have gotten somewhere.

Ok, for an unattended install you must have a winnt.sif script on the cd, for windows to install....

The winnt.sif file is located in the i386 folder of your windows cd.

You can then call the cmd file from that script.. below is teh code.

[Guirunonce]
%systemdrive%\install\batch.cmd <-- you should have placed your cmd file here


you can refer to the msfn unattended site for info.

#8 User is offline   OliverMaltby 

  • Newbie
  • Group: Members
  • Posts: 23
  • Joined: 03-January 05

Posted 21 January 2005 - 02:16 PM

Thanks for all your help, I've edited the Winnit.sif file and will try to see if it works tonight. I'll post tomorrow about my success :D

- Oliver.

#9 User is offline   OliverMaltby 

  • Newbie
  • Group: Members
  • Posts: 23
  • Joined: 03-January 05

Posted 22 January 2005 - 02:59 AM

Ok, I've managed to get it working (thanks to all of you). Now I just have to try and figure out how to get the process to work with aol :lol:

#10 User is offline   Sunil 

  • Senior Member
  • PipPipPipPip
  • Group: Members
  • Posts: 596
  • Joined: 24-June 03

Posted 22 January 2005 - 07:58 PM

good to hear

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy