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!

Marco
Posts: 3
Joined: Sat Nov 28, 2009 1:30 pm

File Association

Dear users, dear Advanced Installer Team

I would like to suggenst the following features concerning File Associations:
  • The Option to add a program to the list shown when someone right clicks on a file and chooses "open with" in the context menu. I would also be great if this would be possible without to associate a fille extension to the installed program. In this way the user could still easely use the created program without loosing the current association already in place.
  • I would be also great when you could provide a wizard to help create a setup menu driven file association so that the user can decide during the install what files to accosiate with the newly installed program. I'm quite new creating packages and don't know all the features your program already provide but currently I assume I would have to create a vbscript or something in this direction for every file association and the have a look to combine a custom action with every files association running the correspondig script per file association. Doing it in this way I could also not benefit from the already built in possibilities (File Associations Menu). If this is not doable I would love to see some more detailed help files how to do a such task with the Advanced Installer Enterprise tool (step by step example).
  • I would sometimes be usefull, if it would be the possible to export the File Associations created in Advanced Installer to a reg file.
best regards
Marco
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: File Association

Hi Marco,
The Option to add a program to the list shown when someone right clicks on a file and chooses "open with" in the context menu. I would also be great if this would be possible without to associate a fille extension to the installed program. In this way the user could still easely use the created program without loosing the current association already in place.
Here is what you could try:
- after you have created the associations go to Registry page
- here you will create the following keys under HKEY_CLASSES_ROOT:

Code: Select all

    HKEY_CLASSES_ROOT
        .quick
            OpenWithProgids
- under "OpenWithProgids" this key you will create a binary registry
value with no value entered (simply let the field Data empty)
- ".quick" is supposed to be the extension you are using

After installing the package with these keys the options desired should
be available.
I would be also great when you could provide a wizard to help create a setup menu driven file association so that the user can decide during the install what files to accosiate with the newly installed program. I'm quite new creating packages and don't know all the features your program already provide but currently I assume I would have to create a vbscript or something in this direction for every file association and the have a look to combine a custom action with every files association running the correspondig script per file association. Doing it in this way I could also not benefit from the already built in possibilities (File Associations Menu). If this is not doable I would love to see some more detailed help files how to do a such task with the Advanced Installer Enterprise tool (step by step example).
This feature will also be available with a future version of AI.
I would sometimes be usefull, if it would be the possible to export the File Associations created in Advanced Installer to a reg file.
There haven't been any requests for this feature so far. If really needed, you can create the file associations, install the package then export the registries from regedit.

Regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/
Marco
Posts: 3
Joined: Sat Nov 28, 2009 1:30 pm

Re: File Association

Hi Gabriel

Thank you for your fast feedback. I'm happy to hear that you plan to provide a wizard to easier integrate file accociation based on user decision during the install sequence. Are there some examples somewhere I missed how to do this currently with custom actions? If not could you maybe provide an example document how to do this in conjunction with vbscripts?

The tip below works:

Code: Select all
HKEY_CLASSES_ROOT
.quick
OpenWithProgids

But why not integrate this feature as option to the aleready available part of advanced installer too? Generally it would prefer to manage this task at the same place in Advanced Installer as the remining parts concerning file accosiations. A great option would also be to just add the "open with" feature but not to assign the file extension as default. This would be a save decision for the package creator that could always be used without to worry about changing existing file associations. This would be a discreet but very usefull short shortcut option.

best regards
Marco
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: File Association

Hi Marco,
Are there some examples somewhere I missed how to do this currently with custom actions?
No, I'm afraid we don't have examples for this.
If not could you maybe provide an example document how to do this in conjunction with vbscripts?
We will consider adding a help article with this. Thank you for your suggestion.
But why not integrate this feature as option to the aleready available part of advanced installer too?
This improvement is on our TODO list and it will be available in a future version of Advanced Installer.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Marco
Posts: 3
Joined: Sat Nov 28, 2009 1:30 pm

Re: File Association

Hi Cosmin

Any news on this topic? To continue with my package I will need some help (how to manual) or even better the desired features in the next release of Advanced Installer.

best regards
Marco
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: File Association

Hi Marco,

I'm afraid that there aren't any news on this. Also, we cannot include the improvement in the next release because it involves completely rewriting the files association feature. The improvement is not supported by Windows Installer and we need to create our own logic to handle it. Until it's ready you can use the workaround suggested by Gabriel.

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

Return to “Feature Requests”