How to deal with dll and ocx that need to be registered

Discuss anything related to JauntePE, the utlimate utility to help you tame non-portable applications. Share your experience about the apps that work with JauntePE, and the apps that don't.
Post Reply
Message
Author
User avatar
joby_toss
Posts: 2970
Joined: Sat Feb 09, 2008 9:57 am
Location: Romania
Contact:

How to deal with dll and ocx that need to be registered

#1 Post by joby_toss »

How do i deal with applications that need some dll or ocx files to be registered on the system for them to launch and function properly ?

I was thinking to give SSuiteOffice a try before BladeRunner will be released as stated by donald here.

For example "WordFormat2.exe" needs "vspell32.ocx" to be registered.

Thanks for the help!

User avatar
Cornflower
Posts: 244
Joined: Fri Aug 31, 2007 7:58 am
Location: Canada's capital

#2 Post by Cornflower »

There doesn't seem to be a generic tool that can detect all dlls or ocx files.

If you know, as in the example, the ocx or dll file to be registered, you can:

- manually register it while running regshot or regfromdll
- note its registry locations
- manually unregister it and verify it cleans up

Then in your code, use regsvr32.exe /s filename to register it before running the program which requires it, then regsvr32 /s /u filename afterwards.
(Some apps can be registered by simply tweaking the registry with the results from the manual registration, and hence regsvr32 is not needed.)

I think it is fair to say that the existence of regsvr32.exe can be assumed on most all Windows Computers.

Hope this does help.

crownixx
Posts: 403
Joined: Sat May 12, 2007 6:26 am

#3 Post by crownixx »

Does the jauntePEd Setup (in the 12 Step Program) doesnt work? If we portablize the installer, hopefully all the installation process including registering the dll & ocx will be redirected too

User avatar
joby_toss
Posts: 2970
Joined: Sat Feb 09, 2008 9:57 am
Location: Romania
Contact:

#4 Post by joby_toss »

crownixx wrote:Does the jauntePEd Setup (in the 12 Step Program) doesnt work? If we portablize the installer, hopefully all the installation process including registering the dll & ocx will be redirected too
This does not work because
Image

@Cornflower:
I hoped JauntePE could do this by itself somehow ... I'm still hoping!
Is it wrong to make an AutoIt launcher to launch the JauntePE launcher ?
God I have time ... ! :)

Stone Tablet
Posts: 42
Joined: Sun Oct 19, 2008 12:58 am

Redllar Answers your question... with an App!!!

#5 Post by Stone Tablet »

Joby,

Redllar Wrote an app to address your question...

See JPEregsvr32.zip @ http://www.box.net/shared/4cx4i2k00r

From readme.txt file:

1. Put a copy of the default jauntePE.dll file into this directory
2. Put a copy of your app's jauntePE.reg file into this directory
3. Put a copy of your app's ocx file into this directory
4. Drag and drop your app's ocx file in this directory onto the jperegsvr32.cmd file in this directory
5. Wait for the regsvr32 popup message indicating successful registration
6. Copy the JPE directory and its contents back into your app's launch directory
7. If necessary, modify your app's %appname%_jauntePE.ini config file so that
RegTokens is on, e.g., add the line RegTokens=1 to the [Redirection] section
8. Make sure that your app's %appname%_jauntePE.ini config file includes the
OCXs user application data dir for redirection - it should either not exclude
anything or if it excludes everything you must add the appropriately numbered
line into the FilesystemInclude section, e.g., 1=%26%\OCXs

crownixx
Posts: 403
Joined: Sat May 12, 2007 6:26 am

#6 Post by crownixx »

thanks to notice us out about the JPE regsvr32.zip package.
I'm just about to try DLL & OCX Setup 1.0.4 but got error when running it

My plan is to jauntePE'ed the DLL & OCX Setup application so that all the dlls files and ocx files that are register by it will also be redirect since we're using RedirMisc=1.

Post Reply