PC Review


Reply
Thread Tools Rate Thread

Clickonce update fails when Framework upgrade is required

 
 
Ken Lemieux
Guest
Posts: n/a
 
      7th Feb 2008
Hi,

I have a Clickonce application currently deployed with .NET 2.0 as a
prerequisite. This application has been updated to use features in .NET 3.5,
(file association).

My publish prerequisites are updated to include 3.5 Framework and Windows
Installer 3.1 as prerequisites.

As a test, the 2.0 version of my application is installed on a Windows XP
Pro, SP2 machine with only the 2.0 Framework. When the app sees the available
update, the install fails with a “System Update Required" dialog box whose
contents read:

"Unable to install or run the application. The application requires that
assembly WindowsBase Version 3.0.0.0 be installed in the Global Assembly
Cache (GAC) first.

More information on this system update can be found by visiting the site
here."

Initial installations of the 3.5 application works fine.

Can anyone shed light on the error message and perhaps the implications of
trying to update the .NET Framework during an application update that
requires said framework update?

--
Kenneth Lemieux
Project Engineer
Whelen Engineering Co., Inc.
 
Reply With Quote
 
 
 
 
Jeffrey Tan[MSFT]
Guest
Posts: n/a
 
      8th Feb 2008
Hi Kenneth,

I have added a reply to you in the original thread for this issue, it seems
that you missed it.

I have discussed this issue with the ClickOnce deployment team, they
confirmed that the only way to install prerequisites is to run the
bootstrapper, Setup.exe published by VS. Update through
shortcut will not get prerequisites installed.

You should run Setup.exe from the publish location. This will install the
prereqs and update the application as well. Hope this helps.

Best regards,
Jeffrey Tan
Microsoft Online Community Support
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.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/subscripti...t/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.

 
Reply With Quote
 
Ken Lemieux
Guest
Posts: n/a
 
      8th Feb 2008
Thanks Jeffrey,

I apologize, I did miss your post in the original thread.

Your answer is helpful, however, it leads me to a new question. My
application is set to update before the application starts, how do I
interrupt that process to prompt users to re-run setup.exe.? I would also ask
if the process in some way could be automated to appear as an update?

I have two deployment scenerios: internal and external consumers. Internal
is less of an issue because, once available as a wsus update, I could
pre-deploy the 3.5 framework. External users are my real concern because my
app is my only link to them.
--
Kenneth Lemieux
Project Engineer
Whelen Engineering Co., Inc.


""Jeffrey Tan[MSFT]"" wrote:

> Hi Kenneth,
>
> I have added a reply to you in the original thread for this issue, it seems
> that you missed it.
>
> I have discussed this issue with the ClickOnce deployment team, they
> confirmed that the only way to install prerequisites is to run the
> bootstrapper, Setup.exe published by VS. Update through
> shortcut will not get prerequisites installed.
>
> You should run Setup.exe from the publish location. This will install the
> prereqs and update the application as well. Hope this helps.
>
> Best regards,
> Jeffrey Tan
> Microsoft Online Community Support
> ==================================================
> Get notification to my posts through email? Please refer to
> http://msdn.microsoft.com/subscripti...ult.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/subscripti...t/default.aspx.
> ==================================================
> This posting is provided "AS IS" with no warranties, and confers no rights.
>
>

 
Reply With Quote
 
Jeffrey Tan[MSFT]
Guest
Posts: n/a
 
      12th Feb 2008
Hi Kenneth,

Thanks for your feedback.

By design, Setup.exe is supposed to run once before the installation of v1
so there is no seamless way of getting it executed during auto-update at
this time.

After discussing with the ClickOnce deployment team, we can think of some
tricks like : Publish a new version v2 which is an intermediate version
just to install the actual new version. v2 launches Setup.exe upon first
run etc. to get some auto-update behavior. But it will not look seamless
unfortunately.

Hope this helps.

Best regards,
Jeffrey Tan
Microsoft Online Community Support
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.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/subscripti...t/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.

 
Reply With Quote
 
Ken Lemieux
Guest
Posts: n/a
 
      12th Feb 2008
Thanks Jeffrey,

You've confirmed what I believed to be my best option; to deploy an
intermediate version.

--
Kenneth Lemieux
Project Engineer
Whelen Engineering Co., Inc.


""Jeffrey Tan[MSFT]"" wrote:

> Hi Kenneth,
>
> Thanks for your feedback.
>
> By design, Setup.exe is supposed to run once before the installation of v1
> so there is no seamless way of getting it executed during auto-update at
> this time.
>
> After discussing with the ClickOnce deployment team, we can think of some
> tricks like : Publish a new version v2 which is an intermediate version
> just to install the actual new version. v2 launches Setup.exe upon first
> run etc. to get some auto-update behavior. But it will not look seamless
> unfortunately.
>
> Hope this helps.
>
> Best regards,
> Jeffrey Tan
> Microsoft Online Community Support
> ==================================================
> Get notification to my posts through email? Please refer to
> http://msdn.microsoft.com/subscripti...ult.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/subscripti...t/default.aspx.
> ==================================================
> This posting is provided "AS IS" with no warranties, and confers no rights.
>
>

 
Reply With Quote
 
Jeffrey Tan[MSFT]
Guest
Posts: n/a
 
      13th Feb 2008
Hi Kenneth,

Yes, it seems that using an intermediate version to launch setup.exe is the
only workaround we have now.

Anyway, if you need further help, please feel free to post, thanks.

Best regards,
Jeffrey Tan
Microsoft Online Community Support
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.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/subscripti...t/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.

 
Reply With Quote
 
Ken Olsen
Guest
Posts: n/a
 
      8th Dec 2009
Hello,

I am facing this problem and wonder if there is a more elegant way of adding new prereqisites to a already installed ClickOnce application

