PC Review


Reply
Thread Tools Rate Thread

Clickonce update requires new prerequisite

 
 
Ken Lemieux
Guest
Posts: n/a
 
      1st 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). When my current app sees the available update the install
fails because the .NET 3.5 framework is not present. Initial installations
are fine.

How do I enforce installing of a prerequisite upon update of a Clickonce
application?
--
Kenneth Lemieux
Project Engineer
Whelen Engineering Co., Inc.
 
Reply With Quote
 
 
 
 
RobinS
Guest
Posts: n/a
 
      2nd Feb 2008
If you want the application to use .Net 3.5 features, you must deploy it
with .Net 3.5 as a prerequisite. Are you deploying it with .Net 3.5 checked
as a prerequisite under the <Prerequisites> section of the Publish page
rather than .Net 2.0?

RobinS.
---------------------------------
"Ken Lemieux" <(E-Mail Removed)> wrote in message
news:E4882E81-5E95-4685-B2C6-(E-Mail Removed)...
> 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). When my current app sees the available update the
> install
> fails because the .NET 3.5 framework is not present. Initial installations
> are fine.
>
> How do I enforce installing of a prerequisite upon update of a Clickonce
> application?
> --
> Kenneth Lemieux
> Project Engineer
> Whelen Engineering Co., Inc.


 
Reply With Quote
 
Linda Liu[MSFT]
Guest
Posts: n/a
 
      4th Feb 2008
Hi Kenneth,

You need to select .NET Framework 3.5 as a prerequisite when you publish
the upgraded application.

To do this, right click the project item in the Solution Explorer in VS2008
and choose 'Properties'. In the Project Designer, switch to the 'Publish'
tab and click the 'Prerequisites...' button.

In the Prerequisite dialog, select the checkbox before the 'Create setup
program to install prerequisite components' option and select the checkbox
before the '.NET Framework 3.5' item in the list.

Hope this helps.
If you have any question, please feel free to let me know.

Sincerely,
Linda Liu
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
 
      4th Feb 2008
Thanks for the responses RobinS and Linda.
I apologize, because I neglected to tell you that I had already checked 3.5
Framework and 3.1 Windows Installer as prerequisites. Below is the text from
the "System Update Required" dialog box thats displayed when an installed 2.0
Clickonce application detects an update requiring the 3.5 Framework.

"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."
--
Kenneth Lemieux
Project Engineer
Whelen Engineering Co., Inc.


"Ken Lemieux" wrote:

> 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). When my current app sees the available update the install
> fails because the .NET 3.5 framework is not present. Initial installations
> are fine.
>
> How do I enforce installing of a prerequisite upon update of a Clickonce
> application?
> --
> Kenneth Lemieux
> Project Engineer
> Whelen Engineering Co., Inc.

 
Reply With Quote
 
RobinS
Guest
Posts: n/a
 
      4th Feb 2008
The machine you are trying to install it on -- what OS is it running?

RobinS.
GoldMail, Inc.
-------------------------------------
"Ken Lemieux" <(E-Mail Removed)> wrote in message
news:6E90523E-EE17-4733-86B2-(E-Mail Removed)...
> Thanks for the responses RobinS and Linda.
> I apologize, because I neglected to tell you that I had already checked
> 3.5
> Framework and 3.1 Windows Installer as prerequisites. Below is the text
> from
> the "System Update Required" dialog box thats displayed when an installed
> 2.0
> Clickonce application detects an update requiring the 3.5 Framework.
>
> "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."
> --
> Kenneth Lemieux
> Project Engineer
> Whelen Engineering Co., Inc.
>
>
> "Ken Lemieux" wrote:
>
>> 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). When my current app sees the available update the
>> install
>> fails because the .NET 3.5 framework is not present. Initial
>> installations
>> are fine.
>>
>> How do I enforce installing of a prerequisite upon update of a Clickonce
>> application?
>> --
>> Kenneth Lemieux
>> Project Engineer
>> Whelen Engineering Co., Inc.


 
Reply With Quote
 
Ken Lemieux
Guest
Posts: n/a
 
      5th Feb 2008
XP sp2, I know 3.5 is not supported by Win2K. Remeber inital install work
correctly, the problem only surfaces when upgrading the app from 2.0 to 3.5.
--
Kenneth Lemieux
Project Engineer
Whelen Engineering Co., Inc.


"RobinS" wrote:

> The machine you are trying to install it on -- what OS is it running?
>
> RobinS.
> GoldMail, Inc.
> -------------------------------------
> "Ken Lemieux" <(E-Mail Removed)> wrote in message
> news:6E90523E-EE17-4733-86B2-(E-Mail Removed)...
> > Thanks for the responses RobinS and Linda.
> > I apologize, because I neglected to tell you that I had already checked
> > 3.5
> > Framework and 3.1 Windows Installer as prerequisites. Below is the text
> > from
> > the "System Update Required" dialog box thats displayed when an installed
> > 2.0
> > Clickonce application detects an update requiring the 3.5 Framework.
> >
> > "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."
> > --
> > Kenneth Lemieux
> > Project Engineer
> > Whelen Engineering Co., Inc.
> >
> >
> > "Ken Lemieux" wrote:
> >
> >> 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). When my current app sees the available update the
> >> install
> >> fails because the .NET 3.5 framework is not present. Initial
> >> installations
> >> are fine.
> >>
> >> How do I enforce installing of a prerequisite upon update of a Clickonce
> >> application?
> >> --
> >> Kenneth Lemieux
> >> Project Engineer
> >> Whelen Engineering Co., Inc.

