The Blog at Jumptree, a guide to project management, business, coding and anything else that we can think of.

Installing Applications using Microsoft Platform Installer

Previously, we blogged about Microsoft Platform Installer (MS PI) and
the few lessons we learned while packaging up Jumptree to be installable by MS PI.

Since then, we had a few questions on how exactly do we use the MS
PI GUI to install the package on IIS 7, today we’ll walk  you through it
and hopefully make it a little more easier.

Disclaimer: While Jumptree is compatible with Microsoft Platform Installer, it’s not officially supported.

Before we get started, first make sure you created an empty database, in our case, we created an empty database called “V12SP1”.

Step 1: Install Microsoft Platform Installer.

Step 2: Open up your IIS Manager (Control Panel –> Administrative Tools –> IIS Manager)

Step 3: Click on “Import Application” Link on the right under “Deploy” Section and navigate to Jumptree release file

*Tips:  Make sure you clicked on the “Default Web Site” on the left panel or else, “Deploy” section won’t show up

MSPI2

Step 4: Select the Contents of the Package, use everything default

MSPI4

Step 5: Select a “Database” . (“Use Existing Database”)

MSPI5

*Note: Use existing database is the safest  and works both on SQL server 2000, 2005, and 2008. However, during our testing, for some reasons, “Create New Database” only works with 2005 and above. Does not work with Sql server 2000.

Step 6: Enter Application Package Information

MSPI6

You can modify the values as needed such as the virtual directory name “Jumptree”. Your database IP address, database name, user name / password, etc. Just make sure your user name has the sufficient privileges to create tables, procedures and etc. (DB_Owner)

Step 7: Installation Progress and Summary

MSPI7

Step 8: License file and Installer

First, if you are an customer and you installed the purchased version, then please drop your license file into [Installation Directory]/APP_Data/ directory.

If you are installing a trial version, then you do not have to do the previous.

For security purpose, you need to disable the installer after it’s done, so please open up web.config and find


<add key="enableinstaller" value="true" />

and change it to


<add key="enableinstaller" value="false" />

Step 9: Login

If your virtual directory is /Jumptree, then go to

http://localhost/Jumptree/login.aspx

username/password : admin/admin

Thanks and hope you have fun and be productive with Jumptree

Lessons Learned from Packaging our ASP.NET Application for the Microsoft Web Platform Installer

Disclaimer: While Jumptree Project is compatible with Microsoft Web Platform Installer, it’s not officially supported.

In 2009, Microsoft released their Web Platform Installer.

The Microsoft Web Platform Installer 2.0 (Web PI) is a free tool that makes getting the latest components of the Microsoft Web Platform, including Internet Information Services (IIS), SQL Server Express, .NET Framework and Visual Web Developer easy. The Web PI also makes it easy to install and run the most popular free web applications for blogging, content management and more with the built-in Windows Web Application Gallery.

By bundling all these components together, e.g. runtime, database, etc., it allows users to easily install and customize all the software they need to develop on a Windows machine.

Now Microsoft already has an excellent guide on how to package an application for the Windows Application Gallery.

This guide should provide you with the necessary outline to make your application compatible with the Microsoft Platform Installer.

Read the rest of this entry »

Active Directory And ASP.NET 2.0 Forms Authentication

I don’t know if I’m just the minority among the ASP.NET developers, but for years, I’ve never had to deal with the Active Directory simply because most projects that I’ve done before were in hosting environments where Active Directory is a luxury to have.

Things are different these days when it comes to support a product like Jumptree Project. Lately, we’ve had quite a few inquires from companies and government agencies where Active Directory authentication is the norm, and such it’s essential for them to link the users in their system with Jumptree together.

So how does a developer—who is not a network admin guru—setup such an environment to develop against Active Directory?

The Hardware

  • Machine A Windows 2000 Server — We will setup Active Directory here
  • Machine B Windows XP Pro — This will be our client machine where ASP.NET 2.0 will be used to authenticate against the Active Directory
  • Router — Connects Machine A and Machine B together.

Read the rest of this entry »

Why we chose ASP.NET to run our startup

Sasha Sydoruk asks, “Where are all the cool startups that run on ASP.NET?

Well I’m not sure if we’re considered cool enough, but we choose ASP.NET over Java for a variety of reasons.

ASP.NET is easier to setup and deploy

Since Jumptree Project is download software, we needed to ensure that we could readily support our customer’s installation and deployment process.

Have you ever run into problems deploying a Java application and then having to spend hours going through your configuration files and resolving library conflicts? Fun!

Java may be multi-platform, but there are numerous middleware implementations of J2EE—each with its own quirks. So instead of spending time improving your application, you end up having to answer support calls on why your Tomcat application doesn’t work on IBM Websphere.

With .NET, the environment is pretty much standard—so it’s a lot easier for us to provide support.

Read the rest of this entry »