ActiveX Deployment under Vista

Giganews Newsgroups
Subject:ActiveX Deployment under Vista
Posted by: John Holmes
Date:Wed, 28 Jan 2009

Hi,
I've just upgraded from Delphi 6 to Delphi 2007 for Win32 and am trying to deploy an ActiveX web application that works under XP, to Vista.
Under XP with Dephi 6, I used to cabarc utility to create a CAB file if my ocx and the relevant Delphi bpl files. No problem.
Under Delphi 2007 on Vista, I can recreate my ocx, but when I try to create my CAB file with cabarc, it fails with this error message when trying to add to vcl100.bpl (or any bpl) file to the CAB file:

Microsoft (R) Cabinet Tool - Version 1.00
Copyright (c) Microsoft Corp 1996. All rights reserved.

Creating new cabinet 'mycabfile.cab':
  -- adding my.ocx
  -- adding vcl100.bpl
FCIAddFile() failed: code 1 [Failure opening file to be stored in the cabinet]

Here's the command line generating this error:

cabarc n mycabfile.cab my.ocx vcl100.bpl vcldb100.bpl

Any idea why this won't work?

Thanks for your help.

Regards
Holmes

Replies