PC Review


Reply
Thread Tools Rate Thread

Development question with impersonation

 
 
Jake Smythe
Guest
Posts: n/a
 
      18th Aug 2005
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


 
Reply With Quote
 
 
 
 
Jan Hyde
Guest
Posts: n/a
 
      22nd Aug 2005
"Jake Smythe" <(E-Mail Removed)>'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/]

 
Reply With Quote
 
Jake Smythe
Guest
Posts: n/a
 
      22nd Aug 2005
Jan,

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

Jake


"Jan Hyde" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> "Jake Smythe" <(E-Mail Removed)>'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/]
>



 
Reply With Quote
 
Jan Hyde
Guest
Posts: n/a
 
      23rd Aug 2005
"Jake Smythe" <(E-Mail Removed)>'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" <(E-Mail Removed)> wrote in message
>news:(E-Mail Removed)...
>> "Jake Smythe" <(E-Mail Removed)>'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)

--
Realize: Those you can see with. (Stan Kegel)

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

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Impersonation Question Ryan Microsoft VB .NET 3 6th Jun 2007 02:25 PM
Impersonation Question? =?Utf-8?B?bWF2cmlja18xMDE=?= Microsoft ASP .NET 0 16th Mar 2006 06:51 PM
Same impersonation question, different day =?Utf-8?B?Q0xFQVItUkNJQw==?= Microsoft Dot NET 0 26th Apr 2005 09:06 PM
Question on impersonation Jake Smythe Microsoft VB .NET 3 12th Apr 2005 10:15 PM
Impersonation question Ryan Microsoft ASP .NET 0 5th Jan 2004 04:30 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:08 AM.