Jump to content

odar

Member
  • Posts

    11
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    Italy

Everything posted by odar

  1. to add command to context menu in cascade (whit sub menu) for windows 7 and windows 8 from reg file Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOT\Folder\shell\my index] "MUIVerb"="my index name" "SubCommands"="my prog 1;my prog 2;|;comprimi in 7z" "icon"="C:\\Program Files\\my prog\\prog.exe, 0" "Position"=- [HKEY_CLASSES_ROOT\*\shell\my index] "MUIVerb"="my index name" "SubCommands"="my prog 1;my prog 2;|;comprimi in 7z" "icon"="C:\\Program Files\\my prog\\prog.exe, 0" "Position"=- [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\my prog 1] @=my prog 1" "icon"="imageres.dll,109" [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\my prog 1\command] @="\"C:\\Program Files\\my prog\\prog.bat\" \"%1\"" [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\my prog 2] @="my prog 2" "icon"="imageres.dll,109" [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\my prog 2\command] @="\"C:\\Program Files\\my prog 2\\my prog 2.exe\"" [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\comprimi in 7z] @="comprimi in 7z" "Icon"="C:\\Progra~1\\7-Zip\\7zG.exe, 0" [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\comprimi in 7z\command] @="\"C:\\Progra~1\\7-Zip\\7zg.exe\" a -t7z -mx=9 \"%1\".7z -oa \"%1\\*\"" ;====================================== in context menu add 3 voice in cascade my index>(prog 1 prog2 comprimi in 7z) to max 20 voice in cascade menu [HKEY_CLASSES_ROOT\Folder\shell\my index]============ all folder [HKEY_CLASSES_ROOT\*\shell\my index]=============== all files [HKEY_CLASSES_ROOT\DesktopBackground\Shell\my prog] === desktop to wont use separator in voice use | "SubCommands"="my prog 1;|;my prog 2;|;comprimi in 7z" no separator in voice d'ont use | "SubCommands"="my prog 1;my prog 2;comprimi in 7z" position menu in context menu use botton top and midle "Position"="Bottom" "Position"="Top" "Position"=-
  2. runas /user:administrator /savecred "%~dp0Setup.exe" runas /user:%username% /savecred "%~dp0Setup.exe" runas /user:%computername%\%username% /savecred cmd runas /user:%computername%\%username% /savecred "%~dp0Setup.exe" PowerShell -Command (New-Object -com 'Shell.Application').ShellExecute('"%~dp0\Setup.exe', '', 'runas') oder run batfile to drag &drop %1 PowerShell -Command (New-Object -com 'Shell.Application').ShellExecute('Cmd.exe', '/c \"\"%userprofile%\\Desktop\\Nuova cartella (2)\\mybatfile.bat\" \"%1\"\" ', '', 'runas') PowerShell -Command (New-Object -com 'Shell.Application').ShellExecute('%userprofile%\\Desktop\\Nuova cartella (2)\\mybatfile.bat', ' \"%1\" ', '', 'runas')
  3. this reg file for create module sfx.exe to context menu right clic 7zsfx3.reg add 3 voice create 7z archive (folder compress in 7z) create sfx (folder container module 7zs*.sfx + file conf*.txt + file *.7z) create sfx folder (module sfx + file config.txt in folder compress and convert in sfx) file (win_7_8_contexmenu_ 7zsfx.7z for win 7-8 reg) file in context menu in cascade mode work in window 7 and windows 8 (x86 x64) win_7_8_contexmenu_ 7zsfx.7z
  4. using wget to download file install exe @echo off taskkill /IM firefox.exe /F > NUL taskkill /IM chrome.exe /F > NUL taskkill /IM iexplore.exe /F >NUL taskkill /IM opera.exe /F >NUL echo doenload Adobe, dont close this windows wget http://download.macromedia.com/get/flashplayer/current/licensing/win/install_flash_player_11_active_x.exe wget http://download.macromedia.com/get/flashplayer/current/licensing/win/install_flash_player_11_plugin.exe echo; echo install odobe flash player..... echo start install software Download ... echo; echo Install Flash Player ActiveX for Internet Explorer ... start "Install Flash Player ActiveX" /wait install_flash_player_11_active_x.exe -install echo Install Flash Player Plugin for other browser start "Install Flash Player Plugin" /wait install_flash_player_11_plugin.exe -install echo; echo finish install del /S /Q install_flash_player_11_active_x.exe del /S /Q install_flash_player_11_plugin.exe
  5. http://sourceforge.net/projects/s-zipsfxbuilder/
  6. ;!@Install@!UTF-8! InstallPath="%temp%\\Mysetup" RunProgram="msistub MySetup.msi /qb-!" Delete="%%T" ;!@InstallEnd@! msistub.exe
  7. bat files are all contained in this sfx with installation of CMenu you create a context menu for easy operation of the module with 7zsd reshaker extraico and change the icon below links to download the file over a video on the operation tested on windows xp and Vista trouble with the Italian LANGUAGE with c menu in Windows 7 does not create the context menu could improve it? link to sfx http://rapidgator.net/file/37500924/7zsfx_windows_XP_Vista_win7-32-64-MI.exe.html link to video http://youtu.be/fdRV6KzjQpU
  8. ;!@Install@!UTF-8! Title="7-Zip 4.00" BeginPrompt="Do you want to install the 7-Zip 4.00?" ExecuteFile="7zip.msi" ;!@InstallEnd@! ;!@Install@!UTF-8! Title="7-Zip 4.01 Update" BeginPrompt="Do you want to install the 7-Zip 4.01 Update?" ExecuteFile="msiexec.exe" ExecuteParameters="/i 7zip.msi REINSTALL=ALL REINSTALLMODE=vomus" ;!@InstallEnd@! for file . msi --------------------------------------------- bat file drag & drop ---------------------------------------- create a folder 7zsfx in %programfiles% in folder reshaker ,extraico,file bat create shortcut file bat in send to ---------------------------------------------------- file bat ___________________________________________________-- set pp=%1 cd %programfiles%\7zsfx\temp" del /s/q "%programfiles%\7zsfx\temp" rd\\.\ "%programfiles%\7zsfx\temp" /s/q md "%programfiles%\7zsfx\temp" rem -------------------------------------------- @echo off cls title creates sfx that executes a .bat file rem ----------------------------------------- for /f "useback tokens=*" %%a in ('%pp%') do @set gff=%%~a %~d1 cd "%~dp1" cd "%~f1" if [%errorlevel%] equ [1] @set fil=&goto parr echo compressing file cd.. set fil=\** :parr echo %errorlevel% errorlevel set cuu=%cd% rem ---------------------------------------------------------------- cls @echo . @echo ±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±± @echo ±± ±± @echo ±± creates sfx that executes a hidden .bat file ±± @echo ±± ±± @echo ±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±± @echo . rem ---------------------------------------------------------- set /p as="select sfx name without extension :" set /p gtr="select file .bat to be executed afterwards :" :pass set bn=.7z set sd=.exe set cv=%as%%fv%%bn% set sx=%as%%fv%%sd% set sz=%as%%fv% set/a vb=%vb%+1 set fv=_%vb% set co=%cl:~0,-4% set pr=%programfiles% set us=%username% set usp=%userprofile% set dc=. if exist "%~dp1%sx%" goto pass if exist "%~dp1%cv%" goto pass echo creating %sx% wait.... rem ------------------------------------------------- rem ---------------------------------------------------------------- echo ;!@Install@!UTF-8!>"%programfiles%\7zsfx\temp\configsfx.txt" echo InstallPath="%%temp%%\\%sz%">>"%programfiles%\7zsfx\temp\configsfx.txt" echo OverwriteMode="0">>"%programfiles%\7zsfx\temp\configsfx.txt" echo ExecuteFile="hidcon:%gtr%">>"%programfiles%\7zsfx\temp\configsfx.txt" echo GUiMode="2">>"%programfiles%\7zsfx\temp\configsfx.txt" echo Process="no">>"%programfiles%\7zsfx\temp\configsfx.txt" echo Delete="%%%%T">>"%programfiles%\7zsfx\temp\configsfx.txt" echo ;!@InstallEnd@!>>"%programfiles%\7zsfx\temp\configsfx.txt" rem --------------------------------------------------------------- start/wait "" "notepad.exe" ""%programfiles%\7zsfx\temp\configsfx.txt"" copy "%programfiles%\7zsfx\temp\configsfx.txt" "%gff%" /v/y rem ----------------------------------------------------------------- %~d1 cd "%~dp1" 7za a -t7z "%cv%" -oa "%gff%%fil%" echo %pp%%fil% compression finished rem ----------------------------------------------------------------- ----------------------------------------------------------------- echo copies %~dp1%cv% in %~dp1%sx% copy /b "%programfiles%\7zsfx\7Zsd2_all.sfx" + "%programfiles%\7zsfx\temp\configsfx.txt" + "%~dp1%cv%" "%~dp1%sx%" rem ---------------------------------------------------------- del "%~dp1%cv%" /q rem ---------------------------------------------------------- del /s/q "%programfiles%\7zsfx\temp" rd\\.\ "%programfiles%\7zsfx\temp" /s/q md "%programfiles%\7zsfx\temp" rem extracts and inserts icons %~d1 cd "%gff%" if exist "icon_1.ico" goto icona if not exist "%gtr%" goto end %SYSTEMDRIVE% cd "%programfiles%\7zsfx" del "%programfiles%\7zsfx\reshacker_cambio_icona\*.*" /q extraico.exe -export -iconindex=1 -desttype=ICO -closewhendone "%gff%\%gtr%" "%programfiles%\7zsfx\reshacker_cambio_icona\icon_1.ico" cd "%programfiles%\7zsfx\reshacker_cambio_icona" if not exist "icon_1.ico" exit dir /w %programfiles%\7zsfx\reshacker_cambio_icona\icon_1.ico | find " 1 File 0 byte" if "%errorlevel%" == "0" (goto end) cd .. ResHacker.exe -addoverwrite "%~dp1%sx%", "%~dp1%sx%", "%programfiles%\7zsfx\reshacker_cambio_icona\icon_1.ico", ICONGROUP,MAINICON,0 :end exit :icona %SYSTEMDRIVE% cd "%programfiles%\7zsfx" dir /w "%gff%\icon_1.ico" | find " 1 File 0 byte" if "%errorlevel%" == "0" (goto end) ResHacker.exe -addoverwrite "%~dp1%sx%", "%~dp1%sx%", "%gff%\icon_1.ico", ICONGROUP,MAINICON,0 exit _______________________________
  9. I created a zip which after extraction run the "setup.exe" . this is the command lines in the batch file : "C:\Program Files\7-Zip\7z.exe" a %zipFileName% %allFromOutputDir% (creating a 7z zip) copy /b "C:\Program Files\7-Zip\7zS.sfx" -y + MCTSFXConfig.txt + %zipFileName% %outputFile% (Creating self extracting zip) re: variabili "%ProgramFiles%\7-Zip\7z.exe" a -t7z "%zipFileName%" -oa "%allFromOutputDir%" (creating a 7z zip) copy /b "%programfiles%\7-Zip\7zS.sfx" -y + "MCTSFXConfig.txt "+ "%zipFileName%" "%outputFile%" (Creating self extracting zip) http://rapidgator.net/file/37500924/7zsfx_windows_XP_Vista_win7-32-64-MI.exe.html moduli 7zsd + file.bat + reshaker + extraico + cmenu video tutorial http://youtu.be/fdRV6KzjQpU
  10. for 7zsd create a folder and context menu with batch file for create sfx module http://www.axifile.com/en/D101DE0571 or http://rapidgator.net/file/23278624/7zsfx_windows_XP_Vista_win7-new.exe.html in this packet sfx container module 7zsd with resources hacker and cmenu and extraico extract automatic in %programfiles%\7zsfx into folder 7zsfx file .bat with cmenu create context menu for .bat file file bat compress folder in .7z and create file configsfx.txt for 7zsfx open file configsfx.txt during process for modifier file when closing continue process and create sfx with name folder and lunch file.exe with extraico estract ico file from .exe and with reshacker change ico in the file sfx problem cmenu dont work in win 7 don't create menu context for this utility
  11. for 7zsd http://www43.zippyshare.com/v/89885809/file.html in this packet sfx container module 7zsd with resources hacker and cmenu and extraico extract automatic in %programfiles%\7zsfx into folder 7zsfx file .bat with cmenu create context menu for .bat file file bat compress folder in .7z and create file configsfx.txt for 7zsfx open file configsfx.txt during process for modifier file when closing continue process and create sfx with name folder and lunch file.exe with extraico estract ico file from .exe and with reshacker change ico in the file sfx problem cmenu dont work in win 7 don't create menu context for this utility
×
×
  • Create New...