• Announcements

    • xper

      MSFN Sponsorship and AdBlockers!   07/10/2016

      Dear members, MSFN is made available via subscriptions, donations and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. Alternatively, become a site sponsor and ads will be disabled automatically and by subscribing you get other sponsor benefits.
Sign in to follow this  
Followers 0
S1GNZ

First unattended install

3 posts in this topic

Hi all, this is my first post to this forum, I hope you guys would help me.

First things first, I started to make an unattended windows a few days ago for the company I am a stagiair for at the moment. Now I wanted to put my effort in an O/S for personal use. Because I study ICT, I got the knowledge about editing the setup and making bat scripts. Designing stuff isn't too hard because I worked with Photoshop the last 6 years. But... I wouldn't make this thread if I didn't have a problem.

Earlier I said I made an customized O/S for my company I work for, therefor I used a batch command which auto installs a few programs we need to install on the PC's we re-install. The weird thing is, I tested it on a used HDD and it installs without problems.

The codes I used on my company's Customized O/S

settings.txt located in the root of the CD

[user]

users="H@BIT admin"

H@BIT admin.pass=habit1

H@BIT admin.localgroup="Administrators"

Autologin=H@BIT admin

[software]

office.checkPoint="Software\Office"

office.Steps="1"

office.Step.1=""%CDROM%\Software\Office\setup.bat""

Ccleaner.checkPoint="Software\Ccleaner"

Ccleaner.Steps="1"

Ccleaner.Step.1=""%CDROM%\Software\Ccleaner\setup.exe""

Antivir.checkPoint="Software\Antivir"

Antivir.Steps="1"

Antivir.Step.1=""%CDROM%\Software\Antivir\antivir_workstation_winu_en_h.exe""

Nero.checkPoint="Software\Nero"

Nero.Steps="1"

Nero.Step.1=""%CDROM%\Software\Nero\setup.bat""

HitmanPro.checkPoint="Software\HitmanPro"

HitmanPro.Steps="1"

HitmanPro.Step.1=""%CDROM%\Software\Hitmanpro\hitmanpro26.exe""

Reihenfolge="office;Ccleaner;Antivir;Nero;HitmanPro"

winnt.sif located in the I386 folder (serial left blank, due it's the company's license)

[Data]

MsDosInitiated="0"

UnattendedInstall="Yes"

[unattended]

UnattendMode=DefaultHide

FileSystem=*

OemSkipEula=Yes

OemPreinstall=Yes

Repartition=No

WaitForReboot="No"

UnattendSwitch=Yes

[GuiUnattended]

OEMSkipRegional=1

OemSkipWelcome=1

AdminPassword=*

TimeZone=110

[userData]

OrgName="H@BIT Diensten"

ProductKey=XXXXX-XXXXX-XXXXX-XXXXX-XXXXX

[identification]

JoinWorkgroup="WERKGROEP"

[Networking]

InstallDefaultComponents=Yes

[RegionalSettings]

Language=00000413

[setupParams]

UserExecute="WScript.exe %systemroot%\konten.js"

[GuiRunOnce]

wucdcreator="wscript.exe %systemroot%\RunOnceEx.js"

these files are the major changes in the O/S, but the Operating System is working fine though.

--------------

Now here's my customized O/S for home use

settings.txt located in the root of the CD

[software]

in.checkPoint="Software"

in.Steps="1"

in.Step.1=""%CDROM%\Software\inst.bat""

WP.checkPoint="Wallpaper"

WP.Steps="1"

WP.Step.1=""%CDROM%\Wallpaper\install.bat""

Reihenfolge="in;WP"

winnt.sif is the same as the one I used for my company's O/S

My inst.bat, the CMD batch which I'm using for installing my applications

@echo off

IF EXIST D:\$OEM$ set CDROM=D:

IF EXIST E:\$OEM$ set CDROM=E:

IF EXIST F:\$OEM$ set CDROM=F:

IF EXIST G:\$OEM$ set CDROM=G:

IF EXIST H:\$OEM$ set CDROM=H:

IF EXIST I:\$OEM$ set CDROM=I:

IF EXIST J:\$OEM$ set CDROM=J:

IF EXIST K:\$OEM$ set CDROM=K:

%CDROM%

@echo off

title S1GNZ's App Installer

echo Installeer maar 1 virusscanner, anders levert het problemen op in de toekomst!

echo.

goto menu

:menu

echo.

echo Naam van het bestand

echo.

echo

echo.

echo 1 Microsoft Office 2003

echo 2 Nvidia Display Drivers for GeForce 6, 7, 8, and 9 series GPUs

echo 3 Teamviewer 3 (Computer ondersteuning, externe overname etc.)

echo 4 Xfire (Instant Messenger voor Games, chatten ingame)

echo 5 Mozilla Thunderbird (E-mail Client van Mozilla, beter dan outlook ;) )

echo 6 Mozilla Firefox (Web browser van Mozilla)

echo 7 Google Chrome (Web Browser van Google)

echo 8 Windows Live Messenger (Instant Messenger Client)

