Development question with impersonation

J

Jake Smythe

Hello,


We have an old vb6 app that needs to be installed and uninstalled on a
regular basis. (Poor design by an old programmer hence working on migrating
it to vb.net,but it will take some time). The problem we are having is that
staff do not have installation rights to keep installing/uninstalling it. I
was wondering if there was a way to use impersonation to run the setup
application? Similar to doing the runas command. The problem with the runas
is that the admin pass has to be entered in and we obviously do not want to
give that to the end user. Any suggestions on how to allow a normal user
fire off an old vb6 setup application? Thanks in advance.

Jake
 
J

Jan Hyde

"Jake Smythe" <[email protected]>'s wild thoughts were
released on Thu, 18 Aug 2005 06:45:32 -0700 bearing the
following fruit:
Hello,


We have an old vb6 app that needs to be installed and uninstalled on a
regular basis. (Poor design by an old programmer hence working on migrating
it to vb.net,but it will take some time). The problem we are having is that
staff do not have installation rights to keep installing/uninstalling it. I
was wondering if there was a way to use impersonation to run the setup
application? Similar to doing the runas command. The problem with the runas
is that the admin pass has to be entered in and we obviously do not want to
give that to the end user. Any suggestions on how to allow a normal user
fire off an old vb6 setup application? Thanks in advance.

Just out of interest WHY does it have to be uninstalled and
reinstalled regularly?



Jan Hyde (VB MVP)

--
A man is incomplete until he is married.
After that, he is finished.

(Zsa Zsa Gabor)

[Abolish the TV Licence - http://www.tvlicensing.biz/]
 
J

Jake Smythe

Jan,

It's an old app and the data changes between installs

Jake


Jan Hyde said:
"Jake Smythe" <[email protected]>'s wild thoughts were
released on Thu, 18 Aug 2005 06:45:32 -0700 bearing the
following fruit:
Hello,


We have an old vb6 app that needs to be installed and uninstalled on a
regular basis. (Poor design by an old programmer hence working on
migrating
it to vb.net,but it will take some time). The problem we are having is
that
staff do not have installation rights to keep installing/uninstalling it.
I
was wondering if there was a way to use impersonation to run the setup
application? Similar to doing the runas command. The problem with the
runas
is that the admin pass has to be entered in and we obviously do not want
to
give that to the end user. Any suggestions on how to allow a normal user
fire off an old vb6 setup application? Thanks in advance.

Just out of interest WHY does it have to be uninstalled and
reinstalled regularly?



Jan Hyde (VB MVP)

--
A man is incomplete until he is married.
After that, he is finished.

(Zsa Zsa Gabor)

[Abolish the TV Licence - http://www.tvlicensing.biz/]
 
J

Jan Hyde

"Jake Smythe" <[email protected]>'s wild thoughts were
released on Mon, 22 Aug 2005 10:05:51 -0700 bearing the
following fruit:
Jan,

It's an old app and the data changes between installs

I still don't get it. Why would you need to uninstall an app
because data changes?

J

Jake


Jan Hyde said:
"Jake Smythe" <[email protected]>'s wild thoughts were
released on Thu, 18 Aug 2005 06:45:32 -0700 bearing the
following fruit:
Hello,


We have an old vb6 app that needs to be installed and uninstalled on a
regular basis. (Poor design by an old programmer hence working on
migrating
it to vb.net,but it will take some time). The problem we are having is
that
staff do not have installation rights to keep installing/uninstalling it.
I
was wondering if there was a way to use impersonation to run the setup
application? Similar to doing the runas command. The problem with the
runas
is that the admin pass has to be entered in and we obviously do not want
to
give that to the end user. Any suggestions on how to allow a normal user
fire off an old vb6 setup application? Thanks in advance.

Just out of interest WHY does it have to be uninstalled and
reinstalled regularly?



Jan Hyde (VB MVP)

--
A man is incomplete until he is married.
After that, he is finished.

(Zsa Zsa Gabor)

[Abolish the TV Licence - http://www.tvlicensing.biz/]


Jan Hyde (VB MVP)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top