Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Programmieren allgemein (https://www.delphipraxis.net/40-programmieren-allgemein/)
-   -   Inno Setup Installationverzeichnis auslesen (https://www.delphipraxis.net/150925-inno-setup-installationverzeichnis-auslesen.html)

Mondengel 30. Apr 2010 15:07


Inno Setup Installationverzeichnis auslesen
 
Gibt es eine Möglichkeit im Inno Setup Breich [Code] das Installationsverzeichnis, also die {app}, auszulesen :?:

Wenn ja wie denn? :gruebel:

So nach dem schema:
Delphi-Quellcode:
[code]
  Function GetInstPath() : String;
  begin
    Result := {app};
  end;
[/code]

blackfin 30. Apr 2010 15:15

Re: Inno Setup Installationverzeichnis auslesen
 
Ganz einfach :)

Delphi-Quellcode:

Function GetInstPath() : String;
begin
  Result := ExpandConstant('{app}') ;
end;

Mondengel 22. Jun 2010 12:42

AW: Inno Setup Installationverzeichnis auslesen
 
Vielen Dank :cheers:


Alle Zeitangaben in WEZ +1. Es ist jetzt 15:51 Uhr.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz