Execute application's exe and perform changes in Program Files - V

A

Abhi

Hi,
I am working on remediation of a VB6 application on Vista. A brief
background of applications functioning:
- App installs under Program Files [AS PER COMPANY’s POLICY, ON VISTA OS
ALSO IT SHOULD INSTALL UNDER THE SAME FOLDER ïŒ]
- The application’s exe [App1Exe] calls another exe [App2Exe] [reside under
the same folder i.e. C:\Program Files\ AppName\...]. The second exe does some
changes under application’s folder in program files i.e. creates some batch
files, zip files and updates the access database files. All of these
operations are executed from Program Files.
- Application was working fine on XP.
- Application works fine on Vista, if ran by clicking ‘Run as administrator’

Currently we need to allow to install the application with elevation on
vista [Not a problem, we are doing the same in case of Win XP also], but
facing the challenge when App2Exe try to execute from program files.
I need to fix this issue by allowing changes in Program Files\ App folder
for standard user, I cannot implement following changes:
- Cannot change the location of install i.e. other then Program Files
- Cannot run the application with Administrator privileges, user must be a
‘Standard User'
- Tried to apply shim through Compatibility Administrator but no luck ïŒ.
- Do not want to use Vista’s virtualization feature.

I am not sure whether it is possible or not? Input on solving [if has
solution] this issue would be of great help.
 
C

Charlie42

I am not sure whether it is possible or not? Input on solving [if has
solution] this issue would be of great help.

I suggest you head over to MSDN Forums, you will probably find better help
there. You can take a look at the documentation below, if you have not
already read it. The whitepaper outlines steps for troubleshooting and
redesigning apps for Vista - redesign being the key word here. I don't
believe what you are trying to achieve can be done, by design Vista forces
developers to write apps that require the least possible user rights/admin
dependencies.

MSDN Forums:
http://forums.microsoft.com/msdn/default.aspx?siteid=1
UAC Development Requirements (whitepaper):
http://www.microsoft.com/downloads/...69-A648-49AF-BC5E-A2EEBB74C16B&displaylang=en
Vista dev help file:
http://download.microsoft.com/download/D/9/B/D9BEB875-BC1D-4338-A655-251F4F353B2E/Top10Wave.exe

Charlie42
 
A

Abhi

