Launch application on Windows 95 - Advanced Installer Community

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!

Tester
Posts: 6
Joined: Sat Jan 20, 2007 2:13 pm

Launch application on Windows 95

Our installation works on Windows 98 and 95 systems fine,
but on Windows 95 it cannot start installed application.
If I run installed application directly, it start properly.
It seems that internal launcher in AIP doesn't work on W95.
As I can see on AIP project, this function doing custom
action AI_LaunchApp. How can I resolve this problem?

Tester
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Hi,

This problem is related to the Windows Installer used by the Windows 95 operating system.

The solution is to create your own "Launch Application" checkbox on the "ExitDlg" dialog and use a custom action to run your application.

Here is how you can do this:
- create a checkbox on the "ExitDialog" dialog with the text "Launch Your Application"
- set the property name CHECK (for example) and the value 1
- under "UI Custom Actions" create a "New Installed Custom Action" and select the application you want to launch
- on the "ExitDialog" dialog select the "Finish" button and under "Published Events" add the following event:

Code: Select all

DoAction       name_of_lauch_app      AI_INSTALL AND CHECK=1
Where name_of_launch_app is the name of the custom action you created.

Please make sure that in the "Finnish Actions" tab the "Launch Application at the end of installation" option is not set.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”