Salakhetdinov Shamil
mcp2004 at mail.ru
Mon Apr 6 13:40:28 CDT 2009
Hi All, Here what I have got with Click-Once: - I have got installed .NET Framework 3.5 SP1. and now every time I try to start Click-Once app from URL it asks me: Would you like do download and install the Microsoft .NET Framework? And I have .NET Framework installed. If I let to reinstall/repair it accepting the above proposal .NET Framework 3.5 SP1 installs well but the next time I'm trying to use Click-Once .... it goes crazy cycle asking Would you like do download and install the Microsoft .NET Framework? Reboot doesn't help. Nothing so far helped. (even if I do not use prerequisites it (Click-Once loader) wants to reinstall .NET Framework 3.5 SP1)... Have you ever seen something like that? (it reminds me COM DLL-Hell times)... If you know how to fix that issue that wouLd be very useful here. When testing the same Click-Once URL on another PC without .NET Framework 3.5 SP1 it works well - you can try (watch line wraps): http://shamils-4.hosting.parking.ru/click-once/Test2/WpfHelloWorld.application?Company=Test&UserId=Guest Is the only solution to uninstall .NET Framework 3.5 SP1? But will it help? (BTW, installing .NET Framework 3.5 SP1 was very slow and "ate" about 500MB from system HDD and I can't find where it went taking into account that .NET Framework 3.5 SP1 seems to be just around 20MB large)... That's a first time I'm having real trouble with .NET Framework related setups... Thank you. -- Shamil -----Original Message----- From: "James Barash" <James at fcidms.com> To: "'Salakhetdinov Shamil'" <mcp2004 at mail.ru>,"'Discussion concerning Visual Basic and related programming issues.'" <dba-vb at databaseadvisors.com> Date: Fri, 3 Apr 2009 09:45:26 -0400 Subject: RE: [dba-VB] Click-Once setup... > Shamil: > Still works fine here. > > James > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov > Shamil > Sent: Thursday, April 02, 2009 3:51 PM > To: Discussion concerning Visual Basic and related programming issues. > Subject: Re: [dba-VB] Click-Once setup... > > > Thank you Gustav, Jack and Pat, James, Mike for testing the link. > > As I have written previously here I have published the new version here > > http://shamils-4.hosting.parking.ru/click-once/MySampleWpfApplication.applic > ation?Company=Test&UserId=Guest > > (watch line wraps) > > which is now signed with my code certofocate and accepts parameters > specified in URL. > > All the info for this sample is obtained from the following sources: > > Click-Once Deployment > http://msdn.microsoft.com/en-us/library/t71a733d(VS.80).aspx > > Deploying WPF Applications with ClickOnce > http://msdn.microsoft.com/en-us/library/cc707835.aspx > > How to: Retrieve Query String Information in a ClickOnce Application > http://msdn.microsoft.com/en-us/library/ms172242(VS.80).aspx > > as well as from Gustav's previous posting on click-once here on dba-VB: > > http://databaseadvisors.com/pipermail/dba-vb/2008-October/002037.html > > although I didn't use (yet) any external tools to make this setup - I have > just used VS2008's: > > Right-Click VS Project entry -> Properies -> Publish > > as well as MS Windows MMC Certificates snap-in to install my code signing > certificate as the Trusted Root Certification Authorities certificate. > > I think we can use similar Click-Once deployment feature to setup a test > version of our Northwind.NET executables together with MS SQL database > running under MS SQL Express... > > Thank you. > > -- > Shamil > > > -----Original Message----- > From: "Mike Mattys" <mmattys at rochester.rr.com> > To: "Discussion concerning Visual Basic and related programming > issues."<dba-vb at databaseadvisors.com> > Date: Thu, 2 Apr 2009 09:58:07 -0400 > Subject: Re: [dba-VB] Click-Once setup... > > > Hi Shamil, > > > > It worked here after 'unknown publisher' warning. > > Took a few moments 'verifying application requirements.' > > > > - > > Michael R Mattys > > MapPoint and Database Dev > > www.mattysconsulting.com > > - > > ----- Original Message ----- > > From: "James Barash" <James at fcidms.com> > > To: "'Salakhetdinov Shamil'" <mcp2004 at mail.ru>; "'Discussion concerning > > Visual Basic and related programming issues.'" > <dba-vb at databaseadvisors.com> > > Sent: Thursday, April 02, 2009 9:34 AM > > Subject: Re: [dba-VB] Click-Once setup... > > > > > > > Shamil: > > > It worked fine here. I got a warning about the certificate but it ran > > > fine. > > > > > > James Barash > > > > > > -----Original Message----- > > > From: dba-vb-bounces at databaseadvisors.com > > > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov > > > Shamil > > > Sent: Thursday, April 02, 2009 2:01 AM > > > To: Discussion concerning Visual Basic and related programming issues. > > > Subject: Re: [dba-VB] Click-Once setup... > > > > > > > > > Hi All, > > > > > > I have published simple WPF Click-Once sample here: > > > > > > > http://shamils-4.hosting.parking.ru/click-once/MySampleWpfApplication.applic > > > ation > > > > > > Could you please test how it works for you by clicking on the above > link? > > > It works OK here. > > > > > > Please note that I signed it by using test certificate - not sure how it > > > works on other systems. > > > > > > Thank you. > > > > > > -- > > > Shamil > > > > > > > > > > > > -----Original Message----- > > > From: Salakhetdinov Shamil <mcp2004 at mail.ru> > > > To: "Discussion concerning Visual Basic and related programming > > > issues."<dba-vb at databaseadvisors.com> > > > Date: Thu, 02 Apr 2009 02:23:38 +0400 > > > Subject: Re: [dba-VB] Click-Once setup... > > > > > >> > > >> Have just found addtional Click-Once related stuff to > > > read-through/investigate/apply tomorrow: > > >> > > >> http://msdn.microsoft.com/en-us/library/t71a733d(VS.80).aspx > > >> > > >> http://msdn.microsoft.com/en-us/library/cc707835.aspx > > >> > > >> -- > > >> Shamil > > >> > > >> -----Original Message----- > > >> From: Salakhetdinov Shamil <mcp2004 at mail.ru> > > >> To: "Discussion concerning Visual Basic and related programming > > > issues."<dba-vb at databaseadvisors.com> > > >> Date: Thu, 02 Apr 2009 02:17:18 +0400 > > >> Subject: Re: [dba-VB] Click-Once setup... > > >> > > >> > > > >> > Hi Gustav, > > >> > > > >> > Thank you for your info. > > >> > > > >> > I have just tried to setup a simple WPF app as Click-Once on my > ASP.NET > > > hosting site but it didn't work from my first try. I've probably done > > > something wrong. > > >> > > > >> > I will continue tomorrow... > > >> > > > >> > Thank you. > > >> > > > >> > -- > > >> > Shamil > > >> > > > >> > > > >> > -----Original Message----- > > >> > From: "Gustav Brock" <Gustav at cactus.dk> > > >> > To: <dba-vb at databaseadvisors.com> > > >> > Date: Wed, 01 Apr 2009 23:17:01 +0200 > > >> > Subject: Re: [dba-VB] Click-Once setup... > > >> > > > >> > > Hi Shamil > > >> > > > > >> > > Indeed! Highly recommended: > > >> > > > > >> > > > http://databaseadvisors.com/pipermail/dba-vb/2008-October/002037.html > > >> > > > > >> > > I have installed a web server (IIS) at the client to which I have > > > external access and publish the app to this directly from VS (via FTP) > > > when > > > a revision has been made. It can't be easier. > > >> > > > > >> > > /gustav > > >> > > > > >> > > PS: Will return to the SCRUM stuff tomorrow. It's bedtime here ... > > >> > > > > >> > > > > >> > > >>> Salakhetdinov Shamil <mcp2004 at mail.ru> 01-04-2009 21:14 >>> > > >> > > Hi All, > > >> > > > > >> > > Does anybody have .NET Apps Click-Once setup experience - namely > .NET > > > WPF apps Click-Once experience? > > >> > > > > >> > > I wonder how much time it could be needed for me to configure and > > >> > > test > > > such setup assuming I have WPF appricaltion ready? > > >> > > > > >> > > My customer also wanted to have CompanyName and UserId specified > and > > > somehow passed from Click-Once URL > > >> > > > > >> > > http://my-click-once-application-url?c=company&u=userid > > >> > > > > >> > > to the local application when it is installed first > > > time/updated/on-start-up to get UserId in login dialog - is it possible > to > > > get such params somehow by the subject application passed to the latter > > > "automagically" in e.g. standard start-up arguments or something like > > > that? > > >> > > > > >> > > Thank you. > > >> > > > > >> > > -- > > >> > > Shamil > > >> > > > > >> > > P.S. > > >> > > > > >> > > "WPF App deployed with ClickOnce": > > >> > > > > >> > > > > > > http://stackoverflow.com/questions/461186/is-this-list-a-correct-understandi > > > ng-of-microsofts-current-application-deploymen > > >> > > > > >> > > requires two clicks (click hyperlink, click yes), no user input > > >> > > only for current user, no per-machine installations > > >> > > no shortcuts on desktop > > >> > > appears in program list like normal applications > > >> > > applications files are always copied to ../My Documents/My > > > Applications > > >> > > a shortcut to your application will be put in Start menu / your > > > company name > > >> > > cannot modify the target computer, isolated from operating system > > >> > > automatically detects and updates a newer version > > >> > > published simply by putting them on a webserver (where clients > detect > > > and get them) > > >> > > requires .NET 2.0 or later > > >> > > comparable to Java Web Start > > >> > > solves four problems: (1) easy deployment, (2) easy updating, (3) > > > low-impact on target computer, (4) no need for administrator > permissions. > > >> > > considered "low impact" > > >> > > if two users have the same ClickOnce applciation installed on the > > >> > > same > > > machine, they will not break each other > > >> > > employs CAS for security > > >> > > user does not have to be online to use application > > >> > > standalone ClickOnce apps do not work on Firefox and Mac with > Firefox > > > now since it needs the .NET runtime > > >> > > restricted to single-window apps since they run in the browser > > >> > > building a ClickOnce manifest is much easier than Silverlight etc, > > > since the IDE will do almost all of it for you; you just have to host > the > > > files somewhere (could be a web URL; could be a network UNC). > > >> > > > > >> > > > > >> > > > > >> > > _______________________________________________ > > >> > > dba-VB mailing list > > >> > > dba-VB at databaseadvisors.com > > >> > > http://databaseadvisors.com/mailman/listinfo/dba-vb > > >> > > http://www.databaseadvisors.com > > >> > > > > >> > > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com >