Jump to content


  • Posts

  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    United States

Everything posted by dramaley

  1. I am trying to install the GIMP as part of my unattended CD. It installs just fine, but graphics files are not associated with it. Here is the section of my RunOnceEx.cmd that installs it: REG ADD %KEY%\045 /VE /D "GTK+ 2.6.7" /f REG ADD %KEY%\045 /V 1 /D "%SystemDrive%\Install\Gimp\gtk+-2.6.7-setup-1.exe /verysilent /loadinf=\"%SystemDrive%\Install\Gimp\gtk+-2.6.7.inf\"" /f REG ADD %KEY%\046 /VE /D "The GIMP 2.2.7" /f REG ADD %KEY%\046 /V 1 /D "%SystemDrive%\Install\Gimp\gimp-2.2.7-i586-setup.exe /verysilent /loadinf=\"%SystemDrive%\Install\Gimp\gimp-2.2.7.inf\"" /f REG ADD %KEY%\047 /VE /D "GIMP Help files" /f REG ADD %KEY%\047 /V 1 /D "%SystemDrive%\Install\Gimp\gimp-help-2-0.8-setup.exe /verysilent /loadinf=\"%SystemDrive%\Install\Gimp\gimp-help-2-0.8.inf\"" /f Has anyone else done this and been successful at associating files with the GIMP in an unattended install? My gimp-2.2.7.inf looks like this: [Setup] Lang=en Dir=C:\Program Files\GIMP-2.0 Group=GIMP NoIcons=0 Components=base,ft The .inf was created in the standard way by running this on a clean machine: gimp-2.2.7-i586-setup.exe /saveinf=".\gimp-2.2.7.inf" During that install i did select file associations, but they did not seem to be saved to the inf and i don't know what to add to the inf (if anything can be added) to fix it. If anyone can help me figure out how to get file associations working, that would be great!
  2. Just for another data point, i installed nLite 1.0b4 today and built another CD using the Last Session i posted previously in this thread. The problem with sysprep still exists; the process is interrupted by the c_20127.nls error. Any chance of getting this fixed in the next beta? I'm ready to roll my nLite'd XP installation out to the roughly 100 machines that i administer, but can't do it until the c_20127 problem is gone.
  3. Sorry i didn't get back to this thread until today. I'm attaching my sysprep.inf file, after cleansing it of passwords and such. When sysprep is run, it is called like so: C:\sysprep\sysprep.exe -activated -mini -quiet -reboot -reseal Hope this helps, and thanks nuhi for all your work on nLite. It is an awesome tool. sysprep.inf
  4. It took less time than i anticipated, but here's the registry patch to make My Computer view settings apply to all folders. Both registry edits (the one above and this one) i apply to the Default User profile (change HKEY_CURRENT_USER as necessary) so that they affect new users. I haven't tested yet what these edits do to an existing user; i'll leave that to someone else since i'm using these in an install CD and so won't have to deal with the problem of pre-existing users. Windows Registry Editor Version 5.00 ; Applies My Computer view settings to all folders. [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Streams] "Settings"=hex(3):08,00,00,00,01,00,00,00,00,00,00,00,E0,D0,57,00,73,35,CF,11,AE,\ 69,08,00,2B,2E,12,62,04,00,00,00,01,00,00,00,43,00,00,00
  5. I finally managed to set My Computer's view settings. I did it by 1) creating a local user, 2) logging in as the user and immediately logging out (in order to create a profile), 3) as administrator loading the user's registry hive and capturing it with RegShot 4) logging in as the user, opening My Computer and setting icon view and unchecking "show in groups" 5) as administrator loading the user's hive again and capturing it a second time 6) comparing the two registry captures and then weeding out the parts that didn't have any effect. To determine what had an effect or not i made a backup copy of Default User's registry hive. Then for each round of testing i would delete the user's profile, load Default User's hive and apply changes to it, then log in as the user (to get a new profile based on Default User) and see what My Computer looks like. Ultimately, these are the registry changes i found. If someone knows how to get them integrated into nLite that would be wonderful. I'm still working on the registry hack to make this apply to all folders rather than just My Computer as it does now. I'll probably have that in a day or two and will post it here. Windows Registry Editor Version 5.00 ; Set view settings for My Computer to icon view and don't arrange icons in groups. [HKEY_CURRENT_USER\Software\Microsoft\Windows\ShellNoRoam\BagMRU] "NodeSlots"=hex:02 "MRUListEx"=hex:00,00,00,00,ff,ff,ff,ff "0"=hex:14,00,1f,50,e0,4f,d0,20,ea,3a,69,10,a2,d8,08,00,2b,30,30,9d,00,00 [HKEY_CURRENT_USER\Software\Microsoft\Windows\ShellNoRoam\BagMRU\0] "NodeSlot"=dword:00000001 [HKEY_CURRENT_USER\Software\Microsoft\Windows\ShellNoRoam\Bags\1\Shell] "WFlags"=dword:00000000 "ShowCmd"=dword:00000001 "FFlags"=dword:00000000 "Vid"="{0057D0E0-3573-11CF-AE69-08002B2E1262}" "ColInfo"=hex:00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,fd,df,df,fd,0f,\ 00,05,00,24,00,10,00,2e,00,46,00,00,00,00,00,01,00,00,00,02,00,00,00,03,00,\ 00,00,04,00,00,00,78,00,96,00,60,00,60,00,78,00,00,00,00,00,01,00,00,00,02,\ 00,00,00,03,00,00,00,05,00,00,00,ff,ff,ff,ff,00,00,00,00,00,00,00,00,00,00,\ 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\ 00 ; This part is not strictly necessary. It sets the window position for a few popular screen resolutions. "WinPos800x600(1).left"=dword:00000030 "WinPos800x600(1).top"=dword:00000040 "WinPos800x600(1).right"=dword:000001e0 "WinPos800x600(1).bottom"=dword:000001f0 "ScrollPos800x600(1).x"=dword:00000000 "ScrollPos800x600(1).y"=dword:00000000 "WinPos1024x768(1).left"=dword:00000030 "WinPos1024x768(1).top"=dword:00000040 "WinPos1024x768(1).right"=dword:000001e0 "WinPos1024x768(1).bottom"=dword:000001f0 "ScrollPos1024x768(1).x"=dword:00000000 "ScrollPos1024x768(1).y"=dword:00000000 "WinPos1280x1024(1).left"=dword:00000030 "WinPos1280x1024(1).top"=dword:00000040 "WinPos1280x1024(1).right"=dword:000001e0 "WinPos1280x1024(1).bottom"=dword:000001f0 "ScrollPos1280x1024(1).x"=dword:00000000 "ScrollPos1280x1024(1).y"=dword:00000000
  6. I'm using nLite 1.0b2 to create a customized XP Pro installation CD. After installing the system, i use Sysprep to join an Active Directory. However, during the join process i get this error: If i cancel the message everything works fine, but i'd like to automate the Sysprep step, which means i need to get rid of the error. Is anyone else seeing this? If so, is there some component you kept that perhaps i did not (i'll include my Last Session.ini file)? In the Compatibility screen i did check "Windows Activation and Sysprep" before selecting any components for removal. The curious thing is that the compressed version of the file ("c_20127.nl_") shows up on the XP CD in the I386 directory. And after installing Windows, c_20127.nls is in C:\Windows\System32, right where i'd expect it. So i don't know why Windows isn't finding it when running Sysprep. I don't have this problem on an install that is done from an unmodified XP disc, just the nLite disc. I'd be happy to hear any suggestions people have. Thanks! Last_Session.ini
  7. I am building an unattended Windows XP CD. So far i've managed to get everything the way i want, with one nagging exception. On a clean install of Windows the default view settings for My Computer is to have tiles turned on and the icons shown in groups. I want to use icon view (instead of tiles) and want the "show in groups" to be turned off. Does anyone know of a way to accomplish this? So far i've tried using RegShot to capture the registry before making the changes by hand, and then afterwards. However, when i compare the two registry shots there is no change! This makes me wonder if the changes i want can even be done through registry edits. If not, does anyone know how else it can be done?
  8. I found another cause for this problem. After running nLite, you have to be careful modifying I386\WINNT.SIF. If you remove this line: FileSystem = * then you won't be able to format existing partitions. I'm not sure why that line matters, but it does. I've burned two CDs that are identical except for one has that line in WINNT.SIF, the other doesn't. And the one that has it works great, while the one that does not won't let me format existing partitions during the text-mode portion of the installer.
  9. After some trial and error (and a small pile of CD-Rs) i've found the problem and solution. When i was having trouble, i was running nLite multiple times on the same working directory. With each run i would select different tasks. If this way of building a CD seems strange, it was because it was my first time trying to modify an XP install CD, and i wanted to make sure it was working correctly after each extra change. So i started out with integrating SP2 and the extra patches, then went back and removed components, and later went back again and added a few options and tweaks. Between each run i'd burn a new CD and test. Everything seemed to work except for the weird inability to format existing partitions. The solution to the problem is with each run of nLite to start with a clean working directory. Use nLite to copy the Windows CD to the directory and perform all other modifications in one run. Since making this change in my procedure, i haven't had any problems. I would think that it would be possible to run nLite a second time on the same working directory if all that is done is creating a new ISO; at least i hope so since there are some other modifications i want to make to the image before generating the ISO. I'll try generating a new ISO off the same working directory and report back if it doesn't work.
  10. I do have the option to delete and recreate the partition, but as i mentioned that doesn't work if there are initially 2 partitions on the drive. When i delete and recreate partition 1 it isn't recreated correctly and when the installer reboots it can't boot from the hard drive. I don't know why the option to reformat disappeared in my installer. Has anyone else had this problem when creating an image using nLite?
  11. I'm working on a Windows XP Professional installation CD. I'm starting from a CD that has SP1 slipstreamed. To that i've used nLite to add SP2 and RyanVM's Update Pack 1.2. Also with nLite i've removed a number of components and set a few options and tweaks (if a list of these are necessary, i'd be happy to post them). Everything is working great, except for one little annoyance. When booting from my original XP with SP1 CD, in the text mode portion of setup i can select an existing partition to install to, and then am given the option to either reformat the partition or to install over the existing installation. With my customized CD, that is no longer the case. I can't reformat an existing partition. If i select a partition to install to, it gives me the option of installing to a different folder, or quitting setup and rebooting the computer. Is there a way to restore the original functionality that would allow me to reformat an existing partition? The customized installer will allow me to delete and then recreate a partition, and then format it, but that doesn't work in all cases. Specifically, it doesn't work if i have 2 existing partitions (1 and 2) and want to reformat partition 1 and install Windows to it. If i delete partition 1 and create a new partition, the new partition is created as partition 3 with a few MB of unpartitioned space at the beginning of the drive (so then the drive would contain: unallocated space, partition 3, then partition 2). The text mode install works fine, but when the computer reboots it says the drive isn't bootable. So i need a way to restore the original functionality that allows me to reformat an existing partition directly without having to delete and recreate it. Any ideas? The file that seems most relevant to me is winnt.sif, which i am including below. ; ; Generated by nLite 0.99.8 beta 5 ; Modified by Dan Ramaley ; [Data] Autopartition = 0 MsDosInitiated = 0 UnattendedInstall = Yes [Unattended] UnattendSwitch = Yes OemPreinstall = Yes OemSkipEula = Yes TargetPath = \Windows DriverSigningPolicy = Ignore Hibernation = No CrashDumpSetting = 0 UnattendMode=DefaultHide [SystemFileProtection] SFCQuota = 0 [GuiUnattended] AutoLogon = No TimeZone = 020 OEMSkipRegional = 1 OemSkipWelcome = 1 [Display] AutoConfirm = 1 [Components] Indexsrv_system = Off [UserData] ProductKey = "XXXXX-XXXXX-XXXXX-XXXXX-XXXXX" OrgName = "My Organization" ComputerName = * [RegionalSettings] LanguageGroup = 1 Language = 0409 [Networking] InstallDefaultComponents = Yes [Identification] JoinWorkgroup = WORKGROUP [Shell] DefaultStartPanelOff = Yes

  • Create New...