Reg free Codejock (ActiveX) |
Post Reply |
Author | |||
JantjeKeizer
Groupie Joined: 12 February 2008 Status: Offline Points: 70 |
Post Options
Thanks(0)
Posted: 24 June 2008 at 5:53pm |
||
Allow me to have the honor to open the first topic in this forum :)
Using this little tutorial you can deploy your application (or run it from an USB stick) without the need to register the Codejock controls. You can even use different versions next to eachother (side by side). Sounds cool huh? So here's what you need to do: Unzip the attached file to any place. Adjust the first 3 lines of the .bat file to suit your needs
If you don't want unicode controls, then simply replace the first line with
The second line is the version of the controls you are using The third line is the folder where you have the Codejock controls installed. If you are running on 32 bit, then replace %ProgramFiles(x86)% with %ProgramFiles% Run the bat and notice that a folder is created called 'Manifest' Inside that folder you'll find most of Codejocks controls with simplified names Open the .manifest file in notepad and run the manifest helper. Select all the files you want to use and click "open" This will save all necessary information on your clipboard. Replace the
Place the manifest next to your application and change its name to match your executable filename eg: myApp.exe.manifest Thats it! you can run it from any computer (XP and up) without the need to register the controls.You don't need to copy all of the controls. For instance, when you just use the commandbars in your app, you will only have to copy Commanbars.ocx. Another little extra is that you might want to change the elevation property for when being used on Vista computers. When your application needs administrator privileges, change level="asInvoker" to level="requireAdministrator"
uploads/3745/Manifest_helper2.zip
|
|||
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
||
Hello,
Thanks a lot! :-)
What tool did you use to generate it ?
|
|||
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|||
JantjeKeizer
Groupie Joined: 12 February 2008 Status: Offline Points: 70 |
Post Options
Thanks(0)
|
||
|
|||
tobi
Senior Member Joined: 09 September 2004 Location: Germany Status: Offline Points: 451 |
Post Options
Thanks(0)
|
||
Would you be willing to share this tool ?
|
|||
JantjeKeizer
Groupie Joined: 12 February 2008 Status: Offline Points: 70 |
Post Options
Thanks(0)
|
||
With this file you should be able to make your own manifests.
Run the exe and then select a dll or ocx you want to use. It will copy all necessary data to the clipboard, which you can paste into the manifest skeleton. Simply replace the 'file name' block with your own file(s) Be wary of the default filenames it uses. Sometimes it doesn't like all the 'dots' in the codejock filenames. So if you change the filename in the manifest and (of course) the filename of the file you deploy with your app, then everything should be fine. You can also place files in subdirectories by simply changing the manifest filenames like for example: <file name = "Controls\Calendar.ocx"> 20080702_043418_Manifest_helper.zip |
|||
ctrl
Groupie Joined: 21 July 2008 Status: Offline Points: 12 |
Post Options
Thanks(0)
|
||
Thanks for all the info about the manifest. I tried this solution on windows XP and everything is working fine, but it looks like I'm missing something when testing on windows Vista.
I'm giving you the essential part of my manifest :
I use the 12.0.2 version of SkinFramework and I'm sure the clsid and tlbid are the good ones. Is there anything I have to add in my manifest file to make my application work without having to register the ocx file on Vista? |
|||
ctrl
Groupie Joined: 21 July 2008 Status: Offline Points: 12 |
Post Options
Thanks(0)
|
||
The problem in the last post was a configuration in Delphi for the compression of the executable.
We now use the manifest file on vista with no problem |
|||
Product :SkinFramework 12.0.2, 12.1.1
Platform : WinXP Pro SP2 32 Bit Language : Delphi 2007 |
|||
SuperMario
Admin Group Joined: 14 February 2004 Status: Offline Points: 18057 |
Post Options
Thanks(0)
|
||
I attached a revised version of the manifest creator tool:
Usage: CreateManifest {\r} folder manifestname params: \r option is to search recursively through folder folder is the folder name\path where ocx(s) are located manifestname is the name you want to use for the file created uploads/369/CreateManifest.zip |
|||
davbrat
Groupie Joined: 30 September 2009 Location: California Status: Offline Points: 59 |
Post Options
Thanks(0)
|
||
Hello SuperMario,
How exactly is the created manifest to be used? I'm getting nowhere in trying to get it to work. Can I get a outline in what needs to be done in order to make it happen? Thanks, Dave Bratovich |
|||
Product: Xtreme SuitePro (ActiveX) version 18.4.0 Platform: Windows XP SP2+ & Windows 7 (32bit & 64Bit)
Windows 8/8.1/10 Language: Clarion 5.0/5.5/6.3/7.3/8/9/9.1/10 |
|||
AndyWilton
Groupie Joined: 03 June 2008 Status: Offline Points: 82 |
Post Options
Thanks(0)
|
||
Hi Guys,
I too have had trouble trying to get a Clarion app to work with the manifest approach. I used MMM (Make My Manifest) to create the manifest file for the example ChartBrowser VB6 app and all worked well, but when the same manifest settings are used with Clarion nothing is displayed. Anyone had any success with languages other than VB6? Regards, Andy |
|||
Product: Xtreme SuitePro (ActiveX) v11.2.1 -> v15.2.1
Platform: Windows XP / Vista / Win 7 Language: Clarion 5.5 -> C8.x ====================================== Andy Wilton |
|||
davbrat
Groupie Joined: 30 September 2009 Location: California Status: Offline Points: 59 |
Post Options
Thanks(0)
|
||
Anybody out there?
HELP... SuperMario? I need to get this working! Thanks! |
|||
Product: Xtreme SuitePro (ActiveX) version 18.4.0 Platform: Windows XP SP2+ & Windows 7 (32bit & 64Bit)
Windows 8/8.1/10 Language: Clarion 5.0/5.5/6.3/7.3/8/9/9.1/10 |
|||
JantjeKeizer
Groupie Joined: 12 February 2008 Status: Offline Points: 70 |
Post Options
Thanks(0)
|
||
I updated my first post and tool. In case anybody wants it
|
|||
Goeteson
Newbie Joined: 17 October 2012 Status: Offline Points: 1 |
Post Options
Thanks(0)
|
||
Hei Supermario! Does the CreateManifest.exe do a unregister of the OCX's involved in a generate of manifestfile? |
|||
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |