[dba-VB] Click-Once setup...new version

Jack and Pat drawbridgej at sympatico.ca
Thu Apr 2 16:41:44 CDT 2009


New version works also. Seemed to be a little longer time in verification,
but it worked fine.

-----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: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





More information about the dba-VB mailing list