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 +
  • « First
  • 3
  • 4
  • 5
  • 6
  • 7
  • 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

#81 User is offline   galvanocentric 

  • Junior
  • Pip
  • Group: Members
  • Posts: 80
  • Joined: 31-August 04

Posted 20 July 2005 - 07:27 AM

Thank you. :)
With this as my guide I was able to make a fantastic SFX of my entire Macromedia collection... Around 146MB for Dreamweaver, Flash, Fireworks and the Flash Video Exporter. :thumbup

[EDIT]
Oh, as a sidenote... Everybody now really HAS to use RyanVM's 7zS file (oh, poor us :thumbup ) because as was said there is now more 7zS file included in the 7-zip distribution.

This post has been edited by galvanocentric: 20 July 2005 - 07:42 AM



#82 User is offline   rikgale 

  • uA lover
  • PipPipPip
  • Group: Members
  • Posts: 422
  • Joined: 01-November 04

Posted 22 July 2005 - 12:19 PM

Quote

Oh, as a sidenote... Everybody now really HAS to use RyanVM's 7zS file (oh, poor us  ) because as was said there is now more 7zS file included in the 7-zip distribution.


Does anyone know why they stopped inc. 7zS in the 7-Zip distro?

#83 User is offline   sleepnmojo 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 472
  • Joined: 02-March 04

Posted 23 July 2005 - 01:46 AM

rikgale, on Jul 22 2005, 01:19 PM, said:

Quote

Oh, as a sidenote... Everybody now really HAS to use RyanVM's 7zS file (oh, poor us  ) because as was said there is now more 7zS file included in the 7-zip distribution.


Does anyone know why they stopped inc. 7zS in the 7-Zip distro?
<{POST_SNAPBACK}>

It is an extra now. Not everyone needs it, and its purpose is pretty specialized. Cuts down on the size of the installer, and people who want the new one, can just download the extras pack.

#84 User is offline   rikgale 

  • uA lover
  • PipPipPip
  • Group: Members
  • Posts: 422
  • Joined: 01-November 04

Posted 23 July 2005 - 07:55 AM

Thanx for pointing that out. :)

#85 User is offline   maybeme 

  • Newbie
  • Group: Members
  • Posts: 27
  • Joined: 19-June 05

Posted 23 July 2005 - 11:35 AM

Where do i have to put startx.exe? Should I use this command?
copy /b 7zs.sfx + config.txt + (whatever the archive name).7z (Installer_Name).exe startx.exe


Or should i pack it with the install files?

grtz

EDIT: Ow, I didn't saw this topic has more than 1 page... found the solution:

DigitalAZ, on Mar 13 2005, 07:35 AM, said:

Copy all the installation files? I assumed you were referring to any files required to install the application we are trying to package. If I am using .msi I must include StartX.exe in the folder with the installation files. (Success)


Maybe someone should add that to the guide

I really love the guide, and when this is added, it would be perfect

This post has been edited by maybeme: 23 July 2005 - 11:43 AM


#86 User is offline   Zxian 

  • Scroll up - see the Google bar?
  • Group: Super Moderator
  • Posts: 5,066
  • Joined: 30-September 04
  • OS:none specified
  • Country: Country Flag

Posted 25 July 2005 - 04:33 PM

Well... I'll bump this up since I think it's a great guide and should be easy to find.

By the way... I just made an installer for PhotoshopCS using this method (after finding the 7zS.sfx from the extras package) and also by using the built in SFX method in WinRAR. For some reason, my WinRAR SFX came out at 160,357KB and the 7-zip SFX came out at 160,752KB (both set to Ultra Compression). Strange, no? :)

It reminds me of a simple compression algorithm that we had to make for one of my computer science classes. My friend's "compression" algorithm would actually make the output files smaller if the originals were under 50bytes... :P

#87 User is offline   maniaq 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 378
  • Joined: 28-November 04
  • OS:none specified
  • Country: Country Flag

