LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to add some related file to install

in my code,i will use some *doc,and *.xls files, now i will install it. my question is when you setup this code in other computer, the path have changed,so i will not open *.doc,and some picture. how to resolve this problem. my classmate told me you add them when you install ,but i did fail and tired to found the problem.can anyone tell me ???
0 Kudos
Message 1 of 10
(4,867 Views)
Add all the files as support file at building installer, Yes . the path would be changed before built a installer. but you can make a experiment(a sample) to see the changed file path to build an installer. and shape them.
________________________________________________________


Try to make everything Automatic
0 Kudos
Message 2 of 10
(4,860 Views)
thank you Yukee
I try it twice,but still fail.  😞
0 Kudos
Message 3 of 10
(4,852 Views)
Can you enclose your simple sample ? My LV's edition is 7.1
________________________________________________________


Try to make everything Automatic
0 Kudos
Message 4 of 10
(4,837 Views)
Yukee
thank you for reply again.
here is my code. in the block diagram is my question.
thank you again~
0 Kudos
Message 5 of 10
(4,834 Views)

Hi,

       See enclosed, you must select a support file path, and add support file in it. try it Smiley Wink 

________________________________________________________


Try to make everything Automatic
0 Kudos
Message 6 of 10
(4,831 Views)
See Add support file
________________________________________________________


Try to make everything Automatic
0 Kudos
Message 7 of 10
(4,830 Views)

Hi,

I think after you do the above two steps you can as well go to "installer settings" and then go to "files"  then say "Add file" make sure that the "source path file" points exactly to the location of that particular file, so that when ever you install, you can dump that file as well.

Try it!!!

Reg

Sreedhar.

0 Kudos
Message 8 of 10
(4,823 Views)
thank you Yukee
I follow the two step to intsall,and I found there add a 'data' file ecxept 'install' file. and the 'data' conclude the  *.doc
I copy this two file to another computer and setup my code and run it.but I still can not open the *.doc. is it the path of 'data' wrong?
 
0 Kudos
Message 9 of 10
(4,814 Views)

Hi,

You have to build a path programatically using the function "current vi path" and make sure you install your word document in the same folder as that of your vi or the vi library. For this installation to happen during the program, you have follow the step that I have told in my previous post.

Try it out.

cheers.

Message 10 of 10
(4,810 Views)