ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
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
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
WDInst: set the characteristics of the files to be installed
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 one of the files must be installed (network setup).
  • Copy and compress one or more files.
By default:
  • The destination directory of the files corresponds to the installation 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".
The WDInst installation editor offers advanced management of the characteristics of the files to be installed, compared with the wizard used to create the installation program.
Specifying the destination directory of one or more files to install
The destination directory was specified when the file was added to the list of files to be installed.
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. Go to the "Path" tab of the "File description" window.
  3. Specify the destination directory of the selected files ("Directory"). The following keywords can be used:
    • <RepInst>: installation directory chosen by the user during installation.
    • <LectInst>: reader of the installation directory chosen by the user during installation.
    • <Language>: installation language number.
    • <FicInst>: directory for data file installation. WDInst is used to configure this directory. For more details, see Configuring the data file directory.
    • <UserDataDirectory>: directory of the connected user's data (notably for an installation carried out on a Windows Vista or later system).
    • <RepDonneesCommun>: directory of common data for users (especially for an installation on a Windows Vista or later workstation).
    • <User>: User name
    • <srXXX>: Constants of the function SysDir.
      For example: "<RepInst>\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: It is also possible to change the destination directory of a file directly in the "Installation file list" 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 instance).
  • 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 subdirectory 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: 04/02/2025

Send a report | Local help