Jump to content

tjhart85

Member
  • Posts

    193
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    United States

Everything posted by tjhart85

  1. Because I also have all these files on my hard drive, and I don't want to have to load up WIHU when I just want to load a file. I just double click on the batch file and it'll install it for me. When my unattended DVD isn't in the drive, CDROM is not set to anything and the batch file simply looks in the same directory as the batch and installs the program. For me, just having WIHU call a batch file is much easier. I'm not implying in any way that what you've implimented into WIHU isn't great, but I just don't always use WIHU (testing, random installs, etc...) and I would rather not force myself to do so.
  2. Sure, here ya go... Ad-Aware Batch cmdow @ /HID FOR %%d IN (c: d: e: f: g: h: i: j: k: l: m: n: o: p: q: r: s: t: u: v: w: x: y: z:) DO IF EXIST %%d\PRO1.dat SET CDROM=%%d\Install\AdAware\ %CDROM% start /wait %CDROM%aawsepro105.exe /S taskkill /F /IM Ad-Aware.exe taskkill /F /IM hh.exe Ad-Aware as called from WIHU description.1.0 = Lavasoft AdAware 1.05 SE command.1.0 = %inidir%\AdAware\install.bat selected.1.0=1 The FOR loop simply runs through and detects what drive is the CD-ROM and then maps the %CDROM% variable to the directory where Ad-Aware is (for me, you will need to change this most likely).
  3. For mIRC I would suggest that you WINRAR SFX the file, much easier and less error prone. As for AdAware, what I personally do is simply make a BAT file that has everything in it, and have WIHU call the BAT file. If you use CMDOW the file is hidden, and the end user can't tell the difference. If this isn't what you want, I'm sorry, but its a suggestion. Hopefully you will find an answer that is suitable for you, whether it be mine, or another. Good luck! EDIT: And I beleive the reason that the taskkill doesn't do anything is because it runs before AdAware and the help file load. You can try adding a sleep command (using sleep.exe, can be found on main site) and see where it goes from there.
  4. This is what I did, but it might not suit your needs. I created a multi-boot for my DVD. I created 3 seperate boot options for XP SP2. 1) Install Windows XP SP2 2) Install XP with TJHart85 WINNF.SIF 3) Install XP with other WINNT.SIF (obviously this isn't exactly what it says, but its good enough) Did you create a multi-boot DVD, or do you just use a DVD because you have so much stuff? If you created a multi-boot using FLYAKITE'S guide, you can copy the directory with the boot information in it (I think he called it PRO1) and and paste it as PRO2 and change all the information dependent on PRO1 to PRO2. In these directories is a WINNT.SIF In WINNT.SIF you can tell it what visual style you want for each installation. This might help you, it might not. If you wanted something like IF %USERNAME%==TJHart85 THEN VISUALSTYLE==CUSTOM then I have absolutely no idea how to do this. Is it possible to change the visual style via DOS, if it is, then my example above is actually pretty close to what you would do. Good luck, and be sure to keep us informed on how this turns out!
  5. You call it in the GUIRUNONCE section of your WINNT.SIF Instead of calling the batch file, you call the WIHU.EXE and after, you include all the things you want. (/skipsettings) and there are more, like ones that tell it to just install the programs, and other settings that tell it to wait 30 seconds, and so on.... To get a list of these settings, type WIHU /?
  6. You can use a program like WIHU or WPI to install the software silently, and it will allow you to pick and choose what software you want.
  7. Here ya go, 1 simple batch file. Contrains the following code: ECHO. ECHO Installing Windows Media Player 10 ECHO Please wait... start /wait %systemdrive%\install\MediaPlayer\MP10Setup.exe /q:A /c:"setup_wm.exe /Q /R:N /DisallowSystemRestore" Now, I REALLY hope you can get this to work And if your notepad don't work, you either are lying, or you REALLY REALLY need to format that computer, and QUICKLY! START.CMD
  8. it goes in the $OEM$\$1\install directory. I'll try and explain this, ok? What is going on is your WINNT.SIF file references a file, in this case START.CMD You tell the GUIRUNONCE (in the WINNT.SIF file) what batch file to run. You tell GUIRUNONCE that your file is located @ %systemdrive%\install and that its name is START.CMD. So what you have so far is: [GuiRunOnce] %systemdrive%\install\START.cmd and you have a directory on your XPCD that goes like this ROOT (not called root, just the main part of your drive, eg E:) --------i386 --------OEM$ -----------$1 --------------install -----------------START.CMD -----------------MediaPlayer ----------------------MP10.exe -----------$$ Now, what these directories mean is this: $OEM$ - means its an OEM CD, and that XP should automatically copy all files in this directory. $1 - Hard drive that windows is installing to (C:) Install - Directory underneath $1 What you wind up with in Windows is this: C: ---INSTALL -------START.CMD -------MediaPlayer ------------MP10SETUP.exe As you can see, Windows will AUTOMATICALLY copy these files over to your main hard dive (C:) What the guirunonce section is doing is this: %systemdrive%\install\START.cmd %SYSTEMDRIVE% - similar to $1, it just means the hard drive that windows was installed on. In the GUIRUNONCE this is interpreted as C: (or whatever your Windows drive is) So, GUIRUNONCE is basically doing this: C:\INSTALL\START.CMD and in your START.CMD you have something similar to this: ECHO. ECHO Installing Windows Media Player 10 ECHO Please wait... start /wait %systemdrive%\install\MediaPlayer\MP10Setup.exe /q:A /c:"setup_wm.exe /Q /R:N /DisallowSystemRestore" What this does is call your MP10setup.exe like so: C:\install\mediaplayer\mp10setup.exe and after that, runs the keys to make it silent. These I really don't have the time to explain, but if you can get this batch to work, I will happily explain it to you afterwards. And if you STILL can't get this to work, I suggest you either use the BASHRAT program I told you about before, you re-read the guide, or you begin to realize that an unattended XPCD just may not be for you. EDIT: And to create a batch (CMD file), all you need to do is open NOTEPAD type everything you want to be in the batch file, and save it as START.CMD
  9. If you want things to be that precise, I really hope that most of your apps use install shield otherwise Charmin Deluxe is right, AUTOIT is pretty much the way to go. As for what I was talking about with InstallShield, you can go here, it explains things much better than I could. There is also an app that will tell you what switches should work with your application. I haven't used it, but I've heard good things. This program won't give you the amount of control you want over your applications though. For that, you WILL need InstallShield silent installs, or AUTOIT. GOOD LUCK!
  10. If you go back to the main[/url ]part of the forum, go down to "Member Contributed Projects", you will notice that most of the programs listed there will do exactly what you want! I suggest looking through the sticky's on each of the programs and seeing which is best for you. I've heard good things about WPI, I personally prefer WIHU, just go and see which one looks best to you!
  11. Here is a link to a a script that will SLIPSTREAM (integrate it into the I386 directory of your Windows XP disc)l I have NOT used it, but figured it might be useful since Bashrat tries to keep his instructions as simple as double click this BAT file. I've looked over the instructions and they seem simple, like he was creating the program for someone who is 85 and completely computer illiterate! If you want a simple way for your computer to have WMP10, this is it. You lose some functionality, but from what I've heard its minimal and not very important.
  12. @ALANOLL Yeah, you're right. My mistake! Well, in the great words of George Carlin playing Rufus.... @borbomotsalo You're welcome. Glad to hear that you don't plan on disappearing and that you want to remain and become a full contributing member of this board. Thats great!
  13. @Alanoll I'm not trying to flame you or anything, its just your responce kind of floored me, in the past I've seen you give very detailed responces why things aren't possible, and always try to help the newbie, and this time its just no. As for this: Well, that was a miswrite on my part. I must have changed my mind about writing something, and forgot to delete it. @Se7eNdUsT Thank you! @Astalavista Same for you as Alanoll, I'm not trying to flame you, or make enemies, I just think people should be treated with respect, as long as they haven't shown any reason why they don't deserve any. And yes, I did miswrite what alanoll wrote. My mistake. And for that, I DID deserve to be laughed at, but a guy who asks a simple question doesn't need to be ridiculed for it. In this game, we are all noobs at something (new apps, adding drivers, etc...) and all want any of our questions to be answered with respect. IN THE GREAT WORDS OF BILL & TED, "BE EXCELLENT TO EACH OTHER!"
  14. borbomotsalo Alanoll Alanoll didn't say it wasn't possible, he said he would post/show a guide. And then everybody laughs about it. Much later, he did say this: So, Astalavista, no, this is in no way near your rape analogy. This is more like a little kid asking how a light switch works and his parents telling him to shut up and stop asking so many stupid questions. Yeah, noobs can be annoying, but the whole idea of an unattended install is very daunting. This is a well known board, do you really want to ruin its good name by being jerks to every noob who walks in?
  15. Personally I would suggest using the options in WINNT.SIF The only reason I suggest this is that you may let others use your CD (family/co-workers) and they won't want the hacked schtuff on there. Just my two cents. If this isn't an issue, and you just want the disc for you, then by all means, hack away!
  16. As a member of this board, I would like to apologise for the way some people treat the newer members. No one has ever treated me bad, for which I'm grateful, but I have seen them get snippy to the newer members, and for this I am sorry. You have to understand that the same questions get asked by noobs all the time, they get the answer, never to show up again, they don't post results, nothing. Just gone. When this happens you don't see a point in helping others all the time. As for what you are asking, I have no idea how to do that, or what is/isn't possible. Sorry. --TJHart85
  17. You could use a program like DEEP FREEZE, that will restore Windows to a pre-defined setting every time you reboot the computer (this will remove anything extra added since you last updated the deep freeze settings). If you do this, you might want to warn the users that there files will be deleted at reboot though
  18. Nero has the function to verify the data built into it.
  19. MSFN Unattended - WINNT.SIF PS - Astalavista is correct, you really should search. All I typed in to find that was "CHANGE DEFAULT THEME" and it was the first thing that popped up. The search button is your best friend around here.
  20. Use WIHU. This will allow the user to input what programs they want installed. You have WIHU call your batch files (or re-code them into WIHU, whichever is easier for you), and it installs. WIHU is easy to use, and is a great piece of software. It also makes a great program to include as an autorun on your CD. Which means its a great software selection program as well as an unattended tool. If this type of feature isn't what you want, please explain better. I think many of us are confused about what you actually want.
  21. ME was a terrible OS. I've tried it on numerous machines, and it didn't work well on any of them. ME out of the box couldn't even play a media file for me (popped up CATASTROPHIC ERROR when the media player errored LOL). It had excellent drivers pre-loaded, but that was about it. The absolutely only thing I liked about it was my video drivers and sound drivers were pre-loaded when I installed it. 98 needed to have them installed. I will say this though, pretty much ALL the people I know who bought a computer pre-loaded with ME didn't have any problems with it at all. The only people who I know of who had problems were people who bought it and installed it on their machine.
  22. You misunderstand. What I gave him was to put into his CMD file, not to put into WIHU. Can you set variables like that in WIHU? I have tried the %SRCPATH% and %SRCDRIVE% commands, and they didn't work properly for me (used the wrong CD drive). I then discovered the %INIDIR% comand which I beleive to be a much better command (for my purposes anyways).
  23. I had the exact same problem as you. Whats happening is the CMD is being called, but the active directory isn't where the application is, it's where WIHU is! I couldn't find an easy answer, so I made the decision that the only installation that mattered was the one being done from the CD. I set the directory using: for %%i in (C D E F G H I J K L M N O P Q R S T U V W X Y Z) do if exist %%i:\CD.txt set CDROM=%%i:\Install\"NAME OF DIRECTORY HERE"\ and run each program by going %CDROM%\setup.exe /s Also, just a stupid question here, but why don't you just use the capabilities of WIHU to install the application? You don't need to call a CMD file for it to install. The reason I do is that it took a long time to make the CMD's do what I want and I don't wanna bother with WIHU and trying to force it to do what I want. If this isn't the case with you, you could just have WIHU run the programs for you. EDIT: Most people would probably have the for loop look more like this: for %%i in (C D E F G H I J K L M N O P Q R S T U V W X Y Z) do if exist %%i:\CD.txt set CDROM=%%i:\$OEM$\$1\Install\"NAME OF DIRECTORY HERE"\
×
×
  • Create New...