LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Installer created by App Builder installs to wrong dir

I am creating an installer for my Labview 6.1 VI with Application Builder 6.1 on a Window 2000 Platform. The build process works fine. However, when the installer run it has a default directory of "C:\Program Files Directory". I would expect the default to be "C:\Program Files" as this is what is on every windows machine. I have tried to change the default installation directory to Root...and others and they all seem to point the installer to the incorrect directories on my target machine. Is there a way to fix the problem or maybe at something to the SETUP.INI file that would change the default directory shown by the installer? I realize that the end-customer/user has the ability to Browse for a new location b
ut it seems that the installer should at least give a default location that is valid. Any assistance would be appreciated.
0 Kudos
Message 1 of 3
(2,570 Views)
I am not 100% sure, but I think that there is a registry key called Program Files Directory. The value of this key is usually C:\Program Files, but it could differ with a custom windows installation. In App Builder, when you see Program Files Directory in the selection for default directory, the App Builder looks up the registry key value and uses this directory. If you develop the app on one computer and install on another, and both computers have different values for Program Files Directory, you will see the installation go into a different directory. Did you run the installer to verify that it goes into the wrong directory? I've used App Builder in both LV 6.1 and LV 7.0 and have not had this problem.
- tbob

Inventor of the WORM Global
0 Kudos
Message 2 of 3
(2,570 Views)
I have run the installer on two computers and it does in fact try to install into "C:\Program Files Directory". I will take a look in the registry and see if I can find anything.
0 Kudos
Message 3 of 3
(2,570 Views)