Solved

Installshield - installing a web application and SQL

Posted on 2011-09-09
4
526 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 500 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

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Suggested Solutions

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…
Among others, I monitor the Windows Installer zone and Installer zone. I find that many of the questions could be answered much more quickly if a Windows Installer verbose log were submitted with the question.   However, I do not always have t…
This video discusses moving either the default database or any database to a new volume.
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

757 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now