We are using wybuild.cmd.exe to build our updates, and files are added from specified directory. I want to add a new dll that needs to be registered with regsvr32, how do i do that?
Im using a script in powershell to add new updates, and i use the command line version of wybuild. How can i solve this with wybuild.cmd.exe?
Did you see the Building from Commandline article? There's a section covering everything (including COM registration)
So this would work? The %NEWVERSIONFOLDER% contains x.dll, would this mean that the folder is added 2 times?
I use a powershell script to input values for %...%..
<?xml version="1.0" encoding="utf-8"?><Versions> <AddVersion> <Version>%NEWVERSIONUMBER%</Version> <InheritPrevRegistry /> <InheritPrevActions />
<Files dir="basedir"> <Folder source="%NEWVERSIONFOLDER%" insideonly="true"/> <File source="%NEWVERSIONFOLDER%\x.dll" comreg="true" /> </Files> </AddVersion></Versions>