segunda-feira, 24 de agosto de 2020

DICAS 3047 - WINDEV TUTORIAL 70 - DEPLOYING APPLICATION CRIANDO INSTALADOR PARTE B



https://youtu.be/3DshsXJ8I2M


Bom Dia/Boa Tarde/Boa Noite

Esse Ao Vivo vai estrear as 11:00 do dia 02/09/2020 

DICAS 3047 - WINDEV TUTORIAL 70 - DEPLOYING APPLICATION CRIANDO INSTALADOR PARTE B
Tutoriel WINDEV : Leçon 4.14.b. Déployer l'application - Création de l'installation


ASSUNTOS

APRESENTACAO DO QUE SERA FEITO
EXPLICANDO COMO FAZER INSTALADOR 
NO FINAL , ALGUMAS DICAS DE INSTALACAO




Video original da Franca

https://youtu.be/xrvOQ8dhb34


Playlist Windev TUTORIAL












Creating the setup
The setup is created via a wizard. This wizard allows you to define the main choices. You also have the ability to use the setup editor if the options proposed by the wizard are not suitable. We will not see its use in detail in this lesson. See The setup editor WDInst for more details.
We will now present the different steps for creating the setup program. You can click the "Finish" button to validate all the steps of the wizard at any time.
  • To create the setup program:
    1. On the "Project" pane, in the "Generation" group, expand "Setup procedure" and select "Create setup procedure". The executable and setup creation wizard starts.
    2. The executable was already created: the selected options are stored.
    3. In the wizard, click on "Additional information" in the "Executable" section.
    4. The wizard proposes to perform a project backup. Select "No: Don't make a backup copy of the project" and go to the next step.
    5. The wizard proposes to create the page of new features.

      Express

      This option is not available in Express version. In this case, go to step 8 directly.
      Documentation of the new features
      This option is used to create a help file in order to present the new features to the end users. During a first setup, this file can correspond to the software help.
      Select "Create a documentation for the new features" and go to the next step.
    6. You have the ability to define the elements that will be automatically included in the help file. Keep the default options and go to the next step.

      Remark

      If the application already contains a help system, it can be used in order to include a page for the new features.
    7. Validate the message. The executable is automatically created (with the options defined when creating the executable) as well as the help system. You now have the ability to type specific information in the help system. In the example, leave the information created by default. To resume the creation of the setup program, click Continue the creation of the setup procedure, which corresponds to "Continue the creation of the setup procedure".
      Setup creation options
      The help is automatically compiled.
    8. Let's now go to the "Setup" section of the wizard. In this first screen, choose the setup mode:
      • Individual setup for an independent application, installed and started on each computer. We will choose this option.
      • Setup with automatic update, for a setup on a server. The applications will be installed from the server. In case of update, only the server must be updated. The applications installed on the computers will be automatically updated.
      Go to the next step.
    9. Choose a standard setup. Go to the next step.
    10. We will not change the default setup directory. Go to the next step.
    11. Keep the files proposed in the list of installed files. By default, WINDEV proposes the Executable file and the help file (created by the help of new features). We are going to add the data files:
      • Click the "Add" button. The Windows explorer displays the content of the generation directory of application.
      • Select the Customer, Orders, OrderLine, PaymentMode and Product data files (files with ".fic", ".ndx" and ".mmo" extension).
      • Validate. The files are automatically positioned in the data directory of application.
        Creating the setup
    12. Go to the next step.
    13. Uncheck all options from the database parameters. Go to the next step.
    14. Keep the following options in the additional modules:
      Setup - Additional modules
      We will choose the optional tools to install and we will include the uninstaller. The uninstaller will allow the users to uninstall the application from the Windows program manager. Go to the next step.

      Express

      The choice of optional tools is not available in Express version. In this case, go to step 16 directly.
    15. We will select WDOptimizer. This tool is used to optimize the data files of application on a regular basis.
    16. Click "Medium" on the left of wizard. The setup will be generated in a single directory. By default, the setup program is created in the project "Install" subdirectory. You can:
      • Specify a password for the setup. In this case, only the user who knows the password will be able to install the application.
      • Sign the setup with a certificate. This option is used to ensure the integrity of setup pack.
    17. Validate. The setup program is automatically created.
    18. A screen is displayed, allowing you to check the setup or to open the generation directory.
Installing an application
In the window for the end of setup creation, click the "Test" button. If this window was closed, run the "Install.exe" program found in the directory of setup program. The application setup starts.
  • We are going to follow the different steps of setup program for the "WD Full Application" application.
    1. If you are using an operating system corresponding to Windows Vista (or later), a window requests the authorization to run the program. Validate this window.
    2. Choose the language of setup program and click "OK".
      Setup languages
    3. The setup wizard starts. Two setup modes are available:
      • Quick setup: The setup is performed with the parameters specified by the application provider.
      • Custom setup: The wizard asks the user to define the parameters of application setup.
    4. Choose "Custom setup". The wizard asks for the setup directory of application.
      Setup wizard
    5. Validate the setup directory of application.
    6. Go to the next step and end the application setup.
    7. The application setup starts. Validate the different setup steps.
The different types of deployment
We have performed a simple application deployment. In the setup creation wizard, WINDEV also proposes setups with automatic update.

Overview

Several setup modes are available for a WINDEV application:
  • Stand-alone setup:
    This type of setup is used to create a unique setup program. This setup program will be run by the end user on his computer.
    To update the application, you will have to re-create a setup for the application. Then, the end user will have to install this new program.
    This is the type of setup that was just performed.
  • Setup with automatic update:
    This type of setup is used to automatically detect the updates when starting the application. If an update is available, the user can perform this update immediately.
    This type of setup is available via the network or via the Web. You also have the ability to perform a multi-site setup.
We are now going to present the operating mode of a setup with update.

Setup with network update

The setup program is created via a specific wizard (on the "Project" pane, in the "Generation" group, click "Setup procedure").
The setup program obtained at the end of the wizard includes two setups:
  • the setup of the reference application. The reference application must be installed on the network (in a shared directory or on a server for example), accessible to all the end users of the application.
  • the application setup itself. This setup is included in the reference application. It can be accessed once the reference application is installed.
The diagram below presents the setup mode of an application that uses a local HFSQL Classic database, with a network update.
Setup with network update
The version of reference application is automatically checked whenever the application is started by the end user. If this version was modified (if the reference version was updated for example), an update is automatically proposed for the final application.

Setup with Internet update

The same principle is used by the setup with Internet update.
The setup program is created via a specific wizard (on the "Project" pane, in the "Generation" group, click "Setup procedure").
The setup program obtained at the end of the wizard includes:
  • the setup of the reference application and the Web page used to download the client setup. These elements must be installed on an HTTP server.
  • the application setup itself. This setup is included in the reference application. It can be accessed once the reference application is installed, via the Web page for download.
The diagram below presents the setup mode of an application that uses an HFSQL Client/Server database, with an update by Internet.
Setup with Internet update
Remark: This type of setup can also be performed via PCSCloud (if you have an account).

Multisite setup

The multi-site setup combines:
  • a reference network setup deployed on a local network.
  • an HTTP setup used to update the reference setup on the local netw

