Jump to content

Godfatha

Member
  • Posts

    51
  • Joined

  • Last visited

  • Donations

    $0.00 
  • Country

    Germany

About Godfatha

Contact Methods

  • Website URL
    http://

Godfatha's Achievements

0

Reputation

  1. do it the runonce method way... as u mentioned detached method works for u... use that one, but instead of copy method use a registry key (run or runonceex), if u use runonceex it'll start only once, if u use run its like the startup folder (a millisecond earlier tho..). but since u wanna run only one time that doesn't matter. So just do a reg add on the batch file or import a pre-done regfile to your needs. that should work for sure (just look out if u have spaces or placeholders in the reg command (something like %systemdrive%) these are supported by reg.exe tho (somewhere in the msfn guides was a guide for that too...)) so u would copy 2 batchfiles via detached way, execute one thru guirunonce, that one would import (or create) registry entries on HCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Run (one guide would be here: http://unattended.msfn.org/intermediate/me...s/runonceex.htm or u use "REGEDIT /S REGFILE.reg", where REGFILE.reg consists of the entries that have to be added to your run key). the path should point at the 2nd batchfile, that would be executed when the PC starts. as far as i know the HCU does support a run key and so it would startup after the pc booted. The thing i am not 100% sure is, if the HCU is working already, because ur username never logged on before, a workaround could be a batchfile executed in HKLM\...\runonce\setup, which is executed after user logs on (read here: http://www.windowsnetworking.com/kbase/Win...pLocations.html. but its strange that the copy method doesn't work for you tho... try the registry way (even tho its complicated and sucks... ) regards -T
  2. http://unattended.msfn.org/advanced/cosmetics/theme.htm there u find the guidance to make your desktop look like u want after unattended setup. i dunno what network probs u got, but check in winnt.sif this out: [Networking] InstallDefaultComponents=No [NetAdapters] Adapter1=params.Adapter1 [params.Adapter1] INFID=* NetCardAddress = 0x000000000000 PciBusNumber = 0 PciDeviceNumber = 0 PciFunctionNumber = 0 ConnectionName = "Connection1" [NetProtocols] MS_TCPIP=params.MS_TCPIP [params.MS_TCPIP] DNS=No UseDomainNameDevolution=No EnableLMHosts=No AdapterSections=params.MS_TCPIP.Adapter1 [params.MS_TCPIP.Adapter1] SpecificTo=Adapter1 DHCP=No IPAddress=192.168.0.100 SubnetMask=255.255.255.0 DefaultGateway = 192.168.0.1 DNSServerSearchOrder = 192.168.0.1 WINS=No NetBIOSOptions=2 u gotta check if u want/need every thing that is there but the most important part is the [params.MS_TCPIP.Adapter1] and [params.Adapter1]. the first is self explaining (or read the Deploy Tools help files) the second is the thing to config your network: INFID=* (if you don't got it just leave it alone or delete it) NetCardAddress = 0x000000000000 (your MAC address, install your network card one time correctly and check it out with "ipconfig /all") PciBusNumber = 0 (go into your hardware management and open up the properties of the network card, write down its BUS/DEVICE and FUNCTION number and enter them here (and the two entries below)) PciDeviceNumber = 0 PciFunctionNumber = 0 ConnectionName = "Connection1" (name of your lan connection) you can easily add more adapters that way and they will work with that config u told em to use in the winnt.sif btw: these infos u enter there are used for identification of the NIC only, u still gotta add drivers to your unattended cd/dvd if windows can't auto detect ur card(s) -T
  3. Useraccounts.cmd: @echo off net user "USER" /add net localgroup Administrators "USER" /add net accounts /maxpwage:unlimited REGEDIT /S autologin.reg EXIT autologin.reg: Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon] "DefaultUserName"="USER" "AutoAdminLogon"="1" "DefaultPassword"="" "LogonType"=dword:00000000 "ForceAutoLogon"="1" that works just fine if u just want one account called USER and to make it login automatically (forever untill u change that) without no password -T
  4. configure your theme stuff, save it (so far u had been) and place your theme and styles here: \$oem$\$$\Resources\Themes (just modify the first part of the path) then open your winnt.sif and put that line there: [Shell] CustomDefaultThemeFile = "%SystemRoot%\Resources\Themes\Theme.theme" it gotta be *.theme instead of styles and systemroot is the "windir" I dunno about your registry stuff, but u COULD place a file called "cmdlines.txt" in your $OEM$ folder that looks like that: [COMMANDS] "registry.cmd" and u create a file called "registry.cmd" in ur $OEM$ folder looking like that: @echo off REGEDIT /S crack.reg REGEDIT /S reg.reg EXIT and last but not least u place your crack.reg and reg.reg in your $OEM$ folder, give that a try, this is how i do my setup. -T
  5. Well all explainations are given on http://unattended.msfn.org/index.htm, but on the OEM dist. folder: the OEM folder is handled by the setup for putting files where they should be. Everything structured there will be found where u intended to place them (where that is, is described in the above url). So the OEM folders isn't used to boot the cd (or from the cd as u said). U can also put the cmdlines.txt there (not anywhere else) so you are able to "intercept" the setup at a special time (u have a few possible moments to intercept the setup timeline to mess up ur setup ) to execute commands. These two features are the only things that are important to understand. And yes that structure can be used for a network based unattended installation, but the network based one needs an unattended.txt file and the cd/dvd based one a winnt.sif one. -T
  6. look at this topic, if i install my drivers with that method, windows accepts my "not digitally signed" monitor drivers as the default drivers. Maybe that works for you too. The VGA drivers i do the same, but there windows takes its own digitally signed ones, if the ones you try to install aren't signed. I just downloaded a digitally signed one from NVidia, unpacked it (first with WinRAR and afterwards i had to unpack via "expand" some more files) and placed them in a "01_vga" directory. all is found and installed correctly. Since i'm too lazy to manually expand every freaking file heres a (so far working) batch skript to expand most of the files. After executing this you gotta check if there's any more files ending on *.??_ (where ? is an one-char-wildcard). what the last letter of the ending is you gotta find out yourself by google or so (if you can't guess it). @ECHO OFF FOR %%a IN (*.*_) DO ( IF "%%~xa" EQU ".tv_" ( expand "%%~nxa" "%%~na.tvp" del "%%~nxa") IF "%%~xa" EQU ".sy_" ( expand "%%~nxa" "%%~na.sys" del "%%~nxa") IF "%%~xa" EQU ".ex_" ( expand "%%~nxa" "%%~na.exe" del "%%~nxa") IF "%%~xa" EQU ".dl_" ( expand "%%~nxa" "%%~na.dll" del "%%~nxa") IF "%%~xa" EQU ".hl_" ( expand "%%~nxa" "%%~na.hlp" del "%%~nxa") IF "%%~xa" EQU ".cf_" ( expand "%%~nxa" "%%~na.cfg" del "%%~nxa") IF "%%~xa" EQU ".cp_" ( expand "%%~nxa" "%%~na.cpl" del "%%~nxa") IF "%%~xa" EQU ".xm_" ( expand "%%~nxa" "%%~na.xml" del "%%~nxa") ) (beware of the "del-commands" keep a backup of your files somewhere, or you gotta download the drivers again if the skript messes anything up) so far -T
  7. Here's a list of all hotfixes for Windows Server 2003 (concerning vulns) since SP1: KB883939 KB890046 KB898715 KB896358 KB896422 KB896426 KB896428 KB898792 KB901214 KB903235 regards -T
  8. the MSI file can also be called by MSIEXEC.EXE (located in C:\Windows\SYSTEM32\) to perform an interaction... if u call MSIEXEC.exe INSTALLDIR="SETUP_PATH" -i "PATH_TO_YOUR_MSI_FILE" /QB the msi installer will send the SETUP_PATH to ur MSI file... for this case u'll have to call the *.msi file of ur setup, if u have an install shield setup that runs a MSI file u can also run the *.exe of your setup with switches: /s /v"INSTALLDIR="SETUP_PATH" /QB", then IS will send teh infos to the MSI file (so u got also the opportunity to use IS switches (like /L for choosing language....) and if u got an IS setup u can use the -R switch to record the install, later u run the setup with the *.iss file and it'll be installed in the dir u recorded before. Inno setups u can run with an *.inf file that has the components and location stored. detailed info about all these u can find on the msfn guide site (determing what installer and what switches there are)
  9. your cmdlines.txt is correct, the folder architecture is correct, the runonceex seems correct too, but on your winnt.sif, i see ur key section is called ProductID, that is for win2000, what os are u trying to install? change that to ProductKey=xxxxxxxxx... then do u have all files in the correct location u want to run in the runonceex? (like $oem$\$1\install\apps\...) ? and does your OS start correctly after the install? the only difference i see to my setup is that u don't habe a logon script called from cmdlines.txt ( http://unattended.msfn.org/intermediate/users.htm ), maybe u should try that one too, if nothing helps of the said above i am clueless...
  10. first: if i get it right the hotfix files are only 0,7MB ? maybe u downloaded the webupdate files? not the fullfiles for administration installation? the hotfix EXE files sizes are different, some are less than 1mb some more then 3 ... check that and if u downloaded the webinstall files, u could install windows without being connected to the internet, i dunno for sure if its possible to run a webupdate while the setup is still running, but if its possible u could suppress the update by pulling the plug. if no update is installed u got the wrong ones. last but not least u could use the '/l' switch on one of the update files, it'll list all installed packages, if they are there u could be sure that they are installed.
  11. About the switches on plugins: open the java.msi file and look into the "checkbox" thread there u'll find: CheckBox1 = 1 IEXPLORER = 1 MOZILLA = 1 NETSCAPE6 = 1 but u're indeed correct about the switches for the jre package.. there u'll find only IEXPLORER and MOZILLA but about the reboot procedure, there are a few switches in the file on that: ISREBOOTREQUIRED (set as NOT or AND) ISSCHEDULEREBOOT (set as NOT or AND) ISCHECKFORPRODUCTUPDATES="1" (or 0) SDKSILENT=1 (strage one, sems only to affect to IE routines on checking it somehow, but not too sure on that) /Reboot (one switch from JRE...) JAVAREBOOT=1 (also JRE only) i didn't get any reboot messages with ReallySuppress, and i am not using NETSCAPE6 switches since i don't use netscape stuff, did u also call it via "msiexec [...] -i [...]" ?? or did u just send everything to the msi without calling the msiexec? maybe thats the difference between the method i used and the one u used... hope that helps
  12. I'm sorry, one little mistake in this... REG ADD %KEY%\010 /V 1 /D "%CDROM%\install\java.msi /QB" /f has to be REG ADD %KEY%\010 /V 1 /D "%CDROM%\install\java.msi /QB REBOOT=ReallySuppress" /f and REG ADD %KEY%\010 /V 2 /D "%CDROM%\install\jre.msi /QB IEXPLORER=1 NETSCAPE6=1 MOZILLA=1 REBOOT=Suppress" /f has to be REG ADD %KEY%\010 /V 2 /D "%CDROM%\install\jre.msi /QB IEXPLORER=1 NETSCAPE6=1 MOZILLA=1 REBOOT=ReallySuppress" /f u need to ReallySuppress the reboot dialog else u'll get a "need to reboot/restart" message... my fault...
  13. U can safely remove .\Support\MSI and MSIE as well as NAVTools the rest i can't tell for sure and its not possible to point the symantec stuff to a different location, the symantc Packager does interpret 3 switches: /i (interactive mode) /qn (silent) and /x (deinstall), and since the msi's have to be started by setup, u can't change the path. i also tried editing the msi files, strange thing is, that my directory variables got ignored... infos from: Symantec.com search on " MSI command-line switches supported by Symantec Packager"
  14. Ok... this is no question this is a description on how to install the JDK (not JRE) by Sun (Version 1.5.0.01, but maybe it works on other versions too) first of all u gotta download the jdk.1.5.0.01.exe best would be not to have any sun java stuff installed start up the exe file but don't follow anything told to you by the setup routine... when u get to the license agreement (first time the setup needs your attention) u go straight to your temp folder. the temp folder is in a hidden directory in your %homepath% (since i own a german copy of WinXP i hope the following path is correct in the english/us version: C:\Documents and Settings\LOGONNAME\Local Settings\temp or %homepath%\Local Settings\temp) there u should find a folder called _isXX now (XX is a number, to be sure about the folder u could also go to the temp folder first and execute setup afterwards, then u'll see which folders are created while setup's running) in that folder u should find: 439 _ISMSIDEL.INI 4.632 0x0409.ini 5.014 0x0411.ini 3.584 1033.MST 48.259.584 J2SE Development Kit 5.0 Update 1.msi 121.078 setup.bmp 1.319 Setup.INI these files u should copy to somewhere save now u accept the license and so on.... then u can choose what u want to install (it doesn't matter what u're choosing, since we are just collecting files) when u are ready press 'Next', and look at the temp folder. after a while another window will pop up telling u to install the Runtime Environment, when that happens another *.msi file will appear in ur temp folder (no need to copy it, because we'll copy it from another place (doesn't matter where u copy it from tho...)) goto c:\program files\common files\Java\Update\Base Images\jdk1.5.0.b64\patch-jdk1.5.0_01.b08 (if u're using another version of JDK then i do, u could do a search for *.cab in windows, or open the *.msi file (from the _isXX folder) with WinINSTALL LE 2003 and read the variables there) here u should find 4 files (well 10 i found, but 3 *.cab files + 1 *.msi file) 113.053 jm150010.cab 867.260 jp150010.cab 180.224 JRE.msi 1.282 jz150010.cab those 4 files we need to proceed, u could copy the others too, they do no harm, nor any use... ok now u should place all copied files in one folder that it looks like that (btw, now u can proceed or cancel your setup the way u want) 439 _ISMSIDEL.INI 4.632 0x0409.ini 5.014 0x0411.ini 3.584 1033.MST 48.259.584 java.msi //former J2SE Development Kit 5.0 Update 1.msi 113.053 jm150010.cab 867.260 jp150010.cab 180.224 JRE.msi 1.282 jz150010.cab 121.078 setup.bmp 1.339 Setup.INI well, we're done (getting the files...) and now the way to install it WITHOUT ur attention: u can name the *.msi files what u want, i named the J2SE Development Kit 5.0 Update 1.msi java.msi as u can see above.... two ways: 1) just call java.msi /QB (jre.msi /QB) runonceex.cmd entry: REG ADD %KEY%\010 /VE /D "Sun JDK" /f REG ADD %KEY%\010 /V 1 /D "%CDROM%\install\java.msi /QB" /f //where %CDROM% is a variable that points at the cdram drive (look msfn guide) and %key% => SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx u can also replace /QB by /q which results in showing u nothing at all (QB shows u a statusbar....) and the jre is gonna be installed as: REG ADD %KEY%\010 /V 2 /D "%CDROM%\install\jre.msi /QB IEXPLORER=1 NETSCAPE6=1 MOZILLA=1 REBOOT=Suppress" /f (i put jre together with jdk in one ROE entry... u can change that if u like) just keep all files in one and the same folder and u will be fine... (QB can be replaced by /q too...) now way two, same like number one, but u can choose install path: 2) REG ADD %KEY%\010 /VE /D "Sun JDK" /f REG ADD %KEY%\010 /V 1 /D "%systemroot%\system32\msiexec.exe INSTALLDIR=\"YOUR_FAV_DIR\" -i %CDROM%\install\java.msi /QB" /f REG ADD %KEY%\010 /V 2 /D "%systemroot%\system32\msiexec.exe INSTALLDIR=\"YOUR_FAV_DIR\" -i %CDROM%\install\jre.msi /QB IEXPLORER=1 MOZILLA=1 NETSCAPE6=1 REBOOT=Suppress" /f if u're using any spaces in ur folder/file names use \" instead of " around the pathname (look in the guide on msfn) maybe anyone has fun with this, since many ppl are using only jre, u can adapt this guide on that one too i think


×
×
  • Create New...