Jump to content

Make an Executable to launch Executables?

Ok so weird name and topic but let me give some back story:

 

I want to upgrade to an SSD simply for booting. Problem is I have to install my motherboard drivers (LAN, AUDIO, USB3, Bio Flash etc).

That takes a bit of time and I don't have the disk anymore.

 

Is there a way I could just download all my files I need, put them on a USB and then have the USB run an EXE or .Bat and install all the programs default (C:\Program Files (x86)/ <Name_of_company>/<Name_of_Program>), Restart later.

 

Just so I can go to work and when I come back simply restart my computer and everything is in order?

Link to comment
https://linustechtips.com/topic/517016-make-an-executable-to-launch-executables/
Share on other sites

Link to post
Share on other sites

On Linux you could put the executable's URI on each line of the shell script and it would run one after the next. Not too sure if Windows works the same way though. You'd probably need to accept terms etc for the installations though so it wouldn't be completely automated. Installing mobo drivers really don't take long at all though imo, the longest it's taken me to install drivers is about 10 minutes (excluding reboot times). Someone else may have a solution to your problem but I'd recommend installing the drivers the normal way.

Speedtests

WiFi - 7ms, 22Mb down, 10Mb up

Ethernet - 6ms, 47.5Mb down, 9.7Mb up

 

Rigs

Spoiler

 Type            Desktop

 OS              Windows 10 Pro

 CPU             i5-4430S

 RAM             8GB CORSAIR XMS3 (2x4gb)

 Cooler          LC Power LC-CC-97 65W

 Motherboard     ASUS H81M-PLUS

 GPU             GeForce GTX 1060

 Storage         120GB Sandisk SSD (boot), 750GB Seagate 2.5" (storage), 500GB Seagate 2.5" SSHD (cache)

 

Spoiler

Type            Server

OS              Ubuntu 14.04 LTS

CPU             Core 2 Duo E6320

RAM             2GB Non-ECC

Motherboard     ASUS P5VD2-MX SE

Storage         RAID 1: 250GB WD Blue and Seagate Barracuda

Uses            Webserver, NAS, Mediaserver, Database Server

 

Quotes of Fame

On 8/27/2015 at 10:09 AM, Drixen said:

Linus is light years ahead a lot of other YouTubers, he isn't just an average YouTuber.. he's legitimately, legit.

On 10/11/2015 at 11:36 AM, Geralt said:

When something is worth doing, it's worth overdoing.

On 6/22/2016 at 10:05 AM, trag1c said:

It's completely blown out of proportion. Also if you're the least bit worried about data gathering then you should go live in a cave a 1000Km from the nearest establishment simply because every device and every entity gathers information these days. In the current era privacy is just fallacy and nothing more.

 

Link to post
Share on other sites

On Linux you could put the executable's URI on each line of the shell script and it would run one after the next. Not too sure if Windows works the same way though. You'd probably need to accept terms etc for the installations though so it wouldn't be completely automated. Installing mobo drivers really don't take long at all though imo, the longest it's taken me to install drivers is about 10 minutes (excluding reboot times). Someone else may have a solution to your problem but I'd recommend installing the drivers the normal way.

Im gonna be honest with you on this 1.

I'm tired of getting all the drivers and extracting every zip file onto a USB and deleting them afterwards.

 

I don't reformat my PC a whole lot but I work on every PC in my house as well as my relatives computers.

Was wanting to know if the process could be automated in any way.

Scripted events and what not.

 

I suppose its another topic for another forum however.

Thanks for your insight though man ;)

Appreciate it.

Link to post
Share on other sites

Exe files store all of their assets inside of the exe file format itself. It's really not possible, or practical, to extract all of those assets yourself, as things such as license agreements and stuff along those lines have to be done by you specifically. There's also other things Exe files do like set things inside of the registry and update system variables and stuff, so it's more than just "copy file x to directory y".

 

If the vendor providing the drivers has a .zip archive that contains all the necessary files, you can do it that way instead, although most vendors distribute .exe files only.

Link to post
Share on other sites

What you're talking about is an unattended installation of your OS that you can include drivers and other executables in for automatic installation which would work while you're not there.

 

There are tools that you can use to set this up.. But honestly the idea of an unattended set up is for mass installation on more than one machine and would probably take more time to set up than just installing the OS and drivers manually.

 

Google your motherboard model and in the support section the drivers should be available for download.

 

Hope this helps.

CPU: Intel Core i7-4790K | GPU: GTX 1080Ti | Case: Corsair 750D Airflow | Motherboard: ASUS Maximus Formula VI | RAM: 16GB Vengeance Pro | PSU: Corsair AX860

SSD/HDD(s): SAMSUNG 850 EVO 120GB, SAMSUNG PM830 256GB, SEAGATE 6TB | Optical Drive: Sony Optiarc AD-5280S CB-PLUS

Link to post
Share on other sites

Exe files store all of their assets inside of the exe file format itself. It's really not possible, or practical, to extract all of those assets yourself, as things such as license agreements and stuff along those lines have to be done by you specifically. There's also other things Exe files do like set things inside of the registry and update system variables and stuff, so it's more than just "copy file x to directory y".

 

If the vendor providing the drivers has a .zip archive that contains all the necessary files, you can do it that way instead, although most vendors distribute .exe files only.

He is talking about .bat scripts, not compiled exes.

My native language is C++

Link to post
Share on other sites

He is talking about .bat scripts, not compiled exes.

An executable doing system calls could work as well.

i5 4670k @ 4.2GHz (Coolermaster Hyper 212 Evo); ASrock Z87 EXTREME4; 8GB Kingston HyperX Beast DDR3 RAM @ 2133MHz; Asus DirectCU GTX 560; Super Flower Golden King 550 Platinum PSU;1TB Seagate Barracuda;Corsair 200r case. 

Link to post
Share on other sites

You only need network drivers installed and windows update should get the rest.

                     ¸„»°'´¸„»°'´ Vorticalbox `'°«„¸`'°«„¸
`'°«„¸¸„»°'´¸„»°'´`'°«„¸Scientia Potentia est  ¸„»°'´`'°«„¸`'°«„¸¸„»°'´

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×