Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Installshield - installing a web application and SQL

Posted on 2011-09-09
4
Medium Priority
?
544 Views
Last Modified: 2012-05-12
Hi - I'm coming back to Installshield 2010 after a long time not using it and can't remember how to get a web application to install correctly.

I have 2 problems:-

1> I have defined a new web site under Server Configuration>Internet Information Services.  I have set the Home Directory correctly I think but no web site appears in IIS after running the installation.

2> I am calling OnSQLLogin( nResult ); in my InstallScript (this is an Installshield MSI project).  The odd thing is that some times the SQL Server dialog appears but othertimes it doesn't and I just skip that step.  This dialog also asks for the initial catalog - I don't want this tio be entered by the user.  As such I changed the call to use 'SQLServerSelectLogin2'.  

Running this in debug I just stepped over the call - nothing happened!
0
Comment
Question by:ChrisMDrew
  • 3
4 Comments
 
LVL 40

Expert Comment

by:Vadim Rapp
ID: 36522747
You need to look into the detailed installation log to determine whether it has installed IIS, and why it decides to show or not a particular dialog. If it's unclear, you can post the log here and we will take a look. Regarding IIS, try to restart the IIS service, maybe the site is in fact installed, but IIS did not refresh its configuration.

Since you are already familiar with debug mode, take a look at any conditions of showing the SQL dialog, and when in debug mode, look at the properties participating on those conditions.
0
 
LVL 40

Accepted Solution

by:
Vadim Rapp earned 2000 total points
ID: 36522770
...also, you are likely to have far less problems with your users if you don't use Installscript and use Basic MSI. Installscript has been the source of trouble and incompatibilities for decades.
0
 

Author Closing Comment

by:ChrisMDrew
ID: 36543820
Thanks - I hate Installshield but I couldn't see how to create a web application installer from within Visual Studion where I could ask for the server name and credentials.
0
 
LVL 40

Expert Comment

by:Vadim Rapp
ID: 36544190
I think Visual Studio does allow that. Briefly, you add Custom Dialog with several textboxes. You name them, in this case "server", "login", "password", etc., and assign Properties to each. Then in the installation you specify those Properties instead of hardcoded strings in the right places. Here's quite detailed article: http://www.codeproject.com/KB/install/vsSetupCustomDialogs.aspx
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Installations often have prerequisites, such as “Microsoft .Net framework is required for this product”. The usual implementation in MSI installations is system search for a particular registry setting representing the required prerequisite, followe…
Monitor input from a computer is usually nothing special.  In this instance it prevented anyone from using the computer.  This was a preconfiguration that didn't work.
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an anti-spam), the admin…
Look below the covers at a subform control , and the form that is inside it. Explore properties and see how easy it is to aggregate, get statistics, and synchronize results for your data. A Microsoft Access subform is used to show relevant calcul…
Suggested Courses
Course of the Month11 days, 19 hours left to enroll

916 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question