Jump to content

How to make a 7-Zip Switchless Installer


keytotime

Recommended Posts


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
Link to comment
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.

Link to comment
Share on other sites

  • 1 month later...

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?

Link to comment
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
Link to comment
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

Link to comment
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:

Link to comment
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.
×
×
  • Create New...