MSI Installer : Detect user cancelation for msi script
Hi All,
I am having a small query about the MSI installation,
the below is the function I am using
Function "InstallFalsh9"
DetailPrint "Installing Flash Player Version 9.0.16.0, Please Wait."
SetDetailsPrint none
ExecWait 'MSIEXEC.EXE /i "$EXEDIR\install_flash_player_active_x.msi" /qb- ALLUSERS=2 REBOOT=Suppress"'
SetDetailsPrint both
DetailPrint "Installation For Flash Player Version 9.0.16.0 Complete."
FunctionEnd
I am getting worried If user cancels the installation (msi), how can I detect?
I want somthing like this...
ExecWait 'MSIEXEC.EXE /i "$EXEDIR\install_flash_player_active_x.msi" /qb- ALLUSERS=2 REBOOT=Suppress"'
${If} CanceledByUSer
DetailPrint "Installation aborted."
${Else}
DetailPrint "Installation Complete."
${EndIf}
OR there is a way if you can share
How can I make msi invisible
I tried /qn in place of /qb in the statement below
ExecWait 'MSIEXEC.EXE /i "$EXEDIR\install_flash_player_active_x.msi" /qb- ALLUSERS=2 REBOOT=Suppress"'
but it didn't worked.
Thanks you all guys at NSIS Forum, coz I had learnt many things from your posts in last one week.
Keep Sharing.:)
Regards,
NBaua.