File association problem - 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!

Koen
Posts: 21
Joined: Thu May 06, 2010 7:49 am

File association problem

Hi,

I have a problem regarding file association. After the installation, the files are associated with my programs but the don't display the Icon the should. Also when I double click or right click and click on "open" nothing happens. If I click on "open with..." I see that my program is the recommended program. But when I try to use it I get an error. I included a screenshot of the error in the attachment


Beste regards,
Koen
Attachments
Screenshot.jpg
Screenshot.jpg (38.66 KiB) Viewed 3910 times
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: File association problem

Hi Koen,

The file associations don't work correctly because you haven't configured them correctly in the project, i.e. you have added only a progID, but not defined the extension.

Please delete the ones added by you and re-create them as explained in this tutorial.

If you have other questions please let us know.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Koen
Posts: 21
Joined: Thu May 06, 2010 7:49 am

Re: File association problem

Hi,

I've followed the explanation and the actions in the link you've discribed in the post above. But I still can't get it to work. The File association tree looks like this now:
Target Computer
-> [|Manufacturer].[|ProductName]
-> vxh (Command: APPDIR\Bin\VXH.exe)
-> &Open (Arguments: "%1")

But I still get the same error when I open a file with a .vxh file extension. The installer product name is "xHarbour Builder Enterprise" and the company name is "xHarbour". I want to open all .vxh files with the VXH program. Which is installed at this location "APPDIR\Bin\VXH.exe". I don't know if the following setting matters for this issue but "Register product with windows installer" is unchecked at the product details setting


Best regards,
Koen
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: File association problem

Hi Koen,

Please note that File Associations require that you register the product with Windows Installer, otherwise
Windows will not know with what application to register your files.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Koen
Posts: 21
Joined: Thu May 06, 2010 7:49 am

Re: File association problem

Thank you. The file association works great now.

Return to “Common Problems”