electron-wix-msi icon indicating copy to clipboard operation
electron-wix-msi copied to clipboard

Set the default install path

Open schontz opened this issue 6 years ago • 5 comments

Right now, the installer just installs to Program Files\name (where name is passed to MSICreator). Is it possible to install to something like: Program Files\manufacturer\name (where name and manufacturer are passed to MSICreator)?

schontz avatar Oct 12 '18 23:10 schontz

Sorry, somehow I missed it in docs. My eyes need a break. :)

schontz avatar Oct 13 '18 00:10 schontz

Sorry, I just tried setting programFilesFolderName to Some\\Path, but it complains that \ is invalid. Is it there a way to set a folder hierarchy?

schontz avatar Oct 15 '18 21:10 schontz

were you able to solve this ? i am facing same issue.

chiragtrivedi250 avatar Oct 18 '19 05:10 chiragtrivedi250

I ended up passing the generated file through a SAX XML parser and modifying the value. Alternatively, you can use a placeholder name, e.g., CHANGE_PATH, and search and replace to the value you want.

schontz avatar Oct 18 '19 15:10 schontz