MSFN Forum: 7z SFX Modified Module and Tools - 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
  • 22 Pages +
  • 1
  • 2
  • 3
  • 4
  • 5
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

7z SFX Modified Module and Tools Rate Topic: -----

#41 User is offline   Oleg_Sch 

  • Newbie
  • Group: Members
  • Posts: 33
  • Joined: 09-July 07

Posted 10 December 2007 - 12:53 AM

dll32
Some questions:
Are you changing icon in module? If "yes" - what program you use for that ?
Are you compress module by UPX or other programs?
I.e., give me full details...
I will try to repeat the situation and provide a more precise answer.


#42 User is offline   dll32 

  • Newbie
  • Group: Members
  • Posts: 23
  • Joined: 03-May 06

Posted 10 December 2007 - 02:44 AM

I'm not changing the icon of the module, or using any kind of compression except for 7-zip.

I got a question now to:
is it possible to specify two archives when creating the exe?
eg.
copy /b 7zs.sfx + config.txt + archive1.7z + archive2.7z (Installer_Name).exe

#43 User is offline   Oleg_Sch 

  • Newbie
  • Group: Members
  • Posts: 33
  • Joined: 09-July 07

Posted 10 December 2007 - 04:58 AM

Quote

is it possible to specify two archives when creating the exe?
eg.
copy /b 7zs.sfx + config.txt + archive1.7z + archive2.7z (Installer_Name).exe

No. It's not! Only ONE archive can be active/used in one time. (in your example this is the archive1.7z, i.e. first)
I think it is better to go to the PM about icon's problems.
When we will decide our problems, we will inform all...

#44 User is offline   heffalump 

  • Junior
  • Pip
  • Group: Members
  • Posts: 83
  • Joined: 28-November 07

Posted 10 December 2007 - 05:10 AM

Would be nice if someone made a little GUI so no need to manually write text files and use command prompt. Like winrar SFX window ;)

#45 User is offline   Oleg_Sch 

  • Newbie
  • Group: Members
  • Posts: 33
  • Joined: 09-July 07

Posted 10 December 2007 - 06:26 AM

To heffalump:

from first post said:

