MSFN Forum: How to make a 7-Zip Switchless Installer - MSFN Forum

Jump to content



Unattended CD/DVD Guide Homepage · MSFN Forum Rules

Welcome to the Applications Installs forum. Make sure you read the forum rules before you start posting.

Links/Requests to warez and/or any illegal material (porn, cracks, serials, etc..) will not be tolerated. Discussion of circumventing WGA/activation/timebombs/keygens or any other illegal activity will also not be tolerated.

We try our best to keep this forum clean of illegal content. If you see any illegal activity use the "report" button you find in every post to report the specific post to the moderators. If you ignore any of the rules you will be banned without notice.

Read Forum Rules
  • 15 Pages +
  • 1
  • 2
  • 3
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

How to make a 7-Zip Switchless Installer Rate Topic: ***** 3 Votes

#11 User is offline   keytotime 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 400
  • Joined: 05-October 04

Posted 12 February 2005 - 08:58 AM

This is a tutorial how to make a switchless for any program using 7-Zip. The new 7-zip uses /S.


#12 User is offline   Derkan 

  • Newbie
  • Group: Members
  • Posts: 12
  • Joined: 15-January 05

Posted 12 February 2005 - 09:04 AM

For, not of. Got it. :) Anyway, I've got this thread bookmarked. :D

#13 User is offline   moo 

  • Junior
  • Pip
  • Group: Members
  • Posts: 86
  • Joined: 29-July 04

Posted 13 February 2005 - 03:24 PM

Nice and clear guide!
I think that admin schould bookmark it in point of interests, because similar guide was published on this site long time ago, but was lost.

@Astalavista
And keytotime right about the StartXP - it always works, plus free. Btw, why do you use it if your applications better when repacked switcheless acrobat7?
regards, moo

#14 User is offline   Astalavista 

  • MSFN loyalist
  • PipPipPipPipPipPipPipPipPip
  • Group: Banned
  • Posts: 3,338
  • Joined: 02-December 03

Posted 13 February 2005 - 07:12 PM

moo u must be mistaken i dont use it. u can't check my latest Adobe Acrobat build.

#15 User is offline   moo 

  • Junior
  • Pip
  • Group: Members
  • Posts: 86
  • Joined: 29-July 04

Posted 13 February 2005 - 08:07 PM

@astalavista
boom...
sorry man and thanks for good job too on another posts.
moo

#16 User is offline   Astalavista 

  • MSFN loyalist
  • PipPipPipPipPipPipPipPipPip
  • Group: Banned
  • Posts: 3,338
  • Joined: 02-December 03

Posted 13 February 2005 - 08:12 PM

no problem moo moo.

#17 User is offline   Mekrel 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 372
  • Joined: 17-November 04

Posted 14 February 2005 - 10:15 AM

I got a problem, nice guide though :)

the problem is this

Im converting all my WinRAR SFX installers to 7-Zip SFX installer, and im using 7-Zip on some Install Shield installers.

One of them is Anti virus Kit 2004 from GData, and I had it installing fine before with the switches i use in the config.txt which is saved with UTF-8 encoding like stated in the guide.

;!@Install@!UTF-8!
RunProgram="Setup.exe -s -f2\"%systemdrive%\avk.log\""
;!@InstallEnd@!


The setup.iss is in the archive aswell, and being as its ran from %CDROM% variable, it needs to have the avk.log assigned to it too according to the unattended guide made by Allanol.

Any ideas?

#18 User is offline   batman75 

  • Alive and kicking
  • Pip
  • Group: Members
  • Posts: 58
  • Joined: 12-December 04

Posted 14 February 2005 - 10:45 AM

Excellent Tut.
Thanks for the work

#19 User is offline   Rico.JohnnY 

  • Member
  • PipPip
  • Group: Members
  • Posts: 242
  • Joined: 02-June 04
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 14 February 2005 - 12:32 PM

Is it possible to run multiple commands in config.txt?

For example, applying reg tweak after running setup.exe

#20 User is offline   Mekrel 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 372
  • Joined: 17-November 04

Posted 14 February 2005 - 12:46 PM

Rico.JohnnY, on Feb 14 2005, 07:32 PM, said:

Is it possible to run multiple commands in config.txt?

For example, applying reg tweak after running setup.exe
<{POST_SNAPBACK}>


Well for the problem i posted above, I have sorted it using a .cmd file.

