We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

kidsfalloutoftrees
Posts: 2
Joined: Thu Feb 26, 2015 2:54 pm

Searching

I am trying to find the path to a folder either from the registry or it's location on the C:\

Either from Key:
HKLM\Software\Wow6432Node\PTC\Creo Parametric\2.0\2014200 | "InstallDir"
however the 2014200 isn't the same on every PC. So really I need to check all subkeys below HKLM\Software\Wow6432Node\PTC\Creo Parametric\2.0\

Or the other way is to return the path to a collection of folders: Creo 2.0\Parametric\bin
on their own none of these folders are unique to the PC but as a collection of 3 folders together they are.

Any advice?

Thanks
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Searching

Hello and welcome to our forums,

I'm afraid our search support is not so powerful to perform such customized searches. You can use a folder search for your " Creo 2.0\Parametric\bin" folders tree only if the folders tree resides on a partition root. For example, if the path is "C:\ Creo 2.0\Parametric\bin", "D:\ Creo 2.0\Parametric\bin", etc and you use a folder search like this:
  • Path: Creo 2.0\Parametric\bin
    Depth: 0
then the search will successfully return the folder path. Otherwise, the recommended way to proceed in this case would be by using your own custom action.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
kidsfalloutoftrees
Posts: 2
Joined: Thu Feb 26, 2015 2:54 pm

Re: Searching

Thanks Daniel,

Unfortunately, it doesn't sit on the root of the drive, it would usually be C:\Program Files\PTC however it could literally be anywhere which is what I need to figure out.

I shall take a look at Custom actions and if I can figure something out I'll post here.

Thanks

Return to “Building Installers”