keytotime

How to make a 7-Zip Switchless Installer

288 posts in this topic

why we still need switches? then why this is called SWITCHLESS INSTALLER??????

0

Share this post


Link to post
Share on other sites

I guess after everything is said and done, all you'd have to do is double click (or call the .exe) and it'll install without switches.

0

Share this post


Link to post
Share on other sites
why we still need switches? then why this is called SWITCHLESS INSTALLER??????

The prog switches need to be prepackaged into the 7zip installer, very handy to automate your installation in ua etc.

0

Share this post


Link to post
Share on other sites
The prog switches need to be prepackaged into the 7zip installer, very handy to automate your installation in ua etc.

i mean to say....after making switchless installer of any application....will i need to use any switch for silent installation??? or still have to put command as below

"%systemdrive%\install\xxx.exe" ( there is no switches )

or still i have to use switches as below...

"%systemdrive%\install\xxx.exe /s /qn"

Edited by amit_talkin
0

Share this post


Link to post
Share on other sites
The prog switches need to be prepackaged into the 7zip installer, very handy to automate your installation in ua etc.

i mean to say....after making switchless installer of any application....will i need to use any switch for silent installation??? or should pust command as below

"%systemdrive%\install\xxx.exe" ( there is no switches )

or still i have to use switches as below...

"%systemdrive%\install\xxx.exe /s /qn"

Thats right once you build the 7zip or winrar installer you simply call the the exe it produces no switches as you showed here. :yes:

"%systemdrive%\install\xxx.exe" ( there is no switches )

Cheers

MC.

0

Share this post


Link to post
Share on other sites

cool!!!! thanks then....i was really confused with this one!!! now prob solved!!!! :P

0

Share this post


Link to post
Share on other sites

I can't make switchless instaler

I do:

1)ICreate new folder(my_program) and pasate totaluninstall.exe

2)I click right mouse button to totaluninstall and click 7-zip, add to archive. I select compression level ultra and hit OK.

3)ICopy 7zs.sfx to the folder(my_program)

4)I Open Notepad and I write:

;!@Install@!UTF-8!
RunProgram="totaluninstall.exe –switch"
;!@InstallEnd@!

I save as config.txt with UTF-8 encoding

5)I Open a command promp and write:

c:\my_program>copy /b 7zs.sfx + config.txt + totaluninstall.7z totaluninstall.exe

To install totaluninstall.exe i must cliking next :(

Help

What i do wrong?

0

Share this post


Link to post
Share on other sites

Is there any way to use switches other than "/qb-!"" and "/qn" when using an MSI Installer?

0

Share this post


Link to post
Share on other sites

I get this error The system cannot find the file specified.

In the notepad this is in it:

;!@Install@!UTF-8!

RunProgram="firefox.exe –switch"

;!@InstallEnd@!

The .7z is called firefox.7z and the .exe in it is called firefox.exe

So I seemed to do everything right, 7zS.sfx is in the same folder as all the other 2 files.

I get this error when I try to manually open the .7z to see if it will install.

Edited by Dwayne
0

Share this post


Link to post
Share on other sites

Hi, getting to do my TotalCommander installer, in fact this will be a Launcher-driven-startup of the program, with no actual installation, only copying in its folder (I thinkg the utility is called TotalCommander Loader - can be used as a USB started TC).

The only thing I would like to know is how to make the links on desktop and in Start Menu?

Is there difference between putting it under all users (to START) and only one of them, if yes how is it done?

For example, I will unpack all files to c:\totalcmd

How to add the shortcuts then?

Joe Yeti

0

Share this post


Link to post
Share on other sites
Hi, getting to do my TotalCommander installer, in fact this will be a Launcher-driven-startup of the program, with no actual installation, only copying in its folder (I thinkg the utility is called TotalCommander Loader - can be used as a USB started TC).

The only thing I would like to know is how to make the links on desktop and in Start Menu?

Is there difference between putting it under all users (to START) and only one of them, if yes how is it done?

For example, I will unpack all files to c:\totalcmd

How to add the shortcuts then?

Joe Yeti

sorry, already searched through WinRAR and found the options :blushing:

0

Share this post


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

  • Recently Browsing   0 members

    No registered users viewing this page.