Opened 11 years ago

Closed 10 years ago

#208 closed Feature request (fixed)

Installation for all users requires installer to be run from elevated command prompt

Reported by: marchal Owned by: marchal
Priority: Important Milestone: CrypTool 2.0 BETA 4
Component: Installer Keywords:
Cc: Arno Wacker Matthäus Wander

Description

The MSI installer doesn't ask for elevated privileges, therefore the all-users option is not available for normal users (this makes sense). Unfortunately, the all-users option doesn't even appear for users which actually are administrators (this doesn't make sense).

CURRENT WORKAROUND: Execute the MSI installer from an elevated command prompt.

POSSIBLE FUTURE SOLUTIONS (not really elegant though):

  • Put the MSI into an EXE and re-work the installer as a whole, so that elevated rights can be obtained via a WiX custom action.
  • Implement a registry hack that adds a context menu entry "run as administrator" to the MSI.

Change History (4)

comment:1 Changed 10 years ago by Matthäus Wander

We're not using MSI anymore for Beta 4, though we should check whether the problem exists for NSIS, too.

comment:2 Changed 10 years ago by marchal

The problem described does *not* exist for Windows 7: If the user doesn't have elevated rights, the all-users option cannot be selected (but is shown as disabled). If user does have elevated rights, the option can be selected (verified for r3240, newer versions should work as well).

comment:3 Changed 10 years ago by marchal

Just checked Windows XP: The installer is working as expected (non-admins don't even see the all-users option; verified for r3339.1).

comment:4 Changed 10 years ago by marchal

Resolution: fixed
Status: newclosed

The installer is working as expected for Windows Vista, too (r3339.1).

NOTE: Since this was an NSIS issue only, I close the ticket.

Note: See TracTickets for help on using tickets.