Open fcurella opened 8 years ago
le sigh, fucking Microsoft. In the meantime, building installers on Windows (use AppVeyor if you don't have access to it) will solve this
@paulcbetts to clarify, your plan is to wait until this is fixed in Squirrel.Windows
? (not complaining, just need to know so I can plan around :) )
@fcurella So, this bug only happens when you build a Windows installer with OS X or Linux because of a bug in NuGet (the C# version of RubyGems / npm / etc). If you build an installer with Windows as the host OS, it'll Just Work
@paulcbetts that means you'd rather wait for the bug to be properly fixed in NuGet, correct?
@fcurella No, you just need to use Windows to build your installer. We're probably going to work around this in Squirrel, but in the meantime, if you want to get your stuff working today, using Windows to build installers will solve this
Thanks for clarifying @paulcbetts :+1:
FWIW for now I got it working just by editing my local copy of template.nuspec
. I'm not familiar with developing on Windows, so that was much quicker for me.
FWIW for now I got it working just by editing my local copy of template.nuspec. I'm not familiar with developing on Windows, so that was much quicker for me.
@fcurella can you elaborate on what you changed in template.nuspec
? Thanks.
@jprichardson I've simply removed the line mentioning LICENSE
: https://github.com/electron/windows-installer/blob/master/template.nuspec#L22
Is there any update on if someone is working on this issue or if it will be fixed any time soon?
@Mercieral Try electron-builder ;)
I'm trying to build an installer, but when I try to run it the installation fails with
'Default' tag requires a nonempty 'Extension' attribute
:I've done some googling around and it appears to be an issue with files without extensions.
The
template.nuspec
tries to create aLICENSE
file. Removing the relevant line from<files>
seems to resolve the problem.If you think it's ok to not have that
LICENSE
file, I can easily submit a PR.