humanangle
Posts: 21
Joined: Tue Jan 20, 2009 7:52 pm

Launching a file that not exe file

Hi,
It came to my mind to launch a file that is not an .exe fie but opened with another application
after finalizing the installation , I tried that by setting the attribute of the file to open with that application
but the AI came with error launching that file , I need that because that file is a set up preferences file for that application , I want the user to have the application all setup for him .
Regards
humanangle
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Launching a file that not exe file

Hi,

A custom action can launch a file only if it's associated with an application. If your file is not associated with your application, you can create a File Association. At the end of the install process, you can use a Launch file or open URL custom action to launch the custom file.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
humanangle
Posts: 21
Joined: Tue Jan 20, 2009 7:52 pm

Re: Launching a file that not exe file

Hi,
Thank you for reply
I forgot to tell yo that The application used to open the file is not included in my package
it is in the target machine, but the file is .
So I will not be able to made file association because the wizard ask me for an application in my package to choose which I don't have .
Is there any other way to do that ?
Thank you for your help
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Launching a file that not exe file

Hi,

A solution would be to create the file association manually through the Registry page. Perhaps this article will help you create the registry entries. Please note that you can find the path of the installed application by using a search. The property of the search can then be used in the file association registry entries.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
humanangle
Posts: 21
Joined: Tue Jan 20, 2009 7:52 pm

Re: Launching a file that not exe file

Thank you
It went fine

Return to “Common Problems”