PDA

View Full Version : Vista IIS 7 Virtual Directory Creation Failure



Chip Keen
10-15-2008, 07:44 PM
My project creates an IIS Virtual Directory flawlessly in XP (IIS 5.x), but fails in Vista (IIS 7.x) with the message "The wizard was interrupted before [myappname] could be completely installed ..."

I've enabled the IIS Metabase and IIS 6 compatibility options in Vista to no avail.

Here, for comparison purposes are the Verbose file logs:

In XP:
1: Creating application 'Default Application' with virtual directory 'GOiShopWebsite', website '1', and physical path: 'C:\GO_Win\iSHOP\SMSServer\'
MSI (s) (10!54) [17:16:26:667]: Closing MSIHANDLE (240) of type 790531 for thread 340
MSI (s) (10!54) [17:16:26:667]: Creating MSIHANDLE (241) of type 790531 for thread 340
1: InstallShield project contains a website with name 'GOiShopWebSite', site number '1', and port '80'. Checking if it exists...
MSI (s) (10!54) [17:16:26:667]: Closing MSIHANDLE (241) of type 790531 for thread 340
MSI (s) (10!54) [17:16:26:667]: Creating MSIHANDLE (242) of type 790531 for thread 340
1: OpenKeyLog, pszMDPath =/LM/W3SVC/1/Root
MSI (s) (10!54) [17:16:26:667]: Closing MSIHANDLE (242) of type 790531 for thread 340
MSI (s) (10!54) [17:16:26:667]: Creating MSIHANDLE (243) of type 790531 for thread 340
1: Website exists. Additonal info: Site number '1', Port '80', sBasePath '/LM/W3SVC/1/Root', DisplayName 'GOiShopWebSite'


In Vista:
1: Creating application 'Default Application' with virtual directory 'GOiShopWebsite', website '1', and physical path: 'C:\GO_Win\iSHOP\SMSServer\'
MSI (s) (48!AC) [17:30:03:972]: Closing MSIHANDLE (791) of type 790531 for thread 3244
MSI (s) (48!AC) [17:30:03:972]: Creating MSIHANDLE (792) of type 790531 for thread 3244
1: No element found with property 'path' value of '/Default Application'.
MSI (s) (48!AC) [17:30:03:973]: Closing MSIHANDLE (792) of type 790531 for thread 3244
MSI (s) (48!AC) [17:30:03:974]: Creating MSIHANDLE (793) of type 790531 for thread 3244
1: Exception caught in PutPropertyValue for property 'path' with value 'Default Application'
MSI (s) (48!AC) [17:30:03:975]: Closing MSIHANDLE (793) of type 790531 for thread 3244
MSI (s) (48!AC) [17:30:03:975]: Creating MSIHANDLE (794) of type 790531 for thread 3244
1: Attempt to change property value had problems, HRESULT: -2105
MSI (s) (48!AC) [17:30:03:976]: Closing MSIHANDLE (794) of type 790531 for thread 3244
MSI (s) (48!AC) [17:30:03:979]: Creating MSIHANDLE (795) of type 790531 for thread 3244
1: Error with IISRT: -2105


Can anybody offer any words of advice on this? Thanks in advance for your reply.