DICAS 2978 - WINDEV TUTORIAL 1 - 1.1B - WINDEV TEMA ESCURO E IDIOMA DO AMBIENTE
DICAS 2979 - WINDEV TUTORIAL 2 - 1.2- CRIAR JANELA E INSERIR TEXTO E EXIBIR
DICAS 2980 - WINDEV TUTORIAL 3 - 2.1- VARIAVEIS PARTE 1
DICAS 2981 - WINDEV TUTORIAL 4 - 2.2- VARIAVEIS ESCOPO - PARTE 2
DICAS 2982 - WINDEV TUTORIAL 5 - 2.1- VARIAVEIS OPERADORES PARTE 3
DICAS 2983 - WINDEV TUTORIAL 6 - 2.1.D - VARIAVEIS STRINGS PARTE 4
DICAS 2984 - WINDEV TUTORIAL 7 - 2.1.E - VARIAVEIS ARRAYS PARTE 5
DICAS 2985 - WINDEV TUTORIAL 8 - 2.2.A - CONDICOES IF-SWITCH PARTE 1
DICAS 2986 - WINDEV TUTORIAL 9 - 2.2.B - CONDICOES PARTE 2
DICAS 2987 - WINDEV TUTORIAL 10 - 2.3.A - LOOP PARTE 1
DICAS 2988 - WINDEV TUTORIAL 11 - 2.3.B - LOOP EXEMPLOS PARTE 2
DICAS 2989 - WINDEV TUTORIAL 12 - Lesson 2.4. The procedures - PARTE 1
DICAS 2990 - WINDEV TUTORIAL 13 - Leçon 2.4.b. Procedures Parametros - PARTE 2
DICAS 2991 - WINDEV TUTORIAL 14 - PROCEDURES REFERENCIA - PARTE 3
DICAS 2992 - WINDEV TUTORIAL 15 - PROCEDURES OPCIONAIS OU OBRIGATORIAS - PARTE 4
DICAS 2993 - WINDEV TUTORIAL 16 - PROCEDURES EXEMPLOS - PARTE 5
DICAS 2994 - WINDEV TUTORIAL 17 - PERGUNTAS E RESPOSTA - PARTE 1
DICAS 2995 - WINDEV TUTORIAL 18 - PERGUNTAS E RESPOSTA - PARTE 2
DICAS 2996 - WINDEV TUTORIAL 19 - WINDEV E OS BANCOS DE DADOS
DICAS 2997 - WINDEV TUTORIAL 20 - PROJETO E ANALISE - CRIACAO
DICAS 2998 - WINDEV TUTORIAL 21 - PROJETO E ANALISE - ARQUIVOS DADOS CLIENTE - PARTE 2
DICAS 2999 - WINDEV TUTORIAL 22 - PROJETO E ANALISE - ARQUIVOS DADOS CRIACAO ARQUIVO PEDIDO - PARTE 3
DICAS 3000 - WINDEV TUTORIAL 23 - PROJETO E ANALISE - IMPORTANDO CVS-ARQUIVO TEXTO - PARTE 4
DICAS 3001 - WINDEV TUTORIAL 24 - PROJETO E ANALISE - IMPORTANDO ARQUIVO PRODUTO - PARTE 5
DICAS 3002 - WINDEV TUTORIAL 25 - PROJETO E ANALISE - LINK - PARTE 6
DICAS 3003 - WINDEV TUTORIAL 26 - RAD COMPLETO
DICAS 3004 - WINDEV TUTORIAL 27 - VISAO GERAL
DICAS 3005 - WINDEV TUTORIAL 28 - Adicionar e Modificar Janelas PRODUTOS - PARTE A
DICAS 3006 - WINDEV TUTORIAL 29 - Adicionar e Modificar Janelas PRODUTOS Formulario - PARTE B
DICAS 3007 - WINDEV TUTORIAL 30 - Adicionar e Modificar Janelas PRODUTOS ALINHAR CAMPOS - PARTE C






DICAS 3046 - WINDEV TUTORIAL 69 - DEPLOYING APPLICATION CRIANDO EXECUTAVEL PARTE A



https://youtu.be/wA-xPTiqh5k


Bom Dia/Boa Tarde/Boa Noite


Esse Ao Vivo vai estrear as 09:00 do dia 02/09/2020 

DICAS 3046 - WINDEV TUTORIAL 69 - DEPLOYING APPLICATION CRIANDO EXECUTAVEL PARTE A
Tutoriel WINDEV : Leçon 4.14.a. Déployer l'application - Création de l'exécutable


ASSUNTOS

APRESENTACAO DO QUE SERA FEITO
CRIACAO DO EXECUTAVEL
ONDE ENTRAR PARA FAZER O EXECUTAVEL 
EXPLICANDO TELEMETRIA
EXPLICANDO PATH DO APLICATIVO
EXPLICANDO SOBRE CERTIFICADO
MOSTRANDO O EXECUTAVEL



Video original da Franca

