Bug 787 - Windows installer requires admin permissions
Summary: Windows installer requires admin permissions
Alias: None
Product: PulseView
Classification: Unclassified
Component: Portability (show other bugs)
Version: unreleased development snapshot
Hardware: All Windows
: Normal normal
Target Milestone: ---
Assignee: Nobody
Depends on:
Reported: 2016-04-21 12:20 CEST by Soeren Apel
Modified: 2016-04-23 18:01 CEST (History)
1 user (show)


Note You need to log in before you can comment on or make changes to this bug.
Description Soeren Apel 2016-04-21 12:20:00 CEST
Currently, running the installer for the Windows nightly requires admin permissions. This is understandable if Zadig has to be installed. However, if Zadig is not needed (i.e. no device will ever be attached) or already installed, this is bad.

Putting the sigrok folder in a system-protected area (e.g. C:\Programs) also prevents users from adding/editing PDs without admin permissions. I didn't check this but if I'm not mistaken then this limitation also applies even when installing it somewhere else, simply because the installer runs as admin and so the regular user account probably has no write access.

If possible, the installer should be executable without admin permissions and only request them if the user desires to have Zadig installed.
Comment 1 Uwe Hermann 2016-04-23 18:01:57 CEST
I'll look into this, not sure if it's fixable within one .exe installer file, might need to provide multiple. Not sure yet.

This is unrelated to Zadig btw., it's just another .exe which is sitting around, that's not the reason to make the installer require admin permissions.