Solved

Installshield - installing a web application and SQL

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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

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…
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.
In this video, viewers will be given step by step instructions on adjusting mouse, pointer and cursor visibility in Microsoft Windows 10. The video seeks to educate those who are struggling with the new Windows 10 Graphical User Interface. Change Cu…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

632 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