Announcement

Collapse
No announcement yet.

Silent install

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Silent install

    Hello,

    I'm trying to use the silent mode but I can't install my application in this way.
    When I launch it with setup.exe "/S:c:\setupvars.ini" only few things are done.

    I read on a previous version that all screen event like next, previous, ... are not executed, is it true?
    My installation is really personnalised, is it possible to use these event in silent mode?

    A copy of my ini files :
    Code:
    [SetupValues]
    %LangSelection%=605
    %Code%=-_8wy_ohjm
    %KeyCode%=GDBI
    %AppFolder%=c:\EGR2\
    %EGR%=EasternGraphics
    %TAX%=21
    %CURRENCY%=EUR
    %UserName%=dave
    %UserCompany%=GDBI

  • #2
    Originally posted by davels View Post
    I read on a previous version that all screen event like next, previous, ... are not executed, is it true?
    My installation is really personnalised, is it possible to use these event in silent mode?
    In Silent Mode only:
    On Startup
    Pre Install
    Post Install
    On Shutdown

    are run -- no screens (or their actions) are performed... otherwise, it's not a "silent" install.

    Comment


    • #3
      Originally posted by jassing View Post
      -- no screens (or their actions) are performed... otherwise, it's not a "silent" install.
      I believe that operations could be done in silent...

      Well this is not really a good news but I will try to find a fast solutions

      Comment


      • #4
        Originally posted by davels View Post
        I believe that operations could be done in silent...

        Well this is not really a good news but I will try to find a fast solutions
        What i've done for clients is to put all the "code" that gets run in ON Next into global functions

        function MyScreenNext()
        etc.

        Then in "pre install" I do:
        if _SilentInstall then
        MyScreenNext();
        end

        this way if it's a silent instlal; the screen code still gets run; and there's no "duplication" of code.

        I think it's proper that screen code doesn't get run -- what i you had a screen (license screen) -- you would need to define what controls are clicked, in what order etc. How would it know what code to run in OnCtrl?

        Comment

        Working...
        X
        😀
        🥰
        🤢
        😎
        😡
        👍
        👎