Use Winrar to create Setup exe + Desktop Shortcut + Icon installation file

Dino

Member
In this article, I would like to guide you on how to create a software or game installation file (Potable).
After compression, it will produce a *.exe file like game or software installation packages..
It's not that simple... After installation, there will be a Shortcut on the Desktop with my Icon very impressive.. :)
Here, I downloaded the chicken shooting game to illustrate =))

First, you need to prepare..
+ Winrar
+ Game to make
+ 1 Image file to make Icon and Logo (need or not, just for beauty, maximum size 512x512, but 256 x 256 is standard)
===================================================================================
Let's get to work.. =)
First, I need to convert the image file to an icon (I use the site http://converticon.com/ )
I will receive a *.ico file (remember to change the name to Icon.ico to avoid confusion)

I need an additional *.Bmp file to make the logo (256x256 can use that image too)...
If you don't have Photoshop, use Windows' default Paint for convenience =))
Remember to choose the color 24 bit and bmp format, rename to Logo.bmp to avoid confusion..=)

So I have the game folder and 1 file for Icon, 1 file for Logo

Next, I will unzip the chicken shooting game to " C:\Program Files\ChickenInvaders " and copy the 2 image files just created into the game folder

. Save it anywhere you like. But saving it in the Program Files folder is convenient for later.

Go to the C:\Program Files folder ==> Right click on the "Chicken shooting game" folder ==> select Add to archive. ..

Create-exe-file-with-Winrar-01.png


Select Create SFX archive

Create-exe-file-with-Winrar-02.png


Go to Advanced tab ==> select SFX options ...

Create-exe-file-with-Winrar-03.png


Select the General tab ==> Enter the path to extract ( C:\Program Files\ )

Create-exe-file-with-Winrar-04.png


Switch to the Setup tab ===> here there are 2 options
+ Run after extraction (Run after extraction)
+ Run before extraction (Run while extracting)
(Because the chicken shooting game often crashes and has to run Fix-Crash.exe after installation, I run that file right after extracting)
I enter the path " C:\Program Files\Chicken Invaders 5\Fix-Crash.exe " into " Run after extraction "

Create-exe-file-with-Winrar-05.png


Switch to the Advanced tab ===> click Add shortcut...

The Add shortcut window appears ===> Select Desktop
Box number 1, enter the path to the game executable file (*.exe)
Box number 2, enter the name of the Shortcut you want to create on the Desktop (You can leave it blank)
Box number 3, enter the path to the Icon.ico file
Then click OK and go to the Text and Icon tab
(If you want to create more Shortcuts, just Add shortcuts, as many as you want)

Create-exe-file-with-Winrar-06.png


Switch to the Text and Icon tab.
Boxes 1 and 2... enter something and when you unzip it, it will show up (Like a game shared for free by abc..xyz...)
Box 3... find the Logo.bmp file (Create a logo when installing the game)
Box 4... find the Icon.ico file (Is the icon of the game installation when completed)

Create-exe-file-with-Winrar-07.jpg


Then click Ok ==> Ok, wait for it to finish compressing and enjoy the results =))
Valid product:

Create-exe-file-with-Winrar-08.jpg


Product installation process:

Create-exe-file-with-Winrar-09.jpg


=======================================================================================

If the settings are correct, after running the game installation file, there will be a shortcut on the desktop. @@

================================================================================================
Wish you success :)..!!
 
Top