Jump to content

Csimbi

Member
  • Posts

    44
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    Finland

Everything posted by Csimbi

  1. Hi all, I could not find any other way to add files to disk other than copying it to the directory with the disk image. I hope I just missed something, but in case it's not there, please consider this feature request. I am looking for a way to add files to the disk without having to copy them to that directory. This is a set of directories or files that I have on local disk: e:\DRIVERS\Java Runtime e:\DRIVERS\ATI e:\DRIVERS\directx_nov2008_redist e:\DRIVERS\DOTNET e:\DRIVERS\NVIDIA e:\DRIVERS\Realtek HDA Driver e:\DRIVERS\vc2005redist_x86.exe e:\DRIVERS\vc2005redist_x86.txt e:\DRIVERS\vc2008redist_x64.exe e:\DRIVERS\vc2008redist_x64.txt e:\DRIVERS\vc2008redist_x86.exe e:\DRIVERS\vc2008redist_x86.txt e:\INSTALL\!CDBURN\ImgBurn_2.4.2.0.exe e:\INSTALL\!DOS\DOSBOX e:\INSTALL\!FIREWAL\Comodo Firewall e:\INSTALL\!SPYWARE\SPYBOT e:\INSTALL\Adobe Acrobat Reader e:\INSTALL\AutoHotKey e:\INSTALL\FIREFOX e:\INSTALL\PaintNET e:\INSTALL\Skype e:\INSTALL\TOTALCMD e:\INSTALL\ULTRAVNC e:\INSTALL\WINRAR It's a pretty slow process to find these files, copy them to another directory (XP image). It would make things a lot easier if nLite would do the work - by supporting referencing files and pulling them in directly from the source location. Ideally, I could specify a source and a target in the INI file, like this: <target>|<source> ; I chose the pipe as a separator because it can't be in file names. , where <target> is always relative to the root of the disk Example of variants: [copytodisk] $OEM$\$1\DRIVERS|e:\CD\DRIVERS\vc*redist.exe $OEM$\$1\DRIVERS|e:\CD\DRIVERS\*.txt $OEM$\$1\INSTALL|e:\CD\INSTALL\!DOS\DOSBOX $OEM$\$1\INSTALL\ImageBurn_setup.exe|e:\CD\INSTALL\!CDBURN\ImgBurn_2.4.2.0.exe I hope you understand what I mean, if not, please ask. If this is already doable with nLite somehow, please let me know. Thank you. PS: Yes, I know that I can always create a batch file that copies the files. But, I don't want them copied - I want skip the copy process entirely and have the files added to the disk image directly from their original location(s). No, I don't want silent installers and stuff - I just want them added to the disk image.
  2. @johnhc I guess I was not clear enough and that lead you to misunderstand my question - sorry about that. I meant the last session INI files that are saved onto the disk. @5eraph Thank you! That's exactly what I was looking for. I guess I missed it because I just click through that page usually.
  3. Hi there, is there a way to instruct nLite NOT to include the INI files by default? The thing is that sometimes I forget to delete them manually - and then the passwords end up on the disk. Thank you.
  4. Ok, I've done some investigation with Jim (NextUp support). I've been told to check the SAPI5.INF file in the WINXP\INF directory. Well, it seems that ticking the Speech in nLite does not result in Speech not being installed, rather, a blank Speech inf file is installed. The contents of the sapi5.inf file are as follows: [Version] Signature= "$Windows NT$" LayoutFile=layout.inf [DefaultInstall] So, it's blank. Now, on to re-install: I grabbed the following files off the original CD: I386\SAPI.CP_ I386\SAPI.DL_ I386\SAPISVR.EX_ and extracted them to WINXP\SYSTEM32. I grabbed the following file off the original CD: \I386\SAPI5.IN_ and extracted it to WINXP\INF. I right-clicked on the new SAPI5.INF file, and selected "Install" from the popup menu. It asked for the XP install CD, so I point the installer to it. It's finished. No restart of computer (should not be needed under XP). I install MS 4.0a (locate SPCHAPI.EXE on the page) and 5.1 stuff again... I chose "repair" in the 5.1 (since I have tried installing it earlier). Now it seems to work. Sam sounds a bit stupid, so I guess it's time to get some better free samples now...
  5. What do you think should be updated or included?If you follow my guide, you will download this official nForce chipset driver package v.9.53, which is designed for all nForce 680i chipset mainboards. If you integrate the included SATARAID driver folder, you should get no problems with the later XP installation. I know, that the nForce SataRaid drivers v. 6.91 are not the newest and maybe not the best ones, but they are currently the latest official nForce IDE drivers for nForce 850i chipsets. Do you think, that I should give a link to the nForce IDE drivers v.6.99 into my guide? I would do it, if I get the feedback, that they are better for nForce680i chipsets than the official nForce IDE drivers v.6.91. I mean the very first post. It does not talk about nForce 6 RAID drivers. I figured out how to do it, I just thought it might be a good idea to mention it.
  6. Care to update to include 680i RAID drivers? Thanks.
  7. Could not re-install speech as stated in nLite 1.4 See related topic: http://www.msfn.org/board/index.php?showtopic=30030 Thanks for fixing.
  8. Hi there, I am having the exact same problem. I could find MS speech engines 4.0a and 5.1 and install them - however it did not restore the speech engine. So, since re-install does not help, there is something wrong here: - either the message about re-installing it any time later on, or - nLite removing something it should not, Or, I am trying to install the wrong stuff. In any case, I would like to have it fixed or explained the "re-installation" process in detail. Volatus mentioned some INF files from the original CD - care to elaborate the particulars? Thank You.
  9. This is not an unattended install, but seems to run from USB. Anyone tried it? Possible unattended enhancements? Thanks.
  10. Thanks, looks good - hope someone can use this to do something good... I have a dumb question: can I use this somehow to install XP from a USB stick to my HDD? XP installation from a CD is extremely slow; USB saves the seek times and give better transfer speeds as well. Thanks.
  11. 2. Got it, trouble was with the spaces in the file name and the quotes in the bat file. Removed spaces from filename and quotes as well - it works now, thanks. 3. Found it, thanks. 4. Thanks!
  12. 1. Ok, found it. 2. /quiet and /passive and /qn says invalid switches. Here is the help it gives with the /? parameter: Windows ® Installer. V 3.01.4000.1823 msiexec /Option <Required Parameter> [Optional Parameter] Install Options </package | /i> <Product.msi> Installs or configures a product /a <Product.msi> Administrative install - Installs a product on the network /j<u|m> <Product.msi> [/t <Transform List>] [/g <Language ID>] Advertises a product - m to all users, u to current user </uninstall | /x> <Product.msi | ProductCode> Uninstalls the product Display Options /quiet Quiet mode, no user interaction /passive Unattended mode - progress bar only /q[n|b|r|f] Sets user interface level n - No UI b - Basic UI r - Reduced UI f - Full UI (default) /help Help information Restart Options /norestart Do not restart after the installation is complete /promptrestart Prompts the user for restart if necessary /forcerestart Always restart the computer after installation Logging Options /l[i|w|e|a|r|u|c|m|o|p|v|x|+|!|*] <LogFile> i - Status messages w - Nonfatal warnings e - All error messages a - Start up of actions r - Action-specific records u - User requests c - Initial UI parameters m - Out-of-memory or fatal exit information o - Out-of-disk-space messages p - Terminal properties v - Verbose output x - Extra debugging information + - Append to existing log file ! - Flush each line to the log * - Log all information, except for v and x options /log <LogFile> Equivalent of /l* <LogFile> Update Options /update <Update1.msp>[;Update2.msp] Applies update(s) /uninstall <PatchCodeGuid>[;Update2.msp] /package <Product.msi | ProductCode> Remove update(s) for a product Repair Options /f[p|e|c|m|s|o|d|a|u|v] <Product.msi | ProductCode> Repairs a product p - only if file is missing o - if file is missing or an older version is installed (default) e - if file is missing or an equal or older version is installed d - if file is missing or a different version is installed c - if file is missing or checksum does not match the calculated value a - forces all files to be reinstalled u - all required user-specific registry entries (default) m - all required computer-specific registry entries (default) s - all existing shortcuts (default) v - runs from source and recaches local package Setting Public Properties [PROPERTY=PropertyValue] Consult the Windows ® Installer SDK for additional documentation on the command line syntax. Copyright © Microsoft Corporation. All rights reserved. Portions of this software are based in part on the work of the Independent JPEG Group. None of these switches actually work though. 3. Tried searching, did not find it. Any hints where to look? Thanks. 4. Seems to be exactly the same as 2.
  13. 1. LClock, available here. 2. MS Application compatibilty toolkit 4.0.1, available on MS web site in the download section, "Microsoft Application Compatibility Toolkit.msi". 3. MDAC 2.81, available on MS web site in the download section, "MDAC_TYP.EXE". 4. Universal BricoPacks (Longhorn Inspirat BricoPack in particular), available here. Thank You!
  14. [b]Crystal Codec Pack 4.3.3[/b] [b]Windows "Hardware Installation" dialog[/b] I am not sure how many of You are using this codec pack (it's pretty old), but here is the script anyway. The reason I am posting it because it includes a solution I was looking for a long time: [b]how to bypass that annoying "Hardware installation" dialog[/b] that windows displays when an unsigned driver is about to be installed. I added some comments inline so You can easily understand it. Here is the code: [code]; AutoIt Version:  3.0 ; Language:        English ; Platform:        Win9x/NT ; Script Function: Install KS Codec Pack 4.3.3 ; Author:          Csimbi ;This is the function we will call every now and then to close all those annoying dialogs. Func getRidOfAnnoyingWindow() If WinActive("Hardware Installation") Then  ControlClick("Hardware Installation","", "Button1") EndIf EndFunc ;Start installation of the codec pack Run("install.exe") ;Wait until installer is started. WinWaitActive("Install") ;Send an enter key to bypass the installation confirmation (Yes is selected by default, so we just need to hit enter). Send("{ENTER}") ;The first dialog is expected to pop up soon, so we start our watchdog function that will close that annoying dialog. We run the script every 250 msecs. AdlibEnable ("getRidOfAnnoyingWindow", 250) ;The next annoying dialog is windows file protection. We wait for this dialog. WinWaitActive("Confirm File Replace") ;The dialog has three buttons: Yes, No, and No to all. We emulate keypress on "a" key so that we select the "No to all" button. Send("a") ;Installation will complete without further interference with the UI, so we can disable the watchdog function. AdlibDisable () ;And finally quit. Exit[/code]
  15. Hi all, tried searching on this - nothing showed up. Am I the only one with this problem? This is for Windows XP SP2 - I guess all the same for the others, too. A user's favourites are located here: %USERPROFILE%\Favorites There is a directory under this, called Links. I can delete this directory, however for some reason it's always re-created. Why does it keep coming back, and is there any way to prevent WinXP to do play this silly game? Thanks a lot in advance - it's been bothering me very much lately...
  16. vs 2nd: Yes, it seems to be a bug in the SW, let's hope that the author will correct it. I noticed that after You apply a theme (via display properties manually) the menus revert to normal. vs 3rd: Here is what I do: at the end of cmdlines.txt I add an entry to the registry: Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\RunOnce] "Clean up XP Install"="CLEANUP.CMD" Then the cleanup.cmd looks like this (it goes to $OEM$\$$\SYSTEM32): @ECHO OFF TITLE Please wait... REM FOR %%i IN (C D E F G H I J K L M N O P Q R S T U V W X Y Z) DO IF EXIST %%i:\WIN51IP.SP2 SET CDDRIVE=%%i:\ REM FOR %%i IN (C D E F G H I J K L M N O P Q R S T U V W X Y Z) DO IF EXIST %%i:\INSTHOST.SP2 SET InstallHost=%%i:\ ECHO Applying POST-Installation Registry Tweaks... REGEDIT /S REGTWPST.REG ECHO Organizing Favourites... ATTRIB -R -H -S "%HOMEDRIVE%%HOMEPATH%\Favorites" /S /D RD /S /Q "%HOMEDRIVE%%HOMEPATH%\Favorites" %SystemDrive%\UTIL\WRAR\RAR.EXE X -r -y "%SystemDrive%\TEMP\FAVOURIT.RAR" "%HOMEDRIVE%%HOMEPATH%\Favorites\" >nul DEL /F /Q "%SystemDrive%\TEMP\FAVOURIT.RAR" ECHO Adding missing DDLs... %SystemDrive%\UTIL\WRAR\RAR.EXE X -r -y "%SystemDrive%\TEMP\DLLS.RAR" "%SystemRoot%\SYSTEM32\" >nul DEL /F /Q "%SystemDrive%\TEMP\DLLS.RAR" ECHO Customizing shortcuts... DEL "%HOMEDRIVE%%HOMEPATH%\Start Menu\Programs\Remote Assistance.lnk" >nul DEL "%ALLUSERSPROFILE%\Start Menu\Activate Windows.lnk" >nul DEL "%ALLUSERSPROFILE%\Start Menu\Programs\Accessories\System Tools\Activate Windows.lnk" >nul ECHO Cleaning up installation files, drivers, and the leftover... ATTRIB -R -H -S "%SystemDrive%\DRIVERS" /S /D RD /S /Q "%SystemDrive%\DRIVERS" ATTRIB -R -H -S "%SystemDrive%\INSTALL" /S /D RD /S /Q "%SystemDrive%\INSTALL" ATTRIB -R -H -S "%SystemRoot%\TEMP" /S /D RD /S /Q "%SystemRoot%\TEMP" ATTRIB -R -H -S "%SystemRoot%\*.log" /S /D DEL /F /Q "%SystemRoot%\*.log" ATTRIB -R -H -S "%SystemRoot%\*.tmp" /S /D DEL /F /Q "%SystemRoot%\*.tmp" SET CDDRIVE= SET InstallHost= ECHO Forcing logoff once to make sure that all registry settings are OK... ECHO Logging off in 15 Seconds... Stand By... shutdown -l -f -t 15 -c "User must log off after applying POST-Install registry tweaks." Notice the last command? That will take care of logoff. Give it a good time to make sure everything has the appropriate time to load for the first time 15 secs works for me. Finally, delete the working files with this: [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\RunOnce] "Remove cleanup command file"="del %SystemRoot%\SYSTEM32\CLEANUP.CMD" "Remove cleanup registry file"="del %SystemRoot%\SYSTEM32\REGTWPST.REG" For some reason it does not work though - see my previous post.
  17. Well, I gave 1.0.3 a go, and it seems to work - thanks to the author for making this tool. I have a problem though: The start menu (and the context menus as well) become "flat". Any idea why is that happening? Thanks. Here is my settings file: [effects] 1=0 2=0 3=0 4=0 5=0 6=0 7=1 8=1 9=0 10=0 11=1 12=0 13=1 14=1 15=0 16=0 I have a question also. The program is set from the cmdlines.txt to run once for the current user and the default user. Is there any way to run it without having the current - or the default - user need to log off and back on after the first login (when this program is run)? Thanks. EDIT: Another question - that is irrelevant to this tool: How can I delete a file using RunOnce? This does not seem to work: [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\RunOnce] "Remove cleanup command file"="del %SystemRoot%\SYSTEM32\CLEANUP.CMD"
  18. That was quick, thanks a lot! Gonna take me some time to read through it and implement it. One more question popped into my head though: Is there any way to apply permission settings to registry entries during the unattended setup (or from a batch file @T-13)?
  19. Hi all, I am new to this forum - I found it accidentally: another unattended guide referred to it. Then I found out that this web page contains a lot more info than the one I started with, so here I am. I read through the web site, and created my first unattended image, then fine-tuned it with the various tweaks I found on the forum. It's an XP image with SP2, pre-SP3 hotfixes, and a few app and driver installs. I have a few issues, and I am looking for solutions. I searched the forum about these, but did not find a solid and working solution to these. Here is my question (wish) list, thank You for any feedback that You might be able to provide in advance. 1. User account. a. creating it Here is the batch file that is supposed to create it: @ECHO OFF TITLE Please wait... ECHO Creating default user. NET user Cs cs /add /expires:never NET localgroup Administrators Cs /add NET accounts /MAXPWAGE:UNLIMITED REGEDIT /S AUTOLOGN.REG EXIT It creates it all right, but when XP starts some weird dialog comes up saying that it could not log me in. Since it is during the login phase, I can't create a screenshot. Any ideas what might be causing it and how to get around it? b. using it I have some files in the $DOCS\Cs directory, and these files get properly copied, however the user dir created in step a. (see above) is not "Cs" - it is Cs.MachineName. Is there any way to remove the MachineName from the directory name so that the files would go to the right directory (and be independent from the MachineName)? 2. Custom drivers. I am testing the image under VMWare. I assume the drivers (chipset, ATA, net, video) are not installed correctly because VMWare hides all the hardware, and uses some emulated hardware only, right? So basically if there was no error, it will work in the real environment? 3. Creative Audigy 2 Platinum drivers. I did not find a solution that is able to install a custom set of drivers/applications - this means that I want to install some apps from the Audigy CD, and then add the hotfixes to those. 4. Special dirs. I want to change the location of the following directories: "Program files", "Program files\Common files" and "Documents and settings". I found guidance on this in the forum, however it does not work. Only changing the DLLCache dir works. There is my WINNT.SIF file (removed user-related info though): ;SetupMgrTag [Data] AutoPartition=0 MsDosInitiated="0" UnattendedInstall="Yes" [Unattended] UnattendMode=FullUnattended DUDisable=Yes DriverSigningPolicy=Ignore FileSystem=* Hibernation=No KeyboardLayout="Finnish" NtUpgrade=No OemSkipEula=Yes OemPreinstall=Yes ConfirmHardware=No OemPnPDriversPath="DRIVERS\00INTEL; DRIVERS\01PROMIS; DRIVERS\03REALTK; DRIVERS\05XCARD" ProfilesDir="%SystemRoot%\PROFILES" ProgramFilesDir="%SystemDrive%\PROGRAMS" CommonProgramFilesDir="%SystemDrive%\PROGRAMS\COMMON" Repartition=No OverwriteOemFilesOnUpgrade=No TargetPath=WINXP UnattendSwitch=Yes WaitForReboot=No Win9xUpgrade=No CrushDumpSetting=1 [GuiUnattended] AdminPassword=*REMOVED* EncryptedAdminPassword=Yes OEMSkipRegional=1 TimeZone=125 OemSkipWelcome=1 [UserData] ProductKey=*REMOVED* FullName=*REMOVED* OrgName=*REMOVED* ComputerName=*REMOVED* [Display] BitsPerPel=16 Xresolution=1024 YResolution=768 Vrefresh=100 [TapiLocation] CountryCode=358 Dialing=Tone [RegionalSettings] InputLocale=040b:0000040b InputLocale_DefaultUser=040b:0000040b LanguageGroup=1,2 SystemLocale=00000409 UserLocale=00000409 UserLocale_DefaultUser=00000409 [Branding] BrandIEUsingUnattended=Yes [URL] Home_Page=http://www.google.com Search_Page=http://www.google.com [Proxy] Proxy_Enable=0 Use_Same_Proxy=1 [Identification] JoinWorkgroup=NMPTAM [Networking] InstallDefaultComponents=No [NetAdapters] Adapter1=params.Adapter1 [params.Adapter1] ConnectionName="ADSL" INFID=* [NetClients] MS_MSClient=params.MS_MSClient [NetServices] MS_SERVER=params.MS_SERVER MS_PSched=params.MS_PSched [NetProtocols] MS_TCPIP=params.MS_TCPIP [params.MS_TCPIP] DNS=Yes UseDomainNameDevolution=No EnableLMHosts=Yes AdapterSections=params.MS_TCPIP.Adapter1 [params.MS_TCPIP.Adapter1] SpecificTo=Adapter1 DHCP=Yes WINS=No NetBIOSOptions=0 [Components] Deskpaper=Off Media_clips=Off Mousepoint=Off Msnexplr=Off Msmsgs=Off Pinball=Off Zonegames=Off [IEPopupBlocker] BlockPopups=No [Shell] DefaultStartPanelOff=Yes DefaultThemesOff=Yes [SystemFileProtection] SFCDllCacheDir="%SystemRoot%\DLLCACHE" SFCShowProgress=1 [ComputerSettings] Hibernation=No [WindowsFirewall] Profiles=WindowsFirewall.TurnOffFirewall [WindowsFirewall.TurnOffFirewall] Mode=0 5. Environment variables. I found a way to update the TEMP variable in the forums - that works fine, but that does not append to the variable, but overwrites it. Is there any way to append entries to the Path EnvVar? 6. Registry tweaks. a. Adding them. I found a great deal of tweaks in the forum. I am importing those registry entries from the CMDLINES.TXT during installation. All of these keys refer to HKEY_CURRENT_USER. Do I need to also update the keys with the same values in HKEY_USERS\.DEFAULT? Or changing the HKEY_CURRENT_USER is sufficient and will apply to all users anyway? (I remember reading something like that somewhere, but I don't remember where.) b. Which ones. Are all of those tweaks supposed to work by importing from CMDLINES.TXT? I mean it does not matter that some of those are HKEY_CURRENT_USER, some are HKEY_CLASSES_ROOT, and some are HKEY_LOCAL_MACHINE, they will all work if I import those via CMDLINES.TXT, right? 7. Additional app installs I am using the packages that install acrobat reader and wmp10. Is there a guide available somewhere that explains how to extract installers, and re-create them in the form of silent installation package? I understand it is Christmas time - people are happily chilling out with their loved ones - so I do not expect a fast response, I would rather wait for a sophisticated one. Merry Christmas to all of You and Your loved ones! Huge thanks to all of those people who contributed to this web site and forums! Cheers.
×
×
  • Create New...