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 +
  • « First
  • 2
  • 3
  • 4
  • 5
  • 6
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

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

#61 User is offline   albatros 

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

Posted 07 January 2008 - 06:09 PM

View PostL-F, on Dec 27 2007, 09:57 AM, said:

No Add Password Support ??

AFAIK Oleg_Sch modules doesn't support encripted archives, isn't it?
In my opinion it could be useful if I send a secret file to someone, so I simply have to say: "launch it, input password and enjoy it" (without have to extract, then browse to get it, then finally launch it).
ATM WinRAR sfx can do it, so... why Oleg_Sch should have to not do it? :rolleyes:


#62 User is offline   gora 

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

Posted 07 January 2008 - 11:17 PM

Hi, AlbatroS.
Compression of the module can cause FALSE detection of some anti-virus programs. In this case you can switch-off compression of the module through a file Settings.ini:

Quote

; To use compression - 1 or 2, is not use - 0
useUPX=0

All this is in detail described in Russian Manual. ;)

#63 User is offline   albatros 

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

Posted 19 January 2008 - 03:05 PM

View Postgora, on Jan 8 2008, 12:17 AM, said:

In this case you can switch-off compression of the module through a file Settings.ini:

Thanx for reply :-)
I hope Oleg_Sch will reply too (will modules support encripted archives?).

#64 User is offline   gora 

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

Posted 19 January 2008 - 03:36 PM

Hi, AlbatroS.

View Postalbatros, on Jan 20 2008, 12:05 AM, said:

I hope Oleg_Sch will reply too (will modules support encripted archives?).

If you will be satisfied with my answer, at Russian forum Oleg_Sch responded, that: "Support by the module of encryption is NOT planned"

#65 User is offline   albatros 

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

Posted 20 January 2008 - 05:41 AM

View Postgora, on Jan 8 2008, 12:17 AM, said:

Hi, AlbatroS.
Compression of the module can cause FALSE detection of some anti-virus programs. In this case you can switch-off compression of the module through a file Settings.ini:

Quote

; To use compression - 1 or 2, is not use - 0
useUPX=0


Hi, gora.
Upacked files (Total Commander tool use Upack even if it shows "UPX" in settings.ini) are generically tagged as malicious/suspicious by some AVs. Below you can see Virustotal results of same file packed using UPX instead.
So can UPX be considered best way to compress without AVs false detection risk?

UPX packer:

Quote

AhnLab-V3 2008.1.19.10 2008.01.18 -
AntiVir 7.6.0.48 2008.01.20 -
Authentium 4.93.8 2008.01.20 -
Avast 4.7.1098.0 2008.01.20 -
AVG 7.5.0.516 2008.01.19 -
BitDefender 7.2 2008.01.20 -
CAT-QuickHeal 9.00 2008.01.19 -
ClamAV 0.91.2 2008.01.20 -
DrWeb 4.44.0.09170 2008.01.19 -
eSafe 7.0.15.0 2008.01.16 suspicious Trojan/Worm
eTrust-Vet 31.3.5470 2008.01.18 -
Ewido 4.0 2008.01.20 -
FileAdvisor 1 2008.01.20 -
Fortinet 3.14.0.0 2008.01.20 -
F-Prot 4.4.2.54 2008.01.19 -
F-Secure 6.70.13260.0 2008.01.19 -
Ikarus T3.1.1.20 2008.01.20 -
Kaspersky 7.0.0.125 2008.01.20 -
McAfee 5211 2008.01.18 -
Microsoft 1.3109 2008.01.20 -
NOD32v2 2807 2008.01.19 -
Norman 5.80.02 2008.01.18 -
Panda 9.0.0.4 2008.01.19 -
Prevx1 V2 2008.01.20 -
Rising 20.27.62.00 2008.01.20 -
Sophos 4.24.0 2008.01.20 -
Sunbelt 2.2.907.0 2008.01.17 -
Symantec 10 2008.01.20 -
TheHacker 6.2.9.191 2008.01.19 -
VBA32 3.12.2.5 2008.01.19 -
VirusBuster 4.3.26:9 2008.01.20 -
Webwasher-Gateway 6.6.2 2008.01.20 -


