Silent Install Switch

Discussion in 'Scripting' started by tefor, May 5, 2017.

  1. tefor

    tefor MDL Member

    Apr 5, 2017
    134
    55
    10
    Hi Friends ;
    I need the silent install switch for the screen capture and screen recording software oCam.exe
    Here is the download link
    http://ohsoft.net/eng/product/oCam_v395.0.exe
    Thank you
     
  2. s1ave77

    s1ave77 MDL Guide Dog/Dev

    Aug 15, 2012
    15,339
    21,360
    340
    Sometimes developers care about that and offer a nice help via /? switch :cool2:.

    Code:
    /HELP, /?
    Shows this information.
    /SP-
    Disables the This will install... Do you wish to continue? prompt at the beginning of Setup.
    /SILENT, /VERYSILENT
    Instructs Setup to be silent or very silent.
    /SUPPRESSMSGBOXES
    Instructs Setup to suppress message boxes.
    /LOG
    Causes Setup to create a log file in the user's TEMP directory.
    /LOG="filename"
    Same as /LOG, except it allows you to specify a fixed path/filename to use for the log file.
    /NOCANCEL
    Prevents the user from cancelling during the installation process.
    /NORESTART
    Prevents Setup from restarting the system following a successful installation, or after a Preparing to Install failure that requests a restart.
    /RESTARTEXITCODE=exit code
    Specifies a custom exit code that Setup is to return when the system needs to be restarted.
    /CLOSEAPPLICATIONS
    Instructs Setup to close applications using files that need to be updated.
    /NOCLOSEAPPLICATIONS
    Prevents Setup from closing applications using files that need to be updated.
    /RESTARTAPPLICATIONS
    Instructs Setup to restart applications.
    /NORESTARTAPPLICATIONS
    Prevents Setup from restarting applications.
    /LOADINF="filename"
    Instructs Setup to load the settings from the specified file after having checked the command line.
    /SAVEINF="filename"
    Instructs Setup to save installation settings to the specified file.
    /LANG=language
    Specifies the internal name of the language to use.
    /DIR="x:\dirname"
    Overrides the default directory name.
    /GROUP="folder name"
    Overrides the default folder name.
    /NOICONS
    Instructs Setup to initially check the Don't create a Start Menu folder check box.
    /TYPE=type name
    Overrides the default setup type.
    /COMPONENTS="comma separated list of component names"
    Overrides the default component settings.
    /TASKS="comma separated list of task names"
    Specifies a list of tasks that should be initially selected.
    /MERGETASKS="comma separated list of task names"
    Like the /TASKS parameter, except the specified tasks will be merged with the set of tasks that would have otherwise been selected by default.
    /PASSWORD=password
    Specifies the password to use.
    
    For more detailed information, please visit http://www.jrsoftware.org/ishelp/index.php?topic=setupcmdline
    
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. tefor

    tefor MDL Member

    Apr 5, 2017
    134
    55
    10
    Hi s1ave77 ;
    first of all thanks for your reply.
    Sure i know how to find silent install switch via /?
    when i use /silent , it shows progress window during installation and i dont want this..
    when i use /verysilent it goes to a error loop lasting about five minutes and at the end of 5 minutes there is nothing installed
    Please try it on your computer and you will see what i mean
    Thanks
     
  4. s1ave77

    s1ave77 MDL Guide Dog/Dev

    Aug 15, 2012
    15,339
    21,360
    340
    That looks like a problem the dev should take care :g:.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. tefor

    tefor MDL Member

    Apr 5, 2017
    134
    55
    10
    Yeah that is right , s1ave77
    I reported it 2-3 times to their support team but no corrections so far
    thank you so much
     
  6. sebus

    sebus MDL Guru

    Jul 23, 2008
    5,934
    1,801
    180
    #6 sebus, May 7, 2017
    Last edited: May 7, 2017
    Use Inno Extractor
    Open this exe

    As you see it does nothing really, it just extracts a bunch of files to its Program folder

    You can extract these files & then make self-extracting .exe with 7-zip & extract silent to where you want

    That how I would go about it if the dev that you paid money does not want to fix it!
    Code:
    Offset(h) 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
    
    0037B500                    90 90 90 90 90                       .....
    0037B510                             90 90 90 90 90 90              ......
    003A9F10                    84                                   „
    
    And magic number is 19 charcaters