Jump to content
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble

MSFN is made available via donations, subscriptions and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. Alternatively, register and become a site sponsor/subscriber and ads will be disabled automatically. 


  • Content count

  • Donations

  • Joined

  • Last visited

Community Reputation

0 Neutral

About ladiko

  1. thank you for your help, i will look into the log files tomorrow and test it with a shorter winnt.sif and will give response. i appreciate your details information and fast reply! by the way, i tried it with qemu, virtualpc and virtualbox, but as most normal computers list the hdd first and the usb pen drive second, i didnt found a way to boot from the second drive with all the virtualization solutions and when i set the pen drive as the first drive to boot, windows xp setup also listed it first and nuked the pen drives boot sector by writing it's own. what about vmware player?
  2. does windows setup always create the file setupact.log?
  3. Hello, i have a problem with the execution of the commands in the file cmdlines.txt and would be pleased if you could help me. I would like to add some regkeys by the cmdlines.txt method at T-12 as only then registry keys added to HKCU will be added to the default user profile and later are valid for all users. So what i do: Extract de_windows_xp_professional_with_service_pack_3_x86_cd_vl_x14-73985.iso to C:\de_windows_xp_professional_with_service_pack_3_x86_cd_vl_x14-73985\ with 7zip 9.27 Copy $OEM$ to C:\de_windows_xp_professional_with_service_pack_3_x86_cd_vl_x14-73985\$OEM$ Copy winnt.sif to C:\de_windows_xp_professional_with_service_pack_3_x86_cd_vl_x14-73985\I386\winnt.sif Delete C:\de_windows_xp_professional_with_service_pack_3_x86_cd_vl_x14-73985\[BOOT] Delete C:\de_windows_xp_professional_with_service_pack_3_x86_cd_vl_x14-73985\DOCS Delete C:\de_windows_xp_professional_with_service_pack_3_x86_cd_vl_x14-73985\DOTNETFX Delete C:\de_windows_xp_professional_with_service_pack_3_x86_cd_vl_x14-73985\SUPPORT Delete C:\de_windows_xp_professional_with_service_pack_3_x86_cd_vl_x14-73985\VALUEADD At the end C:\de_windows_xp_professional_with_service_pack_3_x86_cd_vl_x14-73985\ is about 860 MB Insert 2GB USB pen drive Start C:\WinSetup-1-0-beta8\WinSetupFromUSB_1-0-beta8.exe with admin rights Select Auto-Format it with FBinst: (*) NTFS [x] align Add to Disk: Windows 2000/XP/2003 Setup: C:\de_windows_xp_professional_with_service_pack_3_x86_cd_vl_x14-73985\ Go! -> pen drive format warning: OK -> Accept Microsoft EULA But at the end the cmdlines.txt is not executed. So here is how my WINNT.SIF and $OEM$ files look like: C:\de_windows_xp_professional_with_service_pack_3_x86_cd_vl_x14-73985\I386\ ... all the windows files and WINNT.SIF C:\de_windows_xp_professional_with_service_pack_3_x86_cd_vl_x14-73985\$OEM$\cmdlines.txt C:\de_windows_xp_professional_with_service_pack_3_x86_cd_vl_x14-73985\$OEM$\regkeys.reg C:\de_windows_xp_professional_with_service_pack_3_x86_cd_vl_x14-73985\$OEM$\$$\Resources\Themes ... the Zune theme files named in WINNT.SIF C:\de_windows_xp_professional_with_service_pack_3_x86_cd_vl_x14-73985\$OEM$\$1\_DRIVERS\ ... all the driver files C:\de_windows_xp_professional_with_service_pack_3_x86_cd_vl_x14-73985\$OEM$\$1\_INSTALL\GuiRunOnce.cmd C:\de_windows_xp_professional_with_service_pack_3_x86_cd_vl_x14-73985\$OEM$\$1\_INSTALL\SetupParams.cmd C:\de_windows_xp_professional_with_service_pack_3_x86_cd_vl_x14-73985\$OEM$\$1\_INSTALL\ ... some more files to be executed cmdlines.txt: [COMMANDS] "CMD.EXE /C echo TEST > C:\TEST1.TXT" "REGEDT32.EXE /S regkeys.reg" "CMD.EXE /C echo TEST > C:\TEST2.TXT" The TEST-files don't exist after the installation! regkeys.reg: Windows Registry Editor Version 5.00 ; Enable Basic Authentification f.e. for WebDAV [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WebClient\Parameters] "UseBasicAuth"=dword:00000001 ; Changes default Search Options [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer] "SearchSystemDirs"=dword:00000001 "SearchHidden"=dword:00000001 "IncludeSubFolders"=dword:00000001 "CaseSensitive"=dword:00000000 "SearchSlowFiles"=dword:00000000 ; Turns On Classic Search [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\CabinetState] "FullPath"=dword:00000001 "FullPathAddress"=dword:00000001 "Use Search Asst"="Yes" "Settings"=hex:0c,00,02,00,1b,01,e7,77,60,00,00,00 ...the keys are added to the registry without problems if i double click the file later, but unfortunately only to the currently logged in user. SetupParams.cmd and GuiRunOnce.cmd are executed without a problem. So on the USB pen drive it looks like that: X:\WINSETUP\XPpSP3\I386 X:\WINSETUP\XPpSP3\$OEM$\cmdlines.txt X:\WINSETUP\XPpSP3\$OEM$\regkeys.reg X:\WINSETUP\XPpSP3\$OEM$\$1\_DRIVERS\ ... all the driver files X:\WINSETUP\XPpSP3\$OEM$\$1\_INSTALL\GuiRunOnce.cmd X:\WINSETUP\XPpSP3\$OEM$\$1\_INSTALL\SetupParams.cmd X:\WINSETUP\XPpSP3\$OEM$\$1\_INSTALL\ ... some more files to be executed WINNT.SIF: ;SetupMgrTag [Data] MsDosInitiated="0" UnattendedInstall=Yes Floppyless=1 AutomaticUpdates=Yes AutoPartition="0" [Unattended] OemPreinstall=Yes OemSkipEula=Yes WaitForReboot=No TargetPath=\WINDOWS DriverSigningPolicy=Ignore OemPnPDriversPath="_DRIVERS\ACPI_ATK0110;_DRIVERS\Atheros_LAN;_DRIVERS\ATI_Display;_DRIVERS\ATI_HDMI_Audio;_DRIVERS\ATI_SMBus;_DRIVERS\DLink_DWL-G122_revC1;_DRIVERS\Intel_Chipset;_DRIVERS\Intel_Grafik;_DRIVERS\Intel_HDMI_Audio;_DRIVERS\Intel_SATA;_DRIVERS\MitsubishiCP9550DW;_DRIVERS\MSI-US300EX;_DRIVERS\Nvidia_Away;_DRIVERS\Nvidia_Display;_DRIVERS\Nvidia_HDAudio;_DRIVERS\Nvidia_LAN;_DRIVERS\Nvidia_SATA;_DRIVERS\Nvidia_SMBUS;_DRIVERS\Nvidia_SMU;_DRIVERS\Realtek_AC97;_DRIVERS\Realtek_HD_Audio;_DRIVERS\Realtek_LAN_PCI;_DRIVERS\Realtek_LAN_PCI-E;_DRIVERS\SIS_Grafik;_DRIVERS\TP-Link_TL-WN721N;_DRIVERS\VIA_HD_Audio" UnattendMode=FullUnattended UnattendSwitch="Yes" [UserData] ProductKey=XXXXX-XXXXX-XXXXX-XXXXX-XXXXX FullName="Home User" OrgName="Home" ComputerName=HomeComputer [SetupParams] UserExecute="%SystemDrive%\_INSTALL\SetupParams.cmd" [GuiUnattended] AdminPassword="XXXXXXXX" EncryptedAdminPassword=No AutoLogon=Yes AutoLogonCount=1 OEMSkipRegional=1 TimeZone=110 OemSkipWelcome=1 [Shell] CustomDefaultThemeFile = "%WinDir%\Resources\Themes\Zune.theme" [Display] BitsPerPel=32 Xresolution=1024 YResolution=768 Vrefresh=60 [TapiLocation] CountryCode=49 Dialing=Tone AreaCode=030 LongDistanceAccess="0" [RegionalSettings] LanguageGroup=1 Language=00000407 SystemLocale=00000407 UserLocale=00000407 InputLocale=0407:00000407 [GuiRunOnce] Command0="%SystemDrive%\_INSTALL\GuiRunOnce.cmd" [Identification] JoinWorkgroup=ARBEITSGRUPPE [Networking] InstallDefaultComponents=Yes [Components] msmsgs=off msnexplr=off zonegames=off [WindowsFirewall] Profiles=WindowsFirewall.Standard [WindowsFirewall.Standard] Mode=1 Exceptions=1 Notifications=1 [IEPopupBlocker] BlockPopups=Yes ShowInformationBar=Yes
  4. SATA drivers and RIS

    sorry for exhuming this zombie, but i dont find a better place than this quote from benowen187. does this also mean, that using a AHCI-enabled sif-file on a system with an ide-controller, that it will also cause an error during setup? does this mean i have to use one sif-file for older pcs with ide-hdd and one for new pcs with ahci-hdd? cause i modified a working installation so that it works on a new pc type, but now this installation doesnt boot on the old pcs. this is why i added a identical sif file without the [MassStorageDrivers] and [OEMBootFiles] sections and now it works like before...
  5. [Release] WIHU alphabetic sorter

    it's not good to have the old script in the first entry, but the description of the newest version. i was a little bit confused, why [main]list=x;y;z doesnt work with the script from the same post :-) here's is my quick'n'dirty change based on the version from the start post with following features: * thanks to Camarade_Tux! * warns if a command without a description exists cause this item would be deleted * copies and sorts entries from the default sections [Environment], [users], [settings] to the beginning of the file * sorts sections and sections keys and indents the keys * deletes useless keys * very basic syntax checker * full automatic -->no settingsfile used script: http://www.autohotkey.net/~ladiko/WIHU_Sor...WIHU_Sorter.ahk executable: http://www.autohotkey.net/~ladiko/WIHU_Sor...WIHU_Sorter.exe
  6. WIHU Helper

    WIHU Helper for Windows Installation Helper Utility (http://www.kalytta.com/wihu.php) Description: To use filenames in WIHU with wildcards like * (asterisk) and ? (question mark) So you are able to replace a file with a version number in its filename with a newer version in the filename. For example you can replace PDFCreator-9_4_0_setup.exe with PDFCreator-9_5_0_setup.exe without changing WIHU's install.ini file or renaming the file. [*]Example: To execute the file %WIHU%\Installers\PDFCreator\PDFCreator-9_5_0_setup.exe you can use f.e. one of the following file patterns: command.x = %WIHU%\WIHU_Helper.exe "%WIHU%\Installers\PDFCreator\PDFCreator-*_setup.exe" /SILENT /NOCANCEL /NORESTART command.x = %WIHU%\WIHU_Helper.exe "%WIHU%\Installers\PDFCreator\PDFCreator-?????_setup.exe" /SILENT /NOCANCEL /NORESTART command.x = %WIHU%\WIHU_Helper.exe "%WIHU%\Installers\PDFCreator\PDFCreator-?_?_?_setup.exe" /SILENT /NOCANCEL /NORESTART command.x = %WIHU%\WIHU_Helper.exe "%WIHU%\Installers\PDFCreator\P*.exe" /SILENT /NOCANCEL /NORESTART command.x = %WIHU%\WIHU_Helper.exe "%WIHU%\Installers\PDFCreator\*.exe" /SILENT /NOCANCEL /NORESTART command.x = %WIHU%\WIHU_Helper.exe "%WIHU%\Installers\PDFCreator\*.*" /SILENT /NOCANCEL /NORESTART [*]Remarks: Only wildcards in the first parameter's filename are resolved question mark ? = any single letter asterisk * = any number of letters (also no letter) If more than one matching file is found, the first match is used. Files in an NTFS file system are probably always retrieved in alphabetical order. Files in other file systems are retrieved in no particular order. WorkingDir is always set to the folder which is in the first parameter Error messages are closed after 10 seconds to not interrupt the unattended installation Error codes are passed to WIHU [*]Download: Executable: http://www.autohotkey.net/~ladiko/WIHU_Hel...WIHU_Helper.exe Source: http://www.autohotkey.net/~ladiko/WIHU_Hel...WIHU_Helper.ahk Readme: http://www.autohotkey.net/~ladiko/WIHU_Hel...lper_Readme.txt
  7. how to disable the help area?

    i dont want to use the help area on the right side. my ini-file doesnt have help.x = instructions, but the help area appears. how to disable this?
  8. alternative Radio Buttons?

    juhuuu =D it works!!! thank you, benjamin!
  9. Universal Extractor

    everytime i'm installing a pc for a friend, i'm searching for the link of the v1.6 beta. on which page is the link? thank you in advance! regards ladiko
  10. alternative Radio Buttons?

    ahh ok and how to get it working like a radio control group? if i select one, the others are deselected? like this --> http://webdev2.sun.com/example/faces/cbrb/...Radiobutton.jsp
  11. alternative Radio Buttons?

    could you define "anything else" a little bit more precise? or what is the sence of the option group? only graphical?
  12. alternative Radio Buttons?

    Hello friends of unattended installations :-) could someone explain my how to create radio buttons in the way that if i select one, the other ones of the group are automatically disabled? at the moment i can select all radio buttons of a group at the same time, but i want that the user can only choose one type out of all in the group. (see my example below). by the way i use WIHU since about 1 or 2 hours and it's amazing :-) [MyProgram] group = 1 test.eval.0 = selected.1 | selected.2 | selected.3 selected.0 = if.false description.0 = MyProgram Standalone command.0 = %WIHU%\MyProgram\App.exe /s /conf="%WIHU%\MyProgram\Standalone.ini" test.eval.1 = selected.0 | selected.2 | selected.3 selected.1 = if.false description.1 = MyProgram with IE Toolbar command.1 = %WIHU%\MyProgram\App.exe /s /conf="%WIHU%\MyProgram\Toolbar.ini" test.eval.2 = selected.1 | selected.0 | selected.3 selected.2 = if.false description.2 = MyProgram with a lot of crap command.2 = %WIHU%\MyProgram\App.exe /s /conf="%WIHU%\MyProgram\Crap.ini" test.eval.3 = selected.1 | selected.2 | selected.0 selected.3 = if.false description.3 = MyProgram Full Installation command.3 = %WIHU%\MyProgram\App.exe /s /conf="%WIHU%\MyProgram\Full.ini" i thought it should work this way, but it seems to be wrong :-)
  13. Universal Extractor

    could you add the extension msu? it is the file extension for microsoft updates for vista and server2008. universal extractor can unpack them, but the contect menu is missing.
  14. Universal Extractor

    what do you think about extracting symbian installer files? they have the ending .sis they are used on lot of phones --> http://de.wikipedia.org/wiki/Symbian_OS at the moment i only know makesis.exe to make sis-files and unmakesis.exe to unpack the files and also ther is halwin to unpack, but i think they are no command line programs =(
  15. Universal Extractor

    if archive types are associated with uniext they all belong to the same file type group "Universal Extractor Archive" in windows xp explorer if you group the entrys as on the pic: i dont like it that mozilla-xpi-extensions, isos, jar-files and also rars, and zips are in one group cause they have all other functions. can you split it to "Universal Extractor XPI Archive", "Universal Extractor 7Z Archive" and so on?