There are certain cases with my application installer where I'd want to the user to restart their device. Ideally, I'd pass an arg i.e.
Setup.exe /RESTART=yes
And withing the setup script evaluate:
AlwaysRestart={param:RESTART|no}
Unfortunatley, that is not valid:
Error on ... Setup.iss: Value of [Setup] section directive "AlwaysRestart" is invalid.
Compile aborted.
Running InnoSetup 5.6.1