Home > Windows Server Tips > Web Management > Web deployments are just a 'click' away
Windows Server Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 

WEB MANAGEMENT

Web deployments are just a 'click' away


Chris Hayes, Contributor
03.28.2005
Rating: --- (out of 5)


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


Please let us know how useful you find this tip by rating it below. Do you have a useful Windows tip, timesaver or workaround to share? Submit it to our tip contest and you could win a prize!


I needed a way to get my applications out to remote users (using SSL VPN) who wanted simplicity. The users wanted to go to a Web site and install all of the necessary software with one click and then run that application from wherever they happened to be. Although at first this seemed like a huge problem, HexaTech (www.hexatech.com) helped me tremendously.

The five basic steps of using this tool are as follows:

  1. Create your package to do everything you want it to.
  2. Setup your Web site or create a new virtual folder on your current site (you must be able to see this site from an external computer).
  3. Put your EXE in the folder you created.
  4. Fill out the form at HexaTech including your domain name.
  5. Include the new code base in your Web page and, voila, you have finished the hard stuff.

You can upgrade, install or write to the target registry using jscript or vbscript. This tool also allows you to "pack" or compress multiple files into a single package. In my case I just put the EXE that I had created with installer on the Web server and added code to the html.

You can download and test this tool yourself for free at: http://hexatech.com/on_the_fly_install/sample1.htm. This will install a small bouncing ball application on you computer and will also allow you to uninstall it.

The following is a sample of the code that installs. When you buy it you will have it signed, and then you must point to your Web server where the cab file is held.


<OBJECT ID="Install"
CLASSID="CLSID:205FF73B-CA67-11D5-99DD-444553540000" 
CODEBASE="http://www.hexatech.com/on_the_fly_install/Install.cab">
</OBJECT>

This is what will install the application--don't worry as plenty of samples are given when you download.

function InstallApp()
if ( Install.Install()==0 )
{ 
Install.Action("RemoveFile", strAppDir + "\ \Install.log", "");

Install.Action("ExecFile", strAppDir + "\ \" + strSetupFile, ""); 
setTimeout("wakeUp()", 1000); 
}

If you are interested you can also view the following samples. The cost is really low for what you get, as this tool alone saved me more that 80 hours of work.
* http://hexatech.com/on_the_fly_install/sample2.htm
* http://hexatech.com/on_the_fly_install/sample3.htm
* http://hexatech.com/on_the_fly_install/sample4.htm

Ntoe that you can also deploy MSI packages with this tool.


Chris Hayes is a frequent contributor to myITforum.com. He can be contacted at chayes@stfranciscare.org.

Rate this Tip
To rate tips, you must be a member of SearchWindowsServer.com.
Register now to start rating these tips. Log in if you are already a member.


Submit a Tip




Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   



RELATED CONTENT
Web Management
Getting familiar with IPv6 for Windows environments
Small changes go a long way with IIS 7.5
Internet Information Services (IIS) sees big changes in Windows Server 2008
How to keep IIS logs from filling up your server hard drives
A first look at Internet Information Services 7.0
When and how to use worker process recycling with IIS
Fix app problems stemming from Firefox as default browser
Control users' Internet access
Raise Web server performance in Windows Server 2003
Remotely administer IIS with HTML tool

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary

DISCLAIMER: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.



Server Room Design - Planning, Cooling, Maintenance
HomeTopicsBlogsITKnowledge ExchangeTipsNewsMultimediaWhite PapersIT Downloads
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 2004 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts