For automatic deployment to Windows machines, it would be nice if silent install would work. There are two problems at the moment:
1. You need to specify the /SD option to MessageBox. There are message boxes without default action for silent mode. While the install is silent in most cases (no existing installation), the uninstaller always shows message boxes.
Example with /SD:
MessageBox MB_ICONINFORMATION|MB_OK "$(^Name) was successfully removed from your computer." /SD IDOK
MessageBox MB_ICONQUESTION|MB_YESNO|MB_DEFBUTTON2 "Are you sure you want to completely remove $(^Name) and all of its components?" /SD IDYES IDYES +2
2. Icons must be installed to the "All Users" many when installation is executed with administrative privilege.
You need to call
In the JabRef nsi file, there is a macro IsUserAdmin for testing for administrative privileges. Maybe this can be reused.
Log in to post a comment.