07-04-2013 09:47 AM
I have windows 8 pro, labview 2009 SP1 (but also 2012 available)
I have created an executable file, and an installer that install my program into:
C:\Program files(x86)\<CompanyName>\<ProductName>\
and also copies some files and folders into:
C:\Users\documents\<CompanyName>\<ProductName>\
then creates a couple of shortcuts to desktop and startmenu.
I have UAC enabled, user is administrator.
1) When I double click the shortcut it triggers the UAC. Why?? Because it reads the INI file?
I save another ini file into User folder, because I save some settings into it (like "language=ENG" for example).
If I save to the INI located in program files, a standard user would receive an error.
I don't want to run my software with "admin priviledge", I just want a smooth normal software.
Of course I need admin prividlege to install the software, but after that, the software should run normally, like every other software.
Office 2013 doesn't ask "admin" noe triggers UAC even if it installed into programs files
I find extremly dangerous the labview 2012 flag of "grant admin permission" in the 2012 install package. Some people at NI should be fire for that choice.
2) how can I get the rid of program files x86??? How can I tell that my program is a 64 bit? I want to compile 64 bit, so that windows installer recognize it and defaults installation user folder to "program files", and not the x86 version of it.
3) I can't avoid the creation of the INI file in the folder where exe is located. I use another INI file, but how can I tell labview don't create the default INI file??!?!?
thanks