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

Set the default install path #27

Open
schontz opened this issue Oct 12, 2018 · 5 comments
Open

Set the default install path #27

schontz opened this issue Oct 12, 2018 · 5 comments

Comments

@schontz
Copy link

schontz commented Oct 12, 2018

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
Copy link
Author

schontz commented Oct 13, 2018

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

@schontz schontz closed this as completed Oct 13, 2018
@schontz
Copy link
Author

schontz commented Oct 15, 2018

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 schontz reopened this Oct 15, 2018
@chiragtrivedi250
Copy link

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

@schontz
Copy link
Author

schontz commented Oct 18, 2019

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.

@Sam-Spencer
Copy link

Bump! Is there any way to do this by specifying the programFilesFolderName? Seems like a bug (or at least undocumented behavior) that the property for setting a directory path does allow characters needed to specify a directory path...

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

No branches or pull requests

3 participants