‎07-14-2009 07:32 AM
Hello all,
I am building an EXE and installer for an application in 7.X. Both the built EXE and the installed version run fine. Well, with one small exception. The when the installed EXE runs, for a brief second you can catch a glipse of the searching/loading VI message box before the program is done loading. So eventually it does run, it just does not look very... professional. The problem is apparent on both my development machine as well as a target machine with no LV development software. Also, I have duplicated this problem in both 7.0 and 7.1.1.
Again it is only the installed EXE that shows this message box. The direct exe runs fine. Both program directories are identical. All LLBs and support files are available to both.
Glen
‎07-14-2009 08:46 AM - edited ‎07-14-2009 08:48 AM
This message appears when the apllication takes more than few seconds to load and show its front panel. That signals the user that indeed the application is doing something.
To prevent this, add another top Level VI in your application, a splash screen that will display a message while the main application loads itself.
LabVIEW, C'est LabVIEW
‎07-14-2009 08:49 AM
‎07-14-2009 09:15 AM
Does the splash load the main VI or is it a separate Top Level VI?
It must load,open its FP and run quickly, independently of the main hierarchy.
LabVIEW, C'est LabVIEW
‎07-14-2009 10:01 AM
All of the modules are lauched dynamically.
I think the issue is somewhere in the installation building process. Again, the directly build EXE works fine. Only the exe that comes out of the installer has this issue.
‎07-14-2009 10:25 AM
I have had the same problem in LabVIEW 7.0 with a big application and this was solved by creating a separate splash screen launcher executable program that runs the main program executable using the ‘System Exec.vi’ and closes when it detects that the main panel window is open (there are various ways of doing this). This might seem a bit complicated but this method is useful if you want to automatically update the main software from the launcher etc. I’d be interested if there was a simpler way of doing this.
‎07-14-2009 10:31 AM