Posted 27 July 2005 - 03:29 AM

hey :hello:

how do i import registries to the install?

could i do this?

copy /b 7zs.sfx + registrytweaks.reg + config.txt + (whatever the archive name).7z (Installer_Name).exe

This post has been edited by maniaq: 27 July 2005 - 03:30 AM


#88 User is offline   SyntaxError 

  • Member
  • PipPip
  • Group: Members
  • Posts: 150
  • Joined: 04-January 05
  • OS:none specified
  • Country: Country Flag

Posted 29 July 2005 - 10:48 PM

It's a real pain in the neck to have to edit a 7zip file with reshack, do some scripting, and write some .cmd files just to make a silent installer, when the ability is already built into Winrar. I mean who really cares about a few kb or a few megs? Doesn't anyone use a dvd-rw for their unattended?

Is there a reason for using 7zip over Winrar other than allegedly smaller installer size?

I say "allegedly" cause I made 2 silent installers for Quicktime Alternative, 1 with 7zip and 1 with Winrar. The difference in size was a matter of a few kb, and it was alot easier and faster to make the Winrar silent installer.

This post has been edited by SyntaxError: 29 July 2005 - 10:49 PM


#89 User is offline   Gee 

  • Member
  • PipPip
  • Group: Members
  • Posts: 275
  • Joined: 31-October 03

Posted 30 July 2005 - 04:38 AM

I guess it is a matter of preference. I have used both WinRAR and 7ZIP and I prefer the 7ZIP method. I find it more flexible.

Use what you are comfortable with.

#90 User is offline   maybeme 

  • Newbie
  • Group: Members
  • Posts: 27
  • Joined: 19-June 05

Posted 09 August 2005 - 02:36 PM

maniaq, on Jul 27 2005, 10:29 AM, said:

hey :hello: 

how do i import registries to the install?

could i do this?

copy /b 7zs.sfx + registrytweaks.reg + config.txt + (whatever the archive name).7z (Installer_Name).exe

<{POST_SNAPBACK}>


I don't think that would work. Just make another regfile and putt it in runonex

grtz

PS: Can a moderator please make this thread a sticky?

#91 User is offline   maybeme 

  • Newbie
  • Group: Members
  • Posts: 27
  • Joined: 19-June 05

Posted 10 August 2005 - 01:59 PM

Does anybody know if you can unpack that file again. I get an error, so I want to check if I mistyped something in my config.txt. Anybody an idea?

grtz

#92 User is offline   keytotime 

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

Posted 14 August 2005 - 01:25 PM

Extract the file. Install 7-Zip, right click and choose extract. Then try again.

#93 User is offline   muijsenbergq 

  • Newbie
  • Group: Members
  • Posts: 14
  • Joined: 19-August 05

Posted 20 August 2005 - 03:19 PM

Hello,

I'm new to this stuff and i've read this guide and made a simple winrar installer but i've got a few questions :

- how do i tell it which path to install?
- hoe can i preconfigure some setup options? (like shortcuts yes/no and file associations and whatever..)

or is this not possible?

Thanks!

#94 User is offline   maybeme 

  • Newbie
  • Group: Members
  • Posts: 27
  • Joined: 19-June 05

Posted 29 August 2005 - 02:29 PM

muijsenbergq, on Aug 20 2005, 10:19 PM, said:

Hello,

I'm new to this stuff and i've read this guide and made a simple winrar installer but i've got a few questions :

- how do i tell it which path to install?
- hoe can i preconfigure some setup options? (like shortcuts yes/no and file associations and whatever..)

or is  this not possible?

Thanks!
<{POST_SNAPBACK}>


These settings you have to set with the switches. Just look if you can find all the switches for your type of installer.

grtz

#95 User is offline   nakira 

  • Member
  • PipPip
  • Group: Members
  • Posts: 118
  • Joined: 18-July 04

Posted 29 August 2005 - 04:37 PM

muijsenbergq, on Aug 21 2005, 07:19 AM, said:

Hello,
- how do i tell it which path to install?
- hoe can i preconfigure some setup options? (like shortcuts yes/no and file associations and whatever..)

or is  this not possible?

Thanks!
<{POST_SNAPBACK}>

When you're making the archive, choose "Create SFX Archive" then click on the "Advanced" tab and then "SFX options"
From there you can configure paths, silent/nonsilent mode. shortcuts etc.
Try the help button if you need more info on each option.

File associations will need a reg file or a cmd file

#96 User is offline   xtremexxx 

  • MSFN Addict
  • PipPip
  • Group: Members
  • Posts: 177
  • Joined: 04-July 04

Posted 31 August 2005 - 02:13 AM

awesome guide ! thank you very much :)

my first program installed like this was perfectdisk 7 + reg

#97 User is offline   narrative 

  • Newbie
  • Group: Members
  • Posts: 28
  • Joined: 28-February 05

Posted 09 September 2005 - 07:29 AM

bump.

why isn't this sticky.

#98 User is offline   thuun derboy 

  • Member
  • PipPip
  • Group: Members
  • Posts: 111
  • Joined: 06-March 05

Posted 22 September 2005 - 12:09 PM

nice guide...

Hopefully this will assist with w2k system revamp as I want to try unattended AutoPatcher(Sept) patching of w2ksp4...been using hfslip tool, which is great.
Have had hotfix issues though, so, here goes nutin'...
thanX.

Attached File(s)



#99 User is offline   maybeme 

  • Newbie
  • Group: Members
  • Posts: 27
  • Joined: 19-June 05

Posted 25 September 2005 - 04:48 AM

You used 7z.sfx, I think you should use 7zs.sfx which you can download from:
http://prdownloads.sourceforge.net/sevenzi...ar.bz2?download
(it's the beta, you can also use the older final version)

grtz

#100 User is offline   ZileXa 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 767
  • Joined: 27-May 04

Posted 26 September 2005 - 02:59 PM

I know this is about silent switchless sfx 7zip.... but some people also want silent extraction of a 7z archive (no program in the archive that requires installing)...

I have a 7z archive with lots of files sorted in 2 folders (windows and program files), these are extracted to %systemdrive%.

I do it like this, a cmd file started from my RunOnceEx containing:
7za.exe x %cddrive%\XPCD\InstallApps\SYSTEMDRIVE.7z -y -o %systemdrive%\

(I have 7za.exe in my system32 folder by then..)

Now, this works... BUT it does not extract .exe files!!!!! I tried several older versions of 7za.exe, as well as the newest (nonbeta) one... same problem..
tried on several machines... can't figure it out.


For example, in the archive systemdrive.7z: program files\Exact Audio Copy\EAC.exe

Now the Exact Audio Copy folder is created in program files... and all eac files are extracted to that folder EXCEPT EAC.EXE !!!

It is an extremely annoying problem... I hope anyone can bring some sense cause it is really driving me crazy!

(BTW if I extract with Winrar gui or 7zip gui, .EXE files DO get extracted).


EDIT: found the problem... after many weeks..
seems it could not overwrite some files, resulting in an error that was not noticed (no report).
I thought "-y", 'yes on all queries' meant 'overwrite all' but for that the -aoa switch is required:
7za.exe x %cddrive%\XPCD\InstallApps\SYSTEMDRIVE.7z -aoa -y -o %systemdrive%\

The strange thing is, because of this, none of the .exe files were extracted.

I have lots of files and programs (eac, patched MSN files, pdfreader, encoderfiles (xvid etc) some themes and other system32 stuff) in 1 7zip pack, this saves time during setup, and makes the entire process more simple.

This post has been edited by ZileXa: 27 September 2005 - 01:47 AM


Share this topic:


  • 15 Pages +
  • « First
  • 3
  • 4
  • 5
  • 6
  • 7
  • 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 - 2013 msfn.org
Privacy Policy