How to handle path with spaces in Inno Setup?
问题 I want to allow paths with spaces (for example program files ) when installing my program with Inno Setup. However paths with spaces let my installed service crash. The Inno Setup file looks like this: [Setup] AppName=Demo DefaultDirName={pf}\demo [Files] Source: "bin\nssm.exe"; DestDir: "{app}" Source: "bin\jdk1.8.0_152\jre\*"; DestDir: "{app}\jre"; Flags: recursesubdirs Source: "build\libs\demo.jar"; DestDir: "{app}" [Run] Filename: "{app}\nssm.exe"; \ Parameters: "install demo ""{app}\jre