PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Overview
  • Support for the setup program
  • Support for the setup program
  • Generating the setup program
  • Generating the setup program
  • WXF file and WDF file
  • Overview
  • Keeping the ".WXF" file
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
WDINST : generating the setup program
Overview
Generating the setup program is used to create the setup program according to the characteristics specified in the setup WDINST ("Tools .. WDINST - Setup editor").Generating the setup program is used to create the setup program according to the characteristics specified in the setup editor WDInst. To start WDInst, on the "Tools" pane, in the "Utilities" group, click "WDInst".
The setup program will be generated in a directory in order to be copied onto different media.
By default, the setup program is generated in the "Install" sub-directory of your application.
To generate the setup program, select "File .. Generate" from WDINST.
Support for the setup program

Support for the setup program

The available media for the setup program are as follows:
  • Setup diskettes
    The setup program is created in the default directory then it is copied to the diskettes.
    Once the diskettes have been created, the files found in the generation directory of setup can be deleted.
  • Multiple directories, cut to the size of diskettes
    The files of the setup program are grouped into several sub-directories. The size of the files found in each sub-directory does not exceed the size of a diskette (1.44 MB by default). Then, the content of each sub-directory can be copied onto a diskette.
  • Single directory
    The setup program is created in a single directory.
  • Self-extracting executable
    The setup program is created as a self-extracting executable. When this executable is run on the user computers, the setup program is automatically uncompressed and started.
    This solution is recommended if the setup program is distributed via Internet.
  • Support with autorun
    The setup program is created in a single directory in order to be copied onto a CD-ROM, DVD-ROM, USB key, ...
    In this case, you have the ability to enter the parameters for the automatic execution. See Including an autorun for more details.
To help you choose the medium adapted to your setup mode, see the Summary table for installing a WINDEV application.
When creating the setup media, you can:
  • Clear the directory before generating the setup: If this option is checked, the content of the directory where the setup program is generated will be cleared before generating a new setup. This option allows you to delete any useless file.
  • Protect the setup via a password: This option allows you to specify the password that will be requested when installing the application.
  • Versions 18 and later
    Signing the setup with a certificate: To guarantee the integrity of the setup pack, you have the ability to sign the setup. All you have to do is select the certificate to use. The certificates available on the current computer, in the personal stored or Windows certificates, are automatically proposed.
    New in version 18
    Signing the setup with a certificate: To guarantee the integrity of the setup pack, you have the ability to sign the setup. All you have to do is select the certificate to use. The certificates available on the current computer, in the personal stored or Windows certificates, are automatically proposed.
    Signing the setup with a certificate: To guarantee the integrity of the setup pack, you have the ability to sign the setup. All you have to do is select the certificate to use. The certificates available on the current computer, in the personal stored or Windows certificates, are automatically proposed.
Generating the setup program

Generating the setup program

To generate the setup program:
  1. Select "File .. Generate".
  2. Select the media for the setup program. The different media are presented in the above paragraph. To help you choose the medium adapted to your setup mode, see the Summary table for installing a WINDEV application.
  3. Whenever the setup program is generated, the setup editor WDINST creates a ".WXF" temporary file. This file contains the description of the setup program. This file can be used to run the test of a custom setup program (custom "WDSetup" project). To keep this file, check "Keep the WDX file for checking a custom WDSetup" ("Advanced" tab)
    See WXF file and WDF file for more details.
  4. Select the characteristics of the setup program according to the selected setup media:
    Setup mediaCharacteristics
    • Setup diskettes
    • Specify the destination drive.
    • To format the diskettes before copying the setup program, check "Erase the diskettes before use".
    • Modify (if necessary) the directory in which the setup program will be generated ("Temporary generation directory".
    Once the setup program is generated but before it is copied to the diskettes, WINDEV displays the number of necessary diskettes. You can:
    • erase (or not) the content of the diskettes before the copy.
    • compare the content of the diskettes with the content of the generation directory. The copy takes longer in this case: WINDEV checks that all the files found in the setup have been properly copied to the diskettes.
    • erase (or not) the generation directory after the copy.
    • Multiple directories, cut to the size of diskettes
    • Modify (if necessary) the base directory for generating the setup program.
    • Select the maximum size of all the files found in each sub-directory. The sub-directories will be named "DISK <Directory#>".
    • Single directory
    • Modify (if necessary) the directory in which the setup program will be generated.
    • Self-extracting executable
    • Modify (if necessary) the directory into which the self-extracting executable will be generated.
    • Enter the name of the executable to create (without extension).
    • Support with autorun
    • Modify (if necessary) the directory in which the setup program will be generated.
    Specify (if necessary) the parameters for automatic execution:
  5. Validate the generation of the setup program.
WXF file and WDF file

Overview

Whenever the setup program is generated, the setup editor WDINST creates two files containing the description of the development program:
  • a ".WDF" file. This file is used to edit the description of the setup program in WDINST. By default, this file is named "<ApplicationName>.WDF" and it is saved in the directory of the application on the development computer.
  • a ".WXF" file. This file is used to check a custom setup program (custom "WDSetup" project). By default, this file is compressed and archived in the "INSTALL.WDZ" file, then it is deleted from the generation computer.
If you are using a custom setup program (custom "WDSetup" project), you must keep the ".WXF" file in order to run the test of this custom setup program. Indeed, the custom setup program retrieves from the ".WXF" file all the options of the setup program that have been specified in WDINST (the setup editor).
In this case, this file will be named "<ApplicationName>.WXF" and it will be saved in the directory of the project to install.
Note: See Using a custom WDSetup for more details.

Keeping the ".WXF" file

To keep the ".WXF" file, check "Keep the WXF file for checking a custom WDSetup" when generating the setup program ("File .. Generate" in WDInst, "Advanced" tab).
Minimum required version
  • Version 10
Comments
Click [Add] to post a comment