We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

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

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

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?
C# console application files
C# console application files
Screenshot 2023-02-04 035624.png (28.79 KiB) Viewed 8662 times

Can you also elaborate on what type of executables I can use for this purpose?
Liviu
Posts: 1420
Joined: Tue Jul 13, 2021 11:29 am
Contact: Website

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

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.92 KiB) Viewed 7698 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”