installInnoSetup method
Installs the Inno Setup compiler.
The installer will be run in silent mode and will not restart the computer.
Implementation
Future<int> installInnoSetup() async {
final args = [
'/c',
innoSetupInstallerPath,
'/VERYSILENT',
'/SUPPRESSMSGBOXES',
'/NORESTART',
'/SP-',
];
final process = await Process.start(
'cmd',
args,
mode: quiet ? ProcessStartMode.inheritStdio : ProcessStartMode.normal,
);
return await process.exitCode;
}