Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > Avalon

Vista - WPF deployment problem on Vista

 
 
Old 03-20-2007   #1 (permalink)
TheRHogue


 
 

WPF deployment problem on Vista

I just bought a Dell with Vista Home Premium on it. So, all my WPF exe's run
fine using C# Express.

When I published the application to my server via C# Express, that worked
great. An IE window popped open with an install button pointing to my
..application file - this is nice for testing.

I clicked on link, and I get a message saying I need to install .Net
Framework 3.0...huh...what...

Clicked to install .NET 3.0 Framework, and that installer says, I already
have it. "Go to the Control Panel and turn it on\off for changes". Well, it
is on, but I found HTTP and non-activation was turned off - turned those on
just in case. But it didn't help.

In a nutshell, .application is not working on Vista Home Premium.

Here is my test link:
http://www.therhogue.com/RHoguePak/T...ak.application

Has anyone else run into this issue? Do any of the Microsoft folks have an
idea on what could be the problem?

thanx
TheRHogue




My System SpecsSystem Spec
Old 03-20-2007   #2 (permalink)
Bryan Phillips


 
 

Re: WPF deployment problem on Vista

It works on my machine:

Vista Ultimate
IE Protected Mode On
..Net 3.0 already installed
No change in assembly trust level
UAC turned on


BTW, the HTTP and non-activation stuff is only for WCF not WPF.

If you are getting an error during the deployment, look in your event
log for an entry for the failed install and post it here.

--
Bryan Phillips
MCSD, MCDBA, MCSE
Blog: http://bphillips76.spaces.live.com



"TheRHogue" <TheRHogue@discussions.microsoft.com> wrote in message
news:58A1D94E-9FEA-4106-9F49-577C6B4C6490@microsoft.com:

> I just bought a Dell with Vista Home Premium on it. So, all my WPF exe's run
> fine using C# Express.
>
> When I published the application to my server via C# Express, that worked
> great. An IE window popped open with an install button pointing to my
> .application file - this is nice for testing.
>
> I clicked on link, and I get a message saying I need to install .Net
> Framework 3.0...huh...what...
>
> Clicked to install .NET 3.0 Framework, and that installer says, I already
> have it. "Go to the Control Panel and turn it on\off for changes". Well, it
> is on, but I found HTTP and non-activation was turned off - turned those on
> just in case. But it didn't help.
>
> In a nutshell, .application is not working on Vista Home Premium.
>
> Here is my test link:
> http://www.therhogue.com/RHoguePak/T...ak.application
>
> Has anyone else run into this issue? Do any of the Microsoft folks have an
> idea on what could be the problem?
>
> thanx
> TheRHogue


My System SpecsSystem Spec
Old 03-20-2007   #3 (permalink)
Bryan Phillips


 
 

Re: WPF deployment problem on Vista

BTW, I noticed that you misspelled the Window1.xaml file in your
project. In your code, you reference Window1.xaml, but you have
Windows1.baml in your resources section.

--
Bryan Phillips
MCSD, MCDBA, MCSE
Blog: http://bphillips76.spaces.live.com



"TheRHogue" <TheRHogue@discussions.microsoft.com> wrote in message
news:58A1D94E-9FEA-4106-9F49-577C6B4C6490@microsoft.com:

> I just bought a Dell with Vista Home Premium on it. So, all my WPF exe's run
> fine using C# Express.
>
> When I published the application to my server via C# Express, that worked
> great. An IE window popped open with an install button pointing to my
> .application file - this is nice for testing.
>
> I clicked on link, and I get a message saying I need to install .Net
> Framework 3.0...huh...what...
>
> Clicked to install .NET 3.0 Framework, and that installer says, I already
> have it. "Go to the Control Panel and turn it on\off for changes". Well, it
> is on, but I found HTTP and non-activation was turned off - turned those on
> just in case. But it didn't help.
>
> In a nutshell, .application is not working on Vista Home Premium.
>
> Here is my test link:
> http://www.therhogue.com/RHoguePak/T...ak.application
>
> Has anyone else run into this issue? Do any of the Microsoft folks have an
> idea on what could be the problem?
>
> thanx
> TheRHogue


My System SpecsSystem Spec
Old 03-21-2007   #4 (permalink)
TheRHogue


 
 

Re: WPF deployment problem on Vista

The only difference I have is that I am running Vista Home Premium. I have
the default settings set also.



"Bryan Phillips" wrote:

