PDA

View Full Version : Error when calling CreateIISVRoots on Vista



klowman
04-18-2007, 08:52 AM
During installation on a Vista machine (running as an administrator), the process aborts when trying to create a virtual directory. Here's the relevant section of the log:


MSI (s) (50:50) [17:19:12:634]: Executing op: ActionStart(Name=caCreateVRoots,,)
Action 17:19:12: caCreateVRoots.
MSI (s) (50:50) [17:19:12:634]: Executing op: CustomActionSchedule(Action=caCreateVRoots,ActionType=1025,Source=BinaryData,Target=CreateIISVRoots,CustomActionData=C:\Users\JSENFL~1.BAL\AppData\Local\Temp\IIS279A.tmp)
MSI (s) (50:50) [17:19:12:634]: Creating MSIHANDLE (235) of type 790536 for thread 2896
MSI (s) (50:10) [17:19:12:634]: Invoking remote custom action. DLL: C:\Windows\Installer\MSI6189.tmp, Entrypoint: CreateIISVRoots
MSI (s) (50!B8) [17:19:13:024]: Creating MSIHANDLE (236) of type 790531 for thread 1976
1: Unable to open the Service Manager
MSI (s) (50!B8) [17:19:13:024]: Closing MSIHANDLE (236) of type 790531 for thread 1976
MSI (s) (50!B8) [17:19:13:024]: Creating MSIHANDLE (237) of type 790531 for thread 1976
1: Error with IISRT: -1101
MSI (s) (50!B8) [17:19:13:024]: Closing MSIHANDLE (237) of type 790531 for thread 1976
MSI (s) (50:10) [17:19:13:024]: Closing MSIHANDLE (235) of type 790536 for thread 2896
Action ended 17:19:13: InstallFinalize. Return value 3.


From there the log shows the rollback routines.

Anyone have any ideas? IIS is installed and running. The setup program is being run as an administrator.

davidh
04-18-2007, 06:26 PM
You might try right-clicking the setup and explicitly choosing to run as administrator. See the following thread:
http://community.installshield.com/showthread.php?p=382540

klowman
04-20-2007, 11:39 AM
You might try right-clicking the setup and explicitly choosing to run as administrator. See the following thread:
http://community.installshield.com/showthread.php?p=382540

Yes, I tried that to no avail. Thanks for the answer though.

What we finally did that worked was to change IIS to run in compatibility mode for IIS6. I read elsewhere that IIS7 is not yet supported.

davidh
04-24-2007, 09:56 AM
You are right, IIS 6 compatibility mode will be required until the next version of InstallShield.