From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LV2017 and App Builder - Installer woes

Solved!
Go to solution

I have a simple L2017 application. Just uses VISA 17 as an extra add on. Built an EXE . Works fine. Wanted to create a Installer and follwed a white paper on this and it got created. I managed to add the LV2017RT and VISA17 as part of it. 

 

Now comes the climax. I tried to copy the installer folder on to a pendrive and i was slapped with numeorus error message saying it cannot copy a file less its properties. What am i doing wrong and if i cannot copy the Installer to a pen drive how do i distribute it ? Cloud ?? One sample error message  is as below :

 

 

NI_Installer_Error.PNG

Raghunathan
LabVIEW to Automate Hydraulic Test rigs.
0 Kudos
Message 1 of 8
(2,883 Views)

Does it work if you "skip" and "do this for all items"? I think it should.

 

This seems to be a windows problem and depends on the way the drive is formatted (example).

0 Kudos
Message 2 of 8
(2,878 Views)

Why are you copying the project to the USB drive?  I thought you said you were copying the installer.

 

How are you copying this?  The dialog box says copy this file without its properties which reads to me like some sort of Windows dialog box and properties being things like modified dates, read-only flags, archive flags.  But I've never seen a dialog like that before.

 

That said, I don't know why you'd get the error copying the .lvproj file.    The installer folder/files wouldn't have the LabVIEW project file in it.

0 Kudos
Message 3 of 8
(2,876 Views)

Hello MogaRaghu,

 

Based on the picture, it looks like you are trying to copy over the .lvproj file instead of the installer that was created during the build process. If you only want to copy over the installer, you can right click the installer build under "Build Specifications" within your project and select "Explore". That should take you to the actual installer itself that was created. You should be able to copy that folder and place it somewhere else without LabVIEW complaining. 

 

Let me know if I am missing something. Additional details on your build properties/build process would be helpful as well!

 

Thanks!

0 Kudos
Message 4 of 8
(2,874 Views)

RF is right.  Are you sure that you are copying only the installer build output?  Did you select the exe build or the source as the installers thing to install? Let's see a screenshot of the installers build preview.


"Should be" isn't "Is" -Jay
0 Kudos
Message 5 of 8
(2,866 Views)

Thanks to all those who responded. Just now i tried to copy the Installer folder to my desktop and it was fine. But i tried the same with a pendrive and got the following error and then when i chose to skip , the copy succeeded. But i dont know if it will work. I am also attaching the screen shots of the Installer configuration pages ( only those i changed ) :

 

Prop_Dialog.PNGSnapShot_01.PNGSnapShot_02.PNGSnapShot_03.PNGSnapShot_04.PNGSnapShot_05.PNG

Raghunathan
LabVIEW to Automate Hydraulic Test rigs.
0 Kudos
Message 6 of 8
(2,859 Views)
Solution
Accepted by topic author MogaRaghu

This error message can occur for any file type if the formatting of the destination drive (e.g. fat32) supports fewer metadata types than the source drive (e.g.ntfs). This metadata is irrelevant here, so you can safely skip these warnings and nothing will break.

 

Of course copying the lvproj file is not part of the installer, so I am assuming that this is just a random example dialog. (You might co-distribute the source code, in which case this file should be included, of course).

 

To avoid the dialogs, format the pen drive as ntfs.

Message 7 of 8
(2,856 Views)

@altenbach wrote:

This error message can occur for any file type if the formatting of the destination drive (e.g. fat32) supports fewer metadata types than the source drive (e.g.ntfs). This metadata is irrelevant here, so you can safely skip these warnings and nothing will break.

 

Of course copying the lvproj file is not part of the installer, so I am assuming that this is just a random example dialog. (You might co-distribute the source code, in which case this file should be included, of course).

 

To avoid the dialogs, format the pen drive as ntfs.


Yes ... the Pendrive was indeed formatted for FAT32. I reformatted it to NTFS and then the transfer happened like magic with no complaints. And more than that ithappened real fast.

 

Thanks 

Raghunathan
LabVIEW to Automate Hydraulic Test rigs.
0 Kudos
Message 8 of 8
(2,817 Views)