joshstechnij
10-20-2008, 01:04 PM
You may try applying the IIS custom action hotfix from this KB article (http://kb.acresso.com/selfservice/microsites/search.do?cmd=displayKC&docType=kc&externalId=Q200236&sliceId=1&docTypeID=DT_HOTFIX_1_1&dialogID=33750559&stateId=0%200%2033746781). The hotfix was originally intended for IS 2008 Pro/Premier editions but it should also work for Express. Note the paths to your Express product installation folder will be slightly different than the ones mentioned in the article.

Chip Keen
10-20-2008, 04:17 PM
Thank you! I'm very grateful for your reply.

As you mention, the KB article is for 2008 Pro/Premier editions. I can find the equivalent IISHelper.dll file in 2008 Express, the closest I could find to the IISRT.dll is
C:\Program Files\Macrovision\IS 2008 Express\Redist\Language Independent\i386\ISRT.dll.

Just as a test, I tried changing the name of IISRT.dll patch file to ISRT.dll, then copied it, and gave it a try. It appears to have worked! Many thanks.

joshstechnij
10-20-2008, 05:00 PM
The only file that needed to be replaced for Express was IISHelper.dll (I had forgot to mention this before). IISRT.dll is the InstallScript IIS runtime DLL. Since InstallScript project support is not included in Express, that is why you don't have IISRT.dll. ISRT.dll is used by Express for billboard runtime support if you are using billboards in your project.

Chip Keen
10-20-2008, 05:27 PM
Thank you for that clarification. I'll restore my saved copy of ISRT.dll. Once again, many thanks for your help.

Stevep
02-04-2010, 12:54 PM
So it seems that this was supposed to have been fixed, but I'm having a similar if not identical problem with Installshield 2010.

When adding a website and virtual directory, I'm getting an Error with IISRT: -2105 error on Windows 7 and Windows Server 2008 machines. On Windows Server 2003 machines, I'm getting a Error with IISRT: -1202 error.

I've looked at multiple posts on this topic and all refer to a bug that was in Installshield 2008 and a hotfix that was released to the IISHelpder.dll. However, I'm on Installshield 2010 and still seem to be having this problem.

Is this still a bug? Please help ASAP!

Relevant verbose log from Windows Server 2003:
MSI (s) (B0:70) [14:56:18:883]: Executing op: ActionStart(Name=ISIISInstall,,)
Action 14:56:18: ISIISInstall.
MSI (s) (B0:70) [14:56:18:883]: Executing op: CustomActionSchedule(Action=ISIISInstall,ActionType=3073,Source=BinaryData,Target=ISIISInstall,CustomActionData=C:\DOCUME~1\stevep\LOCALS~1\Temp\IISA9.tmp)
MSI (s) (B0:70) [14:56:18:914]: Creating MSIHANDLE (1302) of type 790536 for thread 1904
MSI (s) (B0:80) [14:56:18:914]: Invoking remote custom action. DLL: C:\WINDOWS\Installer\MSI6C.tmp, Entrypoint: ISIISInstall
MSI (s) (B0!D0) [14:56:19:336]: Creating MSIHANDLE (1303) of type 790531 for thread 208
InstallShield 14:56:19: CheckAndStartW3CService
MSI (s) (B0!D0) [14:56:19:336]: Closing MSIHANDLE (1303) of type 790531 for thread 208
MSI (s) (B0!D0) [14:56:19:336]: Creating MSIHANDLE (1304) of type 790531 for thread 208
InstallShield 14:56:19: The service is already running.
MSI (s) (B0!D0) [14:56:19:336]: Closing MSIHANDLE (1304) of type 790531 for thread 208
MSI (s) (B0!D0) [14:56:19:336]: Creating MSIHANDLE (1305) of type 790531 for thread 208
InstallShield 14:56:19: Error with IISRT: -1202
MSI (s) (B0!D0) [14:56:19:336]: Closing MSIHANDLE (1305) of type 790531 for thread 208
MSI (s) (B0:80) [14:56:19:336]: Closing MSIHANDLE (1302) of type 790536 for thread 1904
Action ended 14:56:19: InstallFinalize. Return value 3.
MSI (s) (B0:70) [14:56:19:351]: User policy value 'DisableRollback' is 0
MSI (s) (B0:70) [14:56:19:351]: Machine policy value 'DisableRollback' is 0
MSI (s) (B0:70) [14:56:19:367]: Executing op: Header(Signature=1397708873,Version=405,Timestamp=1011054337,LangId=1033,Platform=0,ScriptType=2,ScriptMajorVersion=21,ScriptMinorVersion=4,ScriptAttributes=1)
MSI (s) (B0:70) [14:56:19:367]: Executing op: DialogInfo(Type=0,Argument=1033)
MSI (s) (B0:70) [14:56:19:367]: Executing op: DialogInfo(Type=1,Argument=RTP|Online eStore)
MSI (s) (B0:70) [14:56:19:367]: Executing op: RollbackInfo(,RollbackAction=Rollback,RollbackDescription=Rolling back action:,RollbackTemplate=[1],CleanupAction=RollbackCleanup,CleanupDescription=Removing backup files,CleanupTemplate=File: [1])
Action 14:56:19: Rollback. Rolling back action:
Rollback: ISIISInstall

And from Windows 2008 and Windows 7:
MSI (s) (B0:70) [14:56:18:883]: Executing op: ActionStart(Name=ISIISInstall,,)
Action 14:56:18: ISIISInstall.
MSI (s) (B0:70) [14:56:18:883]: Executing op: CustomActionSchedule(Action=ISIISInstall,ActionType=3073,Source=BinaryData,Target=ISIISInstall,CustomActionData=C:\DOCUME~1\stevep\LOCALS~1\Temp\IISA9.tmp)
MSI (s) (B0:70) [14:56:18:914]: Creating MSIHANDLE (1302) of type 790536 for thread 1904
MSI (s) (B0:80) [14:56:18:914]: Invoking remote custom action. DLL: C:\WINDOWS\Installer\MSI6C.tmp, Entrypoint: ISIISInstall
MSI (s) (B0!D0) [14:56:19:336]: Creating MSIHANDLE (1303) of type 790531 for thread 208
InstallShield 14:56:19: CheckAndStartW3CService
MSI (s) (B0!D0) [14:56:19:336]: Closing MSIHANDLE (1303) of type 790531 for thread 208
MSI (s) (B0!D0) [14:56:19:336]: Creating MSIHANDLE (1304) of type 790531 for thread 208
InstallShield 14:56:19: The service is already running.
MSI (s) (B0!D0) [14:56:19:336]: Closing MSIHANDLE (1304) of type 790531 for thread 208
MSI (s) (B0!D0) [14:56:19:336]: Creating MSIHANDLE (1305) of type 790531 for thread 208
InstallShield 14:56:19: Error with IISRT: -1202
MSI (s) (B0!D0) [14:56:19:336]: Closing MSIHANDLE (1305) of type 790531 for thread 208
MSI (s) (B0:80) [14:56:19:336]: Closing MSIHANDLE (1302) of type 790536 for thread 1904
Action ended 14:56:19: InstallFinalize. Return value 3.
MSI (s) (B0:70) [14:56:19:351]: User policy value 'DisableRollback' is 0
MSI (s) (B0:70) [14:56:19:351]: Machine policy value 'DisableRollback' is 0
MSI (s) (B0:70) [14:56:19:367]: Executing op: Header(Signature=1397708873,Version=405,Timestamp=1011054337,LangId=1033,Platform=0,ScriptType=2,ScriptMajorVersion=21,ScriptMinorVersion=4,ScriptAttributes=1)
MSI (s) (B0:70) [14:56:19:367]: Executing op: DialogInfo(Type=0,Argument=1033)
MSI (s) (B0:70) [14:56:19:367]: Executing op: DialogInfo(Type=1,Argument=RTP|Online eStore)
MSI (s) (B0:70) [14:56:19:367]: Executing op: RollbackInfo(,RollbackAction=Rollback,RollbackDescription=Rolling back action:,RollbackTemplate=[1],CleanupAction=RollbackCleanup,CleanupDescription=Removing backup files,CleanupTemplate=File: [1])
Action 14:56:19: Rollback. Rolling back action:
Rollback: ISIISInstall

joshstechnij
02-04-2010, 01:07 PM
Error -1202 indicates that a virtual directory or application has an empty display name. If there are any virtual directories contained in the project that use property references as their name, the log should be checked to verify the properties have values at runtime.

Error -2105 is a generic error encountered while trying to install a virtual directory. Unfortunately, it appears the log information for the -2105 error was not posted. Would it be possible to post or attach this information?

Note that the existing fix for IIS 7 support in IS 2008 Express is included in IS 2009 and 2010.

vikasvashishth
06-24-2010, 08:26 AM
I am Using Installshield 2010, I was having the running Setup for IIS 6 and 32 Bit Application, Now there is demand to change the Setup for Windows Server 2008 R2 with 64 Bit, when i try the same Setup on Windows Server 2008 R2, it stops while creating Virtual directory and started roll backing the setup, in rollbacking i'm getting error 1603 Fatal Error During Installation

Following is Log those portion where it started rollbacking (As Attahced)


Is there any help from Community
Vikas

mherrera
09-01-2010, 11:10 AM
Did this get answered? Seeing the same symptoms when I need to add new IIS7 application during an upgrade. Clean install works great, and everything works fine under IIS6.

I am upgrading from an install that was generated with 2009, and the current install was generated with 2010.

ccRubens
12-03-2010, 01:08 PM
Any News about this???

bhoovi_s
09-23-2011, 01:07 AM
We have a Basic MSI Project created in IS 2011 and recently upgraded to IS 2011.
Creating Virtual directory under Default Web Site is not working in Windows 2008 R2. The installtion itself is rolling back and we cant see any traces of installtion on the machine.
However this was working with the installer created using IS 2011 and stopped working after upgrading to IS 2012.
Any Help on this is higly appreciated.