/build/static/layout/Breadcrumb_cap_w.png

File association

Hi All,

I am trying to create a file association between Adobe and a file with suffix .VIEWATTACHMENT(Oracle created file which opens with Adobe). I have captured this using Installshield 11 through folder options in Explorer but even when I do not remove the rubbish from the IRP/ISM the compiled MSI will not make the association. It is listed as a file under file types but no association is made. Am I missing something simple here? Cheers in advance

0 Comments   [ + ] Show comments

Answers (1)

Posted by: oreillyr 17 years ago
Fifth Degree Brown Belt
0
For anyone interested I followed the below procedure and obviously swapped my suffix and exe for the one in the sample

The example shows how to register the .dvi extensions to be opened with the yap.exe program.

Link the extension .dvi to the DVI.Document class:

Key: HKLM\SOFTWARE\Classes\.dvi
Value: <default> = "DVI.Document"

Describe the DVI.Document class:

Key: HKLM\SOFTWARE\Classes\DVI.Document
Value: <default> = "DVI Document"

Select Icon #0 from yap.exe which is in the MSI:

Key: HKLM\SOFTWARE\Classes\DVI.Document\DefaultIcon
Value: <default> = "[!yap.exe],0"

How to open the .dvi file if it is double clicked in the Explorer:

Key: HKLM\SOFTWARE\Classes\DVI.Document\shell\open\command
Value: <default> = "[!yap.exe]" "%1"

And importantly I added a reboot to the install and all good!
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