Distributing VB.Net app with Flash Player (AxIntrop and Interop included)
Posted on 2008-11-12
PROBLEM: My VB.Net app uses the Flash Player but will not run on a fresh Windows XP or Vista machine unless I install the flash player via Adobe's website or via the adobe flash player 10 install msi.
I have added the flash player to my application which Visual Studio 2005 kindly created wrappers for (AxInterop.ShockwaveFlashObjects.dll and Interop.ShockwaveFlashObjects.dll) These wrapped c:\windows\system32\macromed\flash\flash.ocx
The development machine has since been updated to flash 10 (c:\windows\system32\macromed\flash\flash10a.ocx).
Part 1. it appears VS2005 now points to flash10a.ocx, but how can I make sure the wrappers do as well?
Part 2. The setup seems to automatically include the flash10a.ocx file. The register property for this file is set to vsdrfDoNotRegister. Should I switch it to vsdrfCOMSelfReg?
Part 3. Any reason why this would not work on it's own? It is preferable to to not have to run the adobe msi or download the player to get this to work.