Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Installshield - installing a web application and SQL

Posted on 2011-09-09
4
Medium Priority
?
538 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering 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

One of the frequent problems with the installations is when some file or registry entry is not removed from the system upon un-installation of the product. Clean removal is always highly desirable. One major reason for that is badly authored inst…
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…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…

688 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