Print Page | Close Window

intall / redistribution

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Command Bars
Forum Description: Topics Related to Codejock Command Bars
URL: http://forum.codejock.com/forum_posts.asp?TID=673
Printed Date: 12 May 2024 at 3:17pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: intall / redistribution
Posted By: blockwood
Subject: intall / redistribution
Date 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



Replies:
Posted By: eliasp
Date 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*.



Posted By: Boyd
Date 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.



Posted By: blockwood
Date Posted: 29 April 2004 at 1:13pm
eliasp and Boyd

thanks guys for great answers! Much appreciated



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net