Insert Valentina Script in Build

Hi,

We use Valentina Reports ADK in our project. After a build I have to run a script manually to insert the Necessary Valentina files into the App Package.

How can I do this as a build step?

I know @Beatrix Willius is pretty well versed in Valentina.

@Tim Parnell can read minds:

[code]'add valentina files

'prepare
dim CountSlashes as Integer = CountFields(ProjectShellPath, “/”)
dim ProjectName as string = NthField(ProjectShellPath, “/”, CountSlashes)
dim ProjectPath as String = Left(ProjectShellPath, Len(ProjectShellPath) - Len(ProjectName))

dim ProjectParent as string = NthField(ProjectPath, “/”, CountSlashes - 1)
dim ProjectParentPath as String = Left(ProjectPath, Len(ProjectPath) - Len(ProjectParent) - 1)

dim cmd as String = ProjectParentPath + “Classes/Build\ Automation/install_vcomponents_v4rb_v7 " + CurrentBuildLocation + “/” + getShellString(CurrentBuildAppName) + “.app/”
if CurrentBuildTarget = 16 then
cmd = cmd + " 64”
end if
'print cmd

dim theOutput as string = doShellCommand(cmd)
if theOutput <> “” then print "Add Valentina Files: " + theOutput

function getShellString(theString as String) as string
theString = ReplaceAll(theString, " ", "\ ")
theString = ReplaceAll(theString, “&”, “\&”)
theString = ReplaceAll(theString, “(”, "( ")
theString = ReplaceAll(theString, “)”, ") ")
return theString
end Function[/code]