Kinook Software Forum

Go Back   Kinook Software Forum > Search Forums

Showing results 1 to 25 of 200
Search took 0.03 seconds.
Search: Posts Made By: teognost
Forum: [VBP] Third Party Tools 03-10-2023, 04:56 AM
Replies: 10
Views: 3,404
Posted By teognost
This is strange ,do not understand why you can...

This is strange ,do not understand why you can run it ok but when I run it I get:
3/10/2023 11:52:52 AM: Building project step 2 - Run Test PowerShell script-with parameters......
Forum: [VBP] Third Party Tools 03-09-2023, 01:40 PM
Replies: 10
Views: 3,404
Posted By teognost
I am using VBP 9.7 but I think it does not make...

I am using VBP 9.7 but I think it does not make any difference.
Did you try to copy the Test.ps1 attached in a message above to the VBP folder(%PROJDIR%)?
I get the error when running first...
Forum: [VBP] Third Party Tools 03-08-2023, 08:12 AM
Replies: 10
Views: 3,404
Posted By teognost
Tried that,same error: ...

Tried that,same error:
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -nologo -noninteractive -executionpolicy Unrestricted "& 'C:\Program Files\VisBuildPro9\Test.ps1' Test1...
Forum: [VBP] Third Party Tools 03-07-2023, 05:33 PM
Replies: 10
Views: 3,404
Posted By teognost
I have one more issue,if param MyParam2 contains...

I have one more issue,if param MyParam2 contains { I got an error at step Run Test PowerShell script-with parameters :

3/8/2023 12:26:39 AM: Building project step 2 - Run Test PowerShell...
Forum: [VBP] Third Party Tools 03-07-2023, 04:24 AM
Replies: 10
Views: 3,404
Posted By teognost
It works,thanks a lot!

It works,thanks a lot!
Forum: [VBP] Third Party Tools 03-06-2023, 02:40 PM
Replies: 10
Views: 3,404
Posted By teognost
Question Run Powershell script with parameters containing special chars

Hi
I have a Powershell step launching Test.ps1 ,in Input section I have 2 params which are 2 macros %MyParam1% and %MyParam2% (see the attach).
The problem is MyParam2 contains special chars [% so...
Forum: [VBP] Third Party Tools 07-01-2022, 05:00 PM
Replies: 1
Views: 4,426
Posted By teognost
7-Zip step does not extract empty folder

Hi
I have a zip file containing a lot of files and folders but one folder is empty.
When I extract the content of zip using 7zip step in Visual Build the empty folder is not extracted.
When I...
Forum: [VBP] General Discussion 06-02-2022, 02:54 PM
Replies: 1
Views: 3,425
Posted By teognost
Move folder

Hi
I have a folder C:\MyPath\A which contains:
1.txt
2.txt
subfolder B with file 3.txt
I want to have a step which moves folder C:\MyPath\A to C:\Backup so I will have C:\Backup\A containing :...
Forum: [VBP] General Discussion 03-04-2022, 04:04 PM
Replies: 1
Views: 3,270
Posted By teognost
Copy files step - include just the root files

Hi
If I have a copy files step where copy subdirectories recursive is checkes and I have an include mask which for some files I want to be applied recursively but for others just the root files to...
Forum: [VBP] General Discussion 02-08-2022, 02:17 PM
Replies: 10
Views: 24,584
Posted By teognost
Thanks.I found another way-I set in the Value...

Thanks.I found another way-I set in the Value field of Set Macro:
[vbld_EscapeString("%BUILD_URL%")]
Forum: [VBP] General Discussion 02-08-2022, 03:41 AM
Replies: 10
Views: 24,584
Posted By teognost
Thanks!And if in the Value field there is the...

Thanks!And if in the Value field there is the macro I do not want expanded and another macro which I want to have it expanded?
Forum: [VBP] General Discussion 02-07-2022, 06:24 PM
Replies: 10
Views: 24,584
Posted By teognost
Copy the escaped macro value to another project macro

Is there any way to copy the escaped macro value BUILD_URL to another project macro BUILD_URL3(not a temp macro)?
In the sample attached I tried to do it with a Set macro step but it did not work...
Forum: [VBP] General Discussion 11-26-2021, 05:45 AM
Replies: 8
Views: 5,367
Posted By teognost
Thanks,this change in log level to detailed...

Thanks,this change in log level to detailed solved the issue
Forum: [VBP] General Discussion 11-24-2021, 02:08 PM
Replies: 8
Views: 5,367
Posted By teognost
I found it: ...

I found it:
https://www.kinook.com/Forum/showthread.php?t=3044
I will send the info required here
Forum: [VBP] General Discussion 11-24-2021, 02:07 PM
Replies: 8
Views: 5,367
Posted By teognost
I ran it and the echo did not work: :\Program...

I ran it and the echo did not work:
:\Program Files\VisBuildPro9>"c:\Program Files\VisBuildPro9\VisBuildCmd.exe" "c:\Program Files\VisBuildPro9\Test.bld"

VisBuildCmd (x64), Version 9.7.0.1
...
Forum: [VBP] General Discussion 11-24-2021, 11:34 AM
Replies: 8
Views: 5,367
Posted By teognost
I tried my test project on other machine...

I tried my test project on other machine -wscript.echo worked ,i had the test message in the log.Any idea why on that specific machine the command does not work?Could be some Visual Build setting...
Forum: [VBP] General Discussion 11-24-2021, 09:46 AM
Replies: 8
Views: 5,367
Posted By teognost
I cannot open\run the test project as I have...

I cannot open\run the test project as I have VisBuildCmd (x64), Version 9.7.0.1 and yours is a newer version.
Would be possible to give me the same test project but version 9.7?
Forum: [VBP] General Discussion 11-23-2021, 12:24 PM
Replies: 8
Views: 5,367
Posted By teognost
Exclamation Wscript.Echo not working

Hi
I have a Run Script step (VBScript) inside my Visual Build project which contains:
Wscript.Echo "Test message"
When i start it in Visual Build the message is shown in the log.
But when I run...
Forum: [VBP] General Discussion 10-22-2020, 04:05 PM
Replies: 4
Views: 9,115
Posted By teognost
Thanks,i tried with the version change and it...

Thanks,i tried with the version change and it worked.
I compared my step with the one from sample,they both looked the same but yours has the correct behaviour failing if source folder does not...
Forum: [VBP] General Discussion 10-22-2020, 07:31 AM
Replies: 4
Views: 9,115
Posted By teognost
I am using VBP 9.7 and cannot open your sample.I...

I am using VBP 9.7 and cannot open your sample.I installed VBP 10.3 trial version but i get this message "The evaluation version is limited to 50 steps." so cannot test it.Could you please send me...
Forum: [VBP] General Discussion 10-20-2020, 10:35 AM
Replies: 4
Views: 9,115
Posted By teognost
Enhanced Zip Files step not failing

I have an Enhanced zip files step and if there is a problem-for example Source folder not found-the step is not failing (it appears successful):

\\VM1\Folder1\ -> \\VM2\Backup\MyFile.zip
The file...
Forum: [VBP] Third Party Tools 09-11-2020, 04:17 AM
Replies: 5
Views: 8,531
Posted By teognost
Ok,in that case I will use Run Program step...

Ok,in that case I will use Run Program step instead of Powershell step.Thanks!
Forum: [VBP] Third Party Tools 09-10-2020, 05:04 AM
Replies: 5
Views: 8,531
Posted By teognost
I downloaded free version of VBP10 and was able...

I downloaded free version of VBP10 and was able to open the sample attached.Powershell script is developed by other person ,I should not change it,Would be great if you have a sample showing how to...
Forum: [VBP] Third Party Tools 09-10-2020, 04:43 AM
Replies: 5
Views: 8,531
Posted By teognost
Thanks a lot!Could you please attach the bld file...

Thanks a lot!Could you please attach the bld file for version 9?I tried to open it bit it says it was created in a newer version so it cannot be open.
Forum: [VBP] Third Party Tools 09-09-2020, 02:29 PM
Replies: 5
Views: 8,531
Posted By teognost
Launch Powershell script with specific parameters from Visual Build

Hello
I need to launch Powershell script with specific parameters from Visual Build.In Input section of the powershell step if i write the parameters as values (File1,File2,File3) everything works...
Showing results 1 to 25 of 200

 

All times are GMT -5. The time now is 02:37 PM.


Copyright © 1999-2023 Kinook Software, Inc.