Allow user to pick which application they want to associate file extension with
Updated: 23 May 2010 | 1 comment
Hi,
I am looking into adding a Dialog Screen to my installation to allow a user to select either my application or Internet Explorer to assoiciate with a certain file extension. I am using Wise for Windows Installer 6.20. Is there a function in WFWI 6.2 that I could use or would I have to create my own Custom Action script? Thanks.
discussion Filed Under:
Comments
You will have to create your own solution
However, since the file association is defined by a series of registry entries in HKCR, you don't really need a custom action - just stick the alternative registry keys into two different components, and apply conditions on the components to install one or the other based on what the user chooses.
If you are deploying to Win2K and later operating systems, you could also consider writing these keys to HKCU/Software/Classes instead of HKLM/Software/Classes, thus making the choice user-specific where users have roaming profiles, or share the same machine.
(HKCU/Software/Classes overrides any comparable settings in HKLM/Software/Classes when the two keys are merged to give HKCR)
If your issue has been solved, please use the "Mark as Solution" link on the most relevant thread.
Would you like to reply?
Login or Register to post your comment.