Skip to content
⌘ NSIS Forum Archive

makensis with /D fails when value contains spaces

3 posts

jammusi#

makensis with /D fails when value contains spaces

Hi,

I am using a simple nsi script to compile another script with some globally defined symbols as follows:


ExecWait "${NSISDIR}\makensis.exe /DCompany="The Company" MySetup.nsi
The problems is that that in some cases, some symbols might contain spaces.
Like in the example above the company name is: "The Company"

In that case - makensis fails.

Is there a solution for that?

Tx

Oren