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
  • 19
  • 20
  • 21
  • 22
  • You cannot start a new topic
  • You cannot reply to this topic

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

#401 User is offline   mooms 

  • What ?
  • PipPip
  • Group: Members
  • Posts: 273
  • Joined: 13-October 07

Posted 08 October 2012 - 03:23 PM

Or you could use 64 bit module.

Also, from Wikipedia:


%ProgramFiles%

This variable points to Program Files directory, which stores all the installed program of Windows and others. The default on English-language systems is C:\Program Files. In 64-bit editions of Windows (XP, 2003, Vista), there are also %ProgramFiles(x86)% which defaults to C:\Program Files (x86) and %ProgramW6432% which defaults to C:\Program Files. The %ProgramFiles% itself depends on whether the process requesting the environment variable is itself 32-bit or 64-bit (this is caused by Windows-on-Windows 64-bit redirection).


#402 User is offline   alfreire 

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

Posted 11 October 2012 - 12:51 AM

View Postmooms, on 08 October 2012 - 03:23 PM, said:

Or you could use 64 bit module.

Also, from Wikipedia:


%ProgramFiles%

This variable points to Program Files directory, which stores all the installed program of Windows and others. The default on English-language systems is C:\Program Files. In 64-bit editions of Windows (XP, 2003, Vista), there are also %ProgramFiles(x86)% which defaults to C:\Program Files (x86) and %ProgramW6432% which defaults to C:\Program Files. The %ProgramFiles% itself depends on whether the process requesting the environment variable is itself 32-bit or 64-bit (this is caused by Windows-on-Windows 64-bit redirection).

Thanks for info... :thumbup
Regards... ;)

#403 User is offline   Tduy 

  • Group: Members
  • Posts: 4
  • Joined: 02-March 12
  • OS:none specified
  • Country: Country Flag

Posted 21 October 2012 - 08:22 PM

how set Password for .sfx

#404 User is offline   alfreire 

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

Posted 22 October 2012 - 03:55 AM

View PostTduy, on 21 October 2012 - 08:22 PM, said:

how set Password for .sfx

You must put password in *.7z file, before make *.sfx file...
Regards... ;-)

#405 User is offline   DomenicP 

  • Group: Members
  • Posts: 2
  • Joined: 12-November 12
  • OS:none specified
  • Country: Country Flag

Posted 12 November 2012 - 02:03 PM

View Postmyselfidem, on 15 September 2012 - 09:57 AM, said:

View Postalfreire, on 14 September 2012 - 02:13 PM, said:

;!@Install@!UTF-8!
GUIMode="1"
MiscFlags="4"
RunProgram="x86:hidcon:file_x86.cmd"
RunProgram="x64:hidcon:file_x64.cmd"
;!@InstallEnd@!


file_x86.cmd:
rename "%CommonProgramFiles(x86)%\Program\Test\library.dll" library.bak
xcopy /y library.dll "%CommonProgramFiles(x86)%\Program\Test\"
del /F /Q "%ProgramFiles(x86)%\Program\Test\file.exe"
regedit /S regfile.reg 
shutdown -r -t 3


Regards... ;-) :hello:


Inside your config.txt, try: GUIMode="2"

config.txt (saved as UTF-8 file)
;!@Install@!UTF-8!
GUIMode="2"
MiscFlags="4"
RunProgram="x86:hidcon:cmd /c \"%%T\\file_x86.cmd""
RunProgram="x64:hidcon:cmd /c \"%%T\\file_x64.cmd""
;!@InstallEnd@!



I think the batch need to be improved:

file_x86.cmd
@echo off
MKDIR "%CommonProgramFiles(x86)%\Program\Test"
XCOPY /Y "%~dp0library.dll" "%CommonProgramFiles(x86)%\Program\Test\" /C /I /E /H /R
REN "%CommonProgramFiles(x86)%\Program\Test\library.dll" library.bak
DEL /F /Q "%ProgramFiles(x86)%\Program\Test\file.exe"
REGEDIT /S "%~dp0regfile.reg" 
shutdown -r -t 3



