keytotime

How to make a 7-Zip Switchless Installer

288 posts in this topic

just curious: has anybody tried to make sfx installer which has total size >700MB?

My situation is this: I have made sfx installer with 7z file at ~500MB. No problem. the SFX details (icon, version info, etc.) are intact.

However, if my 7z file is >700MB, the SFX details (icon, version info, etc.) are missing! Running the sfx exe is ok, but file details are not visible.

I've tried to compile this in Vista and XP, both having the same symptoms.

0

Share this post


Link to post
Share on other sites

Have you used the latest versions of 7zSD (v1.2 RC1), 7z (v4.58) and UPX (v3.03w)? Check here the downloadlinks and my new updated tutorial (maybe you did it already on this way)

Edited by Inferi0r
0

Share this post


Link to post
Share on other sites

that's what i'm using but wihtout UPX ...

on the same exact copy of 7zSD (modified the icon and version texts) and 7zip ...

1) Works fine for 7z archive with size ~500MB... icon and version info were shown/intact... extraction works fine.

2) Works fine too for archive >700MB but the icon and version infos are missing/not shown. Extraction works fine.

0

Share this post


Link to post
Share on other sites

Fyi: 713MB archive works just fine for me, icon and info included.

Installer was made with 7z v4.57 and upx v3.02 using this tutorial.

0

Share this post


Link to post
Share on other sites

hmmm, that's strange ...

thanks for the confirmation, amitri

0

Share this post


Link to post
Share on other sites

I asked the developer of WinRAR why that happens (no icon on files above 500Mb) and he said its a Windows bug.

A Windows bug - but he was looking to fix it. :blink:

0

Share this post


Link to post
Share on other sites

:hello: This is way cool :thumbup

However when I try to make a installer for Open Office. Everything goes fine until I try to run the installer. Then I get an Unspecified Error Box. I have a folder with the following files in it: 7zS.sfx, config.txt:

;!@Install@!UTF-8!
RunProgram="OOo_2.4.1_Win32Intel_install_wJRE_en-US.exe"
;!@InstallEnd@!

OOffice.7z and OOo_2.4.1_Win32Intel_install_wJRE_en-US.exe . The last one is the installer created.

Open office Looks like it has 3 installers included in it. instmsiw.exe, instmsia.exe, and OOo_2.4.1_Win32Intel_install_wJRE_en-US.exe. If i click on the file of the first 2 I get an, wrong os or os version for application, error box.

What am I doing wrong, I created several other installers using this method before stumbling onto this problem.

Again this rocks :thumbup

0

Share this post


Link to post
Share on other sites
Open office Looks like it has 3 installers included in it. instmsiw.exe, instmsia.exe, and OOo_2.4.1_Win32Intel_install_wJRE_en-US.exe. If i click on the file of the first 2 I get an, wrong os or os version for application, error box.

Those two files is for older Windows (2000 and 98 or Millenium probably).

0

Share this post


Link to post
Share on other sites

Thanks

Since I posted I redownloaded the open office installer, and redid the steps and I get the same error box

The new installer did not have the instamsiw.exe and instamsia.exe files

0

Share this post


Link to post
Share on other sites
Since I posted I redownloaded the open office installer, and redid the steps and I get the same error box

Run the downloaded installer and use the extracted files.

The .cmd file should look like this:

@echo off
msiexec /i openofficeorg24.msi ALLUSERS=1 SELECT_WORD=1 SELECT_EXCEL=1 SELECT_POWERPOINT=1 ADDLOCAL=ALL /qb! /norestart
exit

or

 @echo off
msiexec /i openofficeorg24.msi ALLUSERS=1 SELECT_WORD=1 SELECT_EXCEL=1 SELECT_POWERPOINT=1 ADDLOCAL=ALL /qn /norestart
exit

The second does not have the progress bar.

0

Share this post


Link to post
Share on other sites

:hello: In other words run the installer then archive the extracted files along with the following in the config.txt

Thanks

Since I posted I redownloaded the open office installer, and redid the steps and I get the same error box

Run the downloaded installer and use the extracted files.

The .cmd file should look like this:

@echo off
msiexec /i openofficeorg24.msi ALLUSERS=1 SELECT_WORD=1 SELECT_EXCEL=1 SELECT_POWERPOINT=1 ADDLOCAL=ALL /qb! /norestart
exit

or

 @echo off
msiexec /i openofficeorg24.msi ALLUSERS=1 SELECT_WORD=1 SELECT_EXCEL=1 SELECT_POWERPOINT=1 ADDLOCAL=ALL /qn /norestart
exit

The second does not have the progress bar.

0

Share this post


Link to post
Share on other sites

Thanks for this thread !

I want to integrate MS .NET Framework 1.1 SP1 & 2.0 in my xp cd.

I have used this french forum. But I don't know how to make a 7-Zip switchless installer.

For information, I have in my \$OEM$\$1\apps\: 2 folder (dotnet11 + dotnet02) and 1 file (dotnetfx.bat), this batch :

@echo off
echo Installing Microsoft .NET Framework 1.1 SP1 ...
echo ===============================================
start /wait msiexec /i %systemdrive%\apps\dotnet11\netfx.msi
start /wait msiexec /i %systemdrive%\apps\dotnet11\langpack.msi /qb
echo.
echo Installing Microsoft .NET Framework 2.0 ...
echo ===========================================
start /wait msiexec /i %systemdrive%\apps\dotnet02\netfx.msi ADDEPLOY=1 REBOOT=REALLYSUPRESS /qb
start /wait msiexec /i %systemdrive%\apps\dotnet02\langpack.msi ADDEPLOY=1 /qb
echo.

Thanks for help.

Edited by insan
0

Share this post


Link to post
Share on other sites

It's ok now, I have solved my problem :

1. To compress with 7-Zip : dotnet11, dotnet02, dotnetfx.bat, StartX.exe

This create : dotnetfx.7z

2. To create a folder containing : dotnetfx.7z, 7zs.sfx, Msistub.exe, config.txt

______ config.txt_________

;!@Install@!UTF-8!

RunProgram="dotnetfx.bat"

;!@InstallEnd@!

_______________________

3. To make in command prompt : copy /b 7zs.sfx + config.txt + dotnetfx.7z dotnetfx.exe

This create dotnetfx.exe who I use to instal MS .NET Framework 1.1 SP1 and 2.0 silently.

Edited by insan
0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.