Thanks for reply Charlie.
I already visited mentioned sites/ links/ white papers :(.
Just trying to figure out how to enable an application to install under
program file and change some of the files under the installed folder [for
standard user only].

regards,

Charlie42 said:
I am not sure whether it is possible or not? Input on solving [if has
solution] this issue would be of great help.

I suggest you head over to MSDN Forums, you will probably find better help
there. You can take a look at the documentation below, if you have not
already read it. The whitepaper outlines steps for troubleshooting and
redesigning apps for Vista - redesign being the key word here. I don't
believe what you are trying to achieve can be done, by design Vista forces
developers to write apps that require the least possible user rights/admin
dependencies.

MSDN Forums:
http://forums.microsoft.com/msdn/default.aspx?siteid=1
UAC Development Requirements (whitepaper):
http://www.microsoft.com/downloads/...69-A648-49AF-BC5E-A2EEBB74C16B&displaylang=en
Vista dev help file:
http://download.microsoft.com/download/D/9/B/D9BEB875-BC1D-4338-A655-251F4F353B2E/Top10Wave.exe

Charlie42
 
A

AlexB

It is my understanding that VB6 is related to Windows Mobil platform? Am I
right?

If so you may have a lot of problems unless you run it in emulation mode.
 
A

Abhi

Sorry Alex, it is not related to Windows Mbile Platform. I am taking about
VB6 application on Vista Enterprise Edition...
Regards,

AlexB said:
It is my understanding that VB6 is related to Windows Mobil platform? Am I
right?

If so you may have a lot of problems unless you run it in emulation mode.

Abhi said:
Hi,
I am working on remediation of a VB6 application on Vista. A brief
background of applications functioning:
- App installs under Program Files [AS PER COMPANY’s POLICY, ON VISTA OS
ALSO IT SHOULD INSTALL UNDER THE SAME FOLDER ïŒ]
- The application’s exe [App1Exe] calls another exe [App2Exe] [reside
under
the same folder i.e. C:\Program Files\ AppName\...]. The second exe does
some
changes under application’s folder in program files i.e. creates some
batch
files, zip files and updates the access database files. All of these
operations are executed from Program Files.
- Application was working fine on XP.
- Application works fine on Vista, if ran by clicking ‘Run as
administrator’

Currently we need to allow to install the application with elevation on
vista [Not a problem, we are doing the same in case of Win XP also], but
facing the challenge when App2Exe try to execute from program files.
I need to fix this issue by allowing changes in Program Files\ App folder
for standard user, I cannot implement following changes:
- Cannot change the location of install i.e. other then Program Files
- Cannot run the application with Administrator privileges, user must be a
‘Standard User'
- Tried to apply shim through Compatibility Administrator but no luck ïŒ.
- Do not want to use Vista’s virtualization feature.

I am not sure whether it is possible or not? Input on solving [if has
solution] this issue would be of great help.
 
M

Mick Murphy

Hahaha!
Go to Hell, you idiot!!

You have NO understanding of computers.

Get OUT of here, you ars*wipe!

AlexB said:
It is my understanding that VB6 is related to Windows Mobil platform? Am I
right?

If so you may have a lot of problems unless you run it in emulation mode.

Abhi said:
Hi,
I am working on remediation of a VB6 application on Vista. A brief
background of applications functioning:
- App installs under Program Files [AS PER COMPANY’s POLICY, ON VISTA OS
ALSO IT SHOULD INSTALL UNDER THE SAME FOLDER ïŒ]
- The application’s exe [App1Exe] calls another exe [App2Exe] [reside
under
the same folder i.e. C:\Program Files\ AppName\...]. The second exe does
some
changes under application’s folder in program files i.e. creates some
batch
files, zip files and updates the access database files. All of these
operations are executed from Program Files.
- Application was working fine on XP.
- Application works fine on Vista, if ran by clicking ‘Run as
administrator’

Currently we need to allow to install the application with elevation on
vista [Not a problem, we are doing the same in case of Win XP also], but
facing the challenge when App2Exe try to execute from program files.
I need to fix this issue by allowing changes in Program Files\ App folder
for standard user, I cannot implement following changes:
- Cannot change the location of install i.e. other then Program Files
- Cannot run the application with Administrator privileges, user must be a
‘Standard User'
- Tried to apply shim through Compatibility Administrator but no luck ïŒ.
- Do not want to use Vista’s virtualization feature.

I am not sure whether it is possible or not? Input on solving [if has
solution] this issue would be of great help.
 
A

AlexB

You've displayed a monumental "understanding" of computers as your post here
show. I don't even stoop to throw an insult on you.

Mick Murphy said:
Hahaha!
Go to Hell, you idiot!!

You have NO understanding of computers.

Get OUT of here, you ars*wipe!

AlexB said:
It is my understanding that VB6 is related to Windows Mobil platform? Am
I
right?

If so you may have a lot of problems unless you run it in emulation mode.

Abhi said:
Hi,
I am working on remediation of a VB6 application on Vista. A brief
background of applications functioning:
- App installs under Program Files [AS PER COMPANY’s POLICY, ON VISTA
OS
ALSO IT SHOULD INSTALL UNDER THE SAME FOLDER ïŒ]
- The application’s exe [App1Exe] calls another exe [App2Exe] [reside
under
the same folder i.e. C:\Program Files\ AppName\...]. The second exe
does
some
changes under application’s folder in program files i.e. creates some
batch
files, zip files and updates the access database files. All of these
operations are executed from Program Files.
- Application was working fine on XP.
- Application works fine on Vista, if ran by clicking ‘Run as
administrator’

Currently we need to allow to install the application with elevation on
vista [Not a problem, we are doing the same in case of Win XP also],
but
facing the challenge when App2Exe try to execute from program files.
I need to fix this issue by allowing changes in Program Files\ App
folder
for standard user, I cannot implement following changes:
- Cannot change the location of install i.e. other then Program Files
- Cannot run the application with Administrator privileges, user must
be a
‘Standard User'
- Tried to apply shim through Compatibility Administrator but no luck
ïŒ.
- Do not want to use Vista’s virtualization feature.

I am not sure whether it is possible or not? Input on solving [if has
solution] this issue would be of great help.
 

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