-
Notifications
You must be signed in to change notification settings - Fork 585
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
WixHelper directory names containing spaces not building #1129
Comments
@devfunkd: Can you post the error message? |
|
Can we confirm is this a bug? |
Can we confirm is this a bug or not because I am not sure what to do as far this is concerned? Please let me know. |
I can confirm that this is a bug, seems to be an issue in the getComponentIdsFromWiXString function, I will have a look at this. |
Any idea when this could be fixed, I have a QA pushing to get this resolved... would like to tell them something? thanks for confirming this, appreciated. |
I would merge a pull request and release it if someone can help here.
|
Already found the problem, it's with the regex in getComponentIdsFromWiXString, line 604 in current master. I'll change this one and send a PR. |
Hello @devfunkd, can you test, whether the changes in above PR fix your issues? Kind Regards |
Getting this error now:
Here is my WXS template: `
Build.fsx: `Target "Setup" (fun _ ->
) |
Doesn't work, still getting error:
|
The latest version with this change seems to have broken the WixHelper, watched all my builds start breaking this morning on TeamCity :( |
@DigitalFlow should I revert? To which version?
|
The issue appears to be the IDs don't start with a character. Looking at the code it seems some areas aren't appending a character in front of the hashcode.
|
FAKE v 4.21.4 Works! Thanks guys, this developer gets to shed the QA on his back... I am free again! :) |
;-) |
When I attempt to run my build script and use a directory name with a space the script fails. If I remove the space in the directory name it works. Looks like WixHelper does not work with directory names containing spaces.
This line Fails...
let applicationDirectoryString = wixDir (fun file -> not (file.Extension = ".config")) true (DirectoryInfo (buildDir @@ "/Some Application"))
This line Passes...
let applicationDirectoryString = wixDir (fun file -> not (file.Extension = ".config")) true (DirectoryInfo (buildDir @@ "/SomeApplication"))
Error Message:
The text was updated successfully, but these errors were encountered: