alfreire Posted September 10, 2012 Posted September 10, 2012 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... ;-)
alfreire Posted September 11, 2012 Posted September 11, 2012 (edited) 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 administrator3. BeginPrompt timeout4. New module variable %%P - OS platformAlso, 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... ;-) Edited September 11, 2012 by alfreire
MitsuMan Posted September 12, 2012 Posted September 12, 2012 Helloi 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 shortcutThe file has been make by winrar. BD_Rebuilde.exe;The comment below contains SFX script commandsPath=C:\Program Files\Shortcut=D, "C:\Program Files\BD_Rebuilder\BDRB-Genvej.lnk"SavePathSilent=1Overwrite=1What is wrong with this here. i have try so many things.I have also try thisUsers\All Users\desktopUsers\Public\Public Desktop
MitsuMan Posted September 12, 2012 Posted September 12, 2012 HelloP.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
myselfidem Posted September 14, 2012 Posted September 14, 2012 (edited) ... 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 ? Edited September 14, 2012 by myselfidem
alfreire Posted September 14, 2012 Posted September 14, 2012 (edited) ;!@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.bakxcopy /y library.dll "%CommonProgramFiles(x86)%\Program\Test\"del /F /Q "%ProgramFiles(x86)%\Program\Test\file.exe"regedit /S regfile.reg shutdown -r -t 3Regards... ;-) Edited September 14, 2012 by alfreire
myselfidem Posted September 15, 2012 Posted September 15, 2012 (edited) ;!@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.bakxcopy /y library.dll "%CommonProgramFiles(x86)%\Program\Test\"del /F /Q "%ProgramFiles(x86)%\Program\Test\file.exe"regedit /S regfile.reg shutdown -r -t 3Regards... ;-) 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 offMKDIR "%CommonProgramFiles(x86)%\Program\Test"XCOPY /Y "%~dp0library.dll" "%CommonProgramFiles(x86)%\Program\Test\" /C /I /E /H /RREN "%CommonProgramFiles(x86)%\Program\Test\library.dll" library.bakDEL /F /Q "%ProgramFiles(x86)%\Program\Test\file.exe"REGEDIT /S "%~dp0regfile.reg" shutdown -r -t 3Assuming 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! Edited September 15, 2012 by myselfidem
alfreire Posted September 15, 2012 Posted September 15, 2012 (edited) 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" /VERYSILENTRegards, and thanks... ;-) Edited September 16, 2012 by alfreire
myselfidem Posted September 16, 2012 Posted September 16, 2012 Other more... How to add this command correctly to "RunProgram="...?NotepadReplacer116.exe /NOTEPAD="%Programfiles%\Notepad++\notepad++.exe" /VERYSILENTI 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!
alfreire Posted September 16, 2012 Posted September 16, 2012 Other more... How to add this command correctly to "RunProgram="...?NotepadReplacer116.exe /NOTEPAD="%Programfiles%\Notepad++\notepad++.exe" /VERYSILENTI 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/#downloadI will try your code... Thanks... ;-)
gora Posted September 16, 2012 Posted September 16, 2012 2-Other more... How to add this command correctly to "RunProgram="...?NotepadReplacer116.exe /NOTEPAD="%Programfiles%\Notepad++\notepad++.exe" /VERYSILENTRunProgram:"NotepadReplacer116.exe /NOTEPAD=\"%Programfiles%\\Notepad++\\notepad++.exe\" /VERYSILENT"
myselfidem Posted September 16, 2012 Posted September 16, 2012 (edited) Oops, just an error updated here, but I will try (updated with RunProgram=):RunProgram="NotepadReplacer116.exe /NOTEPAD=\"%Programfiles%\\Notepad++\\notepad++.exe" /VERYSILENT" Edited September 16, 2012 by myselfidem
alfreire Posted September 16, 2012 Posted September 16, 2012 2-Other more... How to add this command correctly to "RunProgram="...?NotepadReplacer116.exe /NOTEPAD="%Programfiles%\Notepad++\notepad++.exe" /VERYSILENTRunProgram:"NotepadReplacer116.exe /NOTEPAD=\"%Programfiles%\\Notepad++\\notepad++.exe\" /VERYSILENT"I will try... and, the other questions...? Thank you very much... ;-)
gora Posted September 16, 2012 Posted September 16, 2012 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 hereFAQ, item 2
alfreire Posted September 16, 2012 Posted September 16, 2012 (edited) Works perfect... THANKS... ;!@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@! Edited September 16, 2012 by alfreire
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now