07-13-2005 03:18 PM
07-13-2005 04:34 PM
07-14-2005 12:57 AM
My selfmade inifile has the correct format as it starts with:
[xxxxxxx]
.
.
.
Everything works when my inifile is copied manually to the installation folder overwriting over the one created by the application builder. No problems there. I will try to add my selfmade infile to "support files" instead of "Installation Destination Settings" and see if that helps.
/R
07-15-2005 08:32 AM
Hello!
Here you have some more information that you might find helpful when it comes to *.ini files and executables created in LabVIEW:
Setting LabVIEW Preferences For a Windows Executable
http://digital.ni.com/public.nsf/websearch/65f76f247012df68862562c70073be06?OpenDocument
How Do I Prevent Automatic Creation of an INI File in Windows Start Directory when I Run a LabVIEW Executable from the Same Directory?
http://digital.ni.com/public.nsf/websearch/40E442486D81582E86256D16004D5D07?OpenDocument
Will My Application's .ini File Be Overwritten When I Run My LabVIEW Stand Alone Executable?
http://digital.ni.com/public.nsf/websearch/680ADAAD4A2E97F586256DC80074B471?OpenDocument
Regards,
Jimmie A.
Applications Engineer, National Instruments
07-15-2005 11:19 AM
07-15-2005 11:36 AM
When you build an executable, under Source Files Tab,
Press the Add Support File and locate the ini file.
The installer created will have the information about the support file. When you setup the application, the ini file will be automatically created in the support file directory. I usually set the support file directory to be the same as that of the executable.
If this is not working for you, you must be doing something wrong.
07-15-2005 05:37 PM