> It works on my machine:
>
> Vista Ultimate
> IE Protected Mode On
> ..Net 3.0 already installed
> No change in assembly trust level
> UAC turned on
>
>
> BTW, the HTTP and non-activation stuff is only for WCF not WPF.
>
> If you are getting an error during the deployment, look in your event
> log for an entry for the failed install and post it here.
>
> --
> Bryan Phillips
> MCSD, MCDBA, MCSE
> Blog: http://bphillips76.spaces.live.com
>
>
>
> "TheRHogue" <TheRHogue@discussions.microsoft.com> wrote in message
> news:58A1D94E-9FEA-4106-9F49-577C6B4C6490@microsoft.com:
>
> > I just bought a Dell with Vista Home Premium on it. So, all my WPF exe's run
> > fine using C# Express.
> >
> > When I published the application to my server via C# Express, that worked
> > great. An IE window popped open with an install button pointing to my
> > .application file - this is nice for testing.
> >
> > I clicked on link, and I get a message saying I need to install .Net
> > Framework 3.0...huh...what...
> >
> > Clicked to install .NET 3.0 Framework, and that installer says, I already
> > have it. "Go to the Control Panel and turn it on\off for changes". Well, it
> > is on, but I found HTTP and non-activation was turned off - turned those on
> > just in case. But it didn't help.
> >
> > In a nutshell, .application is not working on Vista Home Premium.
> >
> > Here is my test link:
> > http://www.therhogue.com/RHoguePak/T...ak.application
> >
> > Has anyone else run into this issue? Do any of the Microsoft folks have an
> > idea on what could be the problem?
> >
> > thanx
> > TheRHogue

>
>

My System SpecsSystem Spec
Old 03-21-2007   #5 (permalink)
TheRHogue


 
 

Re: WPF deployment problem on Vista

I don't know what you are looking at...windows1.baml is the compiled version
of windows1.xaml. I assume you are digging into the exe resources, and that
is expected behavior.

"Bryan Phillips" wrote:

> BTW, I noticed that you misspelled the Window1.xaml file in your
> project. In your code, you reference Window1.xaml, but you have
> Windows1.baml in your resources section.
>
> --
> Bryan Phillips
> MCSD, MCDBA, MCSE
> Blog: http://bphillips76.spaces.live.com
>
>
>
> "TheRHogue" <TheRHogue@discussions.microsoft.com> wrote in message
> news:58A1D94E-9FEA-4106-9F49-577C6B4C6490@microsoft.com:
>
> > I just bought a Dell with Vista Home Premium on it. So, all my WPF exe's run
> > fine using C# Express.
> >
> > When I published the application to my server via C# Express, that worked
> > great. An IE window popped open with an install button pointing to my
> > .application file - this is nice for testing.
> >
> > I clicked on link, and I get a message saying I need to install .Net
> > Framework 3.0...huh...what...
> >
> > Clicked to install .NET 3.0 Framework, and that installer says, I already
> > have it. "Go to the Control Panel and turn it on\off for changes". Well, it
> > is on, but I found HTTP and non-activation was turned off - turned those on
> > just in case. But it didn't help.
> >
> > In a nutshell, .application is not working on Vista Home Premium.
> >
> > Here is my test link:
> > http://www.therhogue.com/RHoguePak/T...ak.application
> >
> > Has anyone else run into this issue? Do any of the Microsoft folks have an
> > idea on what could be the problem?
> >
> > thanx
> > TheRHogue

>
>

My System SpecsSystem Spec
Old 03-21-2007   #6 (permalink)
TheRHogue


 
 

RE: WPF deployment problem on Vista

Here is some more info:

..XBAP's are working, but .Applications are exibiting the problem.

My useragent string comes back as this:

This machine's userAgent string is: Mozilla/4.0 (compatible; MSIE 7.0;
Windows NT 6.0; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR
3.0.04506).


The registry entry for .NET CLR setup matches correctly:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v3.0\Setup -
version = 3.0.04506

I configured IIS and checked the MIME types - and the problem repro'd in
this case also for .application type deployments.

IE doesn't think I have .NET 3.0 on Vista Home Premium and I'm prompted to
install it...which won't work because the installer won't install anything
because it's Vista.

I don't know of a log generated in this case because IE is only popping up a
dialog to install .NET 3.0. There are no exceptions.

Still digging, but if this information gives someone an idea on what be
going on, please let me know. thanx.


"TheRHogue" wrote:

