cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
Pilgrim

"All Users" home and "Application Data" folder paths in Windows

Hi All.

I've just installed my InstallAnywhere 2008 Enterprise software package, and I am making some experience with it.

I see that there are several InstallAnywhere variables which are mapped to specific folders on each Operating System. For instance, the "All Users Desktop" folder corresponds to the InstallAnywhere variable:

$WIN_COMMON_DESKTOP$

Now, my question is:

are there InstallAnywhere variables for the "All Users" home directory, and for the "All Users Application Data" directory? On my Win XP system, these two directories respectively correspond to:

1 - C:\Documents and Settings\All Users

2 - C:\Documents and Settings\All Users\Application Data

But how to retrieve these two Windows-specific paths in a PC-independent way in an InstallAnywhere installer projects? I think these values are REALLY important in order to build modern installers and applications.

Any help would be greatly appreciated.

Regards,

Marco.
Labels (1)
0 Kudos
2 Replies
Highlighted
Pilgrim

Re: "All Users" home and "Application Data" folder paths in Windows

I have the same question, does Installanywhere higher version has any update for this topic?


Emily
0 Kudos
Highlighted
Pilgrim

Re: "All Users" home and "Application Data" folder paths in Windows

I got the answer, we can get the common aplicatoin data folder from system registry:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Curr entVersion\Explorer\Shell Folders

Obviously, it is used only for windows platform.

Emily
0 Kudos