inno setup 5 ini4j strips backslash
问题 I use Inno Setup 5 to create an ini file with {app} as the destination: [INI] Filename: "{userdocs}\JavaCppDemo.ini"; Section: "InstallSettings"; Flags: uninsdeletesection Filename: "{userdocs}\JavaCppDemo.ini"; Section: "InstallSettings"; Key: "InstallPath"; String: "{app}" Then I use ini4j to get the value of InstallPath: String DefaultFolder = new FileChooser().getFileSystemView().getDefaultDirectory().toString(); // tricky way of getting at user/documents folder String strFileName =