LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

having problem creating installer

Solved!
Go to solution

EXE.png

i have created the executable from my project and now creating installer but my VIs that are in project and also in execuatiable are not showing in installer as shown in figure ..please help me

0 Kudos
Message 1 of 11
(3,263 Views)

You seem unclear.  You are installing an executable or are you trying to install the source distribution? Or both?


"Should be" isn't "Is" -Jay
0 Kudos
Message 2 of 11
(3,249 Views)

thanks for your reply Sir, i just want to create installer exe so that i can install and run without labview software anywhere. up till now i learnt for creating installer firstly you have to create executable and from executable you can create installer. i have created executable and it work fine, but now creating installer is difficult for me as it can be seen in picture when i add my executable to the program file it doest have all the VI that are available in my executable and that's why if i create my installer it doest work without labveiw..

0 Kudos
Message 3 of 11
(3,223 Views)

After building the executable, did you leave it in the build location or move it elsewhere before building the installer?

0 Kudos
Message 4 of 11
(3,214 Views)
Solution
Accepted by topic author shami_jadoon

@shami_jadoon wrote:

thanks for your reply Sir, i just want to create installer exe so that i can install and run without labview software anywhere. up till now i learnt for creating installer firstly you have to create executable and from executable you can create installer. i have created executable and it work fine, but now creating installer is difficult for me as it can be seen in picture when i add my executable to the program file it doest have all the VI that are available in my executable and that's why if i create my installer it doest work without labveiw..


I think you are failing to understand a few things:

  1. The executable is "all your VIs" crammed into one file that can be executed via the (correct) LabVIEW runtime.  No need to install the VIs.
  2. While it's true that you won't need to install LabVIEW to run a LabVIEW executable, you still need to install the LabVIEW runtime.  (If you think this is odd, it's not.  For example, you need .NET runtime to execute anything .NET.  It may not seem that way, but that's only because the .NET runtime is often already installed on a computer, so most installers skip that step.)

So add your executable to the installer build, then build it.  Install it on your computer and run the executable.  Install it on a computer that has no NI software on it and run the executable.  If it works for all those scenarios, pat yourself on the back, knock back a few beers and call it a day.  🙂

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
Message 5 of 11
(3,212 Views)

yes sir it is on its own place, because if i remove it from its place than it did not run at its place. in picture you can see project is coming above from my computer although in videos on you tube my computer is above of all.

0 Kudos
Message 6 of 11
(3,200 Views)

hahaa yes sir i got it i got it... nice info 😄 
 when i creat my installer and  install it, it again need labview and search for things i don't why..

0 Kudos
Message 7 of 11
(3,199 Views)

Yes, there is clearly something wrong because of the <error creating preview> message in the middle pane. Unfortunately you don't give sufficient information for us to troubleshoot the problem.

0 Kudos
Message 8 of 11
(3,192 Views)

thanks alot for your time ... i dont know how but it is done now 😄 i copied the project and created it in another PC its now working dont how but its great for me now ,,, b happy you all ... 🙂 

0 Kudos
Message 9 of 11
(3,170 Views)

@shami_jadoon wrote:

thanks alot for your time ... i dont know how but it is done now 😄 i copied the project and created it in another PC its now working dont how but its great for me now ,,, b happy you all ... 🙂 




The "Other PC" must have had a dependency (dll, .NET object, Toolkit Driver, CLR, etc...) that your PC did not have handy.  
Documenting Dependencies is tough! But you "Shall do it!" 

"Should be" isn't "Is" -Jay
0 Kudos
Message 10 of 11
(3,122 Views)