#66 User is offline   gora 

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

Posted 20 January 2008 - 06:40 AM

Hi, AlbatroS.

In the first versions of "button" it was used UPX and you can use UPX instead of WinUpack. In a file Settings.ini make the following:

; Path to the UPX
pathUPX=!COMMANDER_PATH!\Utilites\SFX Tool\upx.exe
;pathUPX=!COMMANDER_PATH!\Utilites\SFX Tool\Upack.exe
; To use compression - 1 or 2, is not use - 0
useUPX=1
; The command line for UPX
cmdlinUPX=--best --all-methods
;cmdlinUPX=-c2 -f222

File upx.exe put in the specified folder or replace a way to it.

#67 User is offline   dll32 

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

Posted 25 January 2008 - 02:10 PM

I cant seem to find any documentation on how to specify InstallPath as a parameter on the exe, is it possible?
If not, is there any alternative way?

#68 User is offline   MioKawaii 

  • Newbie
  • Group: Members
  • Posts: 28
  • Joined: 02-May 05

Posted 27 January 2008 - 12:58 AM

View Postdll32, on Jan 26 2008, 04:10 AM, said:

I cant seem to find any documentation on how to specify InstallPath as a parameter on the exe, is it possible?
If not, is there any alternative way?

InstallPath="path_to_extract"

Sets the extraction path. The extraction folder will not be deleted after the extraction.

If the 'InstallPath' value is not present in the config file or the path was deleted from the interactive extraction dialog, the archive will be extracted to a temporary folder. This temporary folder will be deleted after the extraction and execution of all commands.

Environment variables are allowed (with the exception of %%T and variables defined in 'SetEnvironment', if %%T is used in any of them). You MUST use DOUBLE backslashes in paths. For example:

InstallPath="C:\\Windows\\system32\\test"

or

InstallPath="%PROGRAMFILES%\\test"

Relative paths are allowed. The current folder is the one from which the program launching SFX archive was executed. For example,

InstallPath="test"

creates a folder with the name of "test" in the folder from which the program launching SFX archive was executed. All files will be extracted to the "test" folder. On the other hand,

InstallPath="."

extracts the archive content to the folder from which the program launching SFX archive was executed. Also,

InstallPath="%%S"

extracts the archive content to the folder where the SFX is located.

If all you need is to extract the archive content to a certain folder, you need to specify a value for 'InstallPath' in the config file. In this case you should not specify 'RunProgram' or 'ExecuteFile' in the config file. 'AutoInstall' or 'AutoInstallX' may be specified in the config file, but should not be invoked via the command line or with the [SHIFT] key. If you specify 'RunProgram' or 'ExecuteFile' or invoke 'AutoInstall' and 'AutoInstallX', the specified executable will be launched after the extraction.

#69 User is offline   Oleg_Sch 

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

Posted 27 January 2008 - 06:43 AM

dll32,
If you mean "as command line parameter", then it is impossible in current version. This is in ToDo list for version 1.3.

This post has been edited by Oleg_Sch: 27 January 2008 - 06:44 AM


#70 User is offline   dll32 

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

Posted 27 January 2008 - 06:17 PM

View PostOleg_Sch, on Jan 27 2008, 01:43 PM, said:

dll32,
If you mean "as command line parameter", then it is impossible in current version. This is in ToDo list for version 1.3.


Yes i did! :rolleyes:
Then i'm waiting for v1.3 then :D

#71 User is offline   ckislam 

  • Islam Adel
  • PipPip
  • Group: Members
  • Posts: 142
  • Joined: 04-September 05
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 13 February 2008 - 05:38 AM

Sorry, I didn't understand how it works. I downloaded the http://7zsfx.solta.r...les/715/7zSD.7z and after extraction, I got the 7zsd.sfx and now what? how can this File help me to create SFX Archives from the command line?

Thanks for help in advance!

