View Full Version : Unwanted dependency

04-28-2009, 06:04 AM
I am using the evaluation version of the product (v15) to create a setup for a Windows application with a Flash interface. When compiling my setup file it keeps including an Adobe flash file as a dependency. I do not want this for two reasons:

During installation I get an error 1904 registering Flash10b.ocx (HRESULT -2147220473) when flash is already installed on the system
Using the uninstaller deregisters this file and removes it from the users system, leaving flash unstable - obviously undesirable

I have run the "Perform Static Scanning" and left the Flash10b.ocx file deselected, and have tried adding <File name="Flash10b.ocx" IS="manual"/> to the Filters.xml file and repeating the process. The ocx file continues to be included.

What am I doing wrong? Any suggestions gratefully received...

04-28-2009, 11:36 AM
Be sure the .Net Scan at Buld property on the component is set to "Properties Only".

04-29-2009, 05:42 AM
Thanks for the reply. Unfortunately I set the value to "Properties Only" and even tried "None" without any success.

The output still has "Adding file 'Flash10b.ocx' that is a dependency of component 'AxInterop.ShockwaveFlashObjects.dll'" when I build. It has similar a message for stdole.dll, which I presume would also cause problems on uninstall if the installer weren't failing on the Flash10b.ocx file.

Is there anything else that anyone can offer? This is my first attempt at an installer, so please don't discount even basic suggestions!

04-30-2009, 10:35 AM
The solution was the Filters.xml. I had missed the rather obvious "The name attribute must be specified in lower case" :o

Live and learn!