www.icetips.com  Icetips Utilities Documentation 11/30/2010    

SetupBuilder Class: PathString

Previous  Top  Next  


This Cstring property is used to determine the Global and Local locations of the files for copying as well as updating to the registry keys.  This property contains a partial path that is appended to the CSIDL paths pointed to by GlobalCSIDL and LocalCSIDL.  It is also used as key for the HKLM and HKCU registry keys to store the value of the FilesCopied property. 

 

For example if the GlobalCSIDL is IT_CSIDL_COMMON_APPDATA resulting in "C:\Documents and Settings\All Users\Application Data" and the LocalCSIDL is IT_CSIDL_PERSONAL resulting in "C:\Documents and Settings\Arnor\My Documents" and the PathString is "Icetips Creative\Utilities", then this would translate to:

 

Folders:

SBGlobalInstallPath = "C:\Documents and Settings\All Users\Application Data\Icetips Creative\Utilities"

SBLocalInstallPath  = "C:\Documents and Settings\Arnor\My Documents\Icetips Creative\Utilities"

 

Registry keys:

HKLM\SOFTWARE\Icetips Creative\Utilities

HKCU\SOFTWARE\Icetips Creative\Utilities

 

The HKCU (Current User) registry keys would contain a single value, FilesCopied, which would be either true or false depending on if the files have been copied or not.  The HKLM (Local Machine) registry key is not used at this point.

 

PathString               CString(1025)

 

 

See also:

SetPathString

SBGlobalInstallPath

SBGlobalRegistryKey

SBLocalInstallPath

SBLocalRegistryKey

GetGlobalPath

GetGlobalKey

GetLocalPath

GetLocalKey

SetGlobalCSIDL

SetLocalCSIDL

 

 

 



Direct link to this page: http://www.icetips.com/manuals/utilities/pathstring_setupbuilder.htm