referencing a directory
hi all,
english is not my first language so ill try to explain as best as i can;
in WFWI, in the file section, i have added some files into c:\winnt\some_dir. in that pane, i put my files into windows and at the installation, the files are redirected into the right directory because windows is set to the dir on the drive.
my question is, in a registry key, i need to add the same directory to the value of a key, so what do i need to put in my reg key? i tried [windows]\some_dir without success.
thanks!
english is not my first language so ill try to explain as best as i can;
in WFWI, in the file section, i have added some files into c:\winnt\some_dir. in that pane, i put my files into windows and at the installation, the files are redirected into the right directory because windows is set to the dir on the drive.
my question is, in a registry key, i need to add the same directory to the value of a key, so what do i need to put in my reg key? i tried [windows]\some_dir without success.
thanks!
0 Comments
[ + ] Show comments
Answers (2)
Please log in to answer
Posted by:
AngelD
18 years ago
Go into the Directory table and find the directory entry point to c:\winnt\some_dir.
This should look somethint like:
Directory, Directory_Parent, DefaultDir
MyDirectoryKey, WindowsFolder, some_dir
The PrimaryKey (MyDirectoryKey) is what you will refer to in the registry value as [MyDirectoryKey].
hmmmmm are you saying that you want a directory structure as a registry key name or a value under a key?
You can't specify a directory path as the string will contain the "\" which is not possible.
This should look somethint like:
Directory, Directory_Parent, DefaultDir
MyDirectoryKey, WindowsFolder, some_dir
The PrimaryKey (MyDirectoryKey) is what you will refer to in the registry value as [MyDirectoryKey].
hmmmmm are you saying that you want a directory structure as a registry key name or a value under a key?
You can't specify a directory path as the string will contain the "\" which is not possible.
Posted by:
kardock
18 years ago
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.