473,397 Members | 1,949 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,397 software developers and data experts.

Development question with impersonation

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
Nov 21 '05 #1
3 1134
"Jake Smythe" <ro******@hotmail.com>'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/]

Nov 21 '05 #2
Jan,

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

Jake
"Jan Hyde" <St***********@REMOVE.ME.uboot.com> wrote in message
news:kk********************************@4ax.com...
"Jake Smythe" <ro******@hotmail.com>'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/]

Nov 21 '05 #3
"Jake Smythe" <ro******@hotmail.com>'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" <St***********@REMOVE.ME.uboot.com> wrote in message
news:kk********************************@4ax.com.. .
"Jake Smythe" <ro******@hotmail.com>'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/]

Nov 21 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

12
by: Anil Krishnamurthy | last post by:
We have an ASP.NET application that uses COM objects through Interop. The web application requires access to network and database resources and hence, needs to impersonate a domain account. The...
1
by: techfuzz | last post by:
I'm posting my problem experience and solution I found here for other ASP.NET developers. I have a web application that uses Forms Authentication with Active Directory to control access. In...
11
by: Patrick | last post by:
I have an ASP.NET application that connects to a SQL Server database. The SQL Server resides on a seperate development server from the IIS5.1 on Windows XP SP2 on development PCs which host the...
4
by: Kristof Despiere | last post by:
Suppose you have one domain, filled with a couple of users. What needs to be done now is I need to start a windows application from a webform by pressing a button on the webform (for example). ...
5
by: pberna | last post by:
Dear all, I built a Web Form application to start and stop a Windows Service remotely. I successful tested the application on Windows 2000 server + IIS. I must include the ASPNET user to the...
3
by: Jake Smythe | last post by:
Hello, I have some code that impersonates a user upon launching of the application. We now have the need to run some command line items. The impersonation doesn't seem to pass to the commands...
10
by: Joe Befumo | last post by:
I'm trying to deploy a asp.net app that I developed in Visual Studio 2003 on an XP Professional machine. It runs fine on the development machine, but when I try to run it locally on the server...
5
by: =?Utf-8?B?S2l0dHlIYXdr?= | last post by:
I am in the process of migrating an II6 environment from a single server to a network load balanced system. Thus, I am using a virtual directory on a UNC share to house the dynamic data that the...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.