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
  • 4
  • 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

#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: Members
  • 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: Members
  • 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: Members
  • Posts: 3,338
  • Joined: 02-December 03

Posted 23 February 2005 - 09:47 AM

why dont u just integrate it?

#31 User is offline   fluid 

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

Posted 23 February 2005 - 10:22 AM

Integrate?

#32 User is offline   Astalavista 

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

Posted 23 February 2005 - 10:26 AM

u integrate wmp into your U.A. cd.

look for the guide by Bashrat

#33 User is offline   EdwardQ 

  • Group: Members
  • Posts: 7
  • Joined: 25-February 05

Posted 01 March 2005 - 03:46 PM

I'm having problems getting this to run.

I followed the direction to a T. but when I test it the files look like they are extracted but the msi doesn't install.

Here is my config.txt

;!@Install@!UTF-8!
RunProgram="StartX.exe /WAIT \"msiexec /i Adobe.msi /qb-!\""
;!@InstallEnd@!


If I try via command line StartX.exe /WAIT "msiexec /i Adobe.msi /qb-!" the program installs.


Thxs.


Ed.

#34 User is offline   Astalavista 

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

Posted 01 March 2005 - 07:01 PM

what are u trying to do shrink adobe acrobat pro?

#35 User is offline   EdwardQ 

  • Group: Members
  • Posts: 7
  • Joined: 25-February 05

Posted 01 March 2005 - 07:52 PM

no reader 6.0. <Looks at the sig> I know there is alrdy a installer but 3 reasons I need to do this. 1) I need to learn, 2) I need to know what to do when I try it on the other other non standard software. 3) I need to learn.

#36 User is offline   Astalavista 

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

Posted 01 March 2005 - 09:49 PM

KeytoTime is a pioneer in 7zip guides.

If u can't understand i dont know what to tell u it already gives u everything
u need to build a 7zip installer.

My installers are slightly different since i dont use StartX

:(

Prior to using this program i suggest that first learn about adobe acrobat
reader install points. Then follow his guide again step by step.

Cheers

#37 User is offline   FoLmEr 

  • Group: Members
  • Posts: 4
  • Joined: 28-June 04

Posted 02 March 2005 - 03:45 AM

Hi there...

I'm also experiencing rather strange problems with 7zip and this guide.
I'm trying to pack the IntelliPoint software from Microsoft version 4.12 and I already have it install flawlessly from a RunOnceEx command:

IP4_1.msi MM=14 /QR REBOOT=ReallySuppress

The reason I want to pack it is that right now all the install files are unpacked in a folder which obviously takes up more space than a compressed package.

Now, I've compressed the installation files (including StartX.exe), changed icons in the 7zs.sfx, written a config.txt, copied all three files to a single .exe - in other words, followed the guide exactly as stated. The problem is that it won't start the .msi which I instruct it to. Instead, it tries to start the setup.exe which is also in the package. It isn't needed but it's there since I figured it didn't matter.
Here's my config.txt (saved in UTF-8 format):

;!@Install@!UTF-8!
RunProgram="StartX.exe /WAIT \"msiexec /i IP4_1.msi MM=14 /QR REBOOT=ReallySuppress\""
;!@InstallEnd@!

Here comes the strange part: it works like a charm in WinRAR! Here's the comment:
;The comment below contains SFX script commands

Setup=StartX.exe /WAIT "msiexec /i IP4_1.msi MM=14 /QR REBOOT=ReallySuppress"
TempMode
Silent=1
Overwrite=1

I have been able to make similar working 7zip files using this guide, I just can't see why this one doesn't. Also, I've been making 7zip sfx's from ATi catalyst which don't change icons and can't be deleted :blink: Thus I have 4-5 21 mbyte files on my desktop which cannot be deleted from Windows. Strange. I should mention that I'm testing the packages in VMware 5.0 RC2.

What am I doing wrong?


Regards,
FoLmEr

#38 User is offline   Se7eNdUsT 

  • Newbie
  • Group: Members
  • Posts: 43
  • Joined: 23-June 04

Posted 02 March 2005 - 05:29 AM

I also am having problems with 7-zip switchless installers.
I compress all the files I want, add 7zs.sfx and config.txt and make the .exe, all edited and works perfectly when tested - except if run during RunOnceEx. If I test with VMware 4.5.2, NeroBR, NVE3, Office2003 and SymantecAV9 do not install at all when run via RunOnceEx. If I run the .exe's after install then they install fine (both in VMware and not).

The 7-zip exe calls "Install.exe" which is just a converted .cmd file, basically following this format:

@ECHO OFF
cmdow @ /HID
ECHO.
TITLE Installing Symantec Antivirus
SymantecAntivirus.msi /qn reboot=reallysuppress liveupdate=0 servergroupname=Username servergrouppass=Userpass
REGEDIT /S Fix.reg
RD /S /Q "%AllUsersProfile%\Start Menu\Programs\Symantec Client Security"
EXIT


SymantecAV and Office2003 are .msi's and both Nero's are .exe's and they both work fine otherwise. Is there something 'pre-first boot' that won't work such as "cmdow @ /HID"?

Cheers for your help.
Sevendust.

-EDIT-
Telling 7-Zip to load Install.cmd rather than converted Install.exe worked a treat.

Astalavista, you seem to use the Quick Batch file Compiler a lot. Know the reason?

#39 User is offline   keytotime 

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

Posted 02 March 2005 - 05:45 AM

@Se7eNdUsT

Try Calling the .cmd directly.

#40 User is offline   Se7eNdUsT 

  • Newbie
  • Group: Members
  • Posts: 43
  • Joined: 23-June 04

Posted 02 March 2005 - 05:59 AM

Cheers keytotime. Reading that 7-Zip couldn't call .msi's I wasn't game to try anything other than .exe's. I'll try now.
EDIT: You're a champ, keytotime. It worked like a charm. Cheers.

Reply to FoLmEr:
Instead of getting the 7-Zip to call StartX.exe with additional paramters, try creating a .cmd file which then calls the msi. Before compiling the 7-Zip sfx, try running the cmd file by itself to test if it works.

Share this topic:


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

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



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