Windows: silent install to LocalAppData?

Is there any command-line switch to avoid a UAC prompt and install directly to a user's profile folder?

When running the installer a UAC prompt appears. If the user is not an administrator and cancels the UAC prompt zotero will install to the profile area. This is the behavior I want, but would prefer to skip the UAC prompt altogether.

I've been looking through the NSIS installer script, and see references to a /UAC: switch. This does not seem to have an effect when I use it, and I'm not very familiar with NSIS's syntax.
  • I think the arguments listed at https://wiki.mozilla.org/Installer:Command_Line_Arguments should apply to the Zotero Standalone installer as well.
  • The '/S' switch does work. I have not tried using an .ini file.

    I was hoping for a way to have the installer automatically install to the logged in user's profile folder. This would be nice to have, because then I could have the software automatically install on whichever computer a user logs in to.

    Your build instructions seem simple enough. I'll see if I can tweak the installer to skip checking whether it can perform a system-wide installation. Is this a reasonable idea?
  • I made a few additions to the wiki entry on building the installer after going through the process myself. I hope they are useful, but if not I suppose someone can just revert them.
Sign In or Register to comment.