Is it possible to create a dialog in the installer, that allows the user to accept or decline file association? For the dialog part I don't see a problem but how can I make the file association conditional?
To achieve a conditional install for an extension, go to the File Associations page, select your extension, check the "Place extension in a separate feature" checkbox then set a condition for the extension if needed. The extension will be installed if its associated feature is selected for install or if the condition is true, depending on what you selected as the Installation Behavior for your extension.
I've created a checkbox, which allows the user to implement the file association or not. But I'm having some difficulty with the property value which is associated with the checkbox. I've set its "Value" and "Default" property to "Yes". The "Property Name" is set to "USEEXTENSIONVXH". How can I change the "USEEXTENSIONVXH" property value to "No" when the user unchecks the checkbox?
The checkbox property must be either set to a value or empty. It cannot use two different values for checked and unchecked. You can read more about checkboxes here.
Please note that in the Extension Properties pane you can enable the "Show in FileAssociationsDlg dialog" option. This way you can automatically add a file association selection dialog.
FOLLOW US
Get the latest news in Application Packaging