Problem with visual studio setup project

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Hi,
I have created a setup project which installs a Network service. In the
installer, I had to set some security permissions so that Network
service can access my installation folder. Since, only administrators
can change the access list, I need to specify that admin privileges are
required to run the installer.

Is there a way to ask for admin password(if he is not an admin), find
out whether the account is valid, and exit if it is invalid, else
continue the installation.
Is there a way to do all this from the project installer.

Thanks in advance.

.



Relevant Pages

  • Re: Setup Project
    ... because my fileversion attribute in my assemblies was listed as ... hence the installer acted correctly. ... In the exe file project, find the entry point (generally it is "Main" ... because setup project will not automatically ...
    (microsoft.public.dotnet.framework)
  • Re: setup project credentials for windows app in .net 3.5
    ... behavior in UAC is that custom actions must run under the system account to ... The Windows Installer team does not support installer class forms running ... Instead it is using the Network Service identity. ... the setup project to work as it did in VS2005, ...
    (microsoft.public.dotnet.framework.setup)
  • Problem Deploying App That Uses ADOX
    ... The first indication of a problem I get is when I first add a setup project ... The following files may have dependencies that cannot be determined ... If I just press the OK button, and proceed with creating the installer, ... A response to one person's query on a newsgroup was "just exclude ...
    (microsoft.public.dotnet.framework.adonet)
  • Re: Custom Installation
    ... I have had this problem when I copy/paste the service & its setup project ... in the same directory and as I uninstall the first the second one would lose ... I have not used installer class. ... >>> that when I select service for custom installation service gets ...
    (microsoft.public.dotnet.languages.csharp)
  • Remove Previous Version doesnt work
    ... I am having an issue using VS 2005 and windows installer 3.1. ... the uninstall worked but it don't seem to. ... Created a setup project added files, registry settings, etc. ...
    (microsoft.public.dotnet.framework.setup)