Thanks in advance
/Ken



jeta wrote:

Hi Kenneth,Yes, it seems that using an intermediate version to launch setup.
12-Feb-08

Hi Kenneth

Yes, it seems that using an intermediate version to launch setup.exe is the
only workaround we have now.

Anyway, if you need further help, please feel free to post, thanks

Best regards
Jeffrey Ta
Microsoft Online Community Suppor
=================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ault.aspx#noti
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/subscripti...t/default.aspx
=================================================
This posting is provided "AS IS" with no warranties, and confers no rights.

Previous Posts In This Thread:

On Thursday, February 07, 2008 8:20 AM
KillerCode wrote:

Clickonce update fails when Framework upgrade is required
Hi

I have a Clickonce application currently deployed with .NET 2.0 as a
prerequisite. This application has been updated to use features in .NET 3.5
(file association).

My publish prerequisites are updated to include 3.5 Framework and Windows
Installer 3.1 as prerequisites.

As a test, the 2.0 version of my application is installed on a Windows XP
Pro, SP2 machine with only the 2.0 Framework. When the app sees the available
update, the install fails with a ???System Update Required" dialog box whose
contents read

"Unable to install or run the application. The application requires that
assembly WindowsBase Version 3.0.0.0 be installed in the Global Assembly
Cache (GAC) first

More information on this system update can be found by visiting the site
here.

Initial installations of the 3.5 application works fine

Can anyone shed light on the error message and perhaps the implications of
trying to update the .NET Framework during an application update that
requires said framework update

--
Kenneth Lemieu
Project Enginee
Whelen Engineering Co., Inc.

On Thursday, February 07, 2008 10:51 PM
jeta wrote:

Hi Kenneth,I have added a reply to you in the original thread for this issue,
Hi Kenneth

I have added a reply to you in the original thread for this issue, it seems
that you missed it.

I have discussed this issue with the ClickOnce deployment team, they
confirmed that the only way to install prerequisites is to run the
bootstrapper, Setup.exe published by VS. Update through
shortcut will not get prerequisites installed.

You should run Setup.exe from the publish location. This will install the
prereqs and update the application as well. Hope this helps

Best regards
Jeffrey Ta
Microsoft Online Community Suppor
=================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ault.aspx#noti
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/subscripti...t/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.

On Friday, February 08, 2008 8:09 AM
KillerCode wrote:

Thanks Jeffrey,I apologize, I did miss your post in the original thread.
Thanks Jeffrey,

I apologize, I did miss your post in the original thread.

Your answer is helpful, however, it leads me to a new question. My
application is set to update before the application starts, how do I
interrupt that process to prompt users to re-run setup.exe.? I would also ask
if the process in some way could be automated to appear as an update?

I have two deployment scenerios: internal and external consumers. Internal
is less of an issue because, once available as a wsus update, I could
pre-deploy the 3.5 framework. External users are my real concern because my
app is my only link to them.
--
Kenneth Lemieux
Project Engineer
Whelen Engineering Co., Inc.


""Jeffrey Tan[MSFT]"" wrote:

On Monday, February 11, 2008 9:37 PM
jeta wrote:

Hi Kenneth,Thanks for your feedback.By design, Setup.
Hi Kenneth,

Thanks for your feedback.

By design, Setup.exe is supposed to run once before the installation of v1
so there is no seamless way of getting it executed during auto-update at
this time.

After discussing with the ClickOnce deployment team, we can think of some
tricks like : Publish a new version v2 which is an intermediate version
just to install the actual new version. v2 launches Setup.exe upon first
run etc. to get some auto-update behavior. But it will not look seamless
unfortunately.

Hope this helps.

Best regards,
Jeffrey Tan
Microsoft Online Community Support
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.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/subscripti...t/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.

On Tuesday, February 12, 2008 7:52 AM
KillerCode wrote:

Thanks Jeffrey,You've confirmed what I believed to be my best option; to
Thanks Jeffrey,

You've confirmed what I believed to be my best option; to deploy an
intermediate version.

--
Kenneth Lemieux
Project Engineer
Whelen Engineering Co., Inc.


""Jeffrey Tan[MSFT]"" wrote:

On Tuesday, February 12, 2008 9:07 PM
jeta wrote:

Hi Kenneth,Yes, it seems that using an intermediate version to launch setup.
Hi Kenneth,

Yes, it seems that using an intermediate version to launch setup.exe is the
only workaround we have now.

Anyway, if you need further help, please feel free to post, thanks.

Best regards,
Jeffrey Tan
Microsoft Online Community Support
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.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/subscripti...t/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.


Submitted via EggHeadCafe - Software Developer Portal of Choice
..NET Windows Forms Cursor To Hourglass
http://www.eggheadcafe.com/tutorials...ms-cursor.aspx
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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
ClickOnce program fails to run properly after update =?Utf-8?B?TWljaGFlbCBELiBSZWVk?= Microsoft Dot NET Framework 8 29th Nov 2006 10:41 AM
ClickOnce program fails to run properly after update =?Utf-8?B?TWljaGFlbCBELiBSZWVk?= Microsoft VB .NET 2 21st Nov 2006 09:31 AM
ClickOnce program fails to run properly after update =?Utf-8?B?TWljaGFlbCBELiBSZWVk?= Microsoft C# .NET 2 21st Nov 2006 09:31 AM
Outlook RSS Feed Add-In, Required .NET Framework, Fails with error =?Utf-8?B?QnJhZCBBc2hmb3J0aA==?= Microsoft Dot NET Framework 5 14th Sep 2005 06:23 AM
.Net Framework 1.1 SP1 fails upgrade Ken Gash Windows XP General 2 19th Mar 2005 04:02 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:20 PM.