Electron.NET icon indicating copy to clipboard operation
Electron.NET copied to clipboard

How can a file be ignored in setup if already exists

Open vinnaykulkarni opened this issue 3 years ago • 6 comments

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

vinnaykulkarni avatar Feb 16 '22 04:02 vinnaykulkarni

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

danatcofo avatar Feb 16 '22 14:02 danatcofo

@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

vinnaykulkarni avatar Feb 17 '22 10:02 vinnaykulkarni

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

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

danatcofo avatar Feb 17 '22 16:02 danatcofo

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

vinnaykulkarni avatar Feb 21 '22 05:02 vinnaykulkarni

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.

danatcofo avatar Feb 21 '22 14:02 danatcofo

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

CalypsoSys avatar May 04 '22 01:05 CalypsoSys