OpenDCL Forums

OpenDCL => Runtime/AutoLISP => Topic started by: velasquez on March 06, 2009, 03:59:41 AM

Title: RxInstall.dll
Post by: velasquez on March 06, 2009, 03:59:41 AM
Is possible knowledge please how the file RxInstall.dll Works? 
Thanks
Title: Re: RxInstall.dll
Post by: Fred Tomke on March 06, 2009, 04:18:39 AM
Hi, velasquez,

as far as I know this dll is responsible for registering the OPENDCL command for demand loading in every single installed (!!!) AutoCAD release. It decides which ARX-file has to be loaded in which AutoCAD release.
This is the registry entry for C3D 2009 German:


Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Autodesk\AutoCAD\R17.2\ACAD-7000:407\Applications\OpenDCL]
"Loader"="C:\\Programme\\Gemeinsame Dateien\\OpenDCL\\OpenDCL.17.arx"
"Description"="OpenDCL"
"LoadCtrls"=dword:0000000c

[HKEY_LOCAL_MACHINE\SOFTWARE\Autodesk\AutoCAD\R17.2\ACAD-7000:407\Applications\OpenDCL\Commands]
"OPENDCL"="OPENDCL"


But Owen could tell some more details if you want.

Fred
Title: Re: RxInstall.dll
Post by: velasquez on March 06, 2009, 04:58:01 AM
Thank you very much Fred. 
Velasquez
Title: Re: RxInstall.dll
Post by: owenwengerd on March 06, 2009, 06:26:55 AM
As Fred said, RxInstall is used during installation and uninstallation to add (and remove) registry entries for every supported AutoCAD installation.
Title: Re: RxInstall.dll
Post by: velasquez on March 06, 2009, 09:58:30 AM
Would I like to execute RxInstall for my installation program? 
Do parameters exist for the command line in the installation and uninstallation?

Velasquez
Title: Re: RxInstall.dll
Post by: Fred Tomke on March 06, 2009, 10:05:57 AM
Normally, you should install the runtime after installing AutoCAD. If you install AutoCAD after the runtime, you have to recall the repair option of OpenDCL installation.

I've learned a third option:
Call a

msiexec /qn /fo {03867BD6-AE1B-4AC5-962D-5BC122E6171A}

and this should do it, too.

Fred
Title: Re: RxInstall.dll
Post by: owenwengerd on March 06, 2009, 10:06:54 AM
Your application install script should execute the entire runtime installation script (either the MSM or the MSI). You should not attempt to use RxInstall.dll directly. To execute the runtime install by command line, you can use the msiexec command, which has many options.
Title: Re: RxInstall.dll
Post by: velasquez on March 06, 2009, 10:58:05 AM
Owen 
I already tested below the line to execute MSI and msiexec.exe he/she worked well in the installation.
 
msiexec.exe /passive /i OpenDCL.Runtime.ENU.4.0.3.1.msi   
 
How should it be in the uninstallation? 
 
Excuse I don't have knowledge of msiexec.exe.
Title: Re: RxInstall.dll
Post by: owenwengerd on March 06, 2009, 11:07:18 AM
Just replace /i with /x to uninstall.
Title: Re: RxInstall.dll
Post by: velasquez on March 06, 2009, 11:25:24 AM
OK OWEN, 
 
I will test this. 
 
Thank you very much.