RxInstall.dll

Started by velasquez, March 06, 2009, 03:59:41 AM

Previous topic - Next topic

velasquez

Is possible knowledge please how the file RxInstall.dll Works? 
Thanks

Fred Tomke

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
Fred Tomke
Dipl.-Ing. (FH) Landespflege

[ landscaper - landscape developer - digital landscape and urban design]

velasquez

Thank you very much Fred. 
Velasquez

owenwengerd

As Fred said, RxInstall is used during installation and uninstallation to add (and remove) registry entries for every supported AutoCAD installation.
Owen Wengerd (Outside The Box) / ManuSoft

velasquez

Would I like to execute RxInstall for my installation program? 
Do parameters exist for the command line in the installation and uninstallation?

Velasquez

Fred Tomke

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
Fred Tomke
Dipl.-Ing. (FH) Landespflege

[ landscaper - landscape developer - digital landscape and urban design]

owenwengerd

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.
Owen Wengerd (Outside The Box) / ManuSoft

velasquez

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.

owenwengerd

Just replace /i with /x to uninstall.
Owen Wengerd (Outside The Box) / ManuSoft

velasquez

OK OWEN, 
 
I will test this. 
 
Thank you very much.