bu********@hotmail.com wrote:
I have an in house application that we developed, but everyone who
needs to use the program are not allowed to be local admins on their
PCs. I was wondering if there was a way to code the application to
not require admin rights (for modifying/creating excel and text files
as well as modifying the registry)?
From recent encounters with Windows Vista:
Getting into Excel shouldn't require Admin rights.
Getting into the Registry shouldn't be a problem either, so long as
you're /only/ working within the CurrentUser hive. Try writing anything
under LocalMachine or elsewhere and you're likely to hit problems. If
you're lucky, you'll get hit by the dreaded UAC dialog. Failing that,
your updates will be "virtualized" and written somewhere totally
different and unexpected.
And I was wondering if there was a way around needing admin rights for
creating a setup package for the program?
If you're going to /install/ the program, then you'll need Admin rights
(on Vista, anyway). No exceptions. IIRC, just running a program with
"setup" in the name causes an elevation attempt.
If you can just /copy/ the program (.exe) onto the machine somewhere and
run it, then you might get around this.
HTH,
Phill W.