/build/static/layout/Breadcrumb_cap_w.png

Another basic question : How to Find the Path of an installed file

Hello,

This is my new basic question :

I would like to find the path of the folder which include a file (blibli.txt). I can't use a registry key to know it, so I use the AppSearch function.

But in InstallShield 10.5, when I try to use "Search for : Folder Path, by searching for a specific path", it gives me, in my property (named FOLDERPATH for example) :

FOLDERPATH = c:\....................\The_Folder\blibli.txt.
But I would like not to have the filename in the path, in order, for example, to use it as INSTALLDIR path.

How can I do that ? I tried to modify the AppSearch, DrLocator and Signature table, but didn't succeed in...

0 Comments   [ + ] Show comments

Answers (2)

Posted by: MSIPackager 18 years ago
3rd Degree Black Belt
0
It's not that basic!

Lucky for you this has already been asked and here is the answer courtesy of Mr B Hunter.

You may need to fiddle with the VB Script to get the results you need but it should do the trick.

Hope it helps,
Rob.
Posted by: babric 18 years ago
Senior Purple Belt
0
Ok, thank you !
I use to play recorder, but I think fiddle is not impossible for me :-)

A very useful link !
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