To do:
GUI (but it's been todo for quite some time )
Feel free to develop GUI, but make sure it can be easily localized to other languages.

Sorry, not enough time to do this :(

#46 User is offline   gora 

  • Member
  • PipPip
  • Group: Members
  • Posts: 144
  • Joined: 09-August 07
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 10 December 2007 - 06:33 AM

View Postheffalump, on Dec 10 2007, 03:10 PM, said:

Would be nice if someone made a little GUI so no need to manually write text files and use command prompt. Like winrar SFX window ;)

GUI for write config file (interface Russian only)
Creation of a config file Online service (interface Russian only)
Creation 7z SFX archives in Total Commander (interface Russian and English, Help - Russian only)

All on the basis of modified module Oleg_Sch

This post has been edited by gora: 15 October 2008 - 01:04 PM


#47 User is offline   Jolli 

  • Newbie
  • Group: Members
  • Posts: 35
  • Joined: 18-July 06
  • OS:XP Pro x86
  • Country: Country Flag

Posted 12 December 2007 - 11:19 AM

Hi there :hello:

There is an other Guy (Georg Wittberger) who mod the SFX modules, with a really "eye-candy" user interface. :thumbup

So, if both can combine together, it would be perfect!
Is this possible?

Regards.

Georg Wittberger Homepage

Attached File  Professional_GUI.jpg (36.22K)
Number of downloads: 8

This projects aimes at improving the look and feel of 7-Zip's SFX modules. 

Currently there are two types of customized SFX modules: a simple basic module for general purposes and 
a professional-looking advanced module with a modern installer look and feel. All these modules are based 
on the original SFX modules so they do not provide any extra functionality.

The main advantages of these customized SFX modules are the consistent look of the start dialog and 
the extraction dialog, the support of Windows XP visual styles and additional graphics and 
texts to tell unexperienced users what to do with the SFX archive.


#48 User is offline   Oleg_Sch 

  • Newbie
  • Group: Members
  • Posts: 33
  • Joined: 09-July 07

Posted 13 December 2007 - 07:07 AM

dll32 said:

I got a problem with the icon of the exe when the size of the archive is bigger than ~700mb.
The problem is that the icon gets replaced to the boring "white rectangle".

Is this a bug with 7zSD?
If it's a known bug, is there any way to prevent it?

I made some experiments and found that it is not a bug of the module.
I found a description of such problems for Inno Setup. Read this
I do not know how to solve this problem

#49 User is offline   dll32 

  • Newbie
  • Group: Members
  • Posts: 23
  • Joined: 03-May 06

Posted 23 December 2007 - 04:55 PM

View PostOleg_Sch, on Dec 13 2007, 02:07 PM, said:

dll32 said:

I got a problem with the icon of the exe when the size of the archive is bigger than ~700mb.
The problem is that the icon gets replaced to the boring "white rectangle".

Is this a bug with 7zSD?
If it's a known bug, is there any way to prevent it?

I made some experiments and found that it is not a bug of the module.
I found a description of such problems for Inno Setup. Read this
I do not know how to solve this problem


Thanks for the clarification and thanks for trying, now I at least know what's causing it.

By the way...
I just got an idea, i might just put the installer within another installer, that extract the installer silently and then executes it.

// dLL32

#50 User is offline   LLL 

  • Group: Members
  • Posts: 1
  • Joined: 24-December 07

Posted 25 December 2007 - 04:57 AM

Hy,

Your module is under GNU LGPL but i don't find the sources code on the douwload page. Can you give me the link please ?

THANKS

#51 User is offline   Oleg_Sch 

  • Newbie
  • Group: Members
  • Posts: 33
  • Joined: 09-July 07

Posted 25 December 2007 - 03:02 PM

Updates of the site and files (and sources) will be available in first or second week of January.
Sorry, but now i'm too busy :(

#52 User is offline   L-F 

  • Newbie
  • Group: Members
  • Posts: 15
  • Joined: 13-August 07

Posted 27 December 2007 - 09:57 AM

No Add Password Support ??

#53 User is offline   coucou 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 827
  • Joined: 01-January 04

Posted 01 January 2008 - 09:32 AM

Hi,

To add a language file to some apps, i'm using the following AutoIt script to check the "HKCU\Control Panel\International\sLanguage" registry value, if it equal to "FRA" the i copy/run my language file.
$Lang = RegRead("HKEY_CURRENT_USER\Control Panel\International", "sLanguage")
If $Lang = "FRA" Then
	RunWait("HS62001_LangFR.exe")
EndIf
The size of that compiled autoit script file is about 200K.

To downsize the final archive file, i have to translate the above .au3 file to a .cmd file.
Anyone can help writing that .cmd script?

Regards
coucou

#54 User is offline   jpeachman 

  • Group: Members
  • Posts: 2
  • Joined: 06-May 05

Posted 01 January 2008 - 02:55 PM

View Postcoucou, on Jan 1 2008, 07:32 AM, said:

To add a language file to some apps, i'm using the following AutoIt script to check the "HKCU\Control Panel\International\sLanguage" registry value, if it equal to "FRA" the i copy/run my language file.
$Lang = RegRead("HKEY_CURRENT_USER\Control Panel\International", "sLanguage")
If $Lang = "FRA" Then
	RunWait("HS62001_LangFR.exe")
EndIf
The size of that compiled autoit script file is about 200K.

To downsize the final archive file, i have to translate the above .au3 file to a .cmd file.
Anyone can help writing that .cmd script?


Try:
FOR /F "tokens=2*" %%a in ('REG QUERY "HKCU\Control Panel\International" /v sLanguage') DO @(SET Lang=%%b)
IF "%Lang%"=="FRA" START /WAIT HS62001_LangFR.exe
SET Lang=


#55 User is offline   Yzöwl 

  • Wise Owl
  • Group: Super Moderator
  • Posts: 4,369
  • Joined: 13-October 04
  • OS:Windows 7 x64

Posted 01 January 2008 - 03:20 PM

Just an additional note to the above, there is no real need to either use a for loop or set a variable which isn't needed.
@reg query "hkcu\control panel\international" /v slanguage|find "FRA">nul 2>&1&&start "" /wait hs62001_langfr.exe
All the above is one line!

Also if you were to use program to hide the console window then you could shorten it a little too.
reg query "hkcu\control panel\international" /v slanguage|find "FRA"&&start "" /wait hs62001_langfr.exe
All the above is one line again!

#56 User is offline   jpeachman 

  • Group: Members
  • Posts: 2
  • Joined: 06-May 05

Posted 01 January 2008 - 06:32 PM

Excellent point about there being no need to set a variable! I confess I haven't written any AutoIT scripts and was just attempting a pretty literal translation of the original into a batch file. I didn't write the FOR loop so nicely, either. It can easily be done with a single iteration, and everything can go on one line with unwanted output suppressed too by using:
@FOR /F "tokens=3 skip=4" %%a IN ('REG QUERY "HKCU\Control Panel\International" /v sLanguage') DO @IF "%%a"=="FRA" START /WAIT HS62001_LangFR.exe

Yzöwl's example of piping through FIND is still slightly shorter than this, though. Where using FOR rather than FIND might be shorter and more straightforward is if you were testing for more than one condition. For a three-language example:
@FOR /F "tokens=3 skip=4" %%a IN ('REG QUERY "HKCU\Control Panel\International" /v sLanguage') DO @IF "%%a"=="FRA" (START /WAIT HS62001_LangFR.exe) ELSE IF "%%a"=="DEU" (START /WAIT HS62001_LangDE.exe) ELSE IF "%%a"=="ENU" (START /WAIT HS62001_LangEN.exe)
It's probably good to know both techniques; still, Yzöwl's method is shortest for the specific need expressed by coucou! :thumbup

#57 User is offline   weEvil 

  • n00b
  • PipPipPipPipPip
  • Group: Members
  • Posts: 944
  • Joined: 21-August 06

Posted 01 January 2008 - 07:54 PM

So exactly what does this application do?

It would be nice to have a little snippet of info in the OPs post. Maybe a screenshot too if appropriate.

#58 User is offline   Yzöwl 

  • Wise Owl
  • Group: Super Moderator
  • Posts: 4,369
  • Joined: 13-October 04
  • OS:Windows 7 x64

Posted 01 January 2008 - 11:19 PM

View Postbrucevangeorge, on Jan 2 2008, 01:54 AM, said:

So exactly what does this application do?

It would be nice to have a little snippet of info in the OPs post. Maybe a screenshot too if appropriate.
All the info you need is presented on the website through links provided in the opening post of this topic. Unfortunately the site is down for a while so you'd have to wait for it to come back up again for that info.

If you've already got the module it has a reasonably good help file with it giving switches, options and usage examples etc.

#59 User is offline   coucou 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 827
  • Joined: 01-January 04

Posted 02 January 2008 - 02:25 AM

Many Many Many TNX jpeachman and Yzöwl :thumbup

Happy New 2008
coucou

#60 User is offline   albatros 

  • Group: Members
  • Posts: 4
  • Joined: 07-January 08

Posted 07 January 2008 - 05:46 PM

Hi, I'm AlbatroS :-)

First of all, thanx to Oleg_Sch and all contributors here. It's great what we can do with those modified SFXs!

View Postgora, on Dec 10 2007, 06:33 AM, said:


Hm, it seems AVs don't like its generated exe's:
Posted Image

This post has been edited by albatros: 07 January 2008 - 06:39 PM


Share this topic:


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

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



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