RE: Click Once Install fails on Vista
- From: Jason <JRawlins@xxxxxxxxxxxxxx>
- Date: Wed, 13 Dec 2006 07:39:01 -0800
The Click Once application is actually a custom installation application.
When it's run using XP from a web page it runs, gets Full Trust status and
then connects back to the Web server, and intelligently installs different
software depending on the version of Office installed.
For 2003 it downloads and installs Office 2003 PIA's, VSTO and my Addin. For
2007 it downloads and installs VSTO SE and my addin. You may ask why I would
do this and not just create a setup for my addin, VSTO and Office PIA as
prerequisites?? Well, I tried that and after the 2.0 framework pre-req is
installed I get a 403 error when the setup program tries to download the
Office PIA or VSTO installs.
What I found out was that the setup program is attempting to connect to my
web server through the company proxy server. I read a document somewhere, I
think on MSDN that references the fact that autoproxy scripts (we use them)
cause issues with setup programs because the credentials are not passed
through the proxy (I'm guessing because the 403 comes from the proxy and NOT
the target Web server)
Programmatically I can fix that by instructing my code to bypass the proxy
for internal servers. Unfortunately I cannot do that with the setup program??
Or can I??
So, I tried to be resourceful and found that I could create a Click once
application that would temporality down load to the client and run my code
that bypasses the proxy, downloads the code and installs it...All worked
until Vista... :(
""Gary Chang[MSFT]"" wrote:
Hi Jason,.
I am having to use IP address due to a problem click once has
when I use the DNS name of the installation server verses the
NetBIOS name. The IP Address was a work around for XP.
I'm thinking the IP is making Vista think this is an external address??
yes, I think the problem is the above workaround only works in Windows XP,
but it needs the privilege elevation under Vista and the ClickOnce just
forbids the elevation.
I suggest you may need to tune your approach to prevent it requiring a
privilege elevation under Vista.
By the way, you also could try to run your VS2005 elevated Run as
Administrator') when you want to publish your ClickOnce application on
Vista.
Thanks!
Best regards,
Gary Chang
Microsoft Online Community Support
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.
Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
- Follow-Ups:
- RE: Click Once Install fails on Vista
- From: Luke Zhang [MSFT]
- RE: Click Once Install fails on Vista
- References:
- Click Once Install fails on Vista
- From: Jason
- RE: Click Once Install fails on Vista
- From: "Gary Chang[MSFT]"
- Click Once Install fails on Vista
- Prev by Date: Re: VS 2005, .NET 3.0 HowTo?
- Next by Date: RE: Click Once Install fails on Vista
- Previous by thread: RE: Click Once Install fails on Vista
- Next by thread: RE: Click Once Install fails on Vista
- Index(es):
Relevant Pages
|