Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Vista General Discussion > Execute application's exe and perform changes in Program Files - V

Reply
Thread Tools Display Modes

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

 
 
Abhi
Guest
Posts: n/a

 
      01-31-2008
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.

 
Reply With Quote
 
 
 
 
Charlie42
Guest
Posts: n/a

 
      01-31-2008
"Abhi" <> wrote:

<snip>
> 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/d...displaylang=en
Vista dev help file:
http://download.microsoft.com/downlo.../Top10Wave.exe

Charlie42


 
Reply With Quote
 
Abhi
Guest
Posts: n/a

 
      02-01-2008
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" wrote:

> "Abhi" <> wrote:
>
> <snip>
> > 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/d...displaylang=en
> Vista dev help file:
> http://download.microsoft.com/downlo.../Top10Wave.exe
>
> Charlie42
>
>
>

 
Reply With Quote
 
AlexB
Guest
Posts: n/a

 
      02-01-2008
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" <> wrote in message
newsCA997C0-EB59-48C0-9E83-...
> 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.
>


 
Reply With Quote
 
Abhi
Guest
Posts: n/a

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

"AlexB" wrote:

> 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" <> wrote in message
> newsCA997C0-EB59-48C0-9E83-...
> > 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.
> >

>
>

 
Reply With Quote
 
Mick Murphy
Guest
Posts: n/a

 
      02-01-2008
Hahaha!
Go to Hell, you idiot!!

You have NO understanding of computers.

Get OUT of here, you ars*wipe!

"AlexB" wrote:

> 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" <> wrote in message
> newsCA997C0-EB59-48C0-9E83-...
> > 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.
> >

>
>

 
Reply With Quote
 
AlexB
Guest
Posts: n/a

 
      02-01-2008
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" <> wrote in message
news:FEDD7027-A8D1-491F-B199-...
> Hahaha!
> Go to Hell, you idiot!!
>
> You have NO understanding of computers.
>
> Get OUT of here, you ars*wipe!
>
> "AlexB" wrote:
>
>> 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" <> wrote in message
>> newsCA997C0-EB59-48C0-9E83-...
>> > 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.
>> >

>>
>>


 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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
Moving Program Files and Program Data Barrie Windows Vista General Discussion 9 08-29-2007 02:17 PM
Unable to download and save or execute program from Internet FrancisP Windows Vista Security 6 03-26-2007 06:56 PM
Spyware .exe program won't save or run into Program Files folder Little Lil Windows Vista General Discussion 3 03-20-2007 10:14 PM
Shoudn't the most recently application's shortcut placed at the bottom? Cat Windows Vista General Discussion 2 02-09-2007 05:37 AM
Unable to download and save or execute a program from Internet FrancisP Windows Vista Security 0 06-20-2006 12:56 PM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59