echo 9 Winamp 5.5.41 (Muziek proggje)

echo 10 K-Lite Mega Codec Pack (Hiermee kun alle video-formaten afspelen =D)

echo 11 Autounpack (Proggje om automatisch archieven uit te pakken)

echo 12 Ccleaner (cleanup utility)

echo 13 Winrar (archief-maker, .RAR, .ZIP etc.

echo 14 Avira Antvir Free edition

echo 15 Kaspersky Anti-Virus 2009 v8.0.0.454 FINAL

echo Als je een key moet selecteren, doe dan importeren van bestand

echo en browser naar de Windows CD\Software\Kaspersky\Keys

echo 16 Ad-Aware Pro 2007

echo na de installatie map

echo 17 Nero 6.6.1.4

echo 18 Newsleecher 3.9

:choice

set /P C=[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18]?

if "%C%"=="1" goto bestand1

if "%C%"=="2" goto bestand2

if "%C%"=="3" goto bestand3

if "%C%"=="4" goto bestand4

if "%C%"=="5" goto bestand5

if "%C%"=="6" goto bestand6

if "%C%"=="7" goto bestand7

if "%C%"=="8" goto bestand8

if "%C%"=="9" goto bestand9

if "%C%"=="10" goto bestand10

if "%C%"=="11" goto bestand11

if "%C%"=="12" goto bestand12

if "%C%"=="13" goto bestand13

if "%C%"=="14" goto bestand14

if "%C%"=="15" goto bestand15

if "%C%"=="16" goto bestand16

if "%C%"=="17" goto bestand17

if "%C%"=="18" goto bestand18

goto choice

:bestand1

start %CDROM%\Software\Office\setup.bat

goto menu

:bestand2

start %CDROM%\Software\175.19_geforce_winxp_32bit_english_whql.exe

goto menu

:bestand3

start %CDROM%\Software\Teamviewer\TeamViewer_Setup_nl.exe

goto menu

:bestand4

start %CDROM%\Software\Xfire\xfire_installer_33914.exe

goto menu

:bestand5

start %CDROM%\Software\Thunderbird\Thunderbird Setup 2.0.0.16.exe

goto menu

:bestand6

start %CDROM%\Software\Firefox\Firefox Setup 3.0.1.exe

goto menu

:bestand7

start %CDROM%\Software\Google\ChromeSetup.exe

goto menu

:bestand8

start %CDROM%\Software\WLM\WLinstaller.exe

goto menu

:bestand9

start %CDROM%\Software\winamp5541\winamp5541_full_emusic-7plus_en-us.exe

goto menu

:bestand10

start %CDROM%\Software\klmcodec\klmcodec417.exe

goto menu

:bestand11

start %CDROM%\Software\Autounpack\AutoUnpack452.exe

goto menu

:bestand12

start %CDROM%\Software\Ccleaner\setup.exe

goto menu

:bestand13

start %CDROM%\Software\winrar\wrar371.exe

goto menu

:bestand14

start %CDROM%\Software\Antivir\antivir_workstation_winu_en_h.exe

goto menu

:bestand15

start %CDROM%\Software\Kaspersky Anti-Virus 2009 v8.0.0.454 FINAL\

goto menu

:bestand16

start %CDROM%\Software\adawarepro2007\aaw2008Pro.exe

goto menu

:bestand17

start %CDROM%\Software\Nero\setup.bat

goto menu

:bestand18

start %CDROM%\Software\Newsleecher_v3.9_incl.keygen\setup.bat

goto menu

:afsluiten

exit

:end

I used 'Windows Unattended CD Creator Beta 1.0' and it worked fine while loading my company's O/S hit settings, but when I load up my O/S for home-use it says

Please insert the next disc for 'inst'

'inst' is pointing at the installation bat, but on my company's O/S it wasn't complaining about CD's. So I thought it was the name of the file, you can see it's called 'inst' now, but originally I called it 'install.bat' but also that wasn't the solution. So I think that's also something that isn't right.

Everytime I try to install the .iso on VMWare it gets stuck at 9minutes with the registry-adding. Now I switched to Nlite, because after some googling I came on this forum and I saw a thread about someone who had the same, and said I needed to disable SFC, and I didn't have this option in "Windows Unattended CD Creator Beta 1.0", so I installed NLite, I clicked 'disable SFC', but it still isn't working. So maybe it's VMWare, you might never know, so I downloaded Virtual PC, and there it gets stuck on 13 minutes with the registry-adding.

Now I'm asking your help, because I can't see where my problem is, if you want any more that I need to explain, or files need to show, please say so and I will.

I thank you guys in advance for even looking and/or replying to this thread

sincerely yours

S1GNZ

0

Share this post


Link to post
Share on other sites

Since no one made a single reply, I see there are more users online right now.

I really need your help, it will be much appreciated.

0

Share this post


Link to post
Share on other sites

I don't like bumping a thread but I don't think I got a choice right now..

0

Share this post


Link to post
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
Sign in to follow this  
Followers 0

  • Recently Browsing   0 members

    No registered users viewing this page.