koti rama

koti rama

  • NA
  • 1
  • 5.4k

checking admin permissions to deploy on targer machine

Aug 29 2008 12:59 PM

Hi
i'm developing windows application which should work in winxp and win2k.
i prepared setup for the application and tried to test on winxp.By default the setup is checking admin permissions before deploying the application on winxp. But in win2k it is directly attempting to deploy the application without checking for admin privillages, which is must for my application.(to register ocx files should have admin rights)

my question is: how to check for admin permissions while deploying the application on win2k using vs.net setup and deployment project.

please suggest me.


Answers (1)