BlueFlame Posted March 4, 2005 Share Posted March 4, 2005 Question:how can i make my script work during unattended install?I use a KiXtart script (see www.KiXtart.org for more info on the KiX languige) to handle the user adding part.I use two methods in the script:1 unattended2 user input requiredmethod 1: The script looks for a file on the D:\ drive of the system with the extention .con. If such a file is found, it uses the file name to automattically create a useraccount. If no .con file is found, script goes to method 2.Method 2: Script prompts for number of accounts to create, name's of the accounts to create and finaly the system name and comment.Problem:Script never execute's Method 2 while run in unattended install.Description:Script runs perfectly if i execute it now, even method 2 works, so the script is ok!When called from the cmdlines.txt file or from the WINNT.sif's DetachedProgram, it refuses to show the prompt for user input (method 2).Am i calling the script at the wrong time or whith the wrong method?cmdlines.tct:[COMMANDS]"install.cmd""useraccounts.cmd"useraccounts.cmd:start /wait %systemdrive%\Install\kix32.exe %systemdrive%\Install\addusers.kixwinnt.sif:;SetupMgrTag[Data] AutoPartition=0 MsDosInitiated="0" UnattendedInstall="Yes"[Unattended] UnattendMode=FullUnattended OemSkipEula=Yes OemPreinstall=Yes TargetPath=\WINDOWS FileSystem = ConvertNTFS Repartition=No UnattendSwitch=Yes WaitForReboot=No OemPnPDriversPath="Drivers\SIS\VGA;Drivers\Sweex\Wireless\PCICard;Drivers\Realtek\LAN;Drivers\VIA\Sound;Drivers\3Com\3C90x" DriverSigningPolicy=Ignore[GuiUnattended] AdminPassword=*encrypted* EncryptedAdminPassword=Yes OEMSkipRegional=1 TimeZone=110 OemSkipWelcome=1 DetachedProgram="%systemdrive%\Install\KIX32.exe addusers.kix" [Display] BitsPerPel=16 Xresolution=1024 YResolution=768[UserData] ProductKey=**************** FullName="." OrgName="." ComputerName="newinstall"[Branding] BrandIEUsingUnattended=Yes[URL] Home_Page=www.google.nl[Proxy] Proxy_Enable=0 Use_Same_Proxy=1[Identification] JoinWorkgroup=ATOOMNET[Networking] InstallDefaultComponents=No[NetAdapters] Adapter1=params.Adapter1[params.Adapter1] INFID=*[NetClients] MS_MSClient=params.MS_MSClient[NetServices] MS_SERVER=params.MS_SERVER[NetProtocols] MS_TCPIP=params.MS_TCPIP MS_NWIPX=params.MS_NWIPX[params.MS_TCPIP] DNS=No UseDomainNameDevolution=No EnableLMHosts=Yes AdapterSections=params.MS_TCPIP.Adapter1[params.MS_TCPIP.Adapter1] SpecificTo=Adapter1 DHCP=Yes DNSServerSearchOrder=62.45.46.46,62.45.45.45 WINS=No NetBIOSOptions=0[params.MS_NWIPX] VirtualNetworkNumber=00000000 AdapterSections=params.MS_NWIPX.Adapter1[params.MS_NWIPX.Adapter1] SpecificTo=Adapter1 PktType=0xFF NetworkNumber=00000000[GuiRunOnce] "%systemdrive%\Install\unatapps.cmd >> C:\Unatapps.log 2>&1"Script is attached for info reasons, the error is not in the script.Any help would be greatly appreciated.addusers.kix.txt Link to comment Share on other sites More sharing options...
BlueFlame Posted March 4, 2005 Author Share Posted March 4, 2005 Hmmm... there'a a typo in the former post.I now get a msdos box poping up, but the text that the script echo's is gone. (like it's being redirected to a log file or something) Is this something that can be turned off? (like using another switch at UnattendMode?) Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now