#72 User is offline   Martin H 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 802
  • Joined: 24-November 06
  • OS:none specified

Posted 14 February 2008 - 05:54 PM

http://www.msfn.org/board/7-Zip-Switchless...ler-t39048.html

...the forum search/google could easilly have provided you with the same link ;)

#73 User is offline   rkillcrazy 

  • Newbie
  • Group: Members
  • Posts: 25
  • Joined: 23-November 03

Posted 09 April 2008 - 07:16 AM

I just found these more extensive modules and am playing with them a bit. I had be using 7-Zip's defaults to create SFX files. I'm testing it on an Adobe reader install. Before, I used to have it run a batch file after unpacking. The batch file would install the app and remove various shortcuts. I'm trying to thin the code down with these new modules...

It does the install just fine but never deletes that stupid little shortcut. Ideas?

config.txt
;!@Install@!UTF-8!
Title="Adobe Reader Installation"
; // Quiet install that shows progress bar only
GUIMode="1"
; // Set environments
SetEnvironment="Var1=\"%ALLUSERSPROFILE%\\DESKTOP\\ADOBE READER 8.LNK\""
; // Installation
ExecuteFile="fm05:AdbeRdr812_en_US.exe"
; // Switches
ExecuteParameters="/sPB /rs /l /msi\"/qb-! /norestart /log c:\\acrobat8.log ALLUSERS=2 EULA_ACCEPT=YES SUPPRESS_APP_LAUNCH=YES\"\""
; // Deletes the shortcut dropped on the desktop
Delete="%Var1%"
FinishMessage="Adobe Reader has been installed."
;!@InstallEnd@!


#74 User is offline   gora 

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

Posted 09 April 2008 - 08:05 AM

rkillcrazy, may be so:
SetEnvironment="Var1=%ALLUSERSPROFILE%\\DESKTOP\\ADOBE READER 8.LNK"
You have errors in line
ExecuteParameters="/sPB /rs /l /msi\"/qb-! /norestart /log c:\\acrobat8.log ALLUSERS=2 EULA_ACCEPT=YES SUPPRESS_APP_LAUNCH=YES\"\""
Check up inverted commas.

#75 User is offline   rkillcrazy 

  • Newbie
  • Group: Members
  • Posts: 25
  • Joined: 23-November 03

Posted 09 April 2008 - 08:37 AM

View Postgora, on Apr 9 2008, 10:05 AM, said:

rkillcrazy, may be so:
SetEnvironment="Var1=%ALLUSERSPROFILE%\\DESKTOP\\ADOBE READER 8.LNK"
You have errors in line
ExecuteParameters="/sPB /rs /l /msi\"/qb-! /norestart /log c:\\acrobat8.log ALLUSERS=2 EULA_ACCEPT=YES SUPPRESS_APP_LAUNCH=YES\"\""
Check up inverted commas.


OK, that worked fine - thanks!

However, how can you tell I have errors in the line full of switches? It runs fine in a normal batch file with those switches. I had to escape a few of those quotes with back slashes so it looks a little different from what you'd see using a command line. Furthermore, as far as I can tell, it installs without errors when using the SFX file. Am I missing something?

config.txt
;!@Install@!UTF-8!
Title="Adobe Reader Installation"
; // Quiet install that shows progress bar only
GUIMode="1"
; // Sets variables
SetEnvironment="Var1=%ALLUSERSPROFILE%\\DESKTOP\\ADOBE READER 8.LNK"
; // Installation
ExecuteFile="AdbeRdr812_en_US.exe"
; // Switches are: /sPB /rs /l /msi"/qb-! /norestart /log c:\acrobat8.log ALLUSERS=2 EULA_ACCEPT=YES SUPPRESS_APP_LAUNCH=YES""
ExecuteParameters="/sPB /rs /l /msi\"/qb-! /norestart /log c:\\acrobat8.log ALLUSERS=2 EULA_ACCEPT=YES SUPPRESS_APP_LAUNCH=YES\"\""
; // Deletes the shortcut dropped on the desktop
Delete="%Var1%"
;!@InstallEnd@!


#76 User is offline   gora 

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

Posted 09 April 2008 - 08:47 AM

View Postrkillcrazy, on Apr 9 2008, 05:37 PM, said:

Am I missing something?

The number of inverted commas always should be to steam rooms (2, 4, 6...) ;)

#77 User is offline   Martin H 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 802
  • Joined: 24-November 06
  • OS:none specified

Posted 09 April 2008 - 04:33 PM

@Oleg Sch: When slipstreaming 7z SFX executables directly into the installation source(I386) and references them in TXTSETUP.SIF and DOSNET.INF to be copied over to the systemdrive during textmode-setup, then i get the following textmode filecopy errors for each of the executables :

Quote

The file <filename.exe> was not copied correctly. The file Setup placed on your harddrive is not a valid Windows 2000 system image. If you are installing from a CD, there may be a problem with the Windows 2000 CD.

This problem can be fixed by running modifyPE.exe on them first(Thank's Tomcat76 :)), but i was thinking if you would possibly consider changing the module so that the headers of the produced executables wouldn't appear borked to Windows Setup ?

Thank's in advance.

#78 User is offline   rkillcrazy 

  • Newbie
  • Group: Members
  • Posts: 25
  • Joined: 23-November 03

  Posted 14 April 2008 - 10:22 AM

Is there a way to show another window that will tell the user to please wait. I have a large SFX that runs through several installs. Unfortunately, the installs can only be installed silently or normally. I'd rather not have to click anything so I use the silent switches. However, the total time it takes from execution of the SFX to the end message stating it's complete is 5-10 minutes which gives a user plenty of time to screw it up by trying to install something else. I get a progress bar for the extraction but it goes away and I see nothing except for a couple of windows that flash by now and then. Ideas?

04-14-08
1221 EDT

#79 User is offline   Martin H 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 802
  • Joined: 24-November 06
  • OS:none specified

Posted 14 April 2008 - 05:14 PM

@rkillcrazy : It's not pretty, but you can let the SFX run an unhiden batchfile that installs the app silently and echo's 'Installation in progress' and 'Please wait...' or something during the install. Just a thought :)

@Oleg Sch

I have been thinking about my previous request to you and comed to realize that you of course cannot do anything to fix the filecopy errors during textmode-setup, since textmode-setup checks the PE checksum of the SFX archives header(i.e. the SFX module) and since their isn't a correct checksum there, then it throws an error, and that you of course are unable to place a fixed checksum in the SFX module that would match every SFX archive made later on, so please just ignore my request and sorry for wasting your time...

I have then just adapted my '7z-SFX-maker.cmd' batchfile to also run modifyPE.exe on the produced SFX archives additionally :)

(I know that it sounds strange to slipstream the SFX archives in the way that i do, but the reason for that is that i use HFSLIP and that does this process for me on every SFX,CMD or INF file placed into a specific folder, so that they get slipstreamed and run at first GUI-logon from the RunOnce reg-key and i use that folder for all my SFX's, since they all are pre-configured with extra regfiles with e.g. file-associations etc. and those often dosen't work right from T-13(which HFSLIP also has a folder for)

#80 User is offline   rkillcrazy 

  • Newbie
  • Group: Members
  • Posts: 25
  • Joined: 23-November 03

Posted 14 April 2008 - 05:31 PM

View PostMartin H, on Apr 14 2008, 06:14 PM, said:

@rkillcrazy : It's not pretty, but you can let the SFX run an unhiden batchfile that installs the app silently and echo's 'Installation in progress' and 'Please wait...' or something during the install. Just a thought :)


Yeah, I used to do that before I started playing with these new modules. Perhaps this should be a feature request? It would be kinda nice to have a window that remained up as long as the original SFX file was still being used.

I'm pretty good with a batch file these days so I know I can get something like this working.

This post has been edited by rkillcrazy: 14 April 2008 - 05:32 PM


Share this topic:


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

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



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