Seems to you cant run a installer which needs. iss from the config.txt.

So to do what you want make a .cmd and include it in the Archive.7z

setup.exe /switch /anotherswitch
/wait REGEDIT settings.reg


Then call the .cmd file from config.txt

#21 User is offline   keytotime 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 400
  • Joined: 05-October 04

Posted 14 February 2005 - 06:07 PM

Updated the guide to make it clearer.

#22 User is offline   Astalavista 

  • MSFN loyalist
  • PipPipPipPipPipPipPipPipPip
  • Group: Banned
  • Posts: 3,338
  • Joined: 02-December 03

Posted 14 February 2005 - 06:18 PM

It keeps getting better and better keytotime. Posted Image

#23 User is offline   FrankE9999 

  • Member
  • PipPip
  • Group: Members
  • Posts: 115
  • Joined: 16-March 04

Posted 14 February 2005 - 06:27 PM

Mekrel, on Feb 14 2005, 10:15 AM, said:

I got a problem, nice guide though :)

the problem is this

Im converting all my WinRAR SFX installers to 7-Zip SFX installer, and im using 7-Zip on some Install Shield installers.

One of them is Anti virus Kit 2004 from GData, and I had it installing fine before with the switches i use in the config.txt which is saved with UTF-8 encoding like stated in the guide.

;!@Install@!UTF-8!
RunProgram="Setup.exe -s -f2\"%systemdrive%\avk.log\""
;!@InstallEnd@!


The setup.iss is in the archive aswell, and being as its ran from %CDROM% variable, it needs to have the avk.log assigned to it too according to the unattended guide made by Allanol.

Any ideas?
<{POST_SNAPBACK}>



Try ising the /SMS switch with the setup. Note this switch should be upper case as shown. RunProgram="Setup.exe -s -SMS -f2\"%systemdrive%\avk.log\""

Install Shield Command Line Parameters
http://zacky.cleveri.../is_cmdline.htm

MSI Online Commandline Generator ("CleverMSI-OCG")
http://zacky.cleveri...msi_cmdline.htm

#24 User is offline   Mekrel 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 372
  • Joined: 17-November 04

Posted 14 February 2005 - 07:43 PM

Thats for network usage though, anyway i sorted it running it from a batch which aint a biggie.

#25 User is offline   FrankE9999 

  • Member
  • PipPip
  • Group: Members
  • Posts: 115
  • Joined: 16-March 04

Posted 15 February 2005 - 10:25 AM

With 7Zip the files are extracted to the temp folder, the setup.exe is run and then the files are removed from the temp folder. The SMS option prevents setup.exe from returning before all child process have completed. This way your files aren't deleted until your install finishes.

#26 User is offline   fluid 

  • Member
  • PipPip
  • Group: Members
  • Posts: 109
  • Joined: 04-October 03

Posted 23 February 2005 - 07:20 AM

Thanks for the tutorial! For clarification, the exe that I'm gonna put in the config is the setup application that's gonna launch the setup right? For example im mp10setup.exe, there is the setup_wm.exe file inside. That's the exe that I'm gonna put in the config.txt right?

#27 User is offline   scankurban 

  • F_s_M
  • PipPip
  • Group: Members
  • Posts: 240
  • Joined: 29-August 03

Posted 23 February 2005 - 08:28 AM

Why do you need 7zip

#28 User is offline   Astalavista 

  • MSFN loyalist
  • PipPipPipPipPipPipPipPipPip
  • Group: Banned
  • Posts: 3,338
  • Joined: 02-December 03

Posted 23 February 2005 - 08:41 AM

you asking why u need 7zip?

ah... makes installers smaller. lol :P

#29 User is offline   fluid 

  • Member
  • PipPip
  • Group: Members
  • Posts: 109
  • Joined: 04-October 03

Posted 23 February 2005 - 09:44 AM

Wow thanks a lot again for the guide I just made myself a 7zip wmp 10 exe. Cool. It trimmed down about 3 mb.

#30 User is offline   Astalavista 

  • MSFN loyalist
  • PipPipPipPipPipPipPipPipPip
  • Group: Banned
  • Posts: 3,338
  • Joined: 02-December 03

Posted 23 February 2005 - 09:47 AM

why dont u just integrate it?

Share this topic:


  • 15 Pages +
  • 1
  • 2
  • 3
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

2 User(s) are reading this topic
0 members, 2 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy