MSFN Forum: [Need Help!] 7Zip Silent 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
Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

[Need Help!] 7Zip Silent Switchless Installer Make a Switchless and Silent 7zip installer Rate Topic: -----

#1 User is offline   Antrix 

  • Group: Members
  • Posts: 3
  • Joined: 19-March 07

  Posted 02 May 2007 - 10:24 PM

Hello friends, i'm posting this after a lot of search and trial regarding a 7-zip archived installation.

I've searched through all the 7Zip related threads but i could not find a way to make a 7-zip archive into a silent installation.

I made a 7 zip archive and successfully integrated a config.txt. and converted it into a sfx archive.

But the problem is that everytime i double-click the sfx it asks me where I want to extract the files. But I want it to extract the files to any temp folder and automatically execute the setup file along with arguments.

Please guys help me out coz i've tried whatever i could get my hands on and i'm out of options.


Regards,

Antrix.


#2 User is offline   bj-kaiser 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 415
  • Joined: 05-December 06
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 02 May 2007 - 11:42 PM

what .sfx module did you use? There are 2 possibilities, one being for the regular user controlled extraction and the other one especially for setups (7zS/SD.sfx). The installer type modules support the "-y" switch to silently extract and run the setup. For totally silent/switchless operation, you will need customized modules. 7-zip does has no such modules included it's distribution at the moment.

There are already some topics on MSFN about totally silent 7-zip self-extractors, use the search, please.

Edit: have to correct myself here, the default 7zS/SD.sfx should do. It just depends on your config.txt then:
;!@Install@!UTF-8!
Title="7-Zip 4.00"
BeginPrompt="Do you want to install the 7-Zip 4.00?"
RunProgram="setup.exe"
;!@InstallEnd@!

this one shows the Yes/No question on startup and the unpacking progress.

;!@Install@!UTF-8!
Title="7-Zip 4.00"
Progress="no"
RunProgram="setup.exe"
;!@InstallEnd@!

This one neither shows a question on startup nor the progress.

This post has been edited by bj-kaiser: 04 May 2007 - 12:04 AM


#3 User is offline   ricktendo64 

  • Group: Banned Members
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,125
  • Joined: 06-June 06
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 03 May 2007 - 12:42 PM

It sounds like you used the wrong 7zs.sfx

Here is a neet tool that can make all your silent switch installer easier

CréateurSFX

#4 User is offline   Antrix 

  • Group: Members
  • Posts: 3
  • Joined: 19-March 07

Posted 07 May 2007 - 12:18 PM

Thank you very much bj-kaiser, I was baffling with the 7z.sfx instead of 7zS.sfx. Now my installers are working just as i wanted.

Thanx ricktendo64 for the useful tip, i would consider this option as well.


Thanx a lot guys!

#5 User is offline   Mr.BrYcE 

  • Group: Members
  • Posts: 3
  • Joined: 18-March 06

Posted 11 June 2007 - 09:55 AM

Hello !

i am using the latest 7zip version, and it seems your instructions are not working :unsure:

1. createurSFX does not detect the executable i would like to launch (in my 7z archive)
2. using the config UTF-8 file, i still get a prompt asking for where i should extract files.

can anyone help me ?

#6 User is offline   ricktendo64 

  • Group: Banned Members
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,125
  • Joined: 06-June 06
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 11 June 2007 - 10:14 AM

You are using the wrong 7zS.sfx try this one Attached File  7zS.7z (50.32K)
Number of downloads: 161

#7 User is offline   Mr.BrYcE 

  • Group: Members
  • Posts: 3
  • Joined: 18-March 06

Posted 11 June 2007 - 12:33 PM

thank you very much rick ! that was fast :|

now i have another problem, how do i prevent my files from being deleted by the self-extracting archive ?
the sfx i created tries to delete a few files after extraction and successful run of the specified program, and i dont understand why.

i guess it tries to delete every file after the batch's execution, but only manages to delete those which are not in use by another process.

i though about killing the original sfx process with my batch file (launched program after extraction)
but is there a simpler way to do this ?

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

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



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