Jump to content

gora

Member
  • Posts

    165
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    United States

Everything posted by gora

  1. Correct variants: ;!@Install@!UTF-8! GUIMode="2" RunProgram="x86:hidcon:cmd /c \"%%T\\file_x86.cmd\"" RunProgram="x64:hidcon:cmd /c \"%%T\\file_x64.cmd\"" ;!@InstallEnd@! ;!@Install@!UTF-8! GUIMode="2" RunProgram="x86:hidcon:cmd /c file_x86.cmd" RunProgram="x64:hidcon:cmd /c file_x64.cmd" ;!@InstallEnd@! ;!@Install@!UTF-8! GUIMode="2" RunProgram="x86:hidcon:file_x86.cmd" RunProgram="x64:hidcon:file_x64.cmd" ;!@InstallEnd@! ;!@Install@!UTF-8! GUIMode="2" RunProgram="%%P:hidcon:file_%%P.cmd" ;!@InstallEnd@! This variant is not correct too: ;!@Install@!UTF-8! GUIMode="2" RunProgram="x86:hidcon:cmd /c %%T\\file_x86.cmd" RunProgram="x64:hidcon:cmd /c %%T\\file_x64.cmd" ;!@InstallEnd@!
  2. 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"
  3. RunProgram:"NotepadReplacer116.exe /NOTEPAD=\"%Programfiles%\\Notepad++\\notepad++.exe\" /VERYSILENT"
  4. Upss ... Oleg has not announced a version 1.6.2496 of modules, but they are included in the latest version of "Button ..."
  5. For test: ;!@Install@!UTF-8! Title="Variables %7zSfxVarModulePlatform% module in %%P OS" BeginPrompt=" Check of variables %7zSfxVarModulePlatform% module in %%P OS • Click 'OK', variables will are shown in a console window • Click 'OK', retaining [Shift], variables will be are saved to the file %SystemDrive%\\vars_%7zSfxVarModulePlatform%_module_on_%%P_OS.txt" FinishMessage="The module %7zSfxVarModulePlatform% finished operation" ; SetEnvironment="cmnd=@Echo Off& Title Module - %7zSfxVarModulePlatform%, OS - %%P& Echo Module - %7zSfxVarModulePlatform%, OS - %%P& Echo.& Echo Folders:&Set 7zSfxFolder& Echo.& Echo Vars:&Set 7zSfxVar& Echo %%^M=%%M& Echo %%^P=%%P& Echo %%^S=%%S& Echo %%^T=%%T& Set CommonD& Set MyDoc& Echo UserDesktop=%UserDesktop%& Echo." RunProgram="hidcon:cmd /c Echo" RunProgram="%%P:fm0:cmd /k %cmnd%" AutoInstall="hidcon:cmd /c Echo" AutoInstall="%%P:fm20:hidcon:cmd /c (%cmnd%)>%SystemDrive%\\vars_%7zSfxVarModulePlatform%_module_on_%%P_OS.txt" GUIMode="2" GUIFlags="2+4+8+16+32+2048+4096" ;!@InstallEnd@! ;!@Install@!UTF-8:Language:1049! Title="Переменные %7zSfxVarModulePlatform% модуля в %%P ОС" BeginPrompt=" Проверка переменных %7zSfxVarModulePlatform% модуля в %%P ОС • Нажмите 'OK', переменные будет показаны в окне консоли • Нажмите 'OK', удерживая [Shift], переменные будет сохранены в файл %SystemDrive%\\vars_%7zSfxVarModulePlatform%_module_on_%%P_OS.txt" FinishMessage="Модуль %7zSfxVarModulePlatform% завершил работу" ;!@InstallEnd@:Language:1049! Version module for test 1.6 build 2496
  6. 7zSfxFolder28=C:\Users\gora\AppData\Local ;!@Install@!UTF-8! GUIMode="2" InstallPath="%7zSfxFolder28%\\Test" ;!@InstallEnd@!
  7. On my OS (win 7 x64) %appdata% = C:\Users\gora\AppData\Roaming You do not?
  8. So a little shorter: ;!@Install@!UTF-8! GUIMode="2" InstallPath="%Windir%\\Resources\\Themes" RunProgram="%%P:Cloud7\\UxStyle\\UxStyle%%P.msi [switches_here]" Delete="%%T\\Cloud7\\UxStyle" ;!@InstallEnd@! If you need the full path for the MSI, then this: ... RunProgram="%%P:\"%%T\\Cloud7\\UxStyle\\UxStyle%%P.msi\" [switches_here]" ...
  9. The symbol ' does not require screening by symbol \
  10. 2 visegrip Yes. It's my fault. I did the code to add this variable in the double signs % You have finished it and now it's your code. Congratulations! Simpler variant: RunProgram="hidcon:Reg Add \"HKCU\\Software\\Some Software Name\" /v \"Location\" /t REG_EXPAND_SZ /d \"\"%\"SYSTEMDRIVE\"%\"\\Program Files\\Some Software Name\" /f"
  11. 1 What is your system? 2 Shows two lines, rather than one, please.
  12. You do not carefully read the manual You see how bad that is not English manual! A very severe case... SetEnvironment="Var=%%^SYSTEMDRIVE%%" RunProgram="hidcon:cmd /V:ON /c Set Var=%Var:^=%& Reg Add \"HKCU\\Software\\Some Software Name\" /v \"Location\" /t REG_EXPAND_SZ /d \"!Var!\\Program Files\\Some Software Name\" /f"
  13. 1 No. It is impossible. Syntax of a key: -sfxlang:xxxx The key of sfxlang can be only one in CL 2 Export your key to the.reg file and bring him here. I convert it to a line of a config
  14. Modules, help file, site updated 1.5 beta (build 2478) 05/10/12 1.6 develop (build 2478) 05/10/12 + Support for encryption
  15. I use EmEditor with highlighting. It looks so
  16. The module checks syntax of a design: Parameter_name="value_parameter" In "value_parameter" there should not be double quotes without a slash. The module doesn't check even/odd number of double quotes with slashes in "value_parameter". The rest in "value_parameter" the user should supervise all. The module can't replace a brain of the user!
  17. 2 visegrip It's not a bug! Example: ;!@Install@!UTF-8! RunProgram="cmd /k Echo Print one double quote \" " RunProgram="cmd /k Echo Print two double quotes \" \" " RunProgram="cmd /k Echo Print three double quotes \" \" \" " ;!@InstallEnd@! Another example: ;!@Install@!UTF-8! SetEnvironment="prnt=cmd /k Echo Print path \"%programfiles%\\" RunProgram="%prnt%7-Zip\"" RunProgram="%prnt%Adobe\\Reader 10.0\"" ;!@InstallEnd@! All the lines are correct!
  18. 2 visegrip 1 Show your config file (with errors) 2 Give the step by step instructions to reproduce the bug.
  19. MiscFlags="x" 1 - do not check the disk space required for the extraction process 2 - do not check the size of physical memory required for the extraction process 4 - ... 8 - ... Flags can be added, for example, MiscFlags="1+2"
  20. 2 bphlpt You can create this list yourself... ;!@Install@!UTF-8! RunProgram="cmd /c @echo off& set& pause>nul" AutoInstall="hidcon:cmd /c set>%SystemDrive%\\vars.txt" ; This SFX archive was created using "Button for creation and work with 7z SFX archives v4.1.4.1919 [x64]" 19.03.2012 13-22. The last version of "Button" you can find on http://buttontc.7zsfx.info ;!@InstallEnd@!
×
×
  • Create New...