Solved How do i compress files into one .exe file

Dominic Warden

New member
Member
VIP
Local time
4:05 AM
Messages
107
Hi, I have a small pc game and I want to compress all the files that help the game run into one .exe, so I can click on this one .exe and the game will launch. is this possible?

thanks
 

My Computer My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Republic of Gamers
OS
Windows 8 Pro x64
CPU
Intel® Core™2 Quad Processor Q6600 2.40MHz
Memory
8GB DDR2
Graphics Card(s)
NVidia GeForce GT 440
Sound Card
Integrated Sound
Monitor(s) Displays
Packard Bell Visio 230Ws
Screen Resolution
1920x1080
Hard Drives
2 x 500Gb SATA
Case
Midi
Cooling
8 Fans
Yes, you can do it with WinRAR. Even in trial mode.

You can create a self extracting archive, which can upon starting silently extract your game in temporary folder and start it from there. If the game is relatively small and computer is modern, final user should not be able to notice the delay.

Download and install Graphic version of WinRAR.

Then browse to a folder with your game. Hightlight all files you need, right click - WinRAR - Add to archive... (first option). Then you will see window Archive name and parameters. Click option - Create SFX archive.
Then go to Advanced tab, click SFX options button. In SFX options window in General tab, type %temp% in Path to extract field. Then click Update tab - Overwrite All files. Then in Mode tab click - Hide all. And in Text and icon tab you can set and icon for future exe file (last line called Load SFX ICON from the file). Then in Setup tab, in field Run after extraction type your original main exe file of that game. It will be started after full extraction.

After that click OK and let WinRAR create you sfx file.

Of course, if your game stores settings and saves inside that folder, after you change them, they won't stick, because SFX arhive would be already made and you would have to edit SFX archive itself. But if you game keeps progress/settings in other folders or registry that approach would be fine.

If you want I can create such sfx file for you. Just post/PM link to the game.
 

My Computer My Computer

Computer type
PC/Desktop
OS
Windows 8.1 ; Windows 7 x86 (Dec2008-Jan2013)
Other Info
"The scale icon at the top right of a post or tutorial is how you can give rep to the member."
You can also create an sfx file with the free 7-Zip
 

My Computer My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
Hewlett-Packard/G62-107SA Notebook
OS
Microsoft Windows 7 Home Premium 64-bit Service Pack 1
CPU
Intel(R) Core(TM) i3 CPU M 330 @ 2.13GHz
Motherboard
Hewlett-Packard 1425
Memory
8 GB DDR3
Graphics Card(s)
Intel(R) HD Graphics
Sound Card
Realtek High Definition Audio
Monitor(s) Displays
Builtin
Screen Resolution
1366 x 768 x 32 bits (4294967296 colors) @ 60 Hz
Hard Drives
250 GB SATA Hard Disk Drive 7200 rpm
2TB Seagate GoFlex USB 2 Drive
1TB Iomega Prestige USB 2 Drive
1.5TB Iomega Prestige USB 2 Drive (Samsung)
2TB WD MyBook Live NAS.
Mouse
Logitech Anywhere MX
Internet Speed
152 Mbs download 10 Mbs upload
Antivirus
Norton 360
Browser
Chrome
No, I don't mean an installing file. I mean like a portable app, so I just click on the .exe and the game launches.
 

My Computer My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Republic of Gamers
OS
Windows 8 Pro x64
CPU
Intel® Core™2 Quad Processor Q6600 2.40MHz
Memory
8GB DDR2
Graphics Card(s)
NVidia GeForce GT 440
Sound Card
Integrated Sound
Monitor(s) Displays
Packard Bell Visio 230Ws
Screen Resolution
1920x1080
Hard Drives
2 x 500Gb SATA
Case
Midi
Cooling
8 Fans
Well, that is not really installing file. That is the way many portable applications work (extract temp files). Plus, we can create you a cmd script that will delete those temporary files, once you done playing that game.

And let me have a look at the game please.
 

My Computer My Computer

Computer type
PC/Desktop
OS
Windows 8.1 ; Windows 7 x86 (Dec2008-Jan2013)
Other Info
"The scale icon at the top right of a post or tutorial is how you can give rep to the member."
Oh, sorry I misread your reply. WinRAR worked great thanks.
 

My Computer My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Republic of Gamers
OS
Windows 8 Pro x64
CPU
Intel® Core™2 Quad Processor Q6600 2.40MHz
Memory
8GB DDR2
Graphics Card(s)
NVidia GeForce GT 440
Sound Card
Integrated Sound
Monitor(s) Displays
Packard Bell Visio 230Ws
Screen Resolution
1920x1080
Hard Drives
2 x 500Gb SATA
Case
Midi
Cooling
8 Fans
Back
Top