https://youtu.be/vNG7SR1IB8o


Playlist Windev TUTORIAL

https://youtu.be/3DshsXJ8I2M






Lesson 4.14. Deploying the application
This lesson will teach you the following concepts
  • Creating the executable.
  • Help about the new features.
  • Creating the setup.
Lesson duration

Estimated time: 30 mn
Previous LessonTable of contentsNext Lesson
Overview
A full application was created, allowing you to discover several WINDEV features. We must now generate the executable and install the application on the user computers. That's what we are going to do now. So, you will be familiar with the main topics for developing a WINDEV application.

Answer

If you did not perform the operations in the previous lessons, you can follow this lesson by opening a corrected project: in WINDEV's home page (Ctrl + <), click "Tutorial" and select "Full application (Answer)"
Creating the executable
Creating the executable is child's play: a menu option and a few mouse clicks are sufficient.
We will now present in detail the different steps for creating the executable. You can click the "Finish" button to validate all the steps of the wizard at any time.
  • To create the executable:
    1. Expand Create an executable among the quick access buttons, and select "Generate the 32-bit Windows executable (.exe)".
      Generating the executable

      Remark

      WINDEV also allows you to create 64-bit executables, Linux executables, services, Java applications, ...
    2. The executable creation wizard starts.
    3. Describe the general options of the executable:
      • the executable name: we will keep the default name.
      • the name of icon associated with the executable: you have the ability to select an icon in the image catalog.
      • the splash screen. Several types of splash screens are available. A splash screen with animated text is selected by default. The "Options" button is used to configure it.

        Express

        This option is not available in Express version.
        Executable creation wizard
      Choose "No splash screen" and go to the next step.
    4. For the operating mode of executable, we will keep the default options. Go to the next step.
    5. You have the ability to customize the error message of application. We will keep the message proposed by default. Go to the next step.
    6. The wizard proposes to enable the telemetry in the application. We won't use this feature. Go to the next step.

      Remark

      Telemetry allows you to get detailed statistics about the use of your application by the end users. Telemetry returns various information about your deployed applications, giving you the ability to improve them.
      See Overview of the telemetry for more details.
    7. This step is used to specify whether the executable will take the patches into account.

      Remark

      When a modification is performed in the application, to avoid having to provide the entire executable, the additional resources (windows, reports, ...) can be supplied as patches. These patches are additional libraries.
      If the option "Yes: the executable will take these updates by patch into account" was checked when the executable was created, the elements found in the patch will replace the elements found in the application library when the application starts.
      See Application patch for more details.
      We will keep the default options. Go to the next step.
    8. This step is used to manage the executable languages. The multilingual feature will be presented in another lesson. We will keep the default options. Go to the next step.
    9. This step displays all files that will be included in the executable library. Those are the project elements that can be handled by the end user. We will keep the default options. Go to the next step.
    10. This step concerns the directory of HFSQL Classic data files used by the application.
      Executable creation wizard
      Select "Automatic (recommended)" if necessary. This option is used to install the data files:
      • in the data directory of application (if the executable is installed in "Program files").
      • in the executable directory.
    11. Go to the next step.
    12. We are now going to type the information about the executable. This information is displayed in the Windows explorer by selecting the file properties.
      Type the following information:
      Executable creation wizard
      This step can also be used to sign the executable if necessary.
      Go to the next step.
    13. This step concerns the version number of executable. You can use:
      • a format compatible with the earlier WINDEV versions,
      • a standard Windows format. Select this option.
    14. Go to the next step of the wizard.
    15. We are now going to define the options for integrating the WINDEV framework.

      Express

      This option is not available in Express version.

      Remark

      The framework corresponds to the different libraries required for the executable to operate.
      The option "Framework DLL beside the executable" allows you to use the necessary libraries only. These DLLs are copied into the executable directory.
      The option "Framework included in the executable" allows you to distribute the executable only (the DLLs being found in the executable).
      The option "Common framework" allows you to use the framework common to all the WINDEV applications installed on the computer. With this option, the framework is installed once only on the computer (it can also be downloaded by Internet) and it is used by all WINDEV applications.
    16. Select "Common framework" and choose "Common WINDEV framework".
      Go to the next step.
    17. This step concerns Windows Vista (and later). You have the ability to include a manifest for a use in Windows Vista (and later).
      For our example, check "Don't include a manifest for Windows Vista and later".
      Go to the next step.
    18. WINDEV proposes to perform a project backup. This backup is used to keep a project version whenever the executable is created. In our case, select "No: Don't make a backup copy of the project" and validate the wizard.
    19. The executable is created. It can be run immediately to check its operating mode. To do so, click the "Run the executable" button.
