asif0012
Posts: 44
Joined: Tue Nov 22, 2022 6:30 pm

Is it possible to use C# console application for detecting existing Prerequisites

Fri Feb 03, 2023 11:01 pm

I want to detect existing prerequisites by using "Search done by a custom executable" option. Is it possible to add a C# console application for this purpose?

I have a C# console application for detecting prerequisites. But using "Search done by a custom executable" for detecting prerequisites, I was only able to select the .exe file but not the additional files required to run the console application. How can I add the required additional files for the C# console application?
Screenshot 2023-02-04 035624.png
C# console application files
Screenshot 2023-02-04 035624.png (28.79KiB)Viewed 7429 times

Can you also elaborate on what type of executables I can use for this purpose?

Liviu
Posts: 1035
Joined: Tue Jul 13, 2021 11:29 am
Contact:  Website

Re: Is it possible to use C# console application for detecting existing Prerequisites

Tue Feb 07, 2023 1:22 pm

Hello,

You need to build your application as a single EXE output file.

In order to achieve this, please take a look at the Single-file deployment and executable article.
single file.png
single file.png (49.92KiB)Viewed 6465 times

Hope this helps! If you have any other questions, please don’t hesitate to contact us.

Best regards,
Liviu
________________________________________
Liviu Sandu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”