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 is LrWsNetClient.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
[:)] [:)] [:)]
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

0
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.
Answered 05/20/2008 by: AngelD
Red Belt

Please log in to comment
0
For a useful list of formatted data strings, search for "Formatted" in the SDK
Answered 05/20/2008 by: timmsie
Fourth Degree Brown Belt

Please log in to comment
0
Thanks Dear,
I'll try for this

I hav one more problem ,in registry table its showing value [ProgramFileFolder]HP\BPM

Can we solve this Hardcoding?
Answered 05/20/2008 by: dannyarya
Purple Belt

Please log in to comment
0
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
Answered 05/20/2008 by: timmsie
Fourth Degree Brown Belt

Please log in to comment
0
ORIGINAL: timmsie

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
For file entries, always use the formatted filename, as Kim shows in his post. You're then guaranteed to always get the right path entered.
Answered 05/20/2008 by: VBScab
Red Belt

Please log in to comment
0
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.
Answered 05/20/2008 by: AngelD
Red Belt

Please log in to comment
0
let me guess your using installshield right ? *grin*
Answered 05/20/2008 by: jmcfadyen
Fifth Degree Black Belt

Please log in to comment
0
hey thanks dear,
i solved that hardcoding. first i was used [BPM], but becauce there are no backslash present so i used [InstallDir]BPM.

Once again thanks [:)]
Answered 05/21/2008 by: dannyarya
Purple Belt

Please log in to comment
0
@ jmcfadyen

No dear, i'm using Wise Studio Package.

But, why you asked this question ?
Answered 05/21/2008 by: dannyarya
Purple Belt

Please log in to comment
Answer this question or Comment on this question for clarity