Solved

Installshield - installing a web application and SQL

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

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…
I have been scripting applications way too long and can never remember how to create an ISS file.  So I decided to write this article to act as my own knowledge base for future reference, and hope you will also benefit. An ISS file is a response …
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

803 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