Jump to content

RayOK

Member
  • Posts

    159
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    United States

Everything posted by RayOK

  1. I have a little knowledge on batch files that maybe I can help.. For user input, either letters or line input I would use two simple programs named Getkey and Getvar. Similar to choice but much butter, less annoying, sets input to variables. They can be found here. He has other programs on his site that may also be useful. For putting the info into winnt.sif maybe redirection pipes would be easier. Instead of outputting information on the screen use >> to append it to a text-based file. If the file doesn't exist, it will be created. For example: say %drivers% is set to DRIVERS\VIDEO or whatever, based on input or previous commands. ECHO;SetupMgrTag >> winnt.sifECHO [Data] >> winnt.sifECHO AutoPartition=0 >> winnt.sifECHO MsDosInitiated="0" >> winnt.sifECHO UnattendedInstall="Yes" >> winnt.sifECHO. >> winnt.sifECHO [unattended] >> winnt.sifECHO UnattendMode=FullUnattended >> winnt.sifECHO OemSkipEula=Yes >> winnt.sifECHO OemPreinstall=Yes >> winnt.sifECHO TargetPath=WinXP >> winnt.sifECHO UnattendSwitch="yes" >> winnt.sifECHO FileSystem=* >> winnt.sifECHO DriverSigningPolicy=Ignore >> winnt.sifECHO OemPnPDriversPath="%driver%" >> winnt.sifECHO. >> winnt.sifand so on.. Hope this gives someone more ideas. If not that, then maybe some of the links below will. They are various websites I've found about DOS programming.. FreeDOS (open-source DOS replacement, best) Batch Scripting Site MS DOS 6.22+ Refrence Laura's DOS Batches
  2. Hmm, not sure about anything about editing the .cab or .infs, but here is something to do after its installed.. Remove M$ Java Virtual Machine
  3. You don't have to replace any bmp files. Just create your own and change the registry. If you put the bmp in the Windows folder you do not have to specifiy a path in the registry. To change the registry you have two options, either a .reg file or a .cmd file. You cannot use variables like %systemroot% in a .reg file, so if you use a .reg file you have to either put the direct path or place the bmp in the Windows folder. With .cmd files you can put the bmp anywhere you like then use any variable you like. Here are some examples of each. .reg file Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Control Panel\Desktop] "Wallpaper"="Wallpaper.bmp" "WallpaperStyle"="2" .cmd file REG ADD HKCU\Control Panel\Desktop /v Wallpaper /d "%systemdrive%\folder\Wallpaper.bmp" /f Haven't tested the cmd file method but pretty sure it'll work. Hope all this helps!
  4. Now you're OK too..
  5. You need to wrap the whole thing in normal quotes and put \" for any quotes needed in the string.. So for that, I would something like this, which is straight out of my working RunOnce.cmd, changed slightly for your options, path and filename.. REG ADD %KEY%\008 /VE /D "Sun Java 1.4.2_04" /fREG ADD %KEY%\008 /V 1 /D "%CDROM%\postinstall\SunJava\j2re-1_4_2_04-windows-i586-p.exe /s /v\"/qn ADDLOCAL=jrecore IEXPLORER=1 REBOOT=Suppress JAVAUPDATE=0 WEBSTARTICON=0\"" /f
  6. CDShell.org has all the info you need to make a bootable CD with a menu and to launch a batch file before setup.
  7. You can upgrade Windows 98 to 98 SE with the Customer Service Pack. I think you can download it from windows update. Couldn't find a link on M$'s site for ya, just this. Don't know how to slipstream it though. I'm also looking to install 98 SE, so know of any good sites that deal with 98 SE updates, msbatch.inf, etc??
  8. I dunno about BB4Win or Litestep but with Geoshell you can install it in whatever account and just set it to start manually after you logged in with the user. Another idea maybe.. Whenever you have multiple users are the users that aren't in use stored in HKEY_USERS\S-1-5-## instead of the current user? If so, just figure out what folder in HKEY_USERS the other users are in and change them accordingly. Hope it makes sense. If not, say and I will explain more.. If ya do, good luck figuring out which user uses which folder in HKEY_USERS and making sure they stay the same from install to install.
  9. Hmm.. are you doing a clean install? Or just installing over 98 or non-empty partition? If installing over something then AutoPartition doesn't work. Thats my only guess..
  10. This help topic from Geoshell goes into something like that. I too use Geoshell and I think some people on the board say to use a program like ShellOn. Try the registry fix first, and if that doesn't work, then go to another space taking program. Geoshell Multiple Users Multiple Shells
  11. System folder on the desktop? Very, very bad program if so. To delete it, first make sure nothing else is keeping there like what XtremeMaC said. (aim crap) If nothing the attrib command might work.. Like so: attrib -s -h -r "<path to folder>" rmdir /s /q "<path to folder>" <path to folder> could be something like %userprofile&\Desktop\AIMCRAP
  12. Image loaded fine for me. Maybe because of Firefox? I dunno.. Anyway, looks great! What program is that?
  13. For java.. I used info from this site: Java Silent Installation And here is what works for me (note, I use Mozilla Firefox): %systemdrive%\INSTALL\PROGRAMS\JAVA\Java142_03.exe /s /v"/qn ADDLOCAL=ALL IEXPLORER=1 MOZILLA=1 REBOOT=Suppress JAVAUPDATE=0"
  14. I guess this means we have to bow down to you now?? I will be the first.. Thanks a lot XtremeMaC and Alanoll!!!!!..
  15. Hopefully you've looked at ref.chm? Comes in the Deployment Tools cab. Tells what most of these are. All of your blue ones are in there. Please look at that, update edit, etc.. SP1 Deployment Tools
  16. Its possible WinRar is case sensitive? Maybe /S for SFXs will work..? (do for me) Second possibility is, I see in your path statement it is %windir%\temp\dotnet and you say when you double click on your SFX it goes to c:\windows\temp and not c:\windows\temp\dotnet. Maybe the file isn't there?
  17. Ahh.. now I see why my variable "worked". It was just ignoring the variable and read the bmp file. Since the file is in my WINDOWS folder it worked. Anywhere else and it does not. So, for wallpaper files, just put the bmp in your WINDOWS (%systemroot%) folder and in the reg put: "Wallpaper"="Qube.bmp" Dollars22: even though the REG ADD statement above uses a variable, when it adds the statement into the registry it becomes the full path. %systemroot% becomes C:\WINDOWS or whatever.
  18. I have no idea about that but %systemroot% in my .reg works for me. If the full path does work for you, add something like this to a .cmd file (hope the syntax is right. Read it from here.) REG ADD HKU\.DEFAULT\Control Panel\Desktop /v Wallpaper /t REG_SZ /d %systemroot%\system32\qube.jpg
  19. Well, I don't think you can have a .jpg as a wallpaper. Whenever you select one in the Display properties Windows converts the .jpg/.gif to a .bmp puts it in a folder (will figure out which one later) and uses that. Have it convert your jpg to a bmp, use the bmp and I'm sure it will work.
  20. For the wallpaper people are suggesting two different, unrelated ways to get it to show. You could apply a theme but that includes editing the theme, setting it in your winnt.sif and putting it in your $$\Resources\Themes folder on the CD. The other is the registry I mentioned. Put your .bmp/.jpg/.gif wherever you want and point the registry setting to it. Three examples (using the file Wallpaper.bmp): 1- Put your .bmp in C:\Documents and Settings\<user name>\My Documents (or $OEM$\$Docs\<user name> on CD) and your registry to: "Wallpaper"="%userprofile%\\My Documents\\Wallpaper.bmp" 2- Put your .bmp in C:\WINDOWS (or $OEM$\$$ on CD) and your registry to: "Wallpaper"="%systemroot%\\Wallpaper.bmp" 3- Put your .bmp in C:\Program Files\Wallpapers (or $OEM$\$Progs\Wallpapers on CD) and your registry to: "Wallpaper"="%programfiles%\\Wallpapers\\Wallpaper.bmp" Get where I'm going? Hope it makes sense.
  21. Sorry, but have you even tried the registry thing Jotnar and I mentioned? It works and you see your wallpaper on first logon.
  22. This registry setting will work. However, I apply this reg file with cmdlines.txt and before the user is created in the normal user.cmd. It makes the wallpaper of the logon and the created user set to whatever this is. If you want a separate wallpaper for the logon and the user, apply the registry setting to current_user in something like cleanup.cmd (when programs are being installed) [HKEY_USERS\.DEFAULT\Control Panel\Desktop] "Wallpaper"="%systemroot%\\Wallpaper.bmp"
  23. No problem. Good list to have anyway. Yeah, I do have .reg code I use to add TweakUI and the other User Control Panel to the Control Panel.. They are: ;TweakUI to Control Panel [HKEY_CLASSES_ROOT\CLSID\{D14ED2E1-C75B-443c-BD7C-FC03B2F08C17}] @="Tweak UI" "InfoTip"="Starts the Tweak UI program which customizes advanced options in Windows" [HKEY_CLASSES_ROOT\CLSID\{D14ED2E1-C75B-443c-BD7C-FC03B2F08C17}\DefaultIcon] @="%SystemRoot%\\\\System32\\\\tweakui.exe,0" [HKEY_CLASSES_ROOT\CLSID\{D14ED2E1-C75B-443c-BD7C-FC03B2F08C17}\Shell] [HKEY_CLASSES_ROOT\CLSID\{D14ED2E1-C75B-443c-BD7C-FC03B2F08C17}\Shell\Open] [HKEY_CLASSES_ROOT\CLSID\{D14ED2E1-C75B-443c-BD7C-FC03B2F08C17}\Shell\Open\command] @="tweakui.exe" [HKEY_CLASSES_ROOT\CLSID\{D14ED2E1-C75B-443c-BD7C-FC03B2F08C17}\ShellFolder] "Attributes"=dword:00000030 ;User Accounts 2 to Control Panel [HKEY_CLASSES_ROOT\CLSID\{98641F47-8C25-4936-BEE4-C2CE1298969D}] @="User Accounts 2" "InfoTip"="Starts The Windows 2000 style User Accounts dialog" [HKEY_CLASSES_ROOT\CLSID\{98641F47-8C25-4936-BEE4-C2CE1298969D}\DefaultIcon] @="%SystemRoot%\\\\System32\\\\netplwiz.dll,0" [HKEY_CLASSES_ROOT\CLSID\{98641F47-8C25-4936-BEE4-C2CE1298969D}\Shell] [HKEY_CLASSES_ROOT\CLSID\{98641F47-8C25-4936-BEE4-C2CE1298969D}\Shell\Open] [HKEY_CLASSES_ROOT\CLSID\{98641F47-8C25-4936-BEE4-C2CE1298969D}\Shell\Open\command] @="Control Userpasswords2"
  24. Here is a little something I found on some website. You can create a shortcut using these commands I think. Try em out. And if you need a command-line program to make shortcuts, there is one at the link below. Shortcut 1.10 (from Optimum X) Control Panel module: CONTROL.EXE command: rundll32.exe shell32.dll,Control_RunDLL result: displays all the Control Panel icons in an Explorer view ---------------------- Accessibility Properties module: ACCESS.CPL command: rundll32.exe shell32.dll,Control_RunDLL access.cpl,,5 result: displays the Accessibility General properties command: rundll32.exe shell32.dll,Control_RunDLL access.cpl,,1 result: displays the Accessibility Keyboard properties command: rundll32.exe shell32.dll,Control_RunDLL access.cpl,,2 result: displays the Accessibility Sound properties command: rundll32.exe shell32.dll,Control_RunDLL access.cpl,,3 result: displays the Accessibility Display properties command: rundll32.exe shell32.dll,Control_RunDLL access.cpl,,4 result: displays the Accessibility Mouse properties ------------------------- Add New Hardware Wizard module: SYSDM.CPL command: rundll32.exe shell32.dll,Control_RunDLL sysdm.cpl @1 result: runs the Add New Hardware wizard --------------------------- Add New Printer Wizard module: SHELL32.DLL command: rundll32.exe shell32.dll,SHHelpShortcuts_RunDLL AddPrinter result: runs the Add New Printer wizard comments: Windows NT, it is possible to bring up a predefined Windows Dialog box for connecting to a network printer - the ConnectToPrinterDlg API. However, this dialog is not accessible by Visual Basic programs running under Windows 95. Therefore, you must use a Command line equivalent statement to invoke the "Add Printer Wizard" under Windows 95 as detailed above. (KB article Q154007) ---------------------------------- Add/Remove Programs Property Page module: APPWIZ.CPL command: rundll32.exe shell32.dll,Control_RunDLL appwiz.cpl,,1 result: displays the Install/Uninstall tab selected command: rundll32.exe shell32.dll,Control_RunDLL appwiz.cpl,,2 result: displays the Windows Setup tab selected command: rundll32.exe shell32.dll,Control_RunDLL appwiz.cpl,,3 result: displays the Startup Disk tab selected ------------------------------- Briefcase module: SYNCUI.DLL command: rundll32.exe syncui.dll,Briefcase_Create result: Creates a new Briefcase on the desktop ----------------------------------------- Copy Disk Dialog module: DISKCOPY.DLL command: rundll32.exe diskcopy.dll,DiskCopyRunDll result: displays the Copy Disk dialog for removable media ---------------------------------- Create New Shortcut module: APPWIZ.CPL command: rundll32.exe apwiz.cpl,NewLinkHere %1 result: Displays the Create New Shortcut dialog. Completing the filename in the dialog creates a shortcut at the location specified by %1 --------------------------------- Date & Time Properties module: TIMEDATE.CPL command: rundll32.exe shell32.dll,Control_RunDLL timedate.cpl,,0 result: displays Set Date & Time properties tab command: rundll32.exe shell32.dll,Control_RunDLL timedate.cpl,,1 result: displays the Time Zone properties tab ----------------------------------------- Dial Up Networking (DUN) module: RNAUI.DLL command: rundll32.exe rnaui.dll,RnaDial {name of connection to establish} result: displays the Connect To dialog for the passed connection. If connected, displays the connection status dialog. command: rundll32.exe rnaui.dll,RnaWizard result: displays the Dial Up Networking Connection Wizard ------------------------------------------- Display Options (Standard Windows Display Property Page*) module: DESK.CPL command: rundll32.exe shell32.dll,Control_RunDLL desk.cpl,,0 result: displays the Background tab selected command: rundll32.exe shell32.dll,Control_RunDLL desk.cpl,,1 result: displays the Screen Saver tab selected command: rundll32.exe shell32.dll,Control_RunDLL desk.cpl,,2 result: displays the Appearance tab selected command: rundll32.exe shell32.dll,Control_RunDLL desk.cpl,,3 result: displays the Settings tab selected comments: Note: Your video adapter may install other property pages into DESK.CPL dynamically when selected with its own icon (i.e an ATI or Matrox control panel icon). Additionally, it also may invoke its own control panel applet mimicking the Windows display options. ---------------------------------------- Fonts module: FINDFAST.CPL command: rundll32.exe shell32.dll,Control_RunDLL findfast.cpl result: displays the Office FindFast control panel applet (if installed) --------------------------------------- Fonts module: SHELL32.DLL command: rundll32.exe shell32.dll,SHHelpShortcuts_RunDLL FontsFolder result: displays the Fonts Folder in Explorer view command: rundll32.exe shell32.dll,Control_RunDLL main.cpl @3 result: Also displays the Fonts Folder in Explorer view --------------------------------------- Format Drive Dialog (floppy disk only) module: SHELL32.DLL command: rundll32.exe shell32.dll,SHFormatDrive result: displays the floppy disk Format Drive dialog. Causes the Drive A to be accessed on showing. ------------------------------------- Game Controllers module: JOY.CPL command: rundll32.exe shell32.dll,Control_RunDLL joy.cpl,,0 result: displays the Game Controllers General property page command: rundll32.exe shell32.dll,Control_RunDLL joy.cpl,,1 result: displays the Game Controllers Advanced property page --------------------------------------- HTML module: MSHTML.DLL command: rundll32.exe mshtml.dll,PrintHTML (HTML doc to print) result: sends the passed file to the printer ------------------------------------- Internet Explorer 4 Control Panel module: INETCPL.CPL command: rundll32.exe shell32.dll,Control_RunDLL inetcpl.cpl result: displays Internet Properties, General Tab command: rundll32.exe shell32.dll,Control_RunDLL inetcpl.cpl,,0 result: displays Internet Properties, General Tab (same as above) command: rundll32.exe shell32.dll,Control_RunDLL inetcpl.cpl,,1 result: displays Internet Properties, Security Tab command: rundll32.exe shell32.dll,Control_RunDLL inetcpl.cpl,,2 result: displays Internet Properties, Content Tab command: rundll32.exe shell32.dll,Control_RunDLL inetcpl.cpl,,3 result: displays the Internet Control Panel, Connection Tab command: rundll32.exe shell32.dll,Control_RunDLL inetcpl.cpl,,4 result: displays the Internet Control Panel, Programs Tab command: rundll32.exe shell32.dll,Control_RunDLL inetcpl.cpl,,5 result: displays the Internet Control Panel, Advanced Tab ----------------------------------- Joystick Properties (also see Games) module: JOY.CPL command: rundll32.exe shell32.dll,Control_RunDLL joy.cpl result: displays the Joystick property page ----------------------------------------- Mail and Fax Options module: MLCFG32.CPL command: rundll32.exe shell32.dll,Control_RunDLL mlcfg32.cpl result: displays the Microsoft Exchange Profiles general property page ------------------------------------- Mail Postoffice Options module: WGPOCPL.CPL command: rundll32.exe shell32.dll,Control_RunDLL wgpocpl.cpl result: displays the Microsoft Postoffice Workgroup Admin property page ------------------------------- Main Group Options/Properties module: MAIN.CPL command: rundll32.exe shell32.dll,Control_RunDLL main.cpl @0 result: displays Mouse Properties command: rundll32.exe shell32.dll,Control_RunDLL main.cpl @1 result: displays Keyboard Properties, Speed tab command: rundll32.exe shell32.dll,Control_RunDLL main.cpl @1,,1 result: displays Keyboard Properties, Language tab command: rundll32.exe shell32.dll,Control_RunDLL main.cpl @1,,2 result: displays Keyboard Properties, General tab command: rundll32.exe shell32.dll,Control_RunDLL main.cpl @2 result: displays the Printers Folder (including Add Printer) command: rundll32.exe shell32.dll,Control_RunDLL main.cpl @3 result: displays the Fonts Folder in Explorer view command: rundll32.exe shell32.dll,Control_RunDLL main.cpl @4 result: displays Power Management Properties ----------------------------------- Modem module: MODEM.CPL command: rundll32.exe shell32.dll,Control_RunDLL modem.cpl,,add result: Runs the Add New Modem wizard ----------------------------------- Multimedia & Sound Properties module: MMSYS.CPL command: rundll32.exe shell32.dll,Control_RunDLL mmsys.cpl,,0 result: displays the Multimedia/Audio property page command: rundll32.exe shell32.dll,Control_RunDLL mmsys.cpl,,1 result: displays the Multimedia/Video property page command: rundll32.exe shell32.dll,Control_RunDLL mmsys.cpl,,2 result: displays the Multimedia/MIDI property page command: rundll32.exe shell32.dll,Control_RunDLL mmsys.cpl,,3 result: displays the Multimedia/CD Music property page command: rundll32.exe shell32.dll,Control_RunDLL mmsys.cpl,,4 result: displays the Multimedia/Advanced property page command: rundll32.exe shell32.dll,Control_RunDLL mmsys.cpl @1 result: displays the Sound Properties page ----------------------------------------- Network Properties module: NETCPL.CPL command: rundll32.exe shell32.dll,Control_RunDLL netcpl.cpl result: displays the Networks properties, Configuration tab ----------------------------------- ODBC32 Data Source Administrator module: ODBCCP32.CPL command: rundll32.exe shell32.dll,Control_RunDLL odbccp32.cpl result: displays the ODBC32 Data Source Administrator properties dialog ------------------------------------- Open With module: SHELL32.DLL command: rundll32.exe shell32.dll,OpenAs_RunDLL {drive:\path\filename} result: displays the application/file "Open With" dialog result: passing the full file drive, path and name as a parameter will cause the dialog to display the line "Click the program you want to use to open the file '{filename}'". -------------------------------------- Passwords Properties module: PASSWORD.CPL command: rundll32.exe shell32.dll,Control_RunDLL password.cpl result: displays the Passwords properties, Change Passwords tab ------------------------------------- Power Management Properties module: POWERCFG.CPL command: rundll32.exe shell32.dll,Control_RunDLL powercfg.cpl result: displays the Power Management properties, Power Schemes tab ------------------------------------------- Printer module: SHELL32.DLL command: rundll32.exe shell32.dll,SHHelpShortcuts_RunDLL PrintersFolder result: displays the Printers Folder (including Add Printer) command: rundll32.exe shell32.dll,Control_RunDLL main.cpl @2 result: Also displays the Printers Folder (including Add Printer) ------------------------------------------- Regional Settings module: INTL.CPL command: rundll32.exe shell32.dll,Control_RunDLL intl.cpl,,0 result: displays the Regional Settings property page command: rundll32.exe shell32.dll,Control_RunDLL intl.cpl,,1 result: displays the Numbers property page command: rundll32.exe shell32.dll,Control_RunDLL intl.cpl,,2 result: displays the Currency property page command: rundll32.exe shell32.dll,Control_RunDLL intl.cpl,,3 result: displays the Time property page command: rundll32.exe shell32.dll,Control_RunDLL intl.cpl,,4 result: displays the Date property page ------------------------------------------------------- Screen Saver Installation module: APPWIZ.CPL command: rundll32.exe desk.cpl,InstallScreenSaver c:\win\system\Flying Windows.scr result: Installs the new screen saver and runs the display/screen saver preview property page comments: Specify a valid path to the screen saver file to install. If you are installing a new screen saver, first copy the screen saver file into the \windows\system folder, then execute the above command. This will install the specified saver as the current screen saver. It will not copy the file into the windows\system folder. Replace the string above with the name of your actual .scr file. --------------------------------------------------- System Properties module: SYSDM.CPL command: rundll32.exe shell32.dll,Control_RunDLL sysdm.cpl,,0 result: displays the General property page command: rundll32.exe shell32.dll,Control_RunDLL sysdm.cpl,,1 result: displays the Device Manager property page command: rundll32.exe shell32.dll,Control_RunDLL sysdm.cpl,,2 result: displays the Hardware Profiles property page command: rundll32.exe shell32.dll,Control_RunDLL sysdm.cpl,,3 result: displays the Performance property page --------------------------------------------------- Shutdown module: USER.EXE command: rundll32.exe user.exe,restartwindows result: forces Windows to perform a proper shutdown, and restart the computer command: rundll32.exe user.exe,exitwindows result: forces Windows to shutdown, and wait either to be turned off, or reset -------------------------------------------------------------------------- Telephony Properties module: TELEPHON.CPL command: rundll32.exe shell32.dll,Control_RunDLL telephon.cpl users result: displays the Dialing Properties dialog -------------------------------------------------- Themes module: THEMES.CPL command: rundll32.exe shell32.dll,Control_RunDLL themes.cpl result: displays the Themes control panel app (if installed) ----------------------------------- TweakUI module: TWEAKUI.CPL command: rundll32.exe shell32.dll,Control_RunDLL tweakui.cpl result: displays the TweakUI control panel applet (if installed) ----------------------------------------- Users Properties (Win98) module: INTECPL.CPL command: rundll32.exe shell32.dll,Control_RunDLL inetcpl.cpl users result: displays the Multi-User Settings properties dialog
  25. Please include px.dll and the other two sound plugins that were missing from 5.02. DirectSound and the wav writer I think they were.
×
×
  • Create New...