Jump to content

zxfiles

Member
  • Posts

    7
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    United States

Everything posted by zxfiles

  1. Anyone know how to incorporate the 2.0 Service Pack (NETCFSetupv2.msi)? I can't seem to get it to merge. Any help would be greatly appreciated.
  2. Thanks for the tip. I didn't even think to try that. In order to conserve my cds, I just used a floppy for the sif file. The removal didn't seem to help. It creates the RAW partition and proceeds to format, but it appears to be the quick format as it only takes ~5 seconds and jumps from 0 to 20% to 100%. I hope I implemented the floppy correctly. If I understand correctly, I can create any winnt.sif file and put it on a floppy and it will take precedence over the winnt.sif on the install cd. Correct? Edit Hold the phone...I just stumbled on to something in my Google searching. Apparently there is a command called "WipeDisk = Yes" that can be added to the disk config area. Not sure if this is what I need, so I'll investigate further. I would appreciate more comments on this topic if you happen to know the best way possible. Thanks. Update Well, the WipeDisk=Yes didn't appear to be what I want. I tried it in my sif file and no change. Keep in mind I'm editing a floppy based sif file and not the one on the disc. So, I hope the install is grabbing the floppy version.
  3. I've been editing my winnt.sif file to try and format the drive automatically to NTFS. I've used the code I found on here: [DiskConfig] Disk1="Disk1.config" [Disk1.config] Size1="*" PartitionType1="primary" FileSystem1="ntfs" Quickformat1="yes" This is the way I've seen it. So I thought changing the Quickformat1 to "no" would solve it, but it doesn't. On an 80GB hard drive it takes about 5 seconds to format. The progress bar jumps to 20% done and then about 2 seconds later jumps to 100% and starts copying files over. I know during a manual install of XP Pro, you get the option of performing a full format or a quick format. I want to perform the more exhaustive format, but I just can't figure out what the switch is. Thanks for the help. I did search for this, but my results only turned up quick formats.
  4. Ok, I wanted to report back with my new findings. Thanks to the information erik_demon provided I was able to get the files to copy over without problem. Great! However, my batch file doesn't seem to run, but I am inclined to think something else is going on, because I don't think the install is logging on one time like I specified in the sif file. The sif file remains unchanged from the original post above. Here is the contents of the registry file: regedit /s regtweaks.reg > regtweaks.txt Something simple. The reg file is located in the same directory as the batch file. As you can see I also had it create a logfile so I can see the result, if it runs. I can confirm these files get copied during the install, but it doesn't run. Did I mess up somewhere with the automatic logon? Thanks for the help.
  5. Ah, I see. Thanks for the help. BTW, I got your PM earlier and it was extremely helpful. Sorry for never responding. As you can see, I'm still figuring out some bugs before I get to the custom winnt.sif floppy creation point. Edit: Thanks for the tip. I actually had $1 to begin with, but then tried C after $1 didn't appear to work. Now that I know the problem I'll go back to that. I probably would have just left it at C so thanks for the reminder.
  6. I'm new to this, but I have most of the unattended install working. I've got all the basic like serial key, computer name, formatting/converting to NTFS, things like that. However, if I want to run a batch file after installing and copy files to the computer and make registry tweaks these don't work. BTW, I'm using MS Virutal PC 2004 to test my iso's. I have OemPreinstall set to yes. My directory structure is like so...\I386\$OEM$\C\firstrun. Inside the firstrun folder I have the batch file and registry file as well as a couple of folders containing files I want copied over. Am I missing something obvious somewhere in my sif file? Here is the winnt.sif code: ;SetupMgrTag [Data] AutoPartition=1 MsDosInitiated="0" UnattendedInstall="Yes" [Unattended] UnattendMode=FullUnattended Repartition=Yes FileSystem=ConvertNTFS OemSkipEula=Yes OemPreinstall=Yes UnattendSwitch=Yes TargetPath=\WINDOWS [GuiUnattended] AdminPassword=<removed> EncryptedAdminPassword=Yes OEMSkipRegional=1 TimeZone=20 OemSkipWelcome=1 AutoLogon=Yes AutoLogonCount=1 [UserData] ProductKey=<removed> FullName="xxxxx" OrgName="xxxxx" ComputerName=xxxxx [Components] msnexplr=Off zonegames=Off OEAccess=Off [URL] Home_Page=xxxxx [Identification] JoinWorkgroup=WORKGROUP [Networking] InstallDefaultComponents=No [RegionalSettings] LanguageGroup=1 Language=00000409 [IEPopupBlocker] AllowedSites=xxxxx [Branding] BrandIEUsingUnattended=Yes [Proxy] Proxy_Enable=0 Use_Same_Proxy=0 [NetAdapters] Adapter1=params.Adapter1 [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.Adapter1 [params.MS_TCPIP.Adapter1] SpecificTo=Adapter1 DHCP=Yes DNSServerSearchOrder=<removed> WINS=No NetBIOSOptions=0 [params.Adapter1] INFID=* [GuiRunOnce] %systemdrive%\firstrun\firstrun2.bat When I run this, it doesn't appear to ever logon one time, because as soon as I manually logon it gives me an error saying it can run the batch file because it isn't there. It isn't there, because the files were not copied over. Thanks for the help.
  7. First time poster, because I was looking to do this same task. My plans may differ a little from the original poster. What I'm wanting to do is have the user prompted for some pre-install questions that will edit the winnt.sif file with the appropriate changes. For example, here at the university we use static IPs instead of DHCP. So, having the network settings installed automatically doesn't work too well. I would like to ask the user if he knows the IP address he will be using at the install that day and then it will add it to the winnt.sif file. Make sense? This would help a lot in the network based tasks, because then everything would be configured and I could perform other tasks such as joining the domain and calling install points for Office 2003. As it stands now, I have to install XP under the default workgroup settings with no static IP and configure all of that when the installation completes. After which, I can then perform the network tasks mentioned above. It's not too much of a pain, but I would like to automate as much as possible. Thanks. Edit I realize that by doing this, I lose the ability to put the winnt.sif file on the install cd. I would think I would need a boot floppy of some kind that ran a batch file prompting for the answers which in turn would edit the sif file on the floppy.
×
×
  • Create New...