LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Labview builder installer shows "X:\ProgramFilesFolder" instead of the system directory.

I was able to generate good installer files few weeks ago from labview builder. Since few weeks, when a generate a installer files, when a start the installation on PCs, the default installation directory is "D:\ProgramFilesFolder\..." instead of "C:\program files\...". All my build files that was working correctly in past are now with this problem.

I had uninstalled the builder and reinstall it after. No changes.

I there any workaround to fix this.
0 Kudos
Message 1 of 8
(3,478 Views)
Just a wild guess:

Does "D:\ProgramFilesFolder\..." exist on your machine. Could it be set in the registry as the default install location for all programs?

If you open the old *.bld file with the application builder, what does it say about target location?
0 Kudos
Message 2 of 8
(3,478 Views)
No it doesn't, I tried to install my bad installation files on two different computers, both have D:\ProgramFilesFolder. I scan through my registry, nothing about "ProgramFilesFolder".

Old and new .bld say "Program Files Directory".

My old installation files work on both computer. The problem seems to be on the machine that creates these installation files.

I tried to build with the same .bld, on a different computer and it works.
0 Kudos
Message 3 of 8
(3,478 Views)
Hi Germain,

You'll want to verify that your Windows default install directory is set correctly in the registry. Here are the steps to follow:

0.
1. Go to Start >> Run...
2. Type "regedit" in the Open field
3. Navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion
4. Back up this registry branch first so you can undo any unwanted changes in the future! Go to File >> Export.... Type in a name to save the .reg file as and choose Selected branch for the Export Range.
5. Now, to change the default install directory, you'll notice on the right-hand side window, there will be a string called ProgramFilesDir. Modify this value to the desired path.

You're set! Best of luck. 😃

Kileen C
.
Applications Engineer
National Instruments
0 Kudos
Message 4 of 8
(3,478 Views)
This is set correctly, the bug is in my installation files. The builder is doing something wrong. Because, if I take my old installation file, the directory is correct. Only the installation files created on my computer since two weeks are created with this bug.

And it is taking directory (d:\programfilesfolder) on each machines I tried.

It looks related to the builder for me. More, the .bld rebuild on an another machine installed with labview and builder is build correctly.

My sources are not in cause. The target machine is not in cause. The builder is badly generating the "programfilesfolder".

Thanks!
Germain Hebert
Software Designer
ABB
0 Kudos
Message 5 of 8
(3,478 Views)
It is possible that "leftover" files in the temp directory could be tripping it up. Could you try the following on the affected machine?

- exit all applications (NI and otherwise)
- go to the temp directory (you can just type %temp% in Windows Explorer or My Computer to get to it)
- delete all of the files and directories in the temp directory
- reboot the machine, restart LabView, and retry the build

Please let me know if this fixes your problem...

Regards,
- WesW / NI
0 Kudos
Message 6 of 8
(3,478 Views)
Hi Germain,

I did a little more research into this issue, and it looks like we have had a previous reported case of this happening with the Application Builder installer script. However, we have had some difficulty reproducing this issue here and would greatly appreciate it any help that you could provide. You can either email or phone NI at http://www.ni.com/support and we can provide you with a temporary 30-day service contract if you do not have an existing contract with us.

Thanks again for your understanding regarding this issue and we greatly appreciate any help you can provide us.

Kileen C.
Applications Engineer
National Instruments
0 Kudos
Message 7 of 8
(3,478 Views)
It doesn't.

Thanks!
Germain
0 Kudos
Message 8 of 8
(3,478 Views)