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
  • 4
  • 5
  • 6
  • 7
  • 8
  • 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

#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


#101 User is offline   matthewk 

  • Member
  • PipPip
  • Group: Members
  • Posts: 288
  • Joined: 07-June 05

Posted 14 October 2005 - 09:38 PM

Sorry, I'm stuck. Will someone check out the problem I'm having with 7zip? Thanks http://www.msfn.org/board/index.php?showto...&st=0&p=403094&

#102 User is offline   gelome 

  • Expect da Unexpected
  • Group: Members
  • Posts: 31
  • Joined: 22-January 05

Posted 21 October 2005 - 04:35 AM

hurray i finally made my first 7zip installer file...adobe acrobat pro with updates slipstreamed. man it was a struggle....hey keytotime just another suggestion u need to add to this excellent guide....this is with regards to the installation done via msi files....heres wht i did with the config.txt ....

;!@Install@!UTF-8!
RunProgram="StartX.exe /WAIT \"msiexec /i AcroPro.msi TRANSFORMS=AcroPro.mst /qn\""
;!@InstallEnd@!

yes i made a mst file and installed and it workled flawlessly...i had earlier tried without the transform file...it just extracted it...and then nothing....i then checked the office 2003 file that i had made and checked where i was going wrong and realised that i hadn't mentioned the mst file along with msi.

now i am off to conquer nero 7...wish me luck. :D :hello: :thumbup

#103 User is offline   BigDaddyJ 

  • Group: Members
  • Posts: 7
  • Joined: 23-August 05

Posted 26 October 2005 - 09:58 AM

OK, this is probably a stupid question, but is there any way to get your config.txt file back if you deleted it after doing the copy command? I've tried running the installer and looking in the temp directory and only the files from the .7z archive are there, and extracting the installer gives me the same thing.

#104 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 27 October 2005 - 10:41 AM

View PostBigDaddyJ, on Oct 26 2005, 08:58 AM, said:

OK, this is probably a stupid question, but is there any way to get your config.txt file back if you deleted it after doing the copy command? I've tried running the installer and looking in the temp directory and only the files from the .7z archive are there, and extracting the installer gives me the same thing.

AFAIK, you can't. The files other than the .7z files (7zS.sfx, config.txt) are included in the executable, and not part of the archive that is extracted. That's why when you extract the archive, you only get the contents of the 7-zip file.

#105 User is offline   shaggy 

  • Newbie
  • Group: Members
  • Posts: 33
  • Joined: 01-March 04

Posted 27 October 2005 - 11:11 AM

View PostBigDaddyJ, on Oct 26 2005, 09:58 AM, said:

OK, this is probably a stupid question, but is there any way to get your config.txt file back if you deleted it after doing the copy command? I've tried running the installer and looking in the temp directory and only the files from the .7z archive are there, and extracting the installer gives me the same thing.


You could try this in Command Prompt.

Quote

Find /I "RunProgram=" "path\to\file.exe"


#106 User is offline   sanjaykumar 

  • Newbie
  • Group: Members
  • Posts: 49
  • Joined: 14-September 04

Posted 27 October 2005 - 12:26 PM

Is there a way to create an 7Z installer for winamp.msi (created by moderator alan). Becuase his installer accepts only full path of the INI file during unattended installation.
ex:
winamp.msi INI="%CDROM%\software\applications\Winamp\winamp.ini" /qb-!

Has anyone succeeded in creating an 7z installer with paths being provided using system variables?

#107 User is offline   BigDaddyJ 

  • Group: Members
  • Posts: 7
  • Joined: 23-August 05

Posted 27 October 2005 - 07:38 PM

You could try this in Command Prompt.

Quote

Find /I "RunProgram=" "path\to\file.exe"



Shaggy, you get a Scooby snack! That works like a charm and gives me just what I want. Thanks.

#108 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 27 October 2005 - 09:05 PM

View PostBigDaddyJ, on Oct 27 2005, 05:38 PM, said:

You could try this in Command Prompt.

Quote

Find /I "RunProgram=" "path\to\file.exe"



Shaggy, you get a Scooby snack! That works like a charm and gives me just what I want. Thanks.

Haha....

Thanks Shaggy! Another thing learned today! :yes:

#109 User is offline   shaggy 

  • Newbie
  • Group: Members
  • Posts: 33
  • Joined: 01-March 04

  Posted 28 October 2005 - 08:36 AM

View PostZxian, on Oct 27 2005, 09:05 PM, said:

View PostBigDaddyJ, on Oct 27 2005, 05:38 PM, said:

You could try this in Command Prompt.

Quote

Find /I "RunProgram=" "path\to\file.exe"



Shaggy, you get a Scooby snack! That works like a charm and gives me just what I want. Thanks.

Haha....

Thanks Shaggy! Another thing learned today! :yes:


Like to help if I can.

This post has been edited by shaggy: 28 October 2005 - 08:37 AM


#110 User is offline   Nakatomi2010 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 381
  • Joined: 28-June 05

Posted 03 November 2005 - 06:54 PM

I'm creating a switchless installeer for Poweer DVD, and it works, for the most part... The issue I'm running into is that in the config.txt script

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


Theer's a set of "'s, I need to use anotheer set as the code I need it

;!@Install@!UTF-8!
RunProgram="setup.exe –s -f2"%systeemdrive%\pdvd.log""
;!@InstallEnd@!


It spits an error back at me...

How do I teell it to ignoree the inner "'s..?

Share this topic:


  • 15 Pages +
  • « First
  • 4
  • 5
  • 6
  • 7
  • 8
  • 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