Jump to content

edg21

Member
  • Posts

    196
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    United States

Everything posted by edg21

  1. You can set file associations before you try to open the flash But I think there are better ways to go about it than covering it up.... Change file associations via command line: http://www.jsiinc.com/SUBA/tip0100/rh0108.htm As far as opening up a command prompt without a window showing use this: '** RunDOS.VBS ** Dim sCMD, i, WshShell Set WshShell = CreateObject("WScript.Shell") For i = 0 to WScript.Arguments.Count -1 sCMD = sCMD & " " & WScript.Arguments(i) Next WshShell.Run Trim(sCMD), SW_HIDE, False Set WshShell = Nothing And call it like this: wscript RunDOS.vbs "cmd /c yourbatch.bat" You could also do this (should minimize the window) cmd.exe /c start /min c:\yourbatch.bat
  2. Q823718.exe /C:"dahotfix.exe /q /n" /q works too however extracting it makes it 5.5mb instead of the original 1.5mb... although that could be trimmed down if you compress everything like I do.
  3. Well... in all honesty if you only have 6 techs out in the field.... this might work for you. http://www.onecomputerguy.com/networking/x..._vpn_server.htm http://www.onecomputerguy.com/networking/xp_vpn.htm
  4. Ummm.... you need to be a little more specific
  5. I will be anxiously awaiting the results, until then I will be converting over to this myself to see how things go. For anyone curious I found info regarding the .inf files here: http://www.microsoft.com/windows/ieak/tech...0/en/INFDOC.HTM I also came across a couple ways to run batch files silently... well hidden at least: http://groups.google.com/groups?hl=en&lr=&....com%26rnum%3D2
  6. Now this I like May I ask how you are calling this from winnt.sif??? Also could we get a screenshot of this in action?
  7. What program did you use to convert your batch files into executables?
  8. ;Put my computer my network places my documents on the desktop [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel] "{20D04FE0-3AEA-1069-A2D8-08002B30309D}"=dword:00000000 "{450D8FBA-AD25-11D0-98A8-0800361B1103}"=dword:00000000 "{208D2C60-3AEA-1069-A2D7-08002B30309D}"=dword:00000000
  9. I simply installed winamp & copied the directory. Don't forget to copy over the shortcuts for your start menu if you want those too To create the proper file associations for winamp us the following link: http://www.jsiinc.com/SUBA/tip0100/rh0108.htm As far was the silent install of WinRAR: ECHO. ECHO Installing Winrar v3.20 Corporate Edition... start /wait %systemdrive%\install\winrar320\winrar320.exe /s
  10. This also works for resetting your cd key on a Windows XP w/SP1 computer: ' ' WMI Script - ChangeVLKey.vbs ' ' This script changes the product key on the computer ' '*************************************************************************** ON ERROR RESUME NEXT if Wscript.arguments.count<1 then Wscript.echo "Script can't run without VolumeProductKey argument" Wscript.echo "Correct usage: Cscript ChangeVLKey.vbs ABCDE-FGHIJ-KLMNO-PRSTU-WYQZX" Wscript.quit end if Dim VOL_PROD_KEY VOL_PROD_KEY = Wscript.arguments.Item(0) VOL_PROD_KEY = Replace(VOL_PROD_KEY,"-","") 'remove hyphens if any for each Obj in GetObject("winmgmts:{impersonationLevel=impersonate}").InstancesOf ("win32_WindowsProductActivation") result = Obj.SetProductKey (VOL_PROD_KEY) if err <> 0 then WScript.Echo Err.Description, "0x" & Hex(Err.Number) Err.Clear end if Next This will reset your cd key on a Windows XP Computer WITHOUT SP1 ' ' WMI Script - ChangeVLKey.vbs ' ' This script changes the product key on the computer ' '*************************************************************************** ON ERROR RESUME NEXT if Wscript.arguments.count<1 then Wscript.echo "Script can't run without VolumeProductKey argument" Wscript.echo "Correct usage: Cscript ChangeVLKey.vbs ABCDE-FGHIJ-KLMNO-PRSTU-WYQZX" Wscript.quit end if Dim VOL_PROD_KEY VOL_PROD_KEY = Wscript.arguments.Item(0) VOL_PROD_KEY = Replace(VOL_PROD_KEY,"-","") 'remove hyphens if any Dim WshShell Set WshShell = WScript.CreateObject("WScript.Shell") WshShell.RegDelete "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\WPAEvents\OOBETimer" 'delete OOBETimer registry value for each Obj in GetObject("winmgmts:{impersonationLevel=impersonate}").InstancesOf ("win32_WindowsProductActivation") result = Obj.SetProductKey (VOL_PROD_KEY) if err <> 0 then WScript.Echo Err.Description, "0x" & Hex(Err.Number) Err.Clear end if Next Original MS Article: http://support.microsoft.com/default.aspx?...;en-us;328874#5 Not sure if this only works on corp versions or not....
  11. I suppose you could set that in the setup.iss files if the apps you're installing are using InstallShield.....
  12. place a >nul after the copy command like this: ECHO. ECHO Copying WGET v1.9 beta with SSL support... copy %systemdrive%\install\wget\*.* %systemdrive%\windows\system32 >nul
  13. I placed unrar.exe on the cd in \$oem$\$$\system32\unrar.exe, making the command available I'm not sure if making them self extracting files would be any better as far as compression, but I like to have unrar.exe in my path anyways. ECHO Extracting Applications... %systemdrive%\windows\system32\unrar.exe x %systemdrive%\install\apps.rar %systemdrive%\install I dont think this option would work, because it only works with winrar installed on the target system, so you could overcome this by installing winrar.. Sunil Actually it works great By placing unrar.exe into \$oem$\$$\system32 setup copies unrar.exe over to the %systemdrive%\windows\system32 during the installation And I have winrar 3.20 installing silently, with all the other apps I install after it has been extracted from apps.rar
  14. k, thanks guys Also... I'm curious as to wether or not this would work, considering atiddc.dll is one of the ATI catalyst drivers & is not present on a system with an nvidia card, would I be able to add this to my apps.cmd that runs after 1st login? if exist %systemdrive%\windows\system32\atiddc.dll goto atiyes if not exist %systemdrive%\windows\system32\atiddc.dll goto atino :ATIYES ECHO. ECHO Installing ATI Control Panel... start /wait %systemdrive%\install\aticp36\Setup.exe -s -f1"%systemdrive%\install\aticp\setup.iss" goto hotfix :ATINO goto hotfix
  15. I placed unrar.exe on the cd in \$oem$\$$\system32\unrar.exe, making the command available I'm not sure if making them self extracting files would be any better as far as compression, but I like to have unrar.exe in my path anyways. ECHO Extracting Applications... %systemdrive%\windows\system32\unrar.exe x %systemdrive%\install\apps.rar %systemdrive%\install
  16. Is this directory structure correct & is the winnt.sif syntax correct? I have the winnt.sif pointing to where the .inf files for the drivers are located... $OEM$ $1\drivers\ $1\drivers\ATI\DISPLAY <- Catalyst Drivers $1\drivers\ATI\WDM <- WDM Capture Drivers $1\drivers\NVIDIA\DISPLAY <- Detonator Drivers WINNT.SIF ;SetupMgrTag [Data] AutoPartition=1 MsDosInitiated="0" UnattendedInstall="Yes" [Unattended] UnattendMode=FullUnattended UnattendSwitch="yes" OemSkipEula=Yes OemPreinstall=Yes TargetPath=\WINDOWS WaitForReboot="No" Repartition=yes DriverSigningPolicy=Ignore OemPnPDriversPath="drivers\video\nvidia\display;drivers\video\ati\display\2kxp_inf;drivers\video\ati\wdm\wdm_xp" [GuiUnattended] AdminPassword="futurama" EncryptedAdminPassword=NO AutoLogon=Yes AutoLogonCount=1 OEMSkipRegional=1 TimeZone=4 OemSkipWelcome=1 [UserData] ProductKey=XXXXX-XXXXX-XXXXX-XXXXX-XXXXX FullName="Bender" OrgName="Planet Express" ComputerName=* [TapiLocation] CountryCode=1 Dialing=Tone AreaCode=503 [RegionalSettings] LanguageGroup=1 [Branding] BrandIEUsingUnattended=Yes [URL] Home_Page=http://www.google.com [Proxy] Proxy_Enable=0 Use_Same_Proxy=1 [Identification] JoinWorkgroup=malevolence [Networking] InstallDefaultComponents=Yes [Shell] DefaultThemesOff=Yes DefaultStartPanel=Yes [Components] AutoUpdate=off msnexplr=off [GuiRunOnce] %systemdrive%\windows\system32\apps.cmd
  17. My Super Windows XP w/SP1 CD has the following features: The Setup will create a single Partition on the primary hdd and format it using NTFS. All applications & hotfixes have been compressed using winrar \$oem$\$1\install\apps.rar (95mb) \$oem$\$1\install\hotfix.rar (33.5mb) In addition to all pre-sp2 hotfixes being installed... setup also silently installs the following applications: WinRAR v3.20 Corporate Edition DirectX v9.0b Windows Media Player 9 Alcohol 120% v1.46.711 Multi-Language Retail Ahead Nero 6.0.0.11 Ultra Edition Hacked UXTHEME.DLL Kazaa Lite K++ Edition v2.4.2 K-Lite Codec Pack FULL (includes BSPlayer v0.8) Total Commander v5.50 Microsoft JavaVM - Build 3809 Microsoft JavaVM Update to 3810 Microsoft .NET Framework v1.1 WGET v1.9 Beta w/SSL Libraries SecureCRT v4.08 Winamp v2.91 Full (And sets proper file associations 100% SILENT) mIRC v6.03 MISC: No MSN Exprlorer installed Disabled Error Reporting Disabled Automatic Updates My Computer, My Network Places, & My Documents Icons on the desktop Default Classic Windows Theme Removed Windows Update Shortcut Removed Windows Catalog Shortcut Removed Set Program Access & Defaults Shortcut Included Drivers: NViDIA Detonator v45.23 WHQL Signed ATi Catalyst v3.6 Driver Suite & WDM Capture Driver Total size: 526mb I've yet to test the drivers portion of the cd, but all other features work properly. If anyone has questions or can help me with verify that my drivers & winnt.sif are setup properly for 3rd party driver support, send me a pm... thanks
×
×
  • Create New...