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

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

#361 User is offline   alfreire 

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

Posted 10 September 2012 - 01:24 PM

View Postgora, on 08 September 2012 - 10:30 PM, said:

View Postalfreire, on 06 September 2012 - 09:59 AM, said:

I not find this version here http://7zsfx.info/en/ last version is 1.5 beta (build 2478) Where I can find it...?

Upss ... Oleg has not announced a version 1.6.2496 of modules, but they are included in the latest version of "Button ..."

Thanks by all... ;-)


#362 User is offline   alfreire 

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

Posted 11 September 2012 - 12:02 PM

View Postvisegrip, on 30 June 2011 - 04:30 PM, said:

Thanks gora,
I just looked through the log for 1.5.0.2100 from revision 1 - 80 and make out four feature additions:

1."waitall" prefix ('wait all childs' of the executed process)
2. MiscFlag '4' - run as administrator
3. BeginPrompt timeout
4. New module variable %%P - OS platform

Also, one initial addition has been removed:
Deletion of redefined config parameters "Parameter=-"

As far as differences from version 1.4.1.2100, is this list correct and complete?
Thanks again.



Hello again... there is any option to "Run as Admin" 7zsfx silent file...? I use MiscFlags="4", but doesn't work...
Regards... ;-)

This post has been edited by alfreire: 11 September 2012 - 12:06 PM


#363 User is offline   MitsuMan 

  • Member
  • PipPip
  • Group: Members
  • Posts: 148
  • Joined: 12-March 06

Posted 12 September 2012 - 08:15 AM

Hello

i have a program i would like to be unpack to a folder and make a Shortcut to the desktop for all users.
that i have make but i only works in windows, if i make it run in WPI it unpack but dont make a desktop shortcut

The file has been make by winrar.

BD_Rebuilde.exe

;The comment below contains SFX script commands

Path=C:\Program Files\
Shortcut=D, "C:\Program Files\BD_Rebuilder\BDRB-Genvej.lnk"
SavePath
Silent=1
Overwrite=1


What is wrong with this here. i have try so many things.

I have also try this

Users\All Users\desktop
Users\Public\Public Desktop

#364 User is offline   MitsuMan 

  • Member
  • PipPip
  • Group: Members
  • Posts: 148
  • Joined: 12-March 06

Posted 12 September 2012 - 08:20 AM

Hello

P.S if i try to do it after windows is install and run wpi then it works fine to unpack and make a desktop and show over

#365 User is offline   myselfidem 

  • Member
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,447
  • Joined: 06-January 10
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 14 September 2012 - 09:34 AM

View Postalfreire, on 11 September 2012 - 12:02 PM, said:

... there is any option to "Run as Admin" 7zsfx silent file...? I use MiscFlags="4", but doesn't work...

Could you post (copy) your config.txt ?

This post has been edited by myselfidem: 14 September 2012 - 10:29 AM


#366 User is offline   alfreire 

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

Posted 14 September 2012 - 02:13 PM

;!@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:

This post has been edited by alfreire: 14 September 2012 - 02:27 PM


#367 User is offline   myselfidem 

  • Member
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,447
  • Joined: 06-January 10
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 15 September 2012 - 09:57 AM

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!

This post has been edited by myselfidem: 15 September 2012 - 04:14 PM


#368 User is offline   alfreire 

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

Posted 15 September 2012 - 05:04 PM

7zsfx file works perfect in a PC with Admin user... If I want run 7zsfx file in a PC without Admin permissions, I must run file with right click "Run as Administrator" to work... I need know if there is a command to run 7zsfx file with Admin rights...
Thanks by your improvements... If I run restart at the end of file there isn't problem, by now...

1-One question, how I can make a 7zsfx with hidden files...? I can do with password, but I just want the password to prevent decompression, and not for install, as in Button setup by Gora...

2-
Other more... How to add this command correctly to "RunProgram="...?
NotepadReplacer116.exe /NOTEPAD="%Programfiles%\Notepad++\notepad++.exe" /VERYSILENT


Regards, and thanks... ;-) :rolleyes:

This post has been edited by alfreire: 16 September 2012 - 04:33 AM


#369 User is offline   myselfidem 

  • Member
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,447
  • Joined: 06-January 10
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 16 September 2012 - 09:56 AM

View Postalfreire, on 15 September 2012 - 05:04 PM, said:

Other more... How to add this command correctly to "RunProgram="...?
NotepadReplacer116.exe /NOTEPAD="%Programfiles%\Notepad++\notepad++.exe" /VERYSILENT



I think this could be:

RunProgram:"NotepadReplacer116.exe /NOTEPAD=\"%Programfiles%\\Notepad++\\notepad++.exe" /VERYSILENT"


I can't find NotepadReplacer116.exe on Google !

Try and let us know!

#370 User is offline   alfreire 

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

Posted 16 September 2012 - 09:59 AM

View Postmyselfidem, on 16 September 2012 - 09:56 AM, said:

View Postalfreire, on 15 September 2012 - 05:04 PM, said:

Other more... How to add this command correctly to "RunProgram="...?
NotepadReplacer116.exe /NOTEPAD="%Programfiles%\Notepad++\notepad++.exe" /VERYSILENT



I think this could be:

RunProgram:"NotepadReplacer116.exe /NOTEPAD=\"%Programfiles%\\Notepad++\\notepad++.exe" /VERYSILENT"


I can't find NotepadReplacer116.exe on Google !

Try and let us know!


It's here:
http://www.binaryfortress.com/NotepadReplacer/#download


I will try your code... Thanks... ;-)

#371 User is offline   gora 

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

Posted 16 September 2012 - 10:03 AM

View Postalfreire, on 16 September 2012 - 09:59 AM, said:

2-Other more... How to add this command correctly to "RunProgram="...?
NotepadReplacer116.exe /NOTEPAD="%Programfiles%\Notepad++\notepad++.exe" /VERYSILENT


RunProgram:"NotepadReplacer116.exe /NOTEPAD=\"%Programfiles%\\Notepad++\\notepad++.exe\" /VERYSILENT"



#372 User is offline   myselfidem 

  • Member
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,447
  • Joined: 06-January 10
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 16 September 2012 - 10:09 AM

Oops, just an error updated here, but I will try (updated with RunProgram=):

RunProgram="NotepadReplacer116.exe /NOTEPAD=\"%Programfiles%\\Notepad++\\notepad++.exe" /VERYSILENT"

This post has been edited by myselfidem: 16 September 2012 - 11:34 AM


#373 User is offline   alfreire 

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

Posted 16 September 2012 - 10:10 AM

View Postgora, on 16 September 2012 - 10:03 AM, said:

View Postalfreire, on 16 September 2012 - 09:59 AM, said:

2-Other more... How to add this command correctly to "RunProgram="...?
NotepadReplacer116.exe /NOTEPAD="%Programfiles%\Notepad++\notepad++.exe" /VERYSILENT


RunProgram:"NotepadReplacer116.exe /NOTEPAD=\"%Programfiles%\\Notepad++\\notepad++.exe\" /VERYSILENT"



I will try... and, the other questions...? :angel
Thank you very much... ;-)

#374 User is offline   gora 

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

Posted 16 September 2012 - 10:21 AM

View Postalfreire, on 16 September 2012 - 10:10 AM, said:

1-One question, how I can make a 7zsfx with hidden files...? I can do with password, but I just want the password to prevent decompression, and not for install, as in Button setup by Gora...

Read here
FAQ, item 2

#375 User is offline   alfreire 

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

Posted 16 September 2012 - 10:27 AM

Works perfect... THANKS... :thumbup
;!@Install@!UTF-8!
GUIMode="1"
MiscFlags="4"
Title="Notepad++ v6.1.7 Silent Install... "
BeginPrompt="  Creado por alfreire\n \n¿Quieres instalar este programa...?"
GUIFlags="8+2048"
RunProgram="npp.6.1.7.Installer.exe /S"
RunProgram="x86:NotepadReplacer116.exe /NOTEPAD=\"%programfiles%\\Notepad++\\notepad++.exe\" /VERYSILENT"
RunProgram="x64:NotepadReplacer116.exe /NOTEPAD=\"%programfiles(x86)%\\Notepad++\\notepad++.exe\" /VERYSILENT"
FinishMessage="Instalación finalizada con éxito... ;-)"
;!@InstallEnd@!

This post has been edited by alfreire: 16 September 2012 - 11:44 AM


#376 User is offline   alfreire 

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

Posted 16 September 2012 - 10:30 AM

View Postgora, on 16 September 2012 - 10:21 AM, said:

View Postalfreire, on 16 September 2012 - 10:10 AM, said:

1-One question, how I can make a 7zsfx with hidden files...? I can do with password, but I just want the password to prevent decompression, and not for install, as in Button setup by Gora...

Read here
FAQ, item 2

Now I look... thanks... :lol:

Excuse my stupidity, can not find it... :blushing:

This post has been edited by alfreire: 16 September 2012 - 10:42 AM


#377 User is offline   gora 

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

Posted 16 September 2012 - 10:34 AM

 
RunProgram="x86:NotepadReplacer116.exe /NOTEPAD=\"%programfiles%\\Notepad++\\notepad++.exe\" /VERYSILENT" 
RunProgram="x64:NotepadReplacer116.exe /NOTEPAD=\"%programfiles(x86)%\\Notepad++\\notepad++.exe\" /VERYSILENT" 


These two lines are equivalent to a single line (for x86 modules):
 
RunProgram="NotepadReplacer116.exe /NOTEPAD=\"%programfiles%\\Notepad++\\notepad++.exe\" /VERYSILENT" 



#378 User is offline   myselfidem 

  • Member
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,447
  • Joined: 06-January 10
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 16 September 2012 - 10:35 AM

Just a little typo error inside your config.txt: check it!

;!@InstallEnd@!


Cheers

This post has been edited by myselfidem: 16 September 2012 - 10:36 AM


#379 User is offline   alfreire 

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

Posted 16 September 2012 - 10:46 AM

View Postgora, on 16 September 2012 - 10:34 AM, said:

 
RunProgram="x86:NotepadReplacer116.exe /NOTEPAD=\"%programfiles%\\Notepad++\\notepad++.exe\" /VERYSILENT" 
RunProgram="x64:NotepadReplacer116.exe /NOTEPAD=\"%programfiles(x86)%\\Notepad++\\notepad++.exe\" /VERYSILENT" 


These two lines are equivalent to a single line (for x86 modules):
 
RunProgram="NotepadReplacer116.exe /NOTEPAD=\"%programfiles%\\Notepad++\\notepad++.exe\" /VERYSILENT" 





View Postmyselfidem, on 16 September 2012 - 10:35 AM, said:

Just a little typo error inside your config.txt: check it!

There is no error in config.txt, error by copy/paste... X-D

;!@InstallEnd@!


Cheers

Thanks again... :rolleyes:

This post has been edited by alfreire: 16 September 2012 - 10:47 AM


#380 User is offline   alfreire 

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

Posted 16 September 2012 - 10:48 AM

View Postgora, on 16 September 2012 - 10:34 AM, said:

 
RunProgram="x86:NotepadReplacer116.exe /NOTEPAD=\"%programfiles%\\Notepad++\\notepad++.exe\" /VERYSILENT" 
RunProgram="x64:NotepadReplacer116.exe /NOTEPAD=\"%programfiles(x86)%\\Notepad++\\notepad++.exe\" /VERYSILENT" 


These two lines are equivalent to a single line (for x86 modules):
 
RunProgram="NotepadReplacer116.exe /NOTEPAD=\"%programfiles%\\Notepad++\\notepad++.exe\" /VERYSILENT" 





View Postmyselfidem, on 16 September 2012 - 10:35 AM, said:

Just a little typo error inside your config.txt: check it!

;!@InstallEnd@!


Cheers


There is no error in config.txt, error by copy/paste... X-D

Thanks again... :rolleyes:

Share this topic:


  • 22 Pages +
  • « First
  • 17
  • 18
  • 19
  • 20
  • 21
  • 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