That's it, the executable creation is ended. A lot of options to fill but after a first configuration of your choices, you will be able to validate all wizard steps from the beginning.

Remark

You also have the ability to click the steps specified in the wizard in order to reach a wizard screen directly. The default options of other screens will be automatically validated.
Creating the setup
The setup is created via a wizard. This wizard allows you to define the main choices. You also have the ability to use the setup editor if the options proposed by the wizard are not suitable. We will not see its use in detail in this lesson. See The setup editor WDInst for more details.
We will now present the different steps for creating the setup program. You can click the "Finish" button to validate all the steps of the wizard at any time.
  • To create the setup program:
    1. On the "Project" pane, in the "Generation" group, expand "Setup procedure" and select "Create setup procedure". The executable and setup creation wizard starts.
    2. The executable was already created: the selected options are stored.
    3. In the wizard, click on "Additional information" in the "Executable" section.
    4. The wizard proposes to perform a project backup. Select "No: Don't make a backup copy of the project" and go to the next step.
    5. The wizard proposes to create the page of new features.

      Express

      This option is not available in Express version. In this case, go to step 8 directly.
      Documentation of the new features
      This option is used to create a help file in order to present the new features to the end users. During a first setup, this file can correspond to the software help.
      Select "Create a documentation for the new features" and go to the next step.
    6. You have the ability to define the elements that will be automatically included in the help file. Keep the default options and go to the next step.

      Remark

      If the application already contains a help system, it can be used in order to include a page for the new features.
    7. Validate the message. The executable is automatically created (with the options defined when creating the executable) as well as the help system. You now have the ability to type specific information in the help system. In the example, leave the information created by default. To resume the creation of the setup program, click Continue the creation of the setup procedure, which corresponds to "Continue the creation of the setup procedure".
      Setup creation options
      The help is automatically compiled.
    8. Let's now go to the "Setup" section of the wizard. In this first screen, choose the setup mode:
      • Individual setup for an independent application, installed and started on each computer. We will choose this option.
      • Setup with automatic update, for a setup on a server. The applications will be installed from the server. In case of update, only the server must be updated. The applications installed on the computers will be automatically updated.
      Go to the next step.
    9. Choose a standard setup. Go to the next step.
    10. We will not change the default setup directory. Go to the next step.
    11. Keep the files proposed in the list of installed files. By default, WINDEV proposes the Executable file and the help file (created by the help of new features). We are going to add the data files:
      • Click the "Add" button. The Windows explorer displays the content of the generation directory of application.
      • Select the Customer, Orders, OrderLine, PaymentMode and Product data files (files with ".fic", ".ndx" and ".mmo" extension).
      • Validate. The files are automatically positioned in the data directory of application.
        Creating the setup
    12. Go to the next step.
    13. Uncheck all options from the database parameters. Go to the next step.
    14. Keep the following options in the additional modules:
      Setup - Additional modules
      We will choose the optional tools to install and we will include the uninstaller. The uninstaller will allow the users to uninstall the application from the Windows program manager. Go to the next step.

      Express

      The choice of optional tools is not available in Express version. In this case, go to step 16 directly.
    15. We will select WDOptimizer. This tool is used to optimize the data files of application on a regular basis.
    16. Click "Medium" on the left of wizard. The setup will be generated in a single directory. By default, the setup program is created in the project "Install" subdirectory. You can:
      • Specify a password for the setup. In this case, only the user who knows the password will be able to install the application.
      • Sign the setup with a certificate. This option is used to ensure the integrity of setup pack.
    17. Validate. The setup program is automatically created.







