-
Notifications
You must be signed in to change notification settings - Fork 94
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
Error creating wixobj file. #5
Comments
Same for me, but running on a native windows 10. |
@felixrieseberg any idea? |
Hey, Guys any luck so far? |
I was having this problem, then I changed [outputDirectory: './build'] to [outputDirectory: 'C:/FullpPath/build'], and now it doesn't throw this error. But I still not running fine by other problems =[ |
I got it working with the following code const path = require('path');
const { MSICreator } = require('electron-wix-msi');
const msiCreator = new MSICreator({
appDirectory: path.resolve(__dirname, '..', 'dist', '[ClientName]'),
outputDirectory: path.resolve(__dirname, '..', 'dist'),
exe: '[ClientName]',
name: '[ClientName]',
description: '[ClientName]',
manufacturer: '[ClientName]',
version: '1.0.0'
});
async function build() {
await msiCreator.create();
await msiCreator.compile();
}
build().catch(console.error); Note that I go up one directory because I run this file from |
Had same problem, changing paths to absolute path names solves it |
Im getting the following error when the
compile()
method runs:The create method runs and does make a .wxs file though.
Here is repo I'm working with: https://github.com/trevwaddell/electron-wix-test
I'm running this in a windows 10 vm with virtual box. I installed wix toolset and added them to my class path.
The text was updated successfully, but these errors were encountered: