1
Answer

checking admin permissions to deploy on targer machine

koti rama

koti rama

16y
5.1k
1

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)