>
>

 
Reply With Quote
 
jim
Guest
Posts: n/a
 
      6th Feb 2008
Thanks for the heads up on 3.5.

jim


"Ken Lemieux" <(E-Mail Removed)> wrote in message
news:3E4167CB-2D83-4DEB-A92B-(E-Mail Removed)...
> XP sp2, I know 3.5 is not supported by Win2K. Remeber inital install work
> correctly, the problem only surfaces when upgrading the app from 2.0 to
> 3.5.
> --
> Kenneth Lemieux
> Project Engineer
> Whelen Engineering Co., Inc.
>
>
> "RobinS" wrote:
>
>> The machine you are trying to install it on -- what OS is it running?
>>
>> RobinS.
>> GoldMail, Inc.
>> -------------------------------------
>> "Ken Lemieux" <(E-Mail Removed)> wrote in message
>> news:6E90523E-EE17-4733-86B2-(E-Mail Removed)...
>> > Thanks for the responses RobinS and Linda.
>> > I apologize, because I neglected to tell you that I had already checked
>> > 3.5
>> > Framework and 3.1 Windows Installer as prerequisites. Below is the text
>> > from
>> > the "System Update Required" dialog box thats displayed when an
>> > installed
>> > 2.0
>> > Clickonce application detects an update requiring the 3.5 Framework.
>> >
>> > "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."
>> > --
>> > Kenneth Lemieux
>> > Project Engineer
>> > Whelen Engineering Co., Inc.
>> >
>> >
>> > "Ken Lemieux" wrote:
>> >
>> >> 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). When my current app sees the available update the
>> >> install
>> >> fails because the .NET 3.5 framework is not present. Initial
>> >> installations
>> >> are fine.
>> >>
>> >> How do I enforce installing of a prerequisite upon update of a
>> >> Clickonce
>> >> application?
>> >> --
>> >> Kenneth Lemieux
>> >> Project Engineer
>> >> Whelen Engineering Co., Inc.

>>
>>



 
Reply With Quote
 
jim
Guest
Posts: n/a
 
      6th Feb 2008
Robin,

Is your Company's ClickOnce implementation for internal software or external
users? Also, what have you noticed about the bandwidth requirements of
running a ClickOnce application? Is ClickOnce very "chatty" or does it
require careful planning to contain bandwidth costs?

Thanks!

Jim

"RobinS" <(E-Mail Removed)> wrote in message
news:L-(E-Mail Removed)...
> The machine you are trying to install it on -- what OS is it running?
>
> RobinS.
> GoldMail, Inc.
> -------------------------------------
> "Ken Lemieux" <(E-Mail Removed)> wrote in message
> news:6E90523E-EE17-4733-86B2-(E-Mail Removed)...
>> Thanks for the responses RobinS and Linda.
>> I apologize, because I neglected to tell you that I had already checked
>> 3.5
>> Framework and 3.1 Windows Installer as prerequisites. Below is the text
>> from
>> the "System Update Required" dialog box thats displayed when an installed
>> 2.0
>> Clickonce application detects an update requiring the 3.5 Framework.
>>
>> "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."
>> --
>> Kenneth Lemieux
>> Project Engineer
>> Whelen Engineering Co., Inc.
>>
>>
>> "Ken Lemieux" wrote:
>>
>>> 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). When my current app sees the available update the
>>> install
>>> fails because the .NET 3.5 framework is not present. Initial
>>> installations
>>> are fine.
>>>
>>> How do I enforce installing of a prerequisite upon update of a Clickonce
>>> application?
>>> --
>>> Kenneth Lemieux
>>> Project Engineer
>>> Whelen Engineering Co., Inc.

>



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

Thanks for the feedback.

My colleage Linda is out of office for vacation, so I will continue help
you on this issue. 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
 
jim
Guest
Posts: n/a
 
      7th Feb 2008
Hi Jeffrey,

Is your company's ClickOnce app deployed across a LAN, WAM or the internet?

jim


""Jeffrey Tan[MSFT]"" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hi Kenneth,
>
> Thanks for the feedback.
>
> My colleage Linda is out of office for vacation, so I will continue help
> you on this issue. 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
 
 
 
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
Re: ClickOnce updates and changing the prerequisite .Net Frameworkversion kimiraikkonen Microsoft C# .NET 0 19th Mar 2008 06:54 PM
Re: ClickOnce updates and changing the prerequisite .Net Frameworkversion kimiraikkonen Microsoft VB .NET 0 19th Mar 2008 06:54 PM
RE: ClickOnce updates and changing the prerequisite .Net Framework ver Peter Ritchie [C# MVP] Microsoft C# .NET 0 18th Mar 2008 08:06 PM
RE: ClickOnce updates and changing the prerequisite .Net Framework ver Peter Ritchie [C# MVP] Microsoft VB .NET 0 18th Mar 2008 08:06 PM
Force ClickOnce PreRequisite file to deploy with application? Dean Slindee Microsoft VB .NET 10 25th Feb 2008 02:15 AM


Features
 

Advertising
 

Newsgroups
 


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