Jump to content

Recommended Posts

Posted

Can someone tell me why this does not run correctly?


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

[Unattended]
UnattendMode=FullUnattended
OemSkipEula=Yes
OemPreinstall=yes
unattendswitch=yes
TargetPath=\WINDOWS

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

[UserData]
ProductKey=xxxxxxxxxxxxxxxxx
FullName="xxxx"
OrgName="xxxx"
ComputerName=
[Display]
BitsPerPel=32
Xresolution=1024
YResolution=768
Vrefresh=75

[RegionalSettings]
LanguageGroup=1
Language=00000809

[Identification]
JoinWorkgroup=WORKGROUP

[Networking]
InstallDefaultComponents=Yes

[GuiRunOnce]




RunOnceEx

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 "ISOBuster 1.4" /f
REG ADD %KEY%\005 /V 1 /D "%systemdrive%\install\IsoBuster14.exe /VERYSILENT /SP-" /f

REG ADD %KEY%\010 /VE /D "Windows Media Player 10" /f
REG ADD %KEY%\010 /V 1 /D "%systemdrive%\install\WMP10\MP10Setup.exe /q:A /c:\"setup_wm.exe /Q

/R:N /DisallowSystemRestore\"" /f

REG ADD %KEY%\015 /VE /D "ZoneAlarm Free 3.7.202" /f
REG ADD %KEY%\015 /V 1 /D "%systemdrive%\install\ZoneAlarm\zasetup37_202.exe /s /noreboot" /f

REG ADD %KEY%\020 /VE /D "Lavasoft Ad-Aware 6 Build 181" /f
REG ADD %KEY%\020 /V 1 /D "%systemdrive%\install\AdAware\aaw6181.exe /s" /f

REG ADD %KEY%\025 /VE /D "Adobe Reader 6" /f
REG ADD %KEY%\025 /V 1 /D "%systemdrive%\install\AdobeReader6\AdbeRdr60_enu_basic.exe -p"-s

/v\"/qn\" /f

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

EXIT


Posted

Can you tell me the console output?

@ECHO OFF &SETLOCAL
>$T_.CMD ECHO/@SET %%1=%%RANDOM%%
CALL $T_.CMD V
ECHO/%V% &&DEL $T_.CMD

:P

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