Vista - Launch Program from another

Posted: 11-30-2007, 05:08 PM
I am not sure if this is the correct group but...

I am trying to launch a program from another program with no success, I
assume it is due to a security issue.

I have a program (actually a .Net dll) that downloads an installation
package (exe that runs as an update to an existing program) and once it is
finished downloading it will attempt to run the exe. However it just ends
at that point, I assume to the program not being allowed to launch another
program.

Does anyone have a way around this? I am okay with Vista asking the user if
s/he wants to allow this program it just never gets that far.

Jack


Reply With Quote

Responses to "Vista - Launch Program from another"

Jesper
Guest
Posts: n/a
 
RE: Vista - Launch Program from another
Posted: 12-03-2007, 03:23 AM
How exactly do you try to launch it? What error message are you getting? If
it is a .Net assembly doing the launching, it may be running in a mode that
prevents it from reading the hard drive, and hence, from launching programs.
---
Your question may already be answered in Windows Vista Security:
http://www.amazon.com/gp/product/047...otectyourwi-20


"Jack" wrote:
> I am not sure if this is the correct group but...
>
> I am trying to launch a program from another program with no success, I
> assume it is due to a security issue.
>
> I have a program (actually a .Net dll) that downloads an installation
> package (exe that runs as an update to an existing program) and once it is
> finished downloading it will attempt to run the exe. However it just ends
> at that point, I assume to the program not being allowed to launch another
> program.
>
> Does anyone have a way around this? I am okay with Vista asking the user if
> s/he wants to allow this program it just never gets that far.
>
> Jack
>
>
>
Reply With Quote
Jack
Guest
Posts: n/a
 
Re: Vista - Launch Program from another
Posted: 12-03-2007, 08:48 PM
I download a file to "System.IO.Path.GetTempPath" then call
"Process.Start(DLFile)" to launch the file. It downlaods fine, I can see
the file but will not launch and does not throw an exception.

It runs fine on XP so it must be a security issue in Vista. I would
understand if it prompted the user but nothing at all happens when it calls
the process.start under Vista.

Jack



"Jesper" <Jesper@discussions.microsoft.com> wrote in message
news:36900258-FFDD-4157-B20A-E43346252478@microsoft.com...
> How exactly do you try to launch it? What error message are you getting?
> If
> it is a .Net assembly doing the launching, it may be running in a mode
> that
> prevents it from reading the hard drive, and hence, from launching
> programs.
> ---
> Your question may already be answered in Windows Vista Security:
> http://www.amazon.com/gp/product/047...otectyourwi-20
>
>
> "Jack" wrote:
>
>> I am not sure if this is the correct group but...
>>
>> I am trying to launch a program from another program with no success, I
>> assume it is due to a security issue.
>>
>> I have a program (actually a .Net dll) that downloads an installation
>> package (exe that runs as an update to an existing program) and once it
>> is
>> finished downloading it will attempt to run the exe. However it just
>> ends
>> at that point, I assume to the program not being allowed to launch
>> another
>> program.
>>
>> Does anyone have a way around this? I am okay with Vista asking the user
>> if
>> s/he wants to allow this program it just never gets that far.
>>
>> Jack
>>
>>
>>

Reply With Quote
Jesper
Guest
Posts: n/a
 
Re: Vista - Launch Program from another
Posted: 12-03-2007, 09:14 PM
It probably is a security issue. However, it could be getting virtualized, or
it could be marked as requiring user interaction, or it could be something
else. Your best bet is to assign everything you do to variables, and then
step through it in a debugger so you can make sure you understand what is
going on. Unfortunately, I don't write much .Net code, so I don't know what
is causing this. You could also try one of the .Net newsgroups.
---
Your question may already be answered in Windows Vista Security:
http://www.amazon.com/gp/product/047...otectyourwi-20


"Jack" wrote:
> I download a file to "System.IO.Path.GetTempPath" then call
> "Process.Start(DLFile)" to launch the file. It downlaods fine, I can see
> the file but will not launch and does not throw an exception.
>
> It runs fine on XP so it must be a security issue in Vista. I would
> understand if it prompted the user but nothing at all happens when it calls
> the process.start under Vista.
>
> Jack
>
>
>
> "Jesper" <Jesper@discussions.microsoft.com> wrote in message
> news:36900258-FFDD-4157-B20A-E43346252478@microsoft.com...
> > How exactly do you try to launch it? What error message are you getting?
> > If
> > it is a .Net assembly doing the launching, it may be running in a mode
> > that
> > prevents it from reading the hard drive, and hence, from launching
> > programs.
> > ---
> > Your question may already be answered in Windows Vista Security:
> > http://www.amazon.com/gp/product/047...otectyourwi-20
> >
> >
> > "Jack" wrote:
> >
> >> I am not sure if this is the correct group but...
> >>
> >> I am trying to launch a program from another program with no success, I
> >> assume it is due to a security issue.
> >>
> >> I have a program (actually a .Net dll) that downloads an installation
> >> package (exe that runs as an update to an existing program) and once it
> >> is
> >> finished downloading it will attempt to run the exe. However it just
> >> ends
> >> at that point, I assume to the program not being allowed to launch
> >> another
> >> program.
> >>
> >> Does anyone have a way around this? I am okay with Vista asking the user
> >> if
> >> s/he wants to allow this program it just never gets that far.
> >>
> >> Jack
> >>
> >>
> >>
>
>
>
Reply With Quote
 
LinkBack Thread Tools Display Modes
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may 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 On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Vista Quick Launch Bar Won't Launch Programs Randy Windows Vista File Management 0 12-18-2007 01:44 PM
Only the administators group can launch this program ATL Admin Windows Vista Administration 2 10-24-2007 03:12 PM
select the program to launch for this action??? TomL Windows XP Photos 0 01-28-2004 01:49 AM
Question: Is it possible to launch more than one program..... Windows XP Help & Support 2 10-20-2003 09:50 AM
Stubborn program will not launch in normal window me@here.com Customize Windows XP 0 10-03-2003 05:20 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 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90