DIGIT-ARC read-only archive · snapshot: July 23, 2026

How to make silent installer for you software

20 posts · originally from https://geek.digit.in/community/threads/how-to-make-silent-installer-for-you-software.78709/

ashish_patel
ashish_patel Original post #1
Jan 21, 2008 at 5:40 PM
1.Download and install the latest version of 7-Zip.
2.Make a folder to copy all of the installation files to. If you are using a .msi include Msistub.exe in the folder. Make sure the installer name is under 8 character and has no spaces.
3.Select all of them and right click on any file.
4.Select "Add to archive...", which is under the select option.
5.You can make the archive name to whatever you want it to be. Set the compression level to Ultra.
*img126.exs.cx/img126/7676/archive0jd.png
6.Hit OK. Once the archive is created, you can delete all files except the archive.
7.Copy 7zs.sfx to the folder containing the archive. This one has no cancel button.
8.If you want, you can change the icon of the installer by replacing the icon in 7zS.sfx using ResHacker. For example, you can use the icon from the main program. Remember to save 7zS.sfx when you're finished.
*img161.exs.cx/img161/3082/53lw.png
In order to get rid of the cancel button and the close button, go to Dialog→500→1033. Select all then paste in this code: Code:
500 DIALOG 0, 0, 186, 26STYLE DS_FIXEDSYS | DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_CAPTIONCAPTION "Progress"LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_USFONT 8, "MS Shell Dlg"{ CONTROL "Progress1", 1000, "msctls_progress32", PBS_SMOOTH | WS_CHILD | WS_VISIBLE | WS_BORDER, 7, 7, 172, 14 }
In order to get rid of everthing paste in this code. Code:
500 DIALOG 0, 0, 0, 0STYLE WS_POPUPCAPTION "Progress"LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_USFONT 8, "MS Shell Dlg"{}
Select compiles and then save
9.Open Notepad and add the following: Code:
;!@Install@!UTF-8!RunProgram="program.exe –switch";!@InstallEnd@!
Replace program.exe with the name of your installer (including the extension). Replace -switch with the desired switch(es) to be used. You can also use a .cmd.

If you are using a .msi package you will need to use Msistub.exe. Msistub.exe will have to be inside the archive. The code for config.txt will be:
Code:
;!@Install@!UTF-8!RunProgram="msistub program.msi /qb-!";!@InstallEnd@!
Where program.msi is the name of the msi. You can use /qb-! for an install with a progress screen and /qn for a install with no screen.
10.Save as config.txt with UTF-8 encoding by selecting "UTF-8" from the dropdown menu in the "Save As..." dialog in Notepad. Save it to the same folder as 7zS.sfx and the 7z archive.
*img179.exs.cx/img179/4687/config1gf.png
11.The folder should now look something like this:
*img186.exs.cx/img186/3113/end0ma.png
12.Open a command prompt. CD to the folder. Then enter the following command: Code:
copy /b 7zs.sfx + config.txt + (whatever the archive name).7z (Installer_Name).exe
*img169.exs.cx/img169/2159/cmd2yf.png
That's it, you're done. Try it out.

7zs.sfx

Enjoy !
source-*www.msfn.org/board/lofiversion/index.php/t39048.html
V
vaibhavtek #2
Jan 21, 2008 at 5:59 PM
nice 1 but :arrow: source
prasad_den
Jan 21, 2008 at 6:06 PM
And the source is this..!!
Dude.. in spite of repeated previous warnings, you end up doing the same thing again..! :(

...
phreak0ut
Jan 21, 2008 at 6:53 PM
Daadi uncle, you decided to add source? Good :D
DigitalDude
Jan 21, 2008 at 7:24 PM
Post Date:
Feb 12 2005, 06:56 AM

grrrr....
K
Jan 21, 2008 at 10:29 PM
Source:*www.msfn.org/board/lofiversion/index.php/t39048.html
CadCrazy
Jan 22, 2008 at 1:50 AM
And finally i've banned one user :))
shantanu
Jan 22, 2008 at 3:24 AM
cad crazy : you want a ban for sometime,, i guess you need medical assistance... this is second thread i am seeing you are behaving like a mod or admin.. !
debsuvra
Jan 22, 2008 at 10:39 AM
cad crazy : you want a ban for sometime,, i guess you need medical assistance... this is second thread i am seeing you are behaving like a mod or admin.. !

Thanks Shantanu for giving him some 'siksha'. He is real crazy and outrageous :mad::mad:
A
adi007 #10
Jan 22, 2008 at 11:15 AM
we can also create a silent installer for the software by using winRAR sfx and winzip also..
I have done it using winrar for my software Presenmaker.....

But if u want to create a professional software installer then use NSIS
^^It's opensource (i will use this for my next software)

It has a good tutorial which will explain everything..
utsav
utsav #11
Jan 22, 2008 at 11:20 AM
cad crazy : you want a ban for sometime,, i guess you need medical assistance... this is second thread i am seeing you are behaving like a mod or admin.. !

:D:p
New
New #12
Jan 22, 2008 at 12:03 PM
Nice tut..thanks..
T
The Conqueror #13
Jan 22, 2008 at 7:33 PM
Daadi uncle, you decided to add source? Good :D
Last edited by ashish_patel : Yesterday at 06:38 PM :D:D
He added the Source AFTER prasad_den gave the source :cool:

Anyways, Excellent Copy-Paste :D :D

K
Jan 22, 2008 at 8:17 PM
we can also create a silent installer for the software by using winRAR sfx and winzip also..
I have done it using winrar for my software Presenmaker.....

But if u want to create a professional software installer then use NSIS
^^It's opensource (i will use this for my next software)

It has a good tutorial which will explain everything..

Thanks for the link:)
CadCrazy
CadCrazy #15
Jan 23, 2008 at 1:32 AM
@adi
Thanks for the link

cad crazy : you want a ban for sometime,, i guess you need medical assistance... this is second thread i am seeing you are behaving like a mod or admin.. !

Yaar tum masaq bahut acha kar lete ho. oops ye main kya bol raha hun. I think running would be a good idea now :D
utsav
utsav #16
Jan 23, 2008 at 2:21 AM
:D
MetalheadGautham
Jan 23, 2008 at 5:12 PM
dude, you are just telling the basic Self-Extracting-EXE creation technique here. Nothing special.
CadCrazy
CadCrazy #19
Jan 24, 2008 at 1:19 AM
Abe kisko bol raha hai.Woh to ban ho chuka hai.