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

SetupBuilder Class: SetPathString

Previous  Top  Next  


Prototype: (String pPathString)

 

pPathStringPartial path to add to Global and Local folders as well as registry key

 

ReturnsThe method does not return a value.

 

This method assigns the pPathString parameter value to the PathString property.  It also constructs the SBGlobalRegistryKey and SBLocalRegistryKey properties from the PathString.  Finally it assigns the appropriate HKCU registry key to the FilesCopied property indicating if the files have been copied to the local folder for the current user or not.

 

Example:

 

GetLocalPath            ROUTINE

Get(SFQ,Choice(?Loc:LocalCSIDL))

ITS.SetPathString(Loc:PartialPath)

ITS.SetLocalCSIDL(SFQ.FolderIDValue)

 

Loc:LocalPath        = ITS.GetLocalPath()

Loc:LocalKey         = 'HKCU:\' & ITS.GetLocalKey()

Loc:LocalCSIDLNumber = SFQ.FolderIDValue

Display()

 

See also:

FilesCopied

PathString

SBGlobalRegistryKey

SBLocalRegistryKey

 

 

 



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