How to change or set the user permissions in setup and deployment projects

Last post 08-01-2007, 12:16 AM by nelluru. 2 replies.
Sort Posts: Previous Next
  •  07-12-2007, 6:20 AM Post number 33434

    How to change or set the user permissions in setup and deployment projects

    Hi,
    My problem is:

    I am using Visual Studio 2005 for creating Setup and Deployment project.
        I have created my setup project successfully and I have installed my project in the Administrator area by selecting on "Everyone" option(Everyone--installs for every user)during installation.
    After this i have logged into another USER.
    when I tried to run the application,
    a) If the USER has Administrator privileges or permissions, then it installs the application once again and next time when we run the application, the application is running normally.
    b) If the USER has Limited privileges
    or permissions, then it doesn't install the application at all.
    Every time when I try to launch the application, it starts installing.

        Why the USER is again trying to install again???How to give permissions to the USER to launch the application(not installing once again)???
       What would be problem and how to overcome this?????
  •  07-31-2007, 4:18 AM Post number 34269 in reply to post number 33434

    Re: How to change or set the user permissions in setup and deployment projects

    Have you checked the Default permission for the Logged in User. Just recheck whether the user has appropriate privileges
    Ashok Raja
    ___________________________________
    www.igold.in - The Dotnet Technical Hub
  •  08-01-2007, 12:16 AM Post number 34296 in reply to post number 34269

    Re: How to change or set the user permissions in setup and deployment projects

    Hi Ashok,
                    I came to know why the installer is running when i clicked on the shortcut.
    The reason is that the installer when installed in the administrator is not creating the registry entries for the other users in HKEY_CURRENT_USER. Its creating the registry entries for the administrator in HKEY_CURRENT_USER. I think the Installer is running because of this reason only.
                    If I manually merge these registry entries, the installer is not running when clicked on the shortcuts.
                    How to overcome this problem????

    regards,
    Naresh Nelluru

View as RSS news feed in XML