Home All Groups Group Topic Archive Search About

One Click Installation

Author
3 Aug 2006 2:57 PM
Stephen Costanzo
I have an application which requires OCXs to be deployed and registered on
the workstation. Is it possible to run the application install from an MSI
and have One Click then look for updates to the EXEs? I know it cannot pick
up changes to the OCXs. Or must I create a bootstrap application to
install/register the OCXs prior to the application being placed on the
workstation?

Second question: When I enter the information for the One Click application,
I would publish to my ftp site, but my customers will be copying the
information from the ftp site to their web server. I am assuming I would
place their web server into the Installation URL field in the Publish
window. What happens if they move the web server?

Thank you in advance.

Author
3 Aug 2006 8:39 PM
Rich
Greetings,

I am pretty sure you can publish and install your OCXs with Click Once. 
Just add the OCXs to your project, then in the propertySheet of the OCX(s)
when in the Publish Window, look at the File Properties of the OCX(s).  In
the build action you have 4 options - Non, Compile, Copy Content, Embed.   
You might want to try the  Copy Content option.  Then in the Copy To Output
Directory Opion, select Copy Always. 

Note:  If your OCXs are com based, you might want to upgrade them to .Net Dlls

AS for your second question, I believe if your customers change their
webservers, you need to change the (2nd) publish URL.  The alternative would
be for the customers to go to a link and perform their updates that way (not
as automated though).

Rich

Show quoteHide quote
"Stephen Costanzo" wrote:

> I have an application which requires OCXs to be deployed and registered on
> the workstation. Is it possible to run the application install from an MSI
> and have One Click then look for updates to the EXEs? I know it cannot pick
> up changes to the OCXs. Or must I create a bootstrap application to
> install/register the OCXs prior to the application being placed on the
> workstation?
>
> Second question: When I enter the information for the One Click application,
> I would publish to my ftp site, but my customers will be copying the
> information from the ftp site to their web server. I am assuming I would
> place their web server into the Installation URL field in the Publish
> window. What happens if they move the web server?
>
> Thank you in advance.
>
>
>
Author
9 Aug 2006 2:02 PM
Stephen Costanzo
Thanks Rich.

If I understand your second point correctly, I would have to repackage the
application if that changed.

Thank you

Show quoteHide quote
"Rich" <R***@discussions.microsoft.com> wrote in message
news:29D0FD8E-41A3-48BC-ABCD-E1318254D40B@microsoft.com...
> Greetings,
>
> I am pretty sure you can publish and install your OCXs with Click Once.
> Just add the OCXs to your project, then in the propertySheet of the OCX(s)
> when in the Publish Window, look at the File Properties of the OCX(s).  In
> the build action you have 4 options - Non, Compile, Copy Content, Embed.
> You might want to try the  Copy Content option.  Then in the Copy To
> Output
> Directory Opion, select Copy Always.
>
> Note:  If your OCXs are com based, you might want to upgrade them to .Net
> Dlls
>
> AS for your second question, I believe if your customers change their
> webservers, you need to change the (2nd) publish URL.  The alternative
> would
> be for the customers to go to a link and perform their updates that way
> (not
> as automated though).
>
> Rich
>
> "Stephen Costanzo" wrote:
>
>> I have an application which requires OCXs to be deployed and registered
>> on
>> the workstation. Is it possible to run the application install from an
>> MSI
>> and have One Click then look for updates to the EXEs? I know it cannot
>> pick
>> up changes to the OCXs. Or must I create a bootstrap application to
>> install/register the OCXs prior to the application being placed on the
>> workstation?
>>
>> Second question: When I enter the information for the One Click
>> application,
>> I would publish to my ftp site, but my customers will be copying the
>> information from the ftp site to their web server. I am assuming I would
>> place their web server into the Installation URL field in the Publish
>> window. What happens if they move the web server?
>>
>> Thank you in advance.
>>
>>
>>