Hello Timon,
In order to check if the installation folder contains the specific .ini file, you can use a custom action. For example, you can create your custom action as
a custom action written in C# or
a custom action written in C++. If the file exist you can set a
property.
Then you can go in the
“Custom Actions” page and add a predefined
Launch attached file custom action
without sequence. Add this custom action as a
published event on the
Next > control from the
FolderDlg. Please take a look on the
How do I execute a custom action when a button is pushed? article which may be useful to you.
Using the
Display a specific child dialog - SpawnDialog event you can inform the user that the related folder is not valid. You can condition the execution of this event through the property that has been set in the .dll custom action.
Should there be any difficulty you encounter implementing something, please do not hesitate to contact me and I will gladly assist.
Best regards,
Dan
FOLLOW US
Get the latest news in Application Packaging