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.
So as to be able to self teach some more, is there anyway to open or view the coding behind any program to start understanding what code ill need to add for specific functions? Say i want to make my own installer for a file of my own, and i would like to learn how C-Net makes their installers so i could replicate it for my own file, would i be able to tap into their code files? Is this illegal?
The legality of such actions is entirely based on the license the software is under. If it's free, most likely it's open sourced and it's totally fine. If you bought the software, probably not. As for installing executables in such a way, good luck, but most likely it probably won't work. This method really only works with text characters just based off of the fact it's comprised of DOS commands. Binary executables aren't limited to text characters so you might find difficulty copying everything into a batch file.
<p>Ah, well thanks for that.</p>
<p>Though, I'm not sure if it installs stuff.</p>
<p>I used batch files for Quite a long time. I look forward into Programming.</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>https://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!

About This Instructable




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: