LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

run exe file without installing labview

Solved!
Go to solution
Solution
Accepted by topic author gwan

Hi all,

               Before making the exe file make sure whatever component you want to run the exe should be included in the exe file. There is some steps to follow to make the exe file as mentioned below,

 

1st do this

  • Open the project window.
  • Right click on the my computer.
  • Add -> folder (Snapshot).
  • Go to C -> Program files-> National instruments-> labVIEW 2011-> vi.lib-> Utility->open LVClass -> press current folder  
  • Repeat the same procedure for NIReport.lib.

 

2nd do this

create these files follow the instruction shown below.

  • Right click on the builds specification.
  • Click on the New then Application (EXE).
  • Before creating installer ensure the following that in the destination directory we need to mention two paths namely for .exe file & for support directory.
  • Support directory having the path of database file.
  • In all the VIs the path of database is same as installer file.
  • So here both path should be same as shown below
  • Enter the required input & create the .exe file.

Hope this will help.

Thanks

--------------------------------------------------------------------------------------------------------
Kudos are always welcome if you got solution to some extent.

I need my difficulties because they are necessary to enjoy my success.
--Ranjeet
0 Kudos
Message 11 of 18
(3,265 Views)

Ranjeet,

 

maybe you could enlighten us why the OP should include some toolkits and database functions into the EXE. Do you have project specific information we do not have at hand?

Why exactly should the OP include vi.lib components explicitly into his project if that part is not used in the build script later on?

 

It seems to me, that this introduces additional, not required complexity to the project and the build script.

 

Norbert

 

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
Message 12 of 18
(3,259 Views)

Norbert_B wrote:

It seems to me, that this introduces additional, not required complexity to the project and the build script. 


Well, the clue is in his signature: "I need my difficulties because they are necessary to enjoy my success."

 


However, I think there was a bug in some older LabVIEW versions  (2010?) where e.g. parts of the report generation failed to be included automatically. So there could be a kernel of truth in that overkill suggestion. 😉

0 Kudos
Message 13 of 18
(3,232 Views)

hi Ranjeet_Singh, after i go in vi.lib,what is the current folder do you mean?

0 Kudos
Message 14 of 18
(3,213 Views)
As already mentioned, that is not necessary. In most cases, you only have to select the top level VI. Follow the directioms in the LabVIEW help for the Application Builder.
0 Kudos
Message 15 of 18
(3,205 Views)

thanks..i can successfully run my exe file on another computer.. 

0 Kudos
Message 16 of 18
(3,197 Views)

Hi 

                                 3. I mentioned all this because thease all are requied in my projects. I follow these steps to create .exe file. so i told as it is. If you dont want then u can remove the redundant part.Smiley Very Happy 

--------------------------------------------------------------------------------------------------------
Kudos are always welcome if you got solution to some extent.

I need my difficulties because they are necessary to enjoy my success.
--Ranjeet
0 Kudos
Message 17 of 18
(3,185 Views)

hi gwan,

                          when you browse the folder in the left below corner there is ok, current folder & cancel option.

Hope this snapshot  attached below will help you.

--------------------------------------------------------------------------------------------------------
Kudos are always welcome if you got solution to some extent.

I need my difficulties because they are necessary to enjoy my success.
--Ranjeet
0 Kudos
Message 18 of 18
(3,184 Views)