Log Out after installation - Qt Installer Framework
-
I would like to ask if it is possible to create a "Log Out" option at the end of the installer (Qt IF) on Mac OS X. I tried to at this to the config.xml file but nothing happens:
<RunProgram>osascript</RunProgram> <RunProgramArguments> <Argument>-e</Argument> <Argument>'tell app "System Events" to log out'</Argument> </RunProgramArguments> <RunProgramDescription>Log out</RunProgramDescription>
This is in the installer's log file:
[13066] Warning: QString::arg: Argument missing: Log out, Client Based Spooler (:0, ) [18420] starting "osascript" ("-e", "'tell app "System Events" to log out'")