doktor.pj
Posts: 6
Joined: Wed Nov 25, 2020 10:01 pm

Selection of the running program according to the type of installation

Sun Feb 14, 2021 1:31 pm

Hi,

I would need to run a different program according to the type of installation, after its completion.

I created a SelectVersionDlg dialog with RadioButton. Propety name is RADIOBUTTONGROUP_VERSION.

In the SelectVersionDlg dialog on the Next button in the PublishedEvents tab, I added:

Set installer property value:
Property: FILE_TO_LAUNCH
Argument: [#file1.exe]
Condition: RADIOBUTTONGROUP_VERSION = "1"

and next Set installer property value:
Property: FILE_TO_LAUNCH
Argument: [#file2.exe]
Condition: RADIOBUTTONGROUP_VERSION = "2"

In ExitDialog, I then inserted [FILE_TO_LAUNCH] into the application item.

If I choose version 1 during the installation, the file1.exe file will start correctly after the installation.
However, if I choose version 2 instead of running file2.exe, the c:\Windows\SysWOW64\ folder will open.

The file2.exe file exists, I can run it without any problems with the desktop representative ...

Where am I making mistake?

Thank you
P.J.

Catalin
Posts: 6537
Joined: Wed Jun 13, 2018 7:49 am

Re: Selection of the running program according to the type of installation

Thu Feb 18, 2021 5:20 pm

Hello P.J.,

Unfortunately, I can not really say why this is happening.

In order for me to further investigate this, could you please forward me the following resources:

- a copy of the .AIP file

- a download link for the setup

by e-mail at support at advancedinstaller dot com?

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

doktor.pj
Posts: 6
Joined: Wed Nov 25, 2020 10:01 pm

Re: Selection of the running program according to the type of installation

Fri Feb 19, 2021 12:25 am

Hi, I sent an email...

Thank you
P.J.

Catalin
Posts: 6537
Joined: Wed Jun 13, 2018 7:49 am

Re: Selection of the running program according to the type of installation

Fri Feb 19, 2021 4:39 pm

Hello,

I have had a look over the .AIP file and everything seemed to be configured just fine.

In order for me to further investigate this, could you please also send me a download link for the setup, as requested in my previous thread as well?

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”