Problem Creating File Associations, Corrupt Registry
Posted: Wed Dec 04, 2013 7:12 am
Hello,
I am trying to create a file association with my install.
I've set the file type along with a default icon to use for the document: I've set the file extension: And I've added my open command: After I run my install, creating one of my files in my program will show the correct icon, but if I double-click this file to open it, I get the error message "There was a problem sending the command to the program". The file is opened by my application in the background.
When comparing the same file association for a previous version of the product installed with a different installer, I noticed some missing registry keys, mainly default "open" keys. If I added them in manually, it started to work properly.
I tried to get around this issue by creating the registry keys myself using the registry panel in the design view. To start, I had problems entering in the keys manually, getting the error "0| is not a valid integer".
I imported the registry keys from a .reg file and still got the error but I could ignore it. Now I still get the error and the registry panel won't display. I commented out the registry settings in the msi script but the panel still will not display.
I have two questions:
1. How do I add a file association with a custom icon and not get that error? I have used the file association in the past with another install (with a previous version of InstallAware) that did not use a custom icon and it worked correctly.
2. How do I fix my script so that I get back into the registry panel?
Thanks,
Sheri
I am trying to create a file association with my install.
I've set the file type along with a default icon to use for the document: I've set the file extension: And I've added my open command: After I run my install, creating one of my files in my program will show the correct icon, but if I double-click this file to open it, I get the error message "There was a problem sending the command to the program". The file is opened by my application in the background.
When comparing the same file association for a previous version of the product installed with a different installer, I noticed some missing registry keys, mainly default "open" keys. If I added them in manually, it started to work properly.
I tried to get around this issue by creating the registry keys myself using the registry panel in the design view. To start, I had problems entering in the keys manually, getting the error "0| is not a valid integer".
I imported the registry keys from a .reg file and still got the error but I could ignore it. Now I still get the error and the registry panel won't display. I commented out the registry settings in the msi script but the panel still will not display.
I have two questions:
1. How do I add a file association with a custom icon and not get that error? I have used the file association in the past with another install (with a previous version of InstallAware) that did not use a custom icon and it worked correctly.
2. How do I fix my script so that I get back into the registry panel?
Thanks,
Sheri