Jump to content

kukris

Member
  • Posts

    112
  • Joined

  • Last visited

  • Donations

    $0.00 

Posts posted by kukris

  1. No, no. I don't want to delete the symbol from the desktop, but configure the Recycle Bin so I can delete files in Windows Explorer without any confirmation.

    Strange that your lower box isn't grayed out. Maybe you have another Windows version? Mine is Windows 98SE OEM (german). Do you have maybe Windows ME?

    I also looked up for some Options in X-Setup Pro 6.6, but there are only things like changing the name, deleting the symbol from the desktop or altering the tool tip info.

    I guess there is a system file responsible for that, but which one?

  2. That's not quite what I meant. I only wanted to turn off the delete confirmation AND have no Recycle Bin. If I have the Recycle Bin activate, I can turn off the delete confirmation.

    I can go to properties, but once I activate "Do not move file to Recycle Bin" (the upper box) the lower box "Display delete confirmation" is greyed out and I can't click it anymore. It doesn't matter if I first deactive the lower box and then activate the upper box before it greys out.

    But nonetheless thanks for your efforts

  3. As far as I know %windir% is the only variable that can be used, though I don't know if that works in reg files, but it works in batch files.

    An other method is to use inf-files. They have code numbers for various Windows folders, like 10 for the Windows folder. I use this to copy files to Windows folders via msbatch.inf like:

    [Install]
    CopyFiles=winfile.copy, winsysfile.copy, inffile.copy, IOSubSysfile.copy, vmm32file.copy, rootfile.copy

    [winfile.copy]
    Editor2.exe

    [vmm32file.copy]
    Ios.vxd

    [DestinationDirs]
    winfile.copy=10
    winsysfile.copy=11
    inffile.copy=17
    IOSubSysfile.copy=12
    vmm32file.copy=22
    rootfile.copy=30

  4. Just use the Microsoft Batch 98 program on your Windows 98 CD under \Tools\Reskit\Batch.

    This program will create a msbatch.inf file with your current settings including timezone, like:

    msbatch.inf

    [Setup]
    TimeZone="W. Europe"

    [System]
    Locale=L0407
    SelectedKeyboard=KEYBOARD_00000407

    The timezone names are probably shortened like here, maybe S.Arabia? Anyway the batch program reads your system settings and creates a msbatch.inf file with these settings.

  5. I got this in my msbatch.inf

    [Install]
    AddReg=RunOnce.BatchDelay,Run.Installed.Components,Skip.PCMCIA.Wizard,Registry.WinUpdate,RegistrySet
    tings,OPKInstall

    [OPKInstall]

    ; The line below deletes Welcome applet for factory configuration portion
    ; of Express setup so it doesn't pop up over the Notepad message.
    HKCU,Software\Microsoft\Windows\CurrentVersion\Explorer\Tips,show,1,00
    ; The line below turns off the user logon going into Windows (needed for
    ; factory configuration portion of Express setup).
    HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Network\Real Mode  Net","autologon",1,00000000

    [RunOnce.BatchDelay]
    HKLM,%KEY_RUNONCE%,BatchRun2,,"%25%\rundll.exe setupx.dll,InstallHinfSection Delete.Welcome 4 %17%\msbatch.inf"

    [Delete.Welcome]
    DelReg=Registry.Welcome

    [Registry.Welcome]
    HKLM,Software\Microsoft\Windows\CurrentVersion\Run,Welcome,,

    [Delete.Regwiz]
    AddReg=Registry.Regwiz

    [Registry.Regwiz]
    HKLM,Software\Microsoft\Windows\CurrentVersion\Welcome\Regwiz,@,1,01,00,00,00
    HKLM,Software\Microsoft\Windows\CurrentVersion,RegDone,1,01,00,00,00

    [Strings]
    KEY_RUNONCE="SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce"
    KEY_INSTALLEDCOMPS="SOFTWARE\Microsoft\Active Setup\Installed Components"
    KEY_IEXPLORERMAIN="Software\Microsoft\Internet Explorer\Main"

    I hope I didn't miss anything. Anyway autostart entries or services are under the following Registry keys:

    [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run]

    [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Services]

    [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\ServicesOnce]

    [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RunOnce]

    [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RunOnceEx]

    Once you located an entry you want to remove create a reg file like this:

    REGEDIT4

    ;Removes Task Monitor
    [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run]
    "TaskMonitor"=-

  6. I got this trick from another member in this forum:

    In Windows right click the batch file and select Properties. On one tab (I think it is the last one) there is an option to close the dos box on exit.

    Once you did this a pif file with the same name as the batch file will be created. Copy these 2 files to your unattended folder.

    Also I have an empty line after the last command in each batch file. You might to try this, too.

    You can test it in Windows by double clicking.

  7. I did it this way.

    You need 5 things to this

    - TweakUI (tweakui.cpl in \windows\system)

    - Your password file (username.pwl in \windows)

    - The [Password Lists] section from your system.ini

    - Configured msbatch.inf

    - A reg file that adds user information and an autorun service

    1. First you need an installed version of Windows 9x with TweakUI. Then enter your username & password and enable the autlogin option. Make sure it works.

    2. In your Windows folder should be a file called [username].pwl and in the system folder a file tweakui.cpl. Copy these 2 files to your unattended folder where your msbatch.inf file is.

    3. This is part of my msbatch.inf (irrevelant lines are here omitted) with network. I don't know if the network section is necessary.

    msbatch.inf

    [NameAndOrg]
    Name="Username"
    Display=0

    [Network]
    ComputerName="ComputerName"
    Workgroup="Workgroup"
    Display=0
    PrimaryLogon=Windows
    Clients=VREDIR
    Protocols=MSTCP
    Security=SHARE
    PassThroughAgent="Workgroup"

    [VREDIR]
    LogonDomain="Domain"
    ValidatedLogon=0

    [Install]
    AddReg=RunOnce.BatchDelay,Run.Installed.Components,Registry.WinUpdate,RegistrySettings,OPKInstall
    CopyFiles=winfile.copy, winsysfile.copy
    UpdateInis=UPD.Sys.systemini

    [winfile.copy]
    username.pwl

    [winsysfile.copy]
    tweakui.cpl

    [UPD.Sys.systemini]
    %10%\system.ini,"Password Lists", , "Username=c:\Windows\Username.pwl"

    [RunOnce.BatchDelay]
    HKLM,Software\Microsoft\Windows\CurrentVersion\RunOnce\Setup,"Userdefined Batch File",,"start [Your unattended folder here]\custom.bat"

    [DestinationDirs]
    winfile.copy=10
    winsysfile.copy=11

    4. Now during the installation a file custom.bat is executed which registers a reg file called runonce.reg. This regfile adds user information and the TweakUI autorun service to the registry, so you will be automatically logged in (see below) .

    You can probably also do it in the msbatch.inf, but I use custom.bat for other purposes as well.

    custom.bat

    c:
    cd\[Your unattended folder here]
    %windir%\regedit /s runonce.reg

    5. Runonce adds your username & password and an autorun service to the registry. I used the my username as password, so I don't know if it will work when you specify another password.

    runonce.reg

    REGEDIT4

    ;Autologin for specified User
    [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Winlogon]
    "AutoAdminLogon"="1"
    "DefaultUserName"="Username"
    "DefaultPassword"="Password"

    HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RunServices]
    "Tweak UI"="RUNDLL32.EXE TWEAKUI.CPL,TweakLogon"

  8. As far as I know yes. The file should be in the \windows\system folder. Maybe you need to add the system folder to your path variable in autoexec.bat so you can unregister files in other directories than the system directory.

  9. With OEM versions neither the switch setup.exe /iw nor ShowEula=0 in the msbatch.inf don't help, but Ypsos posted his msbatch.inf and with that it works also for OEM versions.

    http://www.msfn.org/board/index.php?showtopic=21230

    In the section [OPKInstall] he added the following lines:

    HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion","ProductId",,12345-OEM-1234567-12345
    HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion","ProductKey",,ABCDE-FGHIJ-KLMNO-PQRST-UVWXY
    HKLM,"Software\Microsoft\Windows\CurrentVersion","RegisteredOwner",,User
    HKLM,"Software\Microsoft\Windows\CurrentVersion","RegisteredOrganization",,none

    Insert your Product Key and it should work.

    Don't forget to add the section to your Install section

    [Install]
    AddReg=OPKInstall,.....

    I also use ShowEula=0 in the [setup] section and the switch /iw for setup.exe (along with others), though I don't know if it's necessary.

  10. You can write a batch file and put the proper filename with the correct switch in it, i.e.

    start /wait 238453US8.EXE /Q:A /R:N

    The switches /Q:A /R:N works for most patches.

    MDAC (german version in this case) needs a special switch:

    MDAC 2.8

    start /wait Mdac28de.exe /q /c:\"setup /qn1\

    Security Patch for MDAC Components (for your language)

    start /wait GER_Q832483_MDAC_x86.EXE /C:"dahotfix /q /n" /Q

  11. Hi there,

    i want to add a section entry to the system.ini, which contains a space (works fine for sections without spaces) by an inf-file (msbatch.inf).

    It looks like this (just the important lines):

    [Install]
    CopyFiles=UPD.Sys.systemini

    [UPD.Sys.systemini]
    %10%\system.ini, vcache, , "ChunkSize=2048";works fine
    %10%\system.ini, Password Lists,;creates section [PasswordLists] instead of [Password Lists]
    %10%\system.ini, Password Lists, , "User=c:\Windows\User.pwl"

    I also tried to replace the section name by a string, but that didn't work neither.

    [UPD.Sys.systemini]
    %10%\system.ini, %PWDLIST%, , "User=c:\Windows\User.pwl"
    ;creates section [%PWDLIST%] instead of [Password Lists]

    [Strings]
    PWDLIST="Password Lists"

    Is there another way to do this?

  12. With OEM versions neither the switch setup.exe /iw nor ShowEula=0 in the msbatch.inf don't help, but Ypsos posted his msbatch.inf and with that it works also for OEM versions.

    http://www.msfn.org/board/index.php?showtopic=21230

    In the section [OPKInstall] he added the following lines:

    HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion","ProductId",,12345-OEM-1234567-12345
    HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion","ProductKey",,ABCDE-FGHIJ-KLMNO-PQRST-UVWXY
    HKLM,"Software\Microsoft\Windows\CurrentVersion","RegisteredOwner",,User
    HKLM,"Software\Microsoft\Windows\CurrentVersion","RegisteredOrganization",,none

    Insert your Product Key and it should work.

    Don't forget to add the section to your Install section

    [Install]
    AddReg=OPKInstall,.....

    I also use ShowEula=0 in the [setup] section and the switch /iw for setup.exe (along with others)

  13. Hi everyone,

    I have an older mainboard BX2000 from Gigabyte with 440BX chipset.

    I have currently a 60GB HDD installed and would like to now if anyone has the same mainboard and successfully tried larger HDDs (i.e. 80GB) on this mainboard.

    Since the mainboard is a little bit old, I couldn't find any information about this neither at the manufacture's site nor in my manual, so hopefully someone here can help me.

    Thanks in advance

    kukris



×
×
  • Create New...