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.