ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / Installing applications and websites / WINDEV application / Setup editor
  • Overview
  • How to?
  • Managing the autorun
  • Including an "autorun" on the setup CD
  • Configuring the menu of "autorun"
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
WDInst: including an "autorun" in a setup on CD
Overview
An "autorun" can be run (or not) when the setup CD is inserted into the drive of the setup computer. This "autorun" is used to automatically start:
  • the setup program.
  • a specific menu window. The setup editor WDInst allows you to configure this window.
    This menu can start the setup program, display a "Readme" file, open an Internet site, ...
By default, no "autorun" is run when inserting the CD.
How to?

Managing the autorun

The management of an "autorun" is performed in WDInst (the setup editor).
To start WDInst, go to the "Tools" tab, "Utilities" group and click "WDInst".
The setup program creation wizard does not allow for an "autorun".

Including an "autorun" on the setup CD

To include an "autorun" on the setup CD:
  1. In WDInst, select "Setup parameters .. Advanced parameters".
  2. Select the type of "autorun" to include ("Action performed when inserting the CD"). You can:
    • run the installer automatically.
    • run an automatic execution menu.
Remark: No "autorun" is included by default.

Configuring the menu of "autorun"

To configure the menu of the "autorun":
  1. In WDInst, select "Setup parameters .. Advanced parameters".
  2. Select "Start an automatic execution menu".
  3. Click the "Parameters" button.
  4. Configure the different options of the menu in the configuration tabs:
    • General tab: Used to define:
      • the window title. This title will be displayed in the title bar of the window. Type the application name: "WDScooter".
      • the large title and its color. This title will be the first line displayed in the window. Specify the application purpose: "Inventory management".
        Caution: The maximum number of characters is limited. Taking the letters "i" and "m" as reference, the large title can contain between 15 and 60 characters.
      • the sub-title and its color. This title will be displayed below the large title. Enter a welcome message: "Welcome to the setup program".
        Caution: The maximum number of characters is limited. Taking the letters "i" and "m" as reference, the sub-title can contain between 30 and 100 characters.
      • the window background. This parameter can correspond to:
        • a solid color. Select the background color.
        • an image. This image can be tiled or stretched. Select the image to use.
    • Buttons tab: The menu window can contain up to 8 buttons.
      1. For each button, specify:
        • the caption. This caption will be centered in the button.
        • the description. This description will be displayed in the left section of the window when the corresponding button is hovered by the mouse cursor.
        • the command run or the document opened by this button. Each button can:
          • start an executable file. For example: "Install.EXE". To be started, this file must be available on the CD or it must be found in one of the directories defined in the PATH of the setup computer.
          • display a document. For example: "Readme.DOC". To be displayed, this file must be available on the CD or it must be found in one of the directories defined in the PATH of the setup computer.
          • open an Internet site. For example: "http://www.windev.com". To open this site, the setup computer must be equipped with a permanent connection to Internet.
          • start an explorer. "E:\MyApp" for example. To do so, specify the directory onto which the explorer must open in the "Command/Document" column.
        • the action of the button: does a click on this button must close this menu?
      2. Select the color for the caption of the buttons ("Color of the text for the buttons and the description").
    • "Disabling" tab:
      Specify the characteristics of the box for disabling the autorun:
      • Static control.
      • Explanation text.
      • Color of the box used to disable the display of the menu window.
        The "autorun" will be disabled when the user checks this option. To redisplay this menu, the user will have to keep the Ctrl key down when inserting the CD.
The "Test" button is used to check the parameters chosen for the automatic runtime program of the CD. The menu is displayed with the specified buttons, the images and the configured colors.
Minimum version required
  • Version 9
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help