I
ilaygur
Hello everyone
To make a long story short, I have a COM dll refrenced in my vb.net
app. I am using the ClickOnce publishing to deploy my app (best way for
internet updates).
This specific com dll (I have others refrenced with no problem), does
not work with its interop created. If i do not REGSVR32 manually on the
installed machine, my app will give me an error and will not run. I
tried setting the property of the DLL to ISOLATED = TRUE, but that gave
me a menifest error on my deployment.
After reading and searching for possible answers, i understood this
specific DLL just cannot be interoped and needs to be registered the
"old style".
Now my problem was, using ClickOnce, i cannot find a way to tranfer my
original dll with deplayment. I though registering it by code with a
FIRSTRUN switch or something similiar. I added the dll file to my
project, and tried settings its properties to contant, or datafile, or
resource file. no luck, after deployment on a new machine i search for
the dll and it cannot be found anywhere.
So i said to myself, lets create a custom prerequisite that i can add
to my app on publish (similar to the DOTNET 2 framework preq..).
So here is my question, how do i create a custom preq in general, and
more specific a prerequisite that all it does is REGSVR32 a dll file?
Thank you in advance for replies..
Eli
To make a long story short, I have a COM dll refrenced in my vb.net
app. I am using the ClickOnce publishing to deploy my app (best way for
internet updates).
This specific com dll (I have others refrenced with no problem), does
not work with its interop created. If i do not REGSVR32 manually on the
installed machine, my app will give me an error and will not run. I
tried setting the property of the DLL to ISOLATED = TRUE, but that gave
me a menifest error on my deployment.
After reading and searching for possible answers, i understood this
specific DLL just cannot be interoped and needs to be registered the
"old style".
Now my problem was, using ClickOnce, i cannot find a way to tranfer my
original dll with deplayment. I though registering it by code with a
FIRSTRUN switch or something similiar. I added the dll file to my
project, and tried settings its properties to contant, or datafile, or
resource file. no luck, after deployment on a new machine i search for
the dll and it cannot be found anywhere.
So i said to myself, lets create a custom prerequisite that i can add
to my app on publish (similar to the DOTNET 2 framework preq..).
So here is my question, how do i create a custom preq in general, and
more specific a prerequisite that all it does is REGSVR32 a dll file?
Thank you in advance for replies..
Eli