-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Need a small change to handle apps with apostrophe in their name #750
Comments
I think that |
|
Confirmed that this problem is no longer present in 6.7.7. Thank you! |
I am still experiencing this issue with version 7.26.0. I the think the better solution is to just use the package.json name for the installer and uninstaller file names. It's perfectly conceivable that the friendly name used to display to the users in the installer or desktop icons might have apostrophes in them. Why not just use the Node "name" attribute that already has restrictions we know are safe for file names and NSIS macros? |
@splrk Please specify error details. And please try to use latest 10.8.1 |
This only happens with the boring installer. I upgraded and got the same error:
I did some digging and it turns out its an error with the StdUtils plugin. They use single quotes to surround string, so if your productName has a single quote in it StdUtils can't use it safely. My current workaround is to manually redefine the PRODUCT_FILENAME in the script customization (build\installer.nsh):
|
I have an application with an apostrophe in its name. (I know, that's ridiculous, however sometimes you just gotta do what the customer wants.) This kills the NSIS builder because of a quirk in macro expansion. The apostrophe in the name closes an open apostrophe earlier in the line. There is a very simple fix.
In multiUser.nsh at line 69, stuff the uninstall filename into a register variable, then use that in the following
WriteRegStr
calls:With this one change, I'm able to build the installer just fine.
The text was updated successfully, but these errors were encountered: