Hi,

I have an installer that runs in both GUI and command line (unattended). I have created a custom page after the installation that the user needs to enter some parameters and than I need to run a program with those parameters. Now, I've configured this program as a "Post Show Page Action" but It doesn't run in unattended mode. Is there some way to make it work in both cases??

asked 24 Jan, 04:25

Yuli's gravatar image

Yuli
63
accept rate: 0%


The Post Show Page action will only be triggered in GUI mode. Using unattended mode there is no possibility for the user to enter the parameters. If you have some custom actions that you want to execute in unattended mode you could add them to the <postInstallationActionList> with a rule checking for the installation mode:

<postInstallationActionList>
     ...
        <copyFile>
            <ruleList>
               <compareText text="${installationMode}" logic="equals" value="unattended"/>        
            </ruleList>
        </copyFile>
     ...
</postInstallationActionList>

If it is necessary for the user to enter the parameters, it's also possible to run the installer in text mode. In this way user interaction is possible.

Please check the following sections of our manual for more information on this subject:

https://installbuilder.bitrock.com/docs/installbuilder-userguide.html#_installation_modes

link

answered 24 Jan, 09:31

Michiel's gravatar image

Michiel ♦
33614
accept rate: 16%

I used ${installer_ui} variable and it works, thanks!

(25 Jan, 08:57) Yuli
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×36
×30
×24
×14
×9

Asked: 24 Jan, 04:25

Seen: 117 times

Last updated: 25 Jan, 08:57