DICAS 2978 - WINDEV TUTORIAL 1 - 1.1B - WINDEV TEMA ESCURO E IDIOMA DO AMBIENTE
DICAS 2979 - WINDEV TUTORIAL 2 - 1.2- CRIAR JANELA E INSERIR TEXTO E EXIBIR
DICAS 2980 - WINDEV TUTORIAL 3 - 2.1- VARIAVEIS PARTE 1
DICAS 2981 - WINDEV TUTORIAL 4 - 2.2- VARIAVEIS ESCOPO - PARTE 2
DICAS 2982 - WINDEV TUTORIAL 5 - 2.1- VARIAVEIS OPERADORES PARTE 3
DICAS 2983 - WINDEV TUTORIAL 6 - 2.1.D - VARIAVEIS STRINGS PARTE 4
DICAS 2984 - WINDEV TUTORIAL 7 - 2.1.E - VARIAVEIS ARRAYS PARTE 5
DICAS 2985 - WINDEV TUTORIAL 8 - 2.2.A - CONDICOES IF-SWITCH PARTE 1
DICAS 2986 - WINDEV TUTORIAL 9 - 2.2.B - CONDICOES PARTE 2
DICAS 2987 - WINDEV TUTORIAL 10 - 2.3.A - LOOP PARTE 1
DICAS 2988 - WINDEV TUTORIAL 11 - 2.3.B - LOOP EXEMPLOS PARTE 2
DICAS 2989 - WINDEV TUTORIAL 12 - Lesson 2.4. The procedures - PARTE 1
DICAS 2990 - WINDEV TUTORIAL 13 - Leçon 2.4.b. Procedures Parametros - PARTE 2
DICAS 2991 - WINDEV TUTORIAL 14 - PROCEDURES REFERENCIA - PARTE 3
DICAS 2992 - WINDEV TUTORIAL 15 - PROCEDURES OPCIONAIS OU OBRIGATORIAS - PARTE 4
DICAS 2993 - WINDEV TUTORIAL 16 - PROCEDURES EXEMPLOS - PARTE 5
DICAS 2994 - WINDEV TUTORIAL 17 - PERGUNTAS E RESPOSTA - PARTE 1
DICAS 2995 - WINDEV TUTORIAL 18 - PERGUNTAS E RESPOSTA - PARTE 2
DICAS 2996 - WINDEV TUTORIAL 19 - WINDEV E OS BANCOS DE DADOS
DICAS 2997 - WINDEV TUTORIAL 20 - PROJETO E ANALISE - CRIACAO
DICAS 2998 - WINDEV TUTORIAL 21 - PROJETO E ANALISE - ARQUIVOS DADOS CLIENTE - PARTE 2
DICAS 2999 - WINDEV TUTORIAL 22 - PROJETO E ANALISE - ARQUIVOS DADOS CRIACAO ARQUIVO PEDIDO - PARTE 3
DICAS 3000 - WINDEV TUTORIAL 23 - PROJETO E ANALISE - IMPORTANDO CVS-ARQUIVO TEXTO - PARTE 4
DICAS 3001 - WINDEV TUTORIAL 24 - PROJETO E ANALISE - IMPORTANDO ARQUIVO PRODUTO - PARTE 5
DICAS 3002 - WINDEV TUTORIAL 25 - PROJETO E ANALISE - LINK - PARTE 6
DICAS 3003 - WINDEV TUTORIAL 26 - RAD COMPLETO
DICAS 3004 - WINDEV TUTORIAL 27 - VISAO GERAL
DICAS 3005 - WINDEV TUTORIAL 28 - Adicionar e Modificar Janelas PRODUTOS - PARTE A
DICAS 3006 - WINDEV TUTORIAL 29 - Adicionar e Modificar Janelas PRODUTOS Formulario - PARTE B
DICAS 3007 - WINDEV TUTORIAL 30 - Adicionar e Modificar Janelas PRODUTOS ALINHAR CAMPOS - PARTE C








Teste

Teste
teste