Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

How to get parent folder?


2 replies to this topic

progdis

progdis
  • Members
  • 6 posts

Posted 26 November 2004 - 09:27

Hi All!

In the Directory table can be build direcotry path. Its clear...

But does it is possible to go up in the directory path??? For example, from AppSearch I get path c:\Program Files\SomeProgram\Bin. How I can get parent folder c:\Program Files\SomeProgram? I have tried '..' as DefaultDir and got error sad.gif

I can write CustomAction, but I believe that there is more simple way.

Thank you!

VikingLoki

VikingLoki
  • Members
  • 1 posts

Posted 29 November 2004 - 21:07

Sounds to me like your default install directory is \program files\AppName\bin. If you change your default install directory to \program files\AppName you will find things to be much easier.

progdis

progdis
  • Members
  • 6 posts

Posted 30 November 2004 - 20:02

Problem that it isn't my software and I making setup for plugin. I get from registry path to bin folder, but I need place files in other folders.