Skip to content
⌘ NSIS Forum Archive

RegDLL with visual studio redistribution package

3 posts

HyungSukChoi#

RegDLL with visual studio redistribution package

i'm trying to register ocx file on windows 7 virtual machine

but it fail if there are no visual studio 2010 redistribution package(vsredist) installed


Why do i need visual studio 2010 redist for RegDLL?

I don't want to install the visual studio 2010 redist

any idea?


the command i'm using is :
RegDLL "$INSTDIR\MyOCX.ocx"

fail log is:
Could not load: C:\Program Files\MyFolder\MyOCX.ocx


i tried other visual studio redists like 2012, 2013, 2015 but not helped for RegDLL
HyungSukChoi#
[Solved] found

it was problem of MyOCX.

I found MyOCX using visual studio 2010 redist

sovled.
Anders#
Good job solving this on your own. I don't think this is really NSIS related though. RegDll does not require anything and works all the way back to Windows 95 just like everything else.