12-01-2008 06:38 PM
Hello to all.
Solved! Go to Solution.
12-02-2008 02:06 AM
With reference to the slow execution, this may be due to moving a debug executable on the target machine instead of a release one when you copied the whole project directory on that machine. Additional files to be installed by the setup program can be added to the "Files" tab in Edit distribution panel: these files will be copied in the destination directory with the executable and other needed files (UIRs and so on).
I suggest you try building again the release executable, edit the distribution kit adding the necessary .LWL files and rebuild it, next clean up all files on the target machine and perform a new fresh installation of the application: hopefully it will work as expected.
12-02-2008 03:27 AM - edited 12-02-2008 03:34 AM
Hello Robert.
First of all i would like to thank you for the fast answer u gave.
So i made like u said above
First i checked the release setting then i built a new release executable.
After that i made distribution kit .
Here the tab windows with settings and files added into installation kit.
http://img518.imageshack.us/img518/7175/General.jpg
http://img518.imageshack.us/img518/7023/Files.jpg
Into file tab i put the executable file into installatio and the 6 .lwl files . But i was thinking what the Demo.dll dependency is used for or what it should be used for?
http://img518.imageshack.us/img518/5465/Advanced.jpg
http://img518.imageshack.us/img518/5061/Drivers.jpg
http://img518.imageshack.us/img518/789/Registry.jpg
I built the distribution as u can see Here
So i put the installation folder into "target machine" and started the installation process.
This is the installation result:
I started the . exe file and program is stuck , i can see the process on start bar but nothing showing up. 😞
It seems that is unable to load "localized thinghy" and stuck at this point of program : (its my opinion ofc)
switch (Lang)
{
case 1:
LoadLocalizedPanel (0, "MainPanel.uir", MainPanel, "italiano.lwl", &Pannello);
break;
case 2:
LoadLocalizedPanel (0, "MainPanel.uir", MainPanel, "inglese.lwl", &Pannello);
break;
}
Maybe i left some depency or declaration into buid or something like that into project?
This is what should happen : Working way
Thank you for any further advice .
Ivan
12-02-2008 05:07 AM
I don't understand what's happening in your application: I have used some times the localization tool without effects on application behaviour. Nevertheless, I never embed project uirs into the executable, like you are doing: maybe you could try to create an executable without embedding the uir and create the installer for this one (UIR files should be automatically added to the distribution, but you should check it), next install it on the target machine and verify the results. Prior to this, you could test actual application (with uir embedded and localization) on your development machine to check wether it runs correctly or not.
I hope that this suggestion helps you in solving the problem.
12-02-2008 08:14 AM
Roberto, your advice aligns well with my impression that there was some issue with embedding UIRs when also using localization. Unfortunately, I can't find any reference to it. Perhaps someone with a better memory (or search skills) can help out here.
--Ian
12-02-2008 08:36 AM - edited 12-02-2008 08:38 AM
Hello .
Thanks again for your reply.
I made a build unchecking "Embed UIR's" and seems working 🙂 on "target computer".
I'll test some more to be sure about and i'll put some feedback soon 🙂
Ivan
12-05-2008 03:32 AM
Hello , all is working very nice now !
Thank you for the tips!
Ivan
12-07-2008 06:11 PM
Dear NI folks,
Is this a known/unknown bug? Do we need to officially report it or request a feature? Is it documented somewhere beyond this thread?
Thanks,
Ian
12-09-2008 08:50 AM