> I just bought a Dell with Vista Home Premium on it. So, all my WPF exe's run
> fine using C# Express.
>
> When I published the application to my server via C# Express, that worked
> great. An IE window popped open with an install button pointing to my
> .application file - this is nice for testing.
>
> I clicked on link, and I get a message saying I need to install .Net
> Framework 3.0...huh...what...
>
> Clicked to install .NET 3.0 Framework, and that installer says, I already
> have it. "Go to the Control Panel and turn it on\off for changes". Well, it
> is on, but I found HTTP and non-activation was turned off - turned those on
> just in case. But it didn't help.
>
> In a nutshell, .application is not working on Vista Home Premium.
>
> Here is my test link:
> http://www.therhogue.com/RHoguePak/T...ak.application
>
> Has anyone else run into this issue? Do any of the Microsoft folks have an
> idea on what could be the problem?
>
> thanx
> TheRHogue
>
>
>

My System SpecsSystem Spec
Old 04-20-2007   #7 (permalink)
TheRHogue


 
 

RE: WPF deployment problem on Vista

In case someone else runs into this, others have run the link on Vista Home
Premium. So, at this point, it's my machine.

"TheRHogue" wrote:

> Here is some more info:
>
> .XBAP's are working, but .Applications are exibiting the problem.
>
> My useragent string comes back as this:
>
> This machine's userAgent string is: Mozilla/4.0 (compatible; MSIE 7.0;
> Windows NT 6.0; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR
> 3.0.04506).
>
>
> The registry entry for .NET CLR setup matches correctly:
> HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v3.0\Setup -
> version = 3.0.04506
>
> I configured IIS and checked the MIME types - and the problem repro'd in
> this case also for .application type deployments.
>
> IE doesn't think I have .NET 3.0 on Vista Home Premium and I'm prompted to
> install it...which won't work because the installer won't install anything
> because it's Vista.
>
> I don't know of a log generated in this case because IE is only popping up a
> dialog to install .NET 3.0. There are no exceptions.
>
> Still digging, but if this information gives someone an idea on what be
> going on, please let me know. thanx.
>
>
> "TheRHogue" wrote:
>
> > I just bought a Dell with Vista Home Premium on it. So, all my WPF exe's run
> > fine using C# Express.
> >
> > When I published the application to my server via C# Express, that worked
> > great. An IE window popped open with an install button pointing to my
> > .application file - this is nice for testing.
> >
> > I clicked on link, and I get a message saying I need to install .Net
> > Framework 3.0...huh...what...
> >
> > Clicked to install .NET 3.0 Framework, and that installer says, I already
> > have it. "Go to the Control Panel and turn it on\off for changes". Well, it
> > is on, but I found HTTP and non-activation was turned off - turned those on
> > just in case. But it didn't help.
> >
> > In a nutshell, .application is not working on Vista Home Premium.
> >
> > Here is my test link:
> > http://www.therhogue.com/RHoguePak/T...ak.application
> >
> > Has anyone else run into this issue? Do any of the Microsoft folks have an
> > idea on what could be the problem?
> >
> > thanx
> > TheRHogue
> >
> >
> >

My System SpecsSystem Spec
Old 05-18-2007   #8 (permalink)
TheRHogue


 
 

RE: WPF deployment problem on Vista

I'm following up here in case other run into this issue.

When I followed Procmon registry accesses when running the link, I found
that half my registry entries around .application were missing. So, Vista
installed by Dell was screwed up, and the Dell Vista image is messed up.

After buying Vista off the shelf, reformatting, and re-installing everything
works as expected.

I only hope I'm the only person who got the bad image



"TheRHogue" wrote:

> I just bought a Dell with Vista Home Premium on it. So, all my WPF exe's run
> fine using C# Express.
>
> When I published the application to my server via C# Express, that worked
> great. An IE window popped open with an install button pointing to my
> .application file - this is nice for testing.
>
> I clicked on link, and I get a message saying I need to install .Net
> Framework 3.0...huh...what...
>
> Clicked to install .NET 3.0 Framework, and that installer says, I already
> have it. "Go to the Control Panel and turn it on\off for changes". Well, it
> is on, but I found HTTP and non-activation was turned off - turned those on
> just in case. But it didn't help.
>
> In a nutshell, .application is not working on Vista Home Premium.
>
> Here is my test link:
> http://www.therhogue.com/RHoguePak/T...ak.application
>
> Has anyone else run into this issue? Do any of the Microsoft folks have an
> idea on what could be the problem?
>
> thanx
> TheRHogue
>
>
>

My System SpecsSystem Spec
 

Thread Tools


Similar Threads
Thread Forum
Problem in Click once deployment .NET General
Help with Deployment Workbench and Deployment Services Vista installation & setup
Vista SP1 deployment via WU... Vista General
Micrsoft Deployment and Vista image deployment.... Vista installation & setup
Vista Deployment Vista installation & setup


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

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