C#C
C#3y ago
5 replies
Aljo_M

❔ How to create WPF installer?

Hello,
I want to create installer.exe file using WPF, so i have custom GUI. I want to copy files from url that i specify into clients program files folder. I want to be able to check if they have AutoCAD installed, and if it is currently running (i must close autocad in order to install).

I have tried Inno setup but it is too much of a hustle for me. Also i am using Rider IDE instead of visual studio and that is why i dont have the "Windows installer project template". What i want to do now is create a WPF exe regular desktop app and just run it as installer. Can i do that?

2. How to make it run in admin mode, so i can copy files to the folder that needs admin permissions?
3. Do i have to publish/ register installer somewhere so it gets officially certified?
4. How do i make my program be visible in controll panel/ uninstall program and be able to uninstall it from there?
5. Is there anything else i am forgetting and would be good to have?

Thanks anyone that can answer at least some of the questions :)
Was this page helpful?