Autor Beitrag
Freefly85
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 22



BeitragVerfasst: Mo 28.03.11 14:34 
Hallo

Wie exportiert man in Visual Studio das komplette Projekt als exe-File?
Bis jetzt ruft das Projekt auch ein weiteres exe-File und txt-File auf.

Das Ziel wäre: Alles verpackt in einem exe-File.

Gruss und danke.


Moderiert von user profile iconChristian S.: Topic aus Off Topic verschoben am Mo 28.03.2011 um 15:43
jaenicke
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 19338
Erhaltene Danke: 1752

W11 x64 (Chrome, Edge)
Delphi 12 Pro, C# (VS 2022), JS/HTML, Java (NB), PHP, Lazarus
BeitragVerfasst: Mo 28.03.11 14:46 
Du suchst vermutlich Ressourcen. ;-)
Die kannst du dann zur Laufzeit z.B. ins Tempverzeichnis entpacken.

Ob das Vorgehen sinnvoll ist, ist eine andere Frage... meistens nicht.
Freefly85 Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 22



BeitragVerfasst: Mo 28.03.11 18:13 
Hallo Sebastian

Vielen Dank für Deine Antwort...aber:

Wenn ich die zusätzlichen Files in die Ressourcen des Projektes einbinde und dann unter dem \bin\Debug Verzeichniss das "Projekt.exe" auf den Desktop kopiere, kann ich das Programm nicht starten: es fehlen die beiden Files...

:?
jaenicke
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 19338
Erhaltene Danke: 1752

W11 x64 (Chrome, Edge)
Delphi 12 Pro, C# (VS 2022), JS/HTML, Java (NB), PHP, Lazarus
BeitragVerfasst: Mo 28.03.11 19:11 
Wie sieht denn der Code zum Auspacken vor der Benutzung der Dateien aus? Gibt es dabei vielleicht eine Fehlermeldung?