LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Embedd an EXE, img and json file

Solved!
Go to solution

Hi All, 

 

I am trying to embed an executable, image file and a json file. The idea is to create an l2u file which can be used as an installer for updating software. The l2u file will be run on a computer that does not contain any reference to my project. The software updater will use this l2u file and extracts the embedded image file and uploads it onto an NI 9039 controller. I want to also put the JSON file onto the controller by using FTP. When all of this is complete, I want the executable to run and install an up-to-date version of the software on the computer.

 

My main problem is creating this l2u file with all the required files embedded. Does anyone have any ideas on how I can embed three files together? All suggestions will be appreciated. 

 

Thanks

0 Kudos
Message 1 of 5
(1,965 Views)

Since you posted in the LabVIEW forums, please explain how it relates to it.

0 Kudos
Message 2 of 5
(1,930 Views)

I am trying to embed the three files using LabVIEW. 

0 Kudos
Message 3 of 5
(1,926 Views)
Solution
Accepted by topic author StruggleStreet

@StruggleStreet wrote:

I am trying to embed the three files using LabVIEW. 


Well you will need to find out how your I2U file format needs to be created and do the same in LabVIEW. It seems an obscure enough format that it is not widely known on the internet. The only remotely related content I seem to be able to find would be this: https://github.com/KamalAbdali/InpageToUnicode

 

Why you want to standardize on such an obscure format for a packaging file is far beyond me however. I would put everything into a ZIP file. LabVIEW even has a ZIP functions palette that lets you extract files from a ZIP file even on a cRIO. 

 

 

Rolf Kalbermatter  My Blog
DEMO, Electronic and Mechanical Support department, room 36.LB00.390
0 Kudos
Message 4 of 5
(1,887 Views)

Thanks Rolf, I appreciate your help. The link looks good. 

 

I agree it is obscure, but these were my project requirements so had no other choice. 

0 Kudos
Message 5 of 5
(1,873 Views)