Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Command Bars
  New Posts New Posts RSS Feed - intall / redistribution
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

intall / redistribution

 Post Reply Post Reply
Author
Message
blockwood View Drop Down
Groupie
Groupie


Joined: 23 March 2004
Status: Offline
Points: 45
Post Options Post Options   Thanks (0) Thanks(0)   Quote blockwood Quote  Post ReplyReply Direct Link To This Post Topic: intall / redistribution
    Posted: 28 April 2004 at 9:05pm
I'm ready to create install for new app. using code jock.

Do I simply add CommandBars.OCX to my install scenario?

Here is line in my INNO Install

; CodeJock
Source: ..\System32files\CommandBars.OCX; DestDir: {sys}; Flags: restartreplace uninsneveruninstall regserver; Attribs: system
Back to Top
eliasp View Drop Down
Newbie
Newbie


Joined: 28 April 2004
Location: Greece
Status: Offline
Points: 7
Post Options Post Options   Thanks (0) Thanks(0)   Quote eliasp Quote  Post ReplyReply Direct Link To This Post Posted: 29 April 2004 at 4:03am

Yes, you only need the OCX file. Do not forget to register it on the installation computer - meaning COM registration with regsvr32 (or if your installer supports it).

I did so for Windows 2000 / XP installation and it worked but I have no idea about older platforms like Windows 9*.

Back to Top
Boyd View Drop Down
Senior Member
Senior Member


Joined: 08 December 2003
Location: United States
Status: Offline
Points: 285
Post Options Post Options   Thanks (0) Thanks(0)   Quote Boyd Quote  Post ReplyReply Direct Link To This Post Posted: 29 April 2004 at 8:19am

Blockwood,

I also use INNO setup, and the line you posted looks good.  I don't believe the 'restartreplace' flag is necessary for this control, but it doesn't hurt to leave it in.  You would also suggest you list this as a shared file since other software may also use the CommandBars.ocx file.  Even though you set 'uninsneveruninstall' for your setup program, someone else may have their setup program set to uninstall it if nobody else is using it.  Marking it as a shared file will increase the "usage" count for that control and hopefully prevent someone else's uninstall program from removing the control while your application still uses it.

Back to Top
blockwood View Drop Down
Groupie
Groupie


Joined: 23 March 2004
Status: Offline
Points: 45
Post Options Post Options   Thanks (0) Thanks(0)   Quote blockwood Quote  Post ReplyReply Direct Link To This Post Posted: 29 April 2004 at 1:13pm
eliasp and Boyd

thanks guys for great answers! Much appreciated
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.156 seconds.