{"action":"created","issue":{"url":"https://api.github.com/repos/electronjs/windows-installer/issues/43","repository_url":"https://api.github.com/repos/electronjs/windows-installer","labels_url":"https://api.github.com/repos/electronjs/windows-installer/issues/43/labels{/name}","comments_url":"https://api.github.com/repos/electronjs/windows-installer/issues/43/comments","events_url":"https://api.github.com/repos/electronjs/windows-installer/issues/43/events","html_url":"https://github.com/electronjs/windows-installer/issues/43","id":141875502,"number":43,"title":"installer doesn't copy extra resources directories during installation","user":{"login":"d9k","id":7331988,"avatar_url":"https://avatars.githubusercontent.com/u/7331988?v=3","gravatar_id":"","url":"https://api.github.com/users/d9k","html_url":"https://github.com/d9k","followers_url":"https://api.github.com/users/d9k/followers","following_url":"https://api.github.com/users/d9k/following{/other_user}","gists_url":"https://api.github.com/users/d9k/gists{/gist_id}","starred_url":"https://api.github.com/users/d9k/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/d9k/subscriptions","organizations_url":"https://api.github.com/users/d9k/orgs","repos_url":"https://api.github.com/users/d9k/repos","events_url":"https://api.github.com/users/d9k/events{/privacy}","received_events_url":"https://api.github.com/users/d9k/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2016-03-18T14:05:29Z","updated_at":"2016-03-19T10:45:22Z","closed_at":null,"body":"Hi! I have an issue with creating windows installer with electron-builder (see https://github.com/loopline-systems/electron-builder/issues/252) but electron-builder developer asked me to recreate issue here.\r\nThe problem is: I use two-package.json project layout (`package.json` and `app/package.json`) and extra resources folders (for example with dlls) are not copied to installation path during installer run. Extra files are copied, there is no problems with them, but extra folders are not. \r\n\r\nAlso tried to move folders with dlls into `app` folder, but haven't succeed: dlls folders are packaged into `resources/app.asar` but can't be found and loaded on electron application startup."},"comment":{"url":"https://api.github.com/repos/electronjs/windows-installer/issues/comments/198681853","html_url":"https://github.com/electronjs/windows-installer/issues/43#issuecomment-198681853","issue_url":"https://api.github.com/repos/electronjs/windows-installer/issues/43","id":198681853,"user":{"login":"marcopiraccini","id":668050,"avatar_url":"https://avatars.githubusercontent.com/u/668050?v=3","gravatar_id":"","url":"https://api.github.com/users/marcopiraccini","html_url":"https://github.com/marcopiraccini","followers_url":"https://api.github.com/users/marcopiraccini/followers","following_url":"https://api.github.com/users/marcopiraccini/following{/other_user}","gists_url":"https://api.github.com/users/marcopiraccini/gists{/gist_id}","starred_url":"https://api.github.com/users/marcopiraccini/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marcopiraccini/subscriptions","organizations_url":"https://api.github.com/users/marcopiraccini/orgs","repos_url":"https://api.github.com/users/marcopiraccini/repos","events_url":"https://api.github.com/users/marcopiraccini/events{/privacy}","received_events_url":"https://api.github.com/users/marcopiraccini/received_events","type":"User","site_admin":false},"created_at":"2016-03-19T10:45:22Z","updated_at":"2016-03-19T10:45:22Z","body":"Probably a more general solution would be to customize the `template.nuspec`. Adding -for instance:\r\n\r\n```\r\n\t<file src=\"exe/**\" target=\"lib/net45\" />\r\n```\r\n...will add the folder as you expected. Putting hte `exe` folder outside the `app` folder will also avoid to have it put into `app.asar`. \r\n\r\nTo obtain that, it would be great to have the ability of using custom templates.   \r\n"}}