How do I collect installation data and send it to web server

Got a problem you cannot solve? Try here.
chakresh
Posts: 14
Joined: Mon Mar 07, 2011 6:39 am

How do I collect installation data and send it to web server

Postby chakresh » Mon Nov 21, 2011 4:30 am

Using my Installaware installation package how can we collect any installation data(for example:USERNAME, COMPANYNAME, LogonUser, UserIPAddress, etc.) and send it to IIS web server.

In my case I have to send a notification to the IIS web server that whether application client has been successfully upgraded to the latest version or not.This notification will be updated in an existing SQL Server database at the server end.

Is there any place in Installaware where this collected information can be submitted ?
How can we send HTTP request from installaware and update the information at server end ?

Kindly suggest, how I can achieve this using Installaware.

giaviv
Posts: 2039
Joined: Fri Dec 17, 2010 1:39 pm

Re: How do I collect installation data and send it to web se

Postby giaviv » Mon Nov 21, 2011 8:30 am

Hi,

Unfortunately InstallAware does not allow you to send an HTTP request.
I am afraid you would have to come up with an external DLL / plugin for that.
Aviv Giladi
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help -F1 anywhere in the InstallAware IDE

chakresh
Posts: 14
Joined: Mon Mar 07, 2011 6:39 am

Re: How do I collect installation data and send it to web se

Postby chakresh » Tue Nov 22, 2011 3:59 am

Hi,

Thanks for the reply.
Is there any Installaware plugin available for the same ? If not, can you suggest any other plugin, to achieve this ?


Thanks,
Chakresh

sinan
Site Admin
Posts: 1020
Joined: Sat Nov 13, 2004 8:12 am
Contact:

Re: How do I collect installation data and send it to web se

Postby sinan » Tue Nov 22, 2011 4:31 pm

Hey, sorry about this - I apologize for Aviv's incorrect answer here.

You actually can submit information directly from your setup, this is one of our core benefits (gather and collect business intelligence directly from your setup wizards).

Maybe you have noticed that we do this ourselves in the InstallAware setup? Anyways, you use the Download File plug-in for this. For example:

Code: Select all

Download File http://www.installaware.com/setupfinished.asp?state=$SUCCESS$&op=$MODE$&info=$HEAR$ into $SUPPORTDIR$\anonymous.txt


Is exactly the invocation we have in our own setup when collecting data. Hope that helps!

chakresh
Posts: 14
Joined: Mon Mar 07, 2011 6:39 am

Re: How do I collect installation data and send it to web se

Postby chakresh » Tue Nov 22, 2011 11:18 pm

Hi,

Thanks for the reply.
We are already using the Download File command to download the components from the web server for upgrade purpose.
But the requirement here is different.

"In my case I have to send a notification(success/failure) to the host(IIS Server) that whether application client has been successfully upgraded to the latest version or not.This notification will be updated in an existing SQL Server database at the server end.Means I have to upload an information to the server and not download anything in this case"

Please suggest can we achieve this.

giaviv
Posts: 2039
Joined: Fri Dec 17, 2010 1:39 pm

Re: How do I collect installation data and send it to web se

Postby giaviv » Wed Nov 23, 2011 5:47 pm

Hi,

It does not matter - the HTTP request will be sent you your server as any other GET request..
Aviv Giladi
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help -F1 anywhere in the InstallAware IDE

chakresh
Posts: 14
Joined: Mon Mar 07, 2011 6:39 am

Re: How do I collect installation data and send it to web se

Postby chakresh » Mon Dec 19, 2011 5:33 am

Hi Aviv,

Thanks for the reply.
Can we also send POST request using "Download File" command ?
Please suggest.The reason is that we need to send more than 255 char in the request and GET method has a limit to pass only 255 chars.

Regards,
Chakresh Sharma

giaviv
Posts: 2039
Joined: Fri Dec 17, 2010 1:39 pm

Re: How do I collect installation data and send it to web se

Postby giaviv » Mon Dec 19, 2011 8:12 pm

Hi,

I am afraid not, however please consider breaking up the data into more than one GET request instead.
Aviv Giladi
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help -F1 anywhere in the InstallAware IDE

chakresh
Posts: 14
Joined: Mon Mar 07, 2011 6:39 am

Re: How do I collect installation data and send it to web se

Postby chakresh » Tue Dec 20, 2011 3:32 am

Hi Aviv,

Is it possible to send HTTPS(secured link which uses a certificate) request, instead of HTTP using the Download File command?
When I was using HTTP in the URL it was working fine, but when I tried with HTTPS, it looks like it is not able to connect with the server. Please help me on this.


Thanks,
Chakresh

giaviv
Posts: 2039
Joined: Fri Dec 17, 2010 1:39 pm

Re: How do I collect installation data and send it to web se

Postby giaviv » Tue Dec 20, 2011 8:24 pm

Hi,

I am afraid you cannot. You can, however, use external SSH tools to talk to your server.
Aviv Giladi
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help -F1 anywhere in the InstallAware IDE


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 58 guests