问题
I am using Limited Edition of InstallShield 2015 with Visual Studio 2015.
I have configured Internet information Services settings as shown below, but website is not getting created in IIS.
My IIS version is: 10.0
Here is the IIS settings inside InstallShield
Note: Source code is successfully copies [INSTALLDIR] of destination computer but it's not getting mapped with IIS.
Updates
I see only declaration related to IIS, but not used anywhere in log!
Property(S): PROGMSG_IIS_CREATEAPPPOOL = Creating application pool %s
Property(S): PROGMSG_IIS_CREATEAPPPOOLS = Creating application Pools...
Property(S): PROGMSG_IIS_CREATEVROOT = Creating IIS virtual directory %s
Property(S): PROGMSG_IIS_CREATEVROOTS = Creating IIS virtual directories...
Property(S): PROGMSG_IIS_CREATEWEBSERVICEEXTENSION = Creating web service extension
Property(S): PROGMSG_IIS_CREATEWEBSERVICEEXTENSIONS = Creating web service extensions...
Property(S): PROGMSG_IIS_CREATEWEBSITE = Creating IIS website %s
Property(S): PROGMSG_IIS_CREATEWEBSITES = Creating IIS websites...
Property(S): PROGMSG_IIS_EXTRACT = Extracting information for IIS virtual directories...
Property(S): PROGMSG_IIS_EXTRACTDONE = Extracted information for IIS virtual directories...
Property(S): PROGMSG_IIS_EXTRACTDONEz = Extracted information for IIS virtual directories...
Property(S): PROGMSG_IIS_EXTRACTzDONE = Extracted information for IIS virtual directories...
Property(S): PROGMSG_IIS_REMOVEAPPPOOL = Removing application pool
Property(S): PROGMSG_IIS_REMOVEAPPPOOLS = Removing application pools...
Property(S): PROGMSG_IIS_REMOVESITE = Removing web site at port %d
Property(S): PROGMSG_IIS_REMOVEVROOT = Removing IIS virtual directory %s
Property(S): PROGMSG_IIS_REMOVEVROOTS = Removing IIS virtual directories...
Property(S): PROGMSG_IIS_REMOVEWEBSERVICEEXTENSION = Removing web service extension
Property(S): PROGMSG_IIS_REMOVEWEBSERVICEEXTENSIONS = Removing web service extensions...
Property(S): PROGMSG_IIS_REMOVEWEBSITES = Removing IIS websites...
Property(S): PROGMSG_IIS_ROLLBACKAPPPOOLS = Rolling back application pools...
Property(S): PROGMSG_IIS_ROLLBACKVROOTS = Rolling back virtual directory and web site changes...
Property(S): PROGMSG_IIS_ROLLBACKWEBSERVICEEXTENSIONS = Rolling back web service extensions...
Resolved
After adding APPLICATION inside WEBSITE issue has been resolved. Seems like just having WEBSITE in InstallShield is not enough.
回答1:
Nice effort to create a comprehensible question, but I am afraid you forgot the most important part: what does the log file say? Please update your question with details.
I am adding this as an answer, and I will "evolve" it once we get more information.
Here is my standard blurb on logging for you for a start:
Logging your MSI-Install
Here is how to log your install (silent install):
msiexec.exe /I "C:\Installer.msi" /QN /L*V "C:\msilog.log"
or for a setup.exe:
Setup.exe /v"/l*v C:\msilog.log /QN"
Quick Parameter Explanation:
/I = run regular installation sequence
/QN = run completely silently
/L*V "C:\My.log" = verbose logging at specified path
If this is confusing try installsite.org's logging FAQ - how to create a log file for your installation.
- Once you have a log, you can search for "value 3" in the log file as explained by Rob Mensching here. In your case the install seems to have completed successfully, so you need to look for warnings and suppressed errors as well.
This article from Robert Macdonald - from the long-since dissolved Windows Installer Team - is highly recommended as a practical look at MSI logging: How to Interpret Windows Installer Logs.
- There is a broken link in that blog to a PDF / Word file with an annotated MSI log in it. Here it is resurrected from WayBack Machine.
Wilogutl.exe - the Microsoft SDK MSI log viewer. Not the greatest thing, but has its uses. Discussion of its use.
Some Links:
- Does anyone know a good MSI Log Viewer? (cross-linking)
- The full range of msiexec.exe command line options. Here is the technet version.
回答2:
This issue has been resolved by adding a Application inside Website.
Seems like just having Website in Configure the Target System->Internet Information Services is not enough.
Reason: InstallShield Limited Version does not support creating website outside default web sites.
回答3:
I created another website outside default website in InstallShield Evaluation version 2010. I changed the TCP Port Number to 8080.
来源:https://stackoverflow.com/questions/49026782/website-is-not-getting-created-in-iis-limited-edition-of-installshield