Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows 7: build msi installer error #809

Closed
xiangkaiy opened this issue Oct 9, 2016 · 5 comments
Closed

Windows 7: build msi installer error #809

xiangkaiy opened this issue Oct 9, 2016 · 5 comments
Labels

Comments

@xiangkaiy
Copy link

  • Version: 5.35.0
  • Target:Windows7 64bit

I can build an exe file to run, but when I add the noMsi config, there is an error.
Here is my config for win:
"win":{
"target": "squirrel",
"noMsi": false,
"iconUrl": "https://(someurl of my png image)"
}
when I run the builder code, I got an error below:
error LGHT0311 : A string was provided with characters that are not available in the specified database code page '1252'. Either change these character to ones that exist in the database's code page, or update the database's code page by modifying one of the following attributes: Product/@codepage, Module/@codepage, Patch/@codepage, PatchCreation/@codepage, or WixLocalization/@codepage.

at C:\Users\xiangkai.xk\Repo\x-xiami-desktop\node_modules\electron-builder\src\util\uti.ts:96:16
at ChildProcess.exithandler (child_process.js:220:5)
at emitTwo (events.js:87:13)
@develar
Copy link
Member

develar commented Oct 11, 2016

Version: 5.35.0

Please use latest version.

@PinkyJie
Copy link

PinkyJie commented Nov 1, 2016

I use the latest version of electron-builder, but still encountered this issue. I did some googling, it seems the root cause is we use some Chinese characters for productName and the encoding is not consistent with Windows-1252, how to change this encoding?

@develar
Copy link
Member

develar commented Nov 2, 2016

@PinkyJie Please use nsis target and create MSI using another tool (see #723).

@PinkyJie
Copy link

PinkyJie commented Nov 2, 2016

@develar I tried NSIS, it works fine for me, but I can't make it working with AutoUpdate feature, it seems AutoUpdate on Windows can only work with Squirrel.Windows. Is there a solution for this?

@develar
Copy link
Member

develar commented Nov 2, 2016

it seems AutoUpdate on Windows can only work with Squirrel.Windows. Is there a solution for this?

See #529

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants