zotero/zotero-standalone-build — pull request #6 by mikesteele81 (2012-11-01 16:54:44+00:00)
Title: Windows: support the /S switch for restricted user accounts running silent installations

The most recent released version does not fully support the /S switch. When a non-administrative user denies the UAC prompt, the following occurs:

* An entry is placed in add/remove programs, but attempting to remove it yields an error message.
* A shortcut is placed on the desktop and start menu with no icon.
* Application files do not get placed anywhere.

With this branch much of the decision logic is moved out of NSIS pages. Default options are defined, and UI controls are set to mirror these. In cases where default options are invalid the silent installer will abort.

I've made an effort to preserve all existing behavior for normal installations. That said, this branch includes my previous pull request which changes the way the default installation location is chosen.

One remaining item for non-administrative users installing Zotero is that the uninstaller triggers a UAC prompt regardless of how Zotero was installed. I may send an additional pull request to fix this.