Install: Extract COM Information
Posted: 17 Oct 2013, 13:23
I added the LblCtlsU.OCX to an InstallShield installer and, as I do with every OCX file, I specified that it should 'Extract COM Information' from this control so that it will install and uninstall the controls cleanly.
This resulted in an error in installshield by regtlib.exe "windows cannot access the specified device, path or file. You may not have the appropriate permissions to access the item." etc
When I remove this option, it works fine and the installed program even runs. On first run the registration info appears in the registry so I presume it registered itself automatically somehow when it was called... BUT when I uninstall the program, it leaves behind the registry info for the lbl control which isn't good.
What's interesting is that the Editctrls OCX does NOT have this issue. It extracts COM info AND cleans out the registry when I uninstall like it should.
So what's the difference between these components, and can this be fixed somehow so that it can be uninstalled?
This resulted in an error in installshield by regtlib.exe "windows cannot access the specified device, path or file. You may not have the appropriate permissions to access the item." etc
When I remove this option, it works fine and the installed program even runs. On first run the registration info appears in the registry so I presume it registered itself automatically somehow when it was called... BUT when I uninstall the program, it leaves behind the registry info for the lbl control which isn't good.
What's interesting is that the Editctrls OCX does NOT have this issue. It extracts COM info AND cleans out the registry when I uninstall like it should.
So what's the difference between these components, and can this be fixed somehow so that it can be uninstalled?