gcruz
Posts: 16
Joined: Fri Oct 20, 2017 12:09 pm

Installation of features don't start

Thu Oct 26, 2017 3:58 pm

Hello !!

I've created an installer with three stages, one presentation, two feature selection and three, installation window.
In the second stage, the user must press the button assigned to every feature and then A.I. swap to the next stage, show the title of the selected feature and enable the "Install Button". The installation doesn't start.

In the button of the second stage, the code is:
Event -> Argument -> Condition
[InstallMode] -> CDatos -> 1
Verify and set the selected folder path -> PATH_DATOS -> 1
[OPT_TO_INSTALL] -> "Carpeta de Datos" -> 1 ("Carpeta de Datos" is a string to show in the next stage)
[INSTALL_OPT] -> 3 -> 1 ("3" is the option number to process in the next stage)
Display a specific child dialog -> OptionInstallDlg -> 1

In te OptionInstallDlg I placed one label that show the properties [InstallMode] and [INSTALL_OPT] and the labes shows: "CDatos 3"

The code in the button "Install":
Event -> Argument -> Condition
Install one or more features locally -> Client -> INSTALL_OK = 1
Install one or more features locally -> Server -> INSTALL_OK = 2
Install one or more features locally -> CDatos -> INSTALL_OK = 3
Close the current dialog -> Return -> 1

The button "Install" only execute the last event and ignore the "install one or..." events, close the dialog and returns to the previous stage.

I attach the .aip project


Thanks & Regards from Canary Islands, Spain.
Guillermo Cruz
Attachments
CWCS.aip
(297.16KiB)Downloaded 204 times

Eusebiu
Posts: 4931
Joined: Wed Nov 14, 2012 2:04 pm

Re: Installation of features don't start

Tue Oct 31, 2017 10:03 am

Hi Guillermo and welcome to our forums.

Your "OpcionInstalada" dialog is displayed using the "Display a specific child dialog" event, however please keep in mind that the installation cannot start from a child dialog. In order to be able to start the installation you can display that dialog using the "Display a specific dialog" control event.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

gcruz
Posts: 16
Joined: Fri Oct 20, 2017 12:09 pm

Re: Installation of features don't start

Tue Oct 31, 2017 10:59 am

It's works !!!

Thaaaaaaaank you !!

Eusebiu
Posts: 4931
Joined: Wed Nov 14, 2012 2:04 pm

Re: Installation of features don't start

Tue Oct 31, 2017 11:41 am

You're welcome Guillermo. I'm glad you got this working.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”