Jump to content
MSFN is made available via donations, subscriptions and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. ×

Oleg_Sch

Member
  • Posts

    36
  • Joined

  • Last visited

  • Donations

    $0.00 

Posts posted by Oleg_Sch

  1. coucou

    http://7zsfx.solta.ru/en/configinfo.html

    IMPORTANT! Certain two-symbol sequences in the Value are parsed as follows:

    \\ = \

    \" = "

    \n = caret return

    \t = tabulation (TAB)

    As a result, you MUST use DOUBLE backslashes (\\) wherever you normally use backslashes (\) (e.g. in paths or dialog texts). Similarly, if the Value contains double quotes ("), you MUST precede them with a backslash (\").

    i.e. yuor configuration file should look so:

    ;!@Install@!UTF-8!

    InstallPath="%SystemRoot%\\system32\\spool\\drivers\\w32x86\\3"

    AutoInstall="regedit /s pdfMachine_FR.reg"

    GUIMode="2"

    Shortcut="P, {%%T\\bgsview.exe}, {-printer=\"BroadGun pdfMachine\" -config}, {Utilitaires\\Edition\\BroadGun Software}, {BroadGun pdfMachine options}, {BroadGun pdfMachine options}"

    Shortcut="P, {%%T\\bgsview.exe}, {-printer=\"BroadGun pdfMachine\" -config}, {Utilitaires\\Edition\\BroadGun Software}, {Entrer vos informations d'enregistrement}, {Entrer vos informations d'enregistrement}"

    Shortcut="P, {%%T\\bgsview.exe}, {}, {Utilitaires\\Edition\\BroadGun Software}, {pdfMachine}, {pdfMachine}"

    Shortcut="P, {%%T\\bbgshelp.chm}, {}, {Utilitaires\\Edition\\BroadGun Software}, {pdfMachine Aide}, {pdfMachine Aide}"

    Shortcut="P, {%%T\\bgsSetup.exe}, {-uninstall}, {Utilitaires\\Edition\\BroadGun Software}, {Désinstallation pdfMachine}, {Désinstallation pdfMachine}"

    Shortcut="P, {%%T\\\bgsscan.exe}, {}, {Utilitaires\\Edition\\BroadGun Software}, {pdfScanMachine - Scan to PDF}, {pdfScanMachine - Scan to PDF}"

    ;!@InstallEnd@!

    I'm think that you mistaked in second line and meant "InstallPath"

    Also remember that your reg file will be executed only in "auto install" mode, i.e. only if "-ai" command line switch present

    Use "RunProgram" for normal mode

  2. coucou

    Although I understand written English relatively well, my writing skills are not that good and I may not be able to answer some questions with the level of detail they require

    But i'll try...

    My module is DECOMPRESSION of fully created archives only... It can not update/replace files in archives, because don't have any compression functions :( This is the task of 7z.exe, 7za.exe or 7zfm.exe

    Your problem, that 7z don't have support (still :( ) of updates SOLID archives.

    You can go two ways:

    1. Don't use solid mode (in this case 7-zip can update/replace files in archive), but you lose in compression ratio

    2. Full repack of the archive (i.e. unpack to temp folder, replace your "VDefHub.zip" and then pack again all files from temporary folder in 7z archive)

    But again... This is not a job of my module :(

    All questions about this to Igor Pavlov http://sourceforge.net/forum/forum.php?forum_id=45797

  3. Oh, sorry. i mistaked :(

    You CAN NOT exclude path to the source file of the link :( , but you can set extract path in shortcut parameters, for example:

    ;!@Install@!UTF-8!

    InstallPath="%ProgramFiles%\\HyperSnap 6"

    GUIMode="2"

    Shortcut="P, {%%T\\HprSnap6.exe}, {}, {Capture\\HyperSnap 6}, {HyperSnap 6}, {HyperSnap 6}"

    ;!@InstallEnd@!

    In this case %%T always point to the extract/install folder (even if user will change it in ExtractPath dialog)

  4. coucou

    But what about help ?

    Parameter 'Shortcut':

    'type' - one or two symbol field that can take the following values:

    D - Creates shortcut on the Desktop

    S - Creates shortcut in the "Start" menu

    P - Creates shortcut in the "Start->Programs" menu

    T - Creates shortcut in the "Startup" folder

    The shortcuts are created for ALL USERS. In order to create a shortcut for the current user only, add 'u' to the values listed above. For example, Shortcut="Du, {cmd.exe}" creates shortcut on the current user's Desktop only.

    Configuration file in you case should look:

    ;!@Install@!UTF-8!
    InstallPath="%ProgramFiles%\\HyperSnap 6"
    GUIMode="2"
    Shortcut="P, {HprSnap6.exe}, {}, {Capture\\HyperSnap 6}, {HyperSnap 6}, {HyperSnap 6}"
    ;!@InstallEnd@!

    Change 'GUIMode' as you like ( see http://7zsfx.solta.ru/en/parameters.html#GUIMode ) or delete it (this is the same that GUIMode="0")

    Or this dosn't working ?

  5. Inferi0r

    As a result, you MUST use DOUBLE backslashes (\\) wherever you normally use backslashes (\) (e.g. in paths or dialog texts). Similarly, if the Value contains double quotes ("), you MUST precede them with a backslash (\").

    i.e. this line should look so:

    RunProgram="hidcon:cmd FOR /f %%i IN ('DIR /b /a-d %Var2%') DO %Var1% -install-global-extension \"%Var5%\\%%i\""

    I may be wrong, but you config file should be:

    ;!@Install@!UTF-8!

    ; // Full silent install

    GUIMode="2"

    ; // Set environments

    SetEnvironment="Var1=%ProgramFiles%\\Mozilla Firefox\\firefox.exe"

    SetEnvironment="Var2=%ProgramFiles%\\Mozilla Firefox\\extensions\\*.xpi"

    SetEnvironment="Var3=%ProgramFiles%\\Mozilla Firefox\\chrome\\*fx*"

    SetEnvironment="Var4=%AppData%\\Mozilla\\Firefox\\Profiles"

    SetEnvironment="Var5=%ProgramFiles%\\Mozilla Firefox\\extensions"

    SetEnvironment="Var6=%ProgramFiles%\\Mozilla Firefox\\chrome"

    ; // Silent install of Firefox

    RunProgram="setup.exe -ms"

    ; // Set Firefox to default browser

    RunProgram="hidcon:cmd \"%Var1%\" -setDefaultBrowser -silent"

    ; // Silent install of all extensions

    RunProgram="hidcon:cmd FOR /f %%i IN ('DIR /b /a-d \"%Var2%\"') DO \"%Var1%\" -install-global-extension \"%Var5%\\%%i\""

    ; // Delete all unpacked extensions after install

    Delete="%Var2%"

    ; // Set Adblock Plus settings if exist

    RunProgram="hidcon:cmd FOR /f %%i IN ('DIR /b /a:d \"%Var4%\"') DO md \"%Var4%\\%%i\\adblockplus\""

    RunProgram="hidcon:cmd FOR /f %%i IN ('DIR /b /a:d \"%Var4%\"') DO copy \"localized\adblockplus\patterns.ini\" \"%Var4%\\%%i\\adblockplus\""

    ; // Silent install of unsigned Themes (not needed and set by default)

    ; RunProgram="hidcon:cmd FOR /f %%i IN ('DIR /b /a-d \"%Var3%\"') DO \"%Var1%\" -install-global-theme \"%Var6%\\%%i\""

    ; // Delete all unpacked themes after install

    ; Delete="%Var3%"

    ;!@InstallEnd@!

    It's easer to do these tasks in a batch file and call it from the config file

    RunProgram="hidcon:batch_file_name.cmd"
  6. 7ziplogo.png


    7z SFX Modified Module

    version 1.5.3 Stable (build 3819)

    version 1.6.0 Beta (build 3819)

    Home page || Download links

    Hi All!

    I am excited to finally present the modified 7z SFX module and accompany tools to the English speaking audience. I know some of you already got a hold of the module and used it a little. Now you can take full advantage of all feature thanks to fully translated documentation. I do encourage you to read the docs, because the module development was driven by Russian unattended community. You'll find a lot of features regular users would never think of smile.gif . I'll list just a few of them here:

    - select between interactive, silent and hidden extraction
    - control the appearance of dialog prompts and text
    - consequently run several files (.exe, .msi, .reg and so on) after the extraction to install configured applications
    - replace .bat and .cmd files and eliminate the need in supplementary utilities like "StartX.exe", "msistub.exe" and so on
    - create shortcuts for programs with the icons of your choice

    There's a lot, and you may want to start with usage examples to see some pics
     

    Example4.png

    You may also want to download 7z SFX Tools to see the installer in action.

    I truly hope you like the module and start using it in your PC tasks. As you become familiar with its features, please share your experience with your peers through this thread. Although I understand written English relatively well, my writing skills are not that good and I may not be able to answer some questions with the level of detail they require (Honestly, I got a lot of help with this post ;) )

    You're welcome to leave any thoughts or suggestions in this thread - I'm subscribed to it. Feel free to conact me by e-mail, but keep in mind that often you can get techincal help through the forum faster smile.gif

    Thank you!

    Only Russian pages was updated.

    Latest versions also can be downloaded via SVN repository http://svn.7zsfx.info

  7. Hi!

    First of all... Sorry for my bad english, my primary language is russian...

    I'm the author of this modified 7-zip SFX module.

    And I'll try to answer your questions

    English documentation (and site) is almost ready and (i hope) you will see it in next one or two weeks.

    It has been made by professional translators from "translators club oszone.net" (thanks to Vadikan)

    I think, this will be more useful that babelfish.

    While I can try to answer your questions in this topic.

    Or ask me via e-mail (you will see it on main page on http://7zsfx.solta.ru)


×
×
  • Create New...