ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / Installing applications and websites / WINDEV application / Setup editor
  • Overview
  • Specifying the destination directory of one or more files to install
  • Specifying the computers on which each file must be installed (network setup)
  • If you are performing a network setup
  • Copying and compressing one or more files
  • Overview
  • Avoiding compressing one or more files when generating the setup program
  • Avoiding compressing and installing one or more files on the setup computer
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: configuring the characteristics of the files to install
Overview
WDInst allows you to configure the characteristics of the files to install. You can:
  • Specify the destination directory of one or more files.
  • Specify the computers on which each file must be installed (network setup).
  • Copy and compress one or more files.
By default:
  • The destination directory of the files corresponds to the setup directory chosen by the user during the setup.
  • The data files (".FIC", ".NDX" and ".MMO") are installed on the server and all the other files are installed in the user computers.
  • The files are compressed when the setup program is generated and they are installed on the setup computer.
The characteristics of the files to install are configured in WDInst. To start WDInst, go to the "Tools" tab, "Utilities" group and click "WDInst".
Unlike the setup program creation wizard, WDInst offers an advanced management of the characteristics of the files to install.
Specifying the destination directory of one or more files to install
The destination directory was specified when the file is added into the list of files to install.
To modify the destination directory of one or more files:
  1. Select the desired file(s) in the "List of setup files" window.
    To select several files simultaneously, hold the Ctrl or Shift key down when selecting files.
  2. Display the "Path" tab of the "File description" window.
  3. Specify the destination directory of the selected files ("Directory"). The following keywords can be used:
    • <SetupDir>: setup directory chosen by the user during the setup.
    • <SetupDrive>: drive of the setup directory chosen by the user during the setup.
    • <Language>: number of the setup language.
    • <SetupFile>: setup directory of data files. WDInst is used to configure this directory. For more details, see Configuring the directory of data files.
    • <DirUserData>: directory of data for the connected user (especially for a setup performed on a computer running Windows Vista or later).
    • <DirCommonData>: directory of data common to the users (especially for a setup performed on a computer running Windows Vista or later).
    • <User>: User name
    • <srXXX>: Constants of SysDir.
      For example: "<SetupDir>\MyDirectory".
  4. If a single file is selected, this file can be renamed during its setup. Simply specify the new name of the file ("File").
Remark: The destination directory of a file can also be modified in the "List of setup files" window. To do so, click the "Destination directory" column and enter the new destination directory.
Specifying the computers on which each file must be installed (network setup)

If you are performing a network setup

  • On the server only (data files shared by all the users for example).
  • On the user computers only (the application executable for example).
  • Both on the server and on the user computers (a ".INI" file used to configure the application installed on the server with the default parameters and the applications installed on the user computers with the parameters specific to the users for example).
To specify the computers on which one or more files must be installed:
  1. Select the desired file(s) in the "List of setup files" window.
    To select several files simultaneously, hold the Ctrl or Shift key down when selecting files.
  2. Go to the "Option" tab of the "File description" window.
  3. To install the selected files:
    • On the server, check "This file is installed on the server".
    • On the user computers, check "This file is installed on the client".
    • On the server and on the user computers, check "This file is installed on the server" and "This file is installed on the client".
Copying and compressing one or more files

Overview

By default, each file selected for the setup will be:
  • Compressed when the setup program is generated.
  • Installed on the setup computer.
WDInst allows you to modify this default operating mode.
For example, your setup uses an "autorun" file. This "autorun" starts a program to present the different features of your application.
In this example, WDInst allows you to:
  • Avoid compressing the files used by this overview program. This program can be directly run from the CD. This program will be installed with the application.
  • Avoid compressing and installing the files used by the overview program. This program can be directly run from the CD. This program will not be installed with the application.

Avoiding compressing one or more files when generating the setup program

To avoid compressing one or more files when generating the setup program:
  1. In the "List of setup files" window, select the files that must not be compressed.
    To select several files simultaneously, hold the Ctrl or Shift key down when selecting files.
  2. Go to the "Option" tab of the "File description" window.
  3. Check "Do not compress the file".

Avoiding compressing and installing one or more files on the setup computer

To avoid compressing and installing one or more files on the setup computer:
  1. Select the desired file(s) in the "List of setup files" window.
    To select several files simultaneously, hold the Ctrl or Shift key down when selecting files.
  2. Go to the "Option" tab of the "File description" window.
  3. Check "Copy at the root of CD or last diskette".
These files will be copied:
  • At the root of the CD if the setup medium corresponds to a CD.
  • At the root of the last diskette if the setup medium corresponds to diskettes.
  • Into the specified directory if the setup medium corresponds to a single directory.
  • Into the last created sub-directory if the setup medium corresponds to a directory cut to the size of a diskette.
Minimum version required
  • Version 9
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help