We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

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

Selection of the running program according to the type of installation

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: 7853
Joined: Wed Jun 13, 2018 7:49 am

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

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

Hi, I sent an email...

Thank you
P.J.
Catalin
Posts: 7853
Joined: Wed Jun 13, 2018 7:49 am

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

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”