Giter Club home page Giter Club logo

electron-installer-squirrel-windows's People

Contributors

allisonshaw avatar anaisbetts avatar black-snow avatar dataich avatar develar avatar fscherwi avatar imlucas avatar kevinsawicki avatar maxbrunsfeld avatar ppitonak avatar ssboisen avatar techninja avatar tnm avatar zcbenz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

electron-installer-squirrel-windows's Issues

`question`: windows support

Hi, does this package supports creation of msi/exe installer on the non-windows systems?

And what is the main difference between it and grunt-electron-installer?

How to create the same package for different environments

We currently build our package for prod. What we would like to do is to build our app for different environments and have different installs. I.e. "Product" and "Product UAT" as different installs/apps etc.

What is the discriminator in the package generator config that will differentiate applications?

TypeError: authors.join is not a function

Creating package (this may take a while)
TypeError: authors.join is not a function
at eval (lodash.templateSources[0]:14:14)
at generateTemplate (C:\Users\Sync\my-electron-app\node_modules\electron-installer-common\src\template.js:14:61)
at async Object.createTemplatedFile (C:\Users\Sync\my-electron-app\node_modules\electron-installer-common\src\template.js:29:18)
at async Promise.all (index 1)
at async module.exports (C:\Users\Sync\my-electron-app\node_modules\electron-installer-windows\src\installer.js:248:3) TypeError: authors.join is not a function
at eval (lodash.templateSources[0]:14:14)
at generateTemplate (C:\Users\Sync\my-electron-app\node_modules\electron-installer-common\src\template.js:14:61)
at async Object.createTemplatedFile (C:\Users\Sync\my-electron-app\node_modules\electron-installer-common\src\template.js:29:18)
at async Promise.all (index 1)
at async module.exports (C:\Users\Sync\my-electron-app\node_modules\electron-installer-windows\src\installer.js:248:3)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] setup: electron-installer-windows --src release-builds/TodoApp-win32-ia32/ --dest release-builds/installers/ --options.authors ARS-Tech
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] setup script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Sync\AppData\Roaming\npm-cache_logs\2021-02-13T17_30_33_439Z-debug.log

def.values.join is not a function

I'm trying to create a windows installer while in the directory of my distributable windows build, built with electron-packager. While in that directory, I run electron-installer-squirrel-windows ., and get this console output. I am getting the error def.values.join is not a function

PS C:\Users\pdundas\Desktop\Development\bulkrecent-desktop\release-builds\1.0.0\build-files\mustur-win32-ia32> electron-installer-squirrel-windows .

C:\Users\pdundas\AppData\Roaming\npm\node_modules\electron-installer-squirrel-windows\node_modules\ampersand-state\ampersand-state.js:210
                    throw new TypeError('Property \'' + attr + '\' must be one of values: ' + def.values.join(', ') + '. Tried to set ' + newVal);
                                                                                                         ^

TypeError: def.values.join is not a function
    at child.set (C:\Users\pdundas\AppData\Roaming\npm\node_modules\electron-installer-squirrel-windows\node_modules\ampersand-state\ampersand-state.js:210:106)
    at options.success (C:\Users\pdundas\AppData\Roaming\npm\node_modules\electron-installer-squirrel-windows\node_modules\ampersand-model\ampersand-model.js:86:24)
    at Object.options.success (C:\Users\pdundas\AppData\Roaming\npm\node_modules\electron-installer-squirrel-windows\lib\create-sync-errback.js:15:7)
    at C:\Users\pdundas\AppData\Roaming\npm\node_modules\electron-installer-squirrel-windows\lib\create-sync-errback.js:22:15
    at C:\Users\pdundas\AppData\Roaming\npm\node_modules\electron-installer-squirrel-windows\lib\model.js:173:7
    at child.<anonymous> (C:\Users\pdundas\AppData\Roaming\npm\node_modules\electron-installer-squirrel-windows\lib\model.js:151:9)
    at suppressedCallback (fs.js:200:5)
    at FSReqWrap.oncomplete (fs.js:141:20)

Add validation rules for nuspec metadata

Forked from #6.

We need to provide clean error messages before we get to spawning binaries. For example, in #6 we need to cleanly indicate the problem is spaces in the package id cannot include whitespace. From the nuspec docs the package id is:

The unique identifier for the package. This is the package name that is shown when packages are listed using the Package Manager Console. These are also used when installing a package using the Install-Package command within the Package Manager Console. Package IDs may not contain any spaces or characters that are invalid in an URL. In general, they follow the same rules as .NET namespaces do. So Foo.Bar is a valid ID, Foo! and Foo Bar are not.

As well, we should make the app model should make the default conform to the spec.

Error creating MSI

Hi there

I've recently had an issue where the MSI has stopped being generated. Turns out it's the same issue as electron-archive#96. I've tested with a newer version of rcedit.exe and the problem goes away.

What are the thoughts on upgrading the files that are in vendor?

System.IO.PathTooLongException

Here is full error
System.IO.PathTooLongException: The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters.
Program successfully creates nupkg file. Then gives error while executing this command;
C:\Users\sahip\AppData\Roaming\npm\node_modules\electron-installer-squirrel-windows\vendor\Update.com --releasify C:\Users\sahip\AppData\Local\Temp\ClientNode.0.1.0.nupkg --releaseDir C:\ --loadingGif C:\Users\sahip\AppData\Roaming\npm\node_modules\electron-installer-squirrel-windows\resources\install-spinner.gif

I am using Win7 64 Bit

Any idea?

Documentation regarding icons is not correct

setup_icon works for replacing the installer icon, but when you go to uninstall the program in Apps & Features, the icon used is the default electron one. Therefore you need to specify both setup_icon and icon_url

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.