Jump to content

gora

Member
  • Posts

    165
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    United States

Everything posted by gora

  1. Yes. For example: RunProgram="fm20:hidcon:cmd /c echo" ... FinishMessage = "ATTENTION!!!\n\nThis installer could only run by command line switches.\n\nWork is interrupted! "
  2. http://www.msfn.org/board/7z-SFX-Modified-...342#entry7183422 cool400 Errors in a code are! Write a code working .bat file - I will write to you how be correct should in a configuration file.
  3. The number of inverted commas always should be to steam rooms (2, 4, 6...)
  4. 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.
  5. 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.
  6. Hi, AlbatroS. If you will be satisfied with my answer, at Russian forum Oleg_Sch responded, that: "Support by the module of encryption is NOT planned"
  7. 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: All this is in detail described in Russian Manual.
  8. GUI for write config file (interface Russian only) Creation of a config file Online service (interface Russian only) Creation 7z SFX archives in Total Commander (interface Russian and English, Help - Russian only) All on the basis of modified module Oleg_Sch
  9. Hi, radix. YES. All depends on your file setup.exe. If his process does not branch, the temporary folder should remove.If the file setup.exe starts child process and closes the basic, the module tries to remove a temporary folder, but child process can continue to use files from a temporary folder and does not allow to remove it.
  10. Hi, radix. In a configuration file do not have parametre 'InstallPath'. In the Help it is written: and Therefore the module also adds to you a way to a temporary folder. At you should be so: Shortcut = "Du, {C:\\Program Files\\DU Meter\\DUMeter.exe}, {}, {}, {}, {DU Meter}"
  11. Inferi0r Excuse, I was not right. Sorry... In the module it is not provided what means for the organization of delays. But your problem in delay use in cmd.exe. You can use any known ways of the organization of a delay in .bat files. For example so: RunProgram="hidcon:cmd FOR /f %%i IN ('DIR /b /a-d \"%Var2%\"') DO \"%Var1%\" -install-global-extension \"%Var5%\\%%i\" & echo *****"Where * - code 07H (beep). Or so: RunProgram="hidcon:cmd FOR /f %%i IN ('DIR /b /a-d \"%Var2%\"') DO \"%Var1%\" -install-global-extension \"%Var5%\\%%i\" & nircmdc.exe wait 1000"But it is necessary to add the freeware utility nircmdc.exe in archive. It is a lot of variants . It will be possible to you better to unite all your commands in .bat file (the big flexibility since is not present necessity to unite some commands in one line) and then to start it from RunProgram, but.... To solve to you Successes to you.
  12. I do not see in your code %Var1%!? What is it? Designs FOR/f %% i IN (' DIR/b/a-d "%Var2 %" ') DO "%Var1 %"-instal-global-extension"%Var5 % \%%i" should work only in the presence of command SETLOCAL ENABLEEXTENSIONS. Where at you it? Publish a configuration file completely. If you execute some commands in cmd.exe, and they are connected among themselves by variables all of them should be located in one parametr RunProgram. Parametres and variables remain only within one session cmd.exe. If some commands cannot be written in one line in cmd.exe use bath a file and start it from RunProgram
  13. It is possible to try so: ;!@Install@!UTF-8! SetEnvironment="MP=\"%ProgramFiles%\\MyProg\"" RunProgram="hidcon:cmd /c setup.bat" GUIMode="2" ;!@InstallEnd@! And in setup.bat to make so: @echo off start /b /WAIT "" "%%T\setup.exe" /s :_loop IF EXIST "%ProgramFiles%\MyProg\filename" ( xcopy "%%T\patch.exe" "%MP%" /y ) ELSE ( goto :_loop ) EXIT Where filename substitute from installed applications.
  14. Oleg in holiday Excuse for my bad English. Yes. This should work, but problems are possible! RunProgram = "setup.exe/s" to be started and will expect the process termination. But if setup.exe after start derivates "derived" processes and thus will close the main process setup.exe, RunProgram = "cmd/c xcopy patch.exe \" %MP %/y" it can be started earlier than the program folder %ProgramFiles%\MyProg will be created.
×
×
  • Create New...