SireJohn
New member
- Joined
- Apr 15, 2025
- Messages
- 1
- Programming Experience
- Beginner
I have compile my project using the Inno Setup Compiler and after the compilation and installation, the .exe can not run.
Breakdown:- I have instructed to create a folder(MyFiles2025) to hold my sqlite database and other files in the appData/Roaming. so after installation and on a runtime, all the files(.db and .xltx etc.) files should copy from a folder(Resource) in my project directory to the appData if it doesn't exist and from then the system should access every file from there(MyFiles2025) .db and the rest.
Now, after compiling and installing the .exe, everything create successfully, all the files and the folder and also the installation folder(desire named folder in the Program Files also create successful) but after all, the program doesn't run.
I mean, it doesn't show anything not even my app first interface . The cursor rolls and goes silent and nothing will show.
Moreover, I have tried using the built in visual studio compiler and it does the same.
Again, I got a suggestion to embed my files so that all my .dll files in the bin/release can convert to one executable to ignore the .NET Framework and extract the file to their destination directories (folders) during installation but it also happen to show the same problem even after this stress.
But when I build in the release mode and even after closing the Visual Studio and I go to the project folder > bin>release and run the .exe there, it runs the application correctly.
Breakdown:- I have instructed to create a folder(MyFiles2025) to hold my sqlite database and other files in the appData/Roaming. so after installation and on a runtime, all the files(.db and .xltx etc.) files should copy from a folder(Resource) in my project directory to the appData if it doesn't exist and from then the system should access every file from there(MyFiles2025) .db and the rest.
Now, after compiling and installing the .exe, everything create successfully, all the files and the folder and also the installation folder(desire named folder in the Program Files also create successful) but after all, the program doesn't run.
I mean, it doesn't show anything not even my app first interface . The cursor rolls and goes silent and nothing will show.
Moreover, I have tried using the built in visual studio compiler and it does the same.
Again, I got a suggestion to embed my files so that all my .dll files in the bin/release can convert to one executable to ignore the .NET Framework and extract the file to their destination directories (folders) during installation but it also happen to show the same problem even after this stress.
But when I build in the release mode and even after closing the Visual Studio and I go to the project folder > bin>release and run the .exe there, it runs the application correctly.