From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW Idea Exchange

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

Add Public Documents (i.e. All Users Documents) to list of available destinations in Installers

Status: New

Pretty simple idea.  When you are creating installers, you are allowed to install files in many different locations.  Including lots of system locations.

 

But for some reason, Public Documents is not one of these destinations.  It should be.

 

Because its not in the list, I need to go through some annoying workarounds which I don't totally trust.

 

 Untitled.png

http://www.medicollector.com
2 Comments
Bob_Preis
NI Employee (retired)

Public Documents is an environment variable of the OS, not a system folder property: http://msdn.microsoft.com/en-us/library/aa370905(v=vs.85).aspx#system_folder_properties

 

At install time, the MSI uses system folder properties, some of which happen to map to environment variables, but not all environment variables are mapped by system folder properties.

 

More on the Public Documents environment variable:

 

CSIDL_COMMON_DOCUMENTS

The file-system directory that contains documents that are common to all users. A typical path in Windows XP is C:\Documents and Settings\All Users\Documents. A typical path in Windows Vista or Windows 7 is C:\Users\Public\Documents.

 

http://technet.microsoft.com/en-us/library/dd560744(v=ws.10).aspx

StephenB
Active Participant
This is car 460388
Stephen B