08-20-2019 08:09 AM
Hey everyone,
So a lot of the new code I've been working on requires interfacing with a SmartMotor and controlling it with ActiveX calls (see png). When I compile and install the executable, the code doesn't run on a fresh computer because another program SmartMotor Interface (SMI) is what installs/registers the dll's that LabVIEW uses for the ActiveX calls. What I want, is to be able to run the executable without the computer needing SMI installed, so basically I need to figure out what library files to include with the installer and how to register them in the host computers. I've tried using regsvr32 on some dll's and can't figure out what else to try. Anyone have any ideas?
p.s.: in addition the the SMI files in the pngs, SmiEngine.dll is installed in system32 when SMI is installed.
Saying "Thanks that fixed it" or "Thanks that answers my question" and not giving a Kudo or Marked Solution, is like telling your waiter they did a great job and not leaving a tip. Please, tip your waiters.
Solved! Go to Solution.
08-20-2019 08:14 AM
08-20-2019 08:52 AM - edited 08-20-2019 08:53 AM
If your software comes with an installer, that is definitely what you should be running to get it on another computer. Trying to figure out what and how you have to register all the different DLLs and such is pretty error prone (it may work on a particular computer after lots of figuring out but fail on a different computer because of version differences, other installed software or anything else the DLL developer may have figured out to make his software super duper easy to use).
Besides, everything you figure out if it is successful, may be completely out of data when the software developer releases a new version of the software. So instead of fighting wind mills, just go with the flow and install the software with its intended tool!