❔ 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 :)
3 Replies
you can use WixSharp
it supports using a wpf gui
and you can run custom c# vice l code in the installer
GitHub
GitHub - oleg-shilo/wixsharp: Framework for building a complete MSI...
Framework for building a complete MSI or WiX source code by using script files written with C# syntax. - GitHub - oleg-shilo/wixsharp: Framework for building a complete MSI or WiX source code by us...
Was this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.