Assuming the regfile.reg and library.dll are inside your SFX file!

However, I think it's not a good idea to restart the computer at last using SFX file with a batch file!
Because the temp folder will be removed and the batch file is already in use and errors may occurs.

*Edit: errors about quotes inside config.txt updated and corrected!


Hello,

Hopefully I can get some help. The MiscFlags="4" is not working for me as well. I tried using the 7zsd_All.sfx and 7zsd_LZMA2.sfx. I'm very new to SFX so just to be clear - I would like the sfx executable I'm creating to prompt for administrator.

Config:


;!@Install@!UTF-8!
Title="Enterprise 6.0.1"
GUIMode="2"
MiscFlags="4"
RunProgram="x64:%%T\x64\setup.exe"
RunProgram="x86:%%T\x86\setup.exe"
;!@InstallEnd@!


Thanks in advanced!

This post has been edited by DomenicP: 12 November 2012 - 02:15 PM


#406 User is offline   JFX 

  • Member
  • PipPip
  • Group: Members
  • Posts: 262
  • Joined: 17-January 11
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 13 November 2012 - 10:28 AM

There seems to be a bug in the x64 modules, if an other program injects a hook.

7zip sfx - application error

#407 User is offline   DomenicP 

  • Group: Members
  • Posts: 2
  • Joined: 12-November 12
  • OS:none specified
  • Country: Country Flag

Posted 19 November 2012 - 08:45 AM

View PostDomenicP, on 12 November 2012 - 02:03 PM, said:


Hello,

Hopefully I can get some help. The MiscFlags="4" is not working for me as well. I tried using the 7zsd_All.sfx and 7zsd_LZMA2.sfx. I'm very new to SFX so just to be clear - I would like the sfx executable I'm creating to prompt for administrator.

Config:


;!@Install@!UTF-8!
GUIMode="2"
MiscFlags="4"
RunProgram="x64:%%T\x64\setup.exe"
RunProgram="x86:%%T\x86\setup.exe"
;!@InstallEnd@!


Thanks in advanced!


Can anyone please help me out? This is driving me crazy and I need to resolve it. Thanks you.

#408 User is offline   maddyrox 

  • Group: Members
  • Posts: 6
  • Joined: 01-December 12
  • OS:none specified
  • Country: Country Flag

Posted 01 December 2012 - 03:14 PM

I have one question regarding SFX archives created using WinRAR and I am expecting a very fast reply as it is very urgent for me.

I have to create one SFX file that can be installed in both, 32 or 64 bit machines. But, I want to know if it is possible to give the extraction path dynamically, i mean Can the SFX itself decide in which %ProgramFiles% it should extract contents.? In 32 bit we have Program Files folder and in 64 bit, we have Program files(x86).
Please help me ASAP

#409 User is offline   bphlpt 

  • MSFN Expert
  • PipPipPipPipPipPip
  • Group: Members
  • Posts: 1,077
  • Joined: 12-May 07

Posted 01 December 2012 - 04:01 PM

I know you are desperate, but posting the same post in multiple places will not get you a response any faster, you will just p*ss people off and you will be ignored. No one cares how urgent it is for you - that is not our problem. Pick ONE thread to leave your post and delete the other posts. It will be seen and someone will respond if they have anything useful.

Cheers and Regards

#410 User is offline   Oleg_Sch 

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

Posted 29 December 2012 - 04:37 PM

View PostJFX, on 13 November 2012 - 10:28 AM, said:

There seems to be a bug in the x64 modules, if an other program injects a hook.

7zip sfx - application error

Can you give a beta version of the SuRun for reproduce error? I can't download it now.

#411 User is offline   JFX 

  • Member
  • PipPip
  • Group: Members
  • Posts: 262
  • Joined: 17-January 11
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 18 January 2013 - 11:31 AM

View PostOleg_Sch, on 29 December 2012 - 04:37 PM, said:

Can you give a beta version of the SuRun for reproduce error? I can't download it now.

It does not seems to occur in the recent beta 6, but happens here in SuRun1211b5.zip

This post has been edited by JFX: 18 January 2013 - 02:37 PM


#412 User is offline   alfreire 

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

Posted 31 January 2013 - 08:32 AM

Hello... I have a problem with some 7zsfx files in Windows 8 (other files works perfect)... I got error message : "Non 7z archive." That 7zsfx files works perfect in Win XP, Win 7 x86 and x64... :unsure:

An example of config file:
;!@Install@!UTF-8!
GUIMode="0"
MiscFlags="4"
GUIFlags="2+4+8+16+32+2048"
Title="Mozilla Firefox v19.0 b4 esp Silent..."
BeginPrompt="   Creado por -=cr@ckm@n=-

¿Quieres instalar Mozilla Firefox...?"
ExtractTitle="Extrayendo archivos..."
ExtractDialogText="Mozilla Firefox v19.0 b4 español"
ExtractCancelText="Cancelar la instalación"
RunProgram="setup.exe -ms"
FinishMessage="Instalación finalizada correctamente... ;-)"
;!@InstallEnd@!


Regards... ;-)

Attached File(s)

  • Attached File  Error.jpg (15.16K)
    Number of downloads: 2

This post has been edited by alfreire: 31 January 2013 - 09:26 AM


#413 User is offline   alfreire 

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

Posted 31 January 2013 - 11:08 AM

Well.. I auto-answer to myself... :sneaky: I updated sfx module to v1.6 develop (build 2712) and works now... :whistle:

Regards... ;-)

This post has been edited by alfreire: 31 January 2013 - 11:09 AM


#414 User is offline   odar 

  • Newbie
  • Group: Members
  • Posts: 11
  • Joined: 02-April 12
  • OS:Windows 8 x64
  • Country: Country Flag

Posted 24 February 2013 - 01:46 PM

http://sourceforge.n...-zipsfxbuilder/

#415 User is offline   alfreire 

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

Posted 26 April 2013 - 09:13 AM

Hi, friends... One question, how to make work this command...?
Delete="%%T\\*.reg"

*.reg not working... I tried this
Delete="%%T\\\"*.reg\""

and this
Delete="\"%%T\\*.reg\"" 

and this
SetEnvironment="Variable1=*.reg"
Delete="%%T\\%Variable1%"

but not working too... :no:
Regards... ;-)

p.d.: This command works perfect...
RunProgram="hidcon:cmd /c del \"%%T\\*.reg\"" 

This post has been edited by alfreire: 26 April 2013 - 09:37 AM


#416 User is offline   gora 

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

Posted 26 April 2013 - 09:31 AM

2 alfreire

The module does not support wildcard (*,?)

#417 User is offline   alfreire 

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

Posted 26 April 2013 - 01:02 PM

View Postgora, on 26 April 2013 - 09:31 AM, said:

2 alfreire

The module does not support wildcard (*,?)

Thank you very much, Gora... appreciate your help... :rolleyes:
Cheers and regards... ;-)

#418 User is offline   c0nfuser 

  • Group: Members
  • Posts: 2
  • Joined: 29-April 13
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 29 April 2013 - 06:41 AM

Hello,

I would like to know If is possible to give the extraction path as a parameter.

i.e In config.txt file I set the InstallPath="%TEMP%" dir for extraction path but I want the user to have the option to choose the extraction path and overwrite the setting in config file.

is that possible?

Cheers,

c0nf

#419 User is offline   gora 

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

Posted 29 April 2013 - 07:02 AM

View Postc0nfuser, on 29 April 2013 - 06:41 AM, said:

is that possible?

Yes.
sfx.exe -InstallPath="%ProgramFiles%\\NewFolder"


#420 User is offline   c0nfuser 

  • Group: Members
  • Posts: 2
  • Joined: 29-April 13
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 29 April 2013 - 07:33 AM

thank you very much for your fast reply, it works!

Cheers

Share this topic:


  • 22 Pages +
  • « First
  • 19
  • 20
  • 21
  • 22
  • 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 - 2013 msfn.org
Privacy Policy