Reply to Thread

Post a reply to the thread: Permissions to uninstall

Your Message

Click here to log in

What's the name of our main installation product (in uppercase letters), directly followed by the current year?

 

You may choose an icon for your message from this list

Additional Options

  • Will turn www.example.com into [URL]http://www.example.com[/URL].

Topic Review (Newest First)

  • 11-15-2010, 04:34 AM
    tonisa

    Re: Permissions to uninstall

    Hi Friedrich,
    Helps much. Thank you.
    Could be an idea for a previous version to introduce a flag that the uninstalling process must be executed with same privileges as the installer.

    Toni
  • 11-15-2010, 03:45 AM
    linder

    Re: Permissions to uninstall

    Toni,

    What you can do is to check (in your custom uninstall) if the user has admin rights. Similar to the attached code-snippet.

    Hope this helps.

    Friedrich
  • 11-15-2010, 02:03 AM
    tonisa

    Permissions to uninstall

    Hi,
    I build a setup which requieres Administrator-rights to be launched. On a XP Professional test environment I'm logged as standard-user (makes part of the users-group). Launching my setup.exe an admin-account is asked and setup ends successfully. So I continue to be logged as standard-user. Opening the control panel - Installed programs I see my newly added application and the "remove"-button is active. Pressing it no Admin-account is asked. Is there a way to force the uninstall to
    - or hide the remove-button for non admin-accounts ?
    - or ask Admin-account-priviliges for the remove-procedure ?

    best regards
    Toni Santa

Posting Permissions

  • You may post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts
  •