Re: VB6 program needs to run and install without admin rights.
- From: buzzluck68@xxxxxxxxxxx
- Date: Fri, 31 Aug 2007 06:28:36 -0700
On Aug 31, 7:09 am, "Phill W." <p-.-a-.-w-a-r...@xxxxxxxxxxxxxxxxxxxx>
wrote:
buzzluc...@xxxxxxxxxxx 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.
Phill,
Some of the settings are in the local machine keys of the registry, so
i usually give the users rights to only those keys so they can modify
them. And for updating/installing the app, it has about 7 dlls that
have to be registered to work with the exe since the app is written in
vb6. (We are working on updating it to .NET, but it is taking a while
since there was a lot of legacy vb5 code still in use, as well as
ActiveX controls.)
Anyways, thanks for the help, I just know there has to be another way
around this though.
Chris
.
- Follow-Ups:
- References:
- VB6 program needs to run and install without admin rights.
- From: buzzluck68
- Re: VB6 program needs to run and install without admin rights.
- From: Phill W.
- VB6 program needs to run and install without admin rights.
- Prev by Date: Re: IIS
- Next by Date: Re: IIS
- Previous by thread: Re: VB6 program needs to run and install without admin rights.
- Next by thread: Re: VB6 program needs to run and install without admin rights.
- Index(es):
Relevant Pages
|