How to Remove Hardcoding from the registry table ?
Hi All, [:)]
I have one package, in which
Install Dirctory is : C:\program files\Hp\BPM\bin
in which so many files are copied.one dll isLrWsNetClient.dll
Problems are, in registry table is showing the incorrect value
in registry table ,value coloumn is showing file:///[ProgramFilesFolder]HP\BPM/bin/LrWsNetClient.dll .
Can somebody, tell me how to i can remove this hardcoding or what is meaning of this value ???
Thnaks
[:)] [:)] [:)]
I have one package, in which
Install Dirctory is : C:\program files\Hp\BPM\bin
in which so many files are copied.one dll is
Problems are, in registry table is showing the incorrect value
in registry table ,value coloumn is showing file:///[ProgramFilesFolder]HP\BPM/bin/LrWsNetClient.dll .
Can somebody, tell me how to i can remove this hardcoding or what is meaning of this value ???
Thnaks
[:)] [:)] [:)]
0 Comments
[ + ] Show comments
Answers (9)
Please log in to answer
Posted by:
AngelD
16 years ago
Usually "file:///" means that the file was installed through (local) UNC which sounds weird.
The directory path also looks "invalid".
You need to use formatting to point to the File table entry.
Make sure the component holding the file has it as a keypath then use [primary key of the file in the File table].
For long file name use [#LrWsNetClient.dll] and for short use [!LrWsNetClient].
This will be resolved to the folder path the component will be installed to + the filename.
The directory path also looks "invalid".
You need to use formatting to point to the File table entry.
Make sure the component holding the file has it as a keypath then use [primary key of the file in the File table].
For long file name use [#LrWsNetClient.dll] and for short use [!LrWsNetClient].
This will be resolved to the folder path the component will be installed to + the filename.
Posted by:
timmsie
16 years ago
Posted by:
dannyarya
16 years ago
Posted by:
timmsie
16 years ago
Posted by:
anonymous_9363
16 years ago
ORIGINAL: timmsieFor file entries, always use the formatted filename, as Kim shows in his post. You're then guaranteed to always get the right path entered.
That directory must be listed in the directory table
so you would use [BPM] (possibly) you'd need to look in the directory table to determine the actual name
Posted by:
AngelD
16 years ago
timmsie,
Thats true; however it's not always that the entry exists in the Directory table for any reasons which in that case removes the possibility to refer to the directory (property). Also if the registry value must not end with a trailing backslash then one would need to ex. author a custom action to remove the character or either use "[ProgramFileFolder]HP\BPM" or "[HP]BPM" if HP is an entry in the Directory table.
Thats true; however it's not always that the entry exists in the Directory table for any reasons which in that case removes the possibility to refer to the directory (property). Also if the registry value must not end with a trailing backslash then one would need to ex. author a custom action to remove the character or either use "[ProgramFileFolder]HP\BPM" or "[HP]BPM" if HP is an entry in the Directory table.
Posted by:
dannyarya
16 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.