Quantcast
Channel: General
Viewing all articles
Browse latest Browse all 7363

Web Deploy on IIS and COM objects question

$
0
0

Hi Folks,

  For my web projects I need to use Visual Studio and Web Publishing (web deploy) - for dev. and test. we can publish directly from within Visual Studio to the web site directly.   For production we need to publish to a folder to create the command line script and package and then pass this to a separate team to be executed (it then uses web deploy).

The issue that I have is that I have  COM assembly (DLL and TLB) that needs to be copied and registered as part of the deployment. Copying the files is easy, but I cannot find a way to execute regsvr32.exe as part of the deployment.

I just need to execute the command  regsvr32.exe xyz.dll  and nothing more.

Does anyone have a way to go about doing this as simply as possible.  I would prefer not to have to use remote PowerShell or something like that as a post deployment task as it adds a failure point if someone forgets to execute the script and I am trying to automate as much as possible.

Regards

Andy


Viewing all articles
Browse latest Browse all 7363

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>