Menu

#155 Non GUI installation

open
nobody
None
5
2012-12-07
2003-08-27
Biju G. C.
No

7z30804b.exe -y /Q

still uses GUI to show a progress bar
so unable to install 7-Zip in pure console mode

Discussion

  • Igor Pavlov

    Igor Pavlov - 2003-08-27

    Logged In: YES
    user_id=65083

    Why do you need it?

     
  • Biju G. C.

    Biju G. C. - 2003-08-27

    Logged In: YES
    user_id=645209

    I want to update 7-zip on a PC which is accross the world
    and there internet access is thru dial up. So doing
    installation thru netmeeting is horrible. So I do SSH to
    access the remote PC.
    For me most preferred way of installation is just unzip. And
    updating registry using script.

     
  • Igor Pavlov

    Igor Pavlov - 2003-08-27

    Logged In: YES
    user_id=65083

    Yes, you can just copy files from installed 7-zip folder.

    Also in some cases you must write one registry item
    [HKEY_LOCAL_MACHINE\SOFTWARE\7-Zip]
    "Path"="C:\\Program Files\\7-Zip"
    or
    [HKEY_CURRENT_USER\SOFTWARE\7-Zip]
    "Path"="C:\\Program Files\\7-Zip"

    7z.exe uses that item to find 7-Zip folder, if you transfered
    7z.exe to other folder.

     
  • Biju G. C.

    Biju G. C. - 2003-08-27

    Logged In: YES
    user_id=645209

    Thanks,
    it works cool, I tested it by moving "7-Zip installed dir"
    to another name. Works even without setting anthing in
    registry !!!

    MozillaFirebird sends new install in *.zip format
    ftp://ftp.mozilla.org/pub/firebird/nightly/latest-trunk/MozillaFirebird-win32.zip
    (
    And I host a *.7z version too
    http://downloads.mozdev.org/quicktools/fbnightly/milestones/0.6.1/MozillaFirebird.7z
    )

    Similarly can we have *.zip and/or *.7z downloads for 7-Zip

    *.zip format for first time download
    *.7z format for next time onwards

    As the open source is all about freedom, this gives end user
    more freedom to decide how/where he want to put it in his system

     
  • Igor Pavlov

    Igor Pavlov - 2003-08-27

    Logged In: YES
    user_id=65083

    I've working without registry. 7-Zip File Manager required
    registry item. So I've fixed it.

     
  • Biju G. C.

    Biju G. C. - 2003-08-27

    Logged In: YES
    user_id=645209

    I love see programs that runs without using registry.
    (a big registry is the main culprit slowing my machine)
    But I accept u many not be completely avoid registry at run
    time
    because u have to associate 7-Zip it with all file name
    extensions.
    And also for system menu.

     
  • Biju G. C.

    Biju G. C. - 2003-08-28

    Logged In: YES
    user_id=645209

    The only issue till now I faced, 7-Zip not able to access
    help files, if path is not set in registry.

    Why not use windows API GetModuleFileName to get install
    path rather than registry

    char filename[300];
    long filenamelen;
    filenamelen = 299;

    GetModuleFileName( 0, fname, filenamelen);

    Its signature is

    WINAPI DWORD GetModuleFileName(
    HMODULE hModule,
    LPWSTR lpFilename,
    DWORD nSize)

     
  • Igor Pavlov

    Igor Pavlov - 2003-08-28

    Logged In: YES
    user_id=65083

    I've fixed it. Next version will work without registry
    initialization.

     

Log in to post a comment.

MongoDB Logo MongoDB