Script to install Valentina after a Xojo?

jda jda at his.com
Sat Oct 26 15:08:04 CDT 2013


Ah, nevermind. I found the proper script via the Valentina WIKI:

http://www.valentina-db.com/dokuwiki/doku.php?id=valentina:products:adk:v4rb:manual:deployment:mac_ub

Jon


> 
> Hi Trixi, thanks a lot, that works great!
> 
> One further question — my version of the script works, but get an error about installing VSDK.framework/Versions/A/VSDK, which I don’t have (my script is very old). I’ve tried editing out such lines, but I’m just guessing at what to do. Do you have a more modern install script you could send me?
> 
> Thanks again,
> 
> Jon
> 
> 
>> Sure, here it is:
>> 
>>   dim CountSlashes as Integer = CountFields(ProjectShellPath, "/")
>>   dim ProjectName as string = NthField(ProjectShellPath, "/", CountSlashes)
>>   dim ProjectPath as String = Left(ProjectShellPath, Len(ProjectShellPath) - Len(ProjectName))
>>   dim cmd as String= ProjectPath + "Contents/INSTALL_VCOMPONENTS_V4RB"
>>   cmd = cmd + " " + CurrentBuildLocation + "/" + getShellString(CurrentBuildAppName) + ".app" + "/"
>> 
>>   dim theOutput as string = doShellCommand(cmd)
>>   if theOutput <> "" then print theOutput
>> 
>>   function getShellString(theString as String) as string
>>       Return ReplaceAll(theString, " ", "\ ")
>>   end Function
>> 
>> The install script is in a folder Contents/INSTALL_VCOMPONENTS_V4RB next to the project file.
>> 
>> On 26.10.2013, at 14:33, jda <jda at his.com> wrote:
>> 
>>> You have a script for adding Valentina to Xojo app bundles, but it has to be invoked in Terminal (on the Mac). I wonder, have you or anyone at Paradigma written a version that can be included in a Xojo project so it can be run automatically once the build is complete?
>> 
>> Mit freundlichen Grüßen/Regards
>> 
>> Trixi Willius
>> 
>> http://www.mothsoftware.com
>> Mail Archiver X: The email archiving solution for professionals
>> 
>> _______________________________________________
>> Valentina mailing list
>> Valentina at lists.macserve.net
>> http://lists.macserve.net/mailman/listinfo/valentina
> 
> _______________________________________________
> Valentina mailing list
> Valentina at lists.macserve.net
> http://lists.macserve.net/mailman/listinfo/valentina



More information about the Valentina mailing list