electron / electron/windows-installer

Semver

Open
#216 4 comments 2 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
1.6k
Forks
267
Avg merge
5h 38m
Merged PRs (30d)
1

Description

Hey, I'm trying to create an installer, I'm getting this:
```
C:\Users\jori\Desktop\dev\js\react\f2>node test.js
No dice: Failed with exit code: 4294967295
Output:
System.Exception: Your package version is currently 1.0.0.0, which is *not* SemVer-compatible, change this to be a SemVer version number
bij Squirrel.ReleasePackage.CreateReleasePackage(String outputFile, String packagesRootDir, Func`2 releaseNotesProcessor, Action`1 contentsPostProcessHook)
bij Squirrel.Update.Program.Releasify(String package, String targetDir, String packagesDir, String bootstrapperExe, String backgroundGif, String signingOpts, String baseUrl, String setupIcon, Boolean generateMsi, String frameworkVersion, Boolean generateDeltas)
bij Squirrel.Update.Program.executeCommandLine(String[] args)
bij Squirrel.Update.Program.main(String[] args)
bij Squirrel.Update.Program.Main(String[] args)
```
if I change the version to 1.0.0 it gives this:
```
C:\Users\jori\Desktop\dev\js\react\f2>node test.js
No dice: Failed with exit code: 4294967295
Output:

System.AggregateException: Er zijn ��n of meer fouten opgetreden. ---> System.Exception: Failed to compile WiX template, command invoked was: 'candle.exe -nologo -ext WixNetFxExtension -out "C:\Users\jori\Desktop\dev\js\react\f2\builds\out\Setup.wixobj" "C:\Users\jori\Desktop\dev\js\react\f2\builds\out\Setup.wxs"'

Output was:
Setup.wxs
C:\Users\jori\Desktop\dev\js\react\f2\builds\out\Setup.wxs(2) : error CNDL0108 : The Product/@Version attribute's value, '!(bind.FileVersion.justmaffies-todo-list.exe)', is not a valid version. Legal version values should look like 'x.x.x.x' where x is an integer from 0 to 65534.
C:\Users\jori\Desktop\dev\js\react\f2\builds\out\Setup.wxs(2) : error CNDL0010 : The Product/@Version attribute was not found; it is required.
bij Squirrel.Update.Program.d__21.MoveNext()
--- Einde van intern uitzonderingsstackpad ---
bij System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
bij System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
bij System.Threading.Tasks.Task.Wait()
bij Squirrel.Update.Program.Releasify(String package, String targetDir, String packagesDir, String bootstrapperExe, String backgroundGif, String signingOpts, String baseUrl, String setupIcon, Boolean generateMsi, String frameworkVersion, Boolean generateDeltas)
bij Squirrel.Update.Program.executeCommandLine(String[] args)
bij Squirrel.Update.Program.main(String[] args)
bij Squirrel.Update.Program.Main(String[] args)
---> (Interne uitzondering #0) System.Exception: Failed to compile WiX template, command invoked was: 'candle.exe -nologo -ext WixNetFxExtension -out "C:\Users\jori\Desktop\dev\js\react\f2\builds\out\Setup.wixobj" "C:\Users\jori\Desktop\dev\js\react\f2\builds\out\Setup.wxs"'

Output was:
Setup.wxs
C:\Users\jori\Desktop\dev\js\react\f2\builds\out\Setup.wxs(2) : error CNDL0108 : The Product/@Version attribute's value, '!(bind.FileVersion.justmaffies-todo-list.exe)', is not a valid version. Legal version values should look like 'x.x.x.x' where x is an integer from 0 to 65534.
C:\Users\jori\Desktop\dev\js\react\f2\builds\out\Setup.wxs(2) : error CNDL0010 : The Product/@Version attribute was not found; it is required.
bij Squirrel.Update.Program.d__21.MoveNext()<---
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.