LabVIEW Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
GregFreeman

Install Options based on OS

Status: Declined

Any idea that has received less than 4 kudos within 4 years after posting will be automatically declined.

The Windows 7 file permissions in the Program Files directory are causing a lot of headaches, especially with *.ini files of existing applications. It would be nice if LabVIEW had an option where install file paths of these files could be set based on the system they are going on. For instance, if the installer is being run on Windows XP, the installer will know to put the ini files in <Program Files>\<App Name>\Config but on Windows 7 install the files to <User>\Local Settings\... or whatever we choose.

 

Right now it seems our only option is to build 2 installers and have a batch file decide which to run. Unless, of course, someone can tell me otherwise.

2 Comments
Bob_Preis
NI Employee (retired)

The destination folders used by Installer Builder are, in some cases, system dependent as they are based on Windows System Folder Properties (http://msdn.microsoft.com/en-us/library/aa370905(VS.85).aspx#system_folder_properties), unless it is a "LabVIEW" folder.

 

But otherwise, you're right, there is not a way to dynamically redirect source files to different folders based on the OS beyond what Windows System Folder Properties already do.

Darren
Proven Zealot
Status changed to: Declined

Any idea that has received less than 4 kudos within 4 years after posting will be automatically declined.