LabVIEW Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
manu.NET

Build specification : Be able to add files to destination folder only if they are newer ...

Status: Declined

Any idea that has received less than 2 kudos within 2 years after posting will be automatically declined. 

Hello, 

 

It would be nice to be able to add files in an executable build specification, only if the files are newer than existing files of the target directory.

 

What i would like to do is ...

 

  • To add default configuration files in an executable specification
  • But, if the files have been modified in the target directory, the latest file version should be kept and not be replaced !

 

So, it would be nice to add a checkbox in the executable build specification source file setting, in order to  :

 

  • Copy only if newer ?

CopyOnlyIfNewer.png

 

 

Thanks a lot.

 

Manu.

Manu.net
3 Comments
fabric
Active Participant

You can do what you need using a post-build action VI. That will give you much more flexibility than another cumbersome source file setting. 

RnDMonkey
Active Participant

I second fabric here. The post-build action VI is very powerful. So far, I've got it handling updating a manifest of program versions and update URLs, along with automating code signing and self-extracting installer creation. This seems like a good use case for a post-build action.

____
Ryan R.
R&D
Darren
Proven Zealot
Status changed to: Declined

Any idea that has received less than 2 kudos within 2 years after posting will be automatically declined.