ElectronNET / Electron.NET

:electron: Build cross platform desktop apps with ASP.NET Core (Razor Pages, MVC, Blazor).
https://gitter.im/ElectronNET/community
MIT License
7.25k stars 723 forks source link

How can a file be ignored in setup if already exists #663

Open vinnaykulkarni opened 2 years ago

vinnaykulkarni commented 2 years ago

How can a file be ignored in setup if it already exists in the destination folder like- "onlyifdoesntexist" flag in InnoSetup Also, how can we create an MSI package from the electronize build

danatcofo commented 2 years ago

Check out https://www.exemsi.com/documentation/installer-frameworks/nsis-nullsoft-scriptable-install-system/

vinnaykulkarni commented 2 years ago

@danatcofo thanks for the script installer, I was checking of the electronize build supports anything like this, also is there any option to create MSI

danatcofo commented 2 years ago

according to this documentation, electron-builder does support the msi type

https://www.electron.build/configuration/win.html

vinnaykulkarni commented 2 years ago

Hi @danatcofo the article was helpful, thanks for it, I was able to build MSI, however still not able to accomplish "onlyifdoesntexist" using electron builder

danatcofo commented 2 years ago

Sorry cant help you there, id recommend asking in the electron builder space rather than here. You will probably find an answer there as its focused on those issues.

CalypsoSys commented 2 years ago

@vinaykulkarni89 - how were you able to create a MSI?