Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Installing Ocx via Inno Setup
Message
From
12/05/2011 08:14:05
 
 
To
11/05/2011 08:54:39
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows 7
Miscellaneous
Thread ID:
01510178
Message ID:
01510437
Views:
75
Hi Doyle.

>The Inno script fails to copy/register the ocx with no apparent error at install, then returns "OLE error code 0x90070002: The system cannot find the file specified." when the ocx is called.

Run the installer with the /LOG command line option: it'll create a log file you can examine to see what happens when trying to register the OCX.

>I distributed the ocx in the application root directory and callled:
>
>! /N regsvr32 /s "FTP Wizard3.ocx"
>
>which worked on a 32bit Windows7 machine.

The only way that would work is if you're running the app as administrator, which isn't a good idea.

Doug
Previous
Reply
Map
View

Click here to load this message in the networking platform