Hi,

isn't using username+password enough for that part to simply access the
network share? And it would be easier to create a non-domain share
simply for unattended installs (makes more sense anyway, you shouldn't
want the setup/install process to be to complicated)

I've attached my own unattended.txt file, it includes answers to the
initial questions and works like a charm. Since its generated
dynamically from a webinterface, it contains some substitution chars
that you'll have to fill in using a little imagination :)
The pre_ntinstall stuff is not supported in the regular unattended
scripts to you should delete that line.

regards
 - Harm

On Sat, 2009-03-07 at 14:06 +1100, Chip Panarchy wrote:
> The only unattended.txt that I could find, is the following;
> 
> ; General user information
> [UserData]
> 
> [GuiUnattended]
>     ; See <http://unattended.sourceforge.net/timezones.html>
>     TimeZone=35
>     OEMSkipRegional=1
>     OemSkipWelcome=1
> 
> [Unattended]
>     DriverSigningPolicy=Ignore
>     UnattendMode=DefaultHide
>     FileSystem=ConvertNTFS
>     ExtendOemPartition=1
>     OemSkipEula=Yes
>     OemPreinstall=Yes
>     ; Needed for XP - see <http://support.microsoft.com/?kbid=294801>.
>     UnattendSwitch=Yes
> 
> [Components]
>     ; Install IIS by default
>     iis_common=On
>     iis_inetmgr=On
>     iis_www=On
>     ; Docs suggest iis_pwmgr only works on Win2k, but include it
>     ; anyway
>     iis_pwmgr=On
>     ; Include docs
>     iis_doc=On
> 
> [Data]
>     AutoPartition=1
>     MsDosInitiated="0"
>     UnattendedInstall=Yes
> 
> [Display]
>     BitsPerPel=32
>     Xresolution=1024
>     YResolution=768
>     Vrefresh=75
> 
> [LicenseFilePrintData]
>     AutoMode=PerServer
>     AutoUsers=5
> 
> [Networking]
>     InstallDefaultComponents=Yes
> 
> [NetOptionalComponents]
>     ; Install Print Services for UNIX
>     LPDSVC=1
> _____________
> 
> I don't see anything referring to the actual setup prompts for access
> to Network Shares in the above unattended.txt.
> 
> Please explain what you were referring to, as I am referring to
> simplifying ONLY the prompts area of Unattended.
> 
> Thanks,
> 
> Chip D. Panarchy
> 
> On Sat, Mar 7, 2009 at 12:55 AM, Harm <[email protected]> wrote:
> >
> > I am referring to unattended.txt, the answers file. It has the power to
> > answer all questions beeing asked during Windows setup and even the
> > questions asked on forehand by the unattended-setup (the linux
> > preparation part, before nt5x-install or that dosbased stuff loads)
> >
> > regards
> >  -Harm
> >
> > On Sat, 2009-03-07 at 00:45 +1100, Chip Panarchy wrote:
> >> Hello
> >>
> >> Thank you for your reply.
> >>
> >> I don't understand what you mean, I was referring to the Unattended
> >> script, as well as the 'script-less unattended'.
> >>
> >> Please confirm your meaning.
> >>
> >> Panarchy
> >>
> >> On Fri, Mar 6, 2009 at 6:43 PM, Harm <[email protected]> wrote:
> >> > Hello,
> >> >
> >> > why not use an unattended script to completely bypass all those silly
> >> > questions in the first place?
> >> >
> >> > regards,
> >> >
> >> >  - Harm
> >> >
> >> > On Fri, 2009-03-06 at 14:08 +1100, Chip Panarchy wrote:
> >> >> Hello
> >> >>
> >> >> I have some ideas, which I am sure that others would benefit from. My
> >> >> ideas should thoroughly streamline the Unattended project. Here are
> >> >> the comparisons, between what it currently is, and what it would look
> >> >> like when streamlined.
> >> >>
> >> >> ####################
> >> >> ===================
> >> >> ####################
> >> >>
> >> >> 1___________________
> >> >> Current script file;
> >> >>
> >> >> CHOICE /C:YN /T:N,5 Override bootdisk defaults (if unsure, say yes)
> >> >> if errorlevel 2 goto gotcreds
> >> >> echo Enter location of install share (default %Z_PATH%):
> >> >> nset INPUT=$0
> >> >> if not %INPUT%. == . set Z_PATH=%INPUT%
> >> >> echo Enter username for mapping install share (default %Z_USER%):
> >> >> nset INPUT=$0
> >> >> if not %INPUT%. == . set Z_USER=%INPUT%
> >> >> echo Enter password for mapping install share (default %Z_PASS%):
> >> >> nset INPUT=$0
> >> >> if not %INPUT%. == . set Z_PASS=%INPUT%
> >> >> set INPUT=
> >> >>
> >> >> 2_______________________
> >> >> Streamlined script file;
> >> >>
> >> >> CHOICE /C:YNX /T:N /X:P,5 Override bootdisk defaults (if unsure, say 
> >> >> yes)
> >> >> # Note: This should make the when typing X, it should go to FreeDOS 
> >> >> prompt.
> >> >>
> >> >> Computer_Name=
> >> >> Server_Name=
> >> >> Share_Name=
> >> >> User_Name=
> >> >> Password=
> >> >> #########################
> >> >> # All others under here #
> >> >> #########################
> >> >>
> >> >> 1_______________
> >> >> Current prompts;
> >> >>
> >> >> Override bootdisk defaults (if unsure, say yes) Y/N:
> >> >> Enter location of install share:
> >> >> Enter username for mapping install share:
> >> >> Enter password for mapping install share:
> >> >>
> >> >> 2______________________
> >> >> Fully Featured prompts;
> >> >>
> >> >> Override bootdisk defaults (if unsure, say yes) Y/N/X:
> >> >> Please enter computer name: #
> >> >> Please enter Server name: #
> >> >> Please enter Share name: #
> >> >> Please enter User name: #
> >> >> Please enter Password: #
> >> >> Confirm Password: #
> >> >>
> >> >> ####################
> >> >> ====================
> >> >> ####################
> >> >>
> >> >> Please try and streamline your project in the aforementioned way.
> >> >>
> >> >> Thanks in advance,
> >> >>
> >> >> Chip D. Panarchy
> >> >>
> >> >> ------------------------------------------------------------------------------
> >> >> Open Source Business Conference (OSBC), March 24-25, 2009, San 
> >> >> Francisco, CA
> >> >> -OSBC tackles the biggest issue in open source: Open Sourcing the 
> >> >> Enterprise
> >> >> -Strategies to boost innovation and cut costs with open source 
> >> >> participation
> >> >> -Receive a $600 discount off the registration fee with the source code: 
> >> >> SFAD
> >> >> http://p.sf.net/sfu/XcvMzF8H
> >> >> _______________________________________________
> >> >> unattended-info mailing list
> >> >> [email protected]
> >> >> https://lists.sourceforge.net/lists/listinfo/unattended-info
> >> >
> >> >
> >
> >
[_meta]
    pre_ntinstall_cmd = "wget -q -O /dev/null 
http://%OSINSTHOSTNAME%/code-%CODE%-starting";
    post_ntinstall_cmd = "wget -q -O /c/netinst/setup.bat 
http://%OSINSTHOSTNAME%/code-%CODE%-finished";
    OS_media="Z:\os\%OSVERSION%"
    OS_dir="Z:\os"
    fdisk_lba=1
    fdisk_cmds="fdisk /clear 1;fdisk /pri:8192;fdisk /pri:2048 /spec:7;fdisk 
/pri:100,100 /spec:7;fdisk /activate:1"
;    fdisk_cmds="fdisk /clear 1;fdisk /pri:50,100;fdisk /activate:1"
    fdisk_confirm=0
    format_cmd="format /y /z:seriously /q /u /a /v: c:"    
    replace_mbr=1
    top=base.bat
    middle=""
    bottom=c:\netinst\setup.bat
    local_admins=""
    ntp_servers="pool.ntp.org"
    edit_files=0

[GuiRunOnce]
    Command0 = "C:\netinst\mapznrun.bat C:\netinst\postinst.bat"

[GuiUnattended]
    AdminPassword="%ROOTPASSWORD%"
    EncryptedAdminPassword=NO
    AutoLogon=Yes
    AutoLogonCount=1
    OEMSkipRegional=1
    TimeZone=110
    OemSkipWelcome=1

[shell]
    DefaultThemesOff = yes
    DefaultStartPanelOff = Yes

[TerminalServices]
    AllowConnections = 1
    ApplicationServer = 1

[Unattended]
    UnattendMode=FullUnattended
    DriverSigningPolicy=Ignore
    FileSystem=ConvertNTFS
    ExtendOemPartition=1
    OemSkipEula=Yes
    OemPreinstall=Yes
    UnattendSwitch=Yes
    Repartition=Yes
    Size1=8192
    PartitionType1=primary
    Filesystem1=NTFS
    QuickFormat1=yes

[Data]
    AutoPartition=0
    MsDosInitiated="0"
    UnattendedInstall=Yes

[UserData]
    ProductKey="VWKR2-B2VQB-3MGC2-XC84B-DXXWG"
    FullName=" "
    OrgName=" "
    ComputerName=%HOSTNAME%

[WindowsFirewall]
    Profiles=WindowsFirewall.Standard

[WindowsFirewall.Standard]
    Type = 1
    Mode = 1
    Exceptions = 1
    PortOpenings = WindowsFirewall.RDP

[WindowsFirewall.RDP]
    Protocol= 6
    Port = 3389
    Name = MS-RDP
    Mode = 1
    Scope = 1

[Display]
    BitsPerPel=16
    Xresolution=1024
    YResolution=768
    AutoConfirm = 1

[LicenseFilePrintData]
    AutoMode=PerServer
    AutoUsers=5

[TapiLocation]
    CountryCode=31
    AreaCode=020

[RegionalSettings]
    LanguageGroup=2,1

[Identification]
    JoinWorkgroup=%DOMAIN%

[Networking]
    InstallDefaultComponents=Yes

[NetAdapters]
    %NIC%=params.%NIC%

[params.%NIC%]
    INFID=*

[NetClients]
    MS_MSClient=params.MS_MSClient

[NetServices]
    MS_SERVER=params.MS_SERVER

[NetProtocols]
    MS_TCPIP=params.MS_TCPIP

[params.MS_TCPIP]
    DNS=No
    UseDomainNameDevolution=No
    EnableLMHosts=Yes
    AdapterSections=params.MS_TCPIP.%NIC%

[params.MS_TCPIP.%NIC%]
    SpecificTo=%NIC%
    DHCP=%BOOTPROTO%
    IPAddress=%IP%
    SubnetMask=%SUBNETMASK%
    DefaultGateway=%GATEWAY%
    DNSServerSearchOrder=%NAMESERVERS%
    WINS=No
    NetBIOSOptions=0

[Components]
    iis_common = Off
    iis_inetmgr = Off
    iis_www = Off
    iis_pwmgr = Off
    iis_doc = Off
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
unattended-info mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/unattended-info

Reply via email to