First give a little bit more info.
1. What is the name of the program called? I need to be able find some documentation.
2. What is your operating system? On windows Vista and up its pretty easy.
3. Are you an administrator or super user on your computer?
After you answer at the first two I should be able to help.
I have Borland C++ Builder 6 and I am trying to create an installer. It's goal is to copy some files to selected directory and then run prepared .bat file - the builder form is only nice "jacket". BUT it works ok only when I run the .exe (generated by borland builder) as administrator (right click - open as administrator). Otherwise the .bat file doesn't have appropriate rights and even if it calls the windows dialog, it usually exits with an error. So, what I need is, to force the user, who will be opening this exe file, to run it as administrator (I have seen this behaviour before when installing apps, so I thought it's quite common).
To Thumper - thank you very much for the link, I will get through this and see whether I can make it work for my app as well.