| .NET DotNet Forum Index » VB.NET Forum (Visual Basic .NET) » Trouble deploying licensed 3rd party com ocx... |
|
Page 1 of 1 |
|
| Author |
Message |
| Woodie Morris... |
Posted: Mon Oct 26, 2009 9:52 pm |
|
|
|
Guest
|
I'm trying to use a 3rd party COM ocx control in my VB2008 Express
application. Works fine on the development machine of course, but once
deployed to a test/virtual machine it will only work if I copy the COM
control's license file to the text computer's Windows\System32 folder. I'm
using Inno Setup with the following lines to install the ocx:
Source: "C:\Program files\VideoCapX\videocapx.ocx"; DestDir: "{sys}"; Flags:
restartreplace sharedfile regserver
Source: "C:\Users\Woodie\My Documents\Visual Studio Projects\GT\Distribution
files\Interop.VIDEOCAPXLib.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\Users\Woodie\My Documents\Visual Studio Projects\GT\Distribution
files\AxInterop.VIDEOCAPXLib.dll"; DestDir: "{app}"; Flags: ignoreversion
Is this something that can't be done in the Express version?
Thanks, -Woodie |
|
|
| Back to top |
|
|
|
| Family Tree Mike... |
Posted: Tue Oct 27, 2009 5:57 am |
|
|
|
Guest
|
"Woodie Morris" wrote:
Quote: I'm trying to use a 3rd party COM ocx control in my VB2008 Express
application. Works fine on the development machine of course, but once
deployed to a test/virtual machine it will only work if I copy the COM
control's license file to the text computer's Windows\System32 folder. I'm
using Inno Setup with the following lines to install the ocx:
Source: "C:\Program files\VideoCapX\videocapx.ocx"; DestDir: "{sys}"; Flags:
restartreplace sharedfile regserver
Source: "C:\Users\Woodie\My Documents\Visual Studio Projects\GT\Distribution
files\Interop.VIDEOCAPXLib.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\Users\Woodie\My Documents\Visual Studio Projects\GT\Distribution
files\AxInterop.VIDEOCAPXLib.dll"; DestDir: "{app}"; Flags: ignoreversion
Is this something that can't be done in the Express version?
Thanks, -Woodie
.
It sounds like a question better asked of a group dedicated to using Inno
Setup to build deployments. Someone here may have used it, but I'm sure
there is a group for that product. It's possible that setting the license
file's build action to "Content", and the "Copy to Output Directory" property
to "Copy if newer" will help you.
Mike |
|
|
| Back to top |
|
|
|
|