cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Atopol
Level 3

Creating virtual directories in IIS 7 on Vista

Hi,

I'm in need of help, I have an upgraded project (from installshield 9) which creates IIS applications and virtual directories. Whenever I run setup.exe on Vista (IIS7) I get a fatal error and then a rollback, some of the directories are created successfully. On the second attempt the installation succeeds (even though some of the virtual directories are duplicated inside) I have found that a specific virtual directory I'm trying to create is causing this, and if removed, the installation works fine on the first attempt as well.

BTW, on the first attempt I'm getting 1603 fatal error

Any help will be most appreciated, thanks....:)
Labels (1)
0 Kudos
(4) Replies
joshstechnij
Level 10 Flexeran
Level 10 Flexeran

Can you attach a verbose log of the failed installation?
0 Kudos
Atopol
Level 3

I think this is the problematic part of the installation,

Property(S): DWUSINTERVAL = 30
Property(S): DWUSLINK = CE4C97A82EBB47983EACC09F7EEC978F7EDB978F79AB6788CE5C30EFE9AB07A889BCD758F9AC
Property(S): DefaultUIFont = Tahoma8
Property(S): ISSCRIPT_VERSION_MISSING = The InstallScript engine is missing from this machine. If available, please run ISScript.msi, or contact your support personnel for further assistance.
Property(S): ISVROOT_PORT_NO = 0
Property(S): IS_PROGMSG_XML_COSTING = Costing XML files...
Property(S): IS_PROGMSG_XML_CREATE_FILE = Creating XML file %s...
Property(S): IS_PROGMSG_XML_FILES = Performing XML file changes...
Property(S): IS_PROGMSG_XML_REMOVE_FILE = Removing XML file %s...
Property(S): IS_PROGMSG_XML_ROLLBACK_FILES = Rolling back XML file changes...
Property(S): IS_PROGMSG_XML_UPDATE_FILE = Updating XML file %s...
Property(S): IS_SQLSERVER_AUTHENTICATION = 0
Property(S): IS_SQLSERVER_USERNAME = sa
Property(S): Manufacturer = Jacada
Property(S): NewProperty1 = 0
Property(S): NewProperty10 = 0
Property(S): NewProperty11 = 0
Property(S): NewProperty12 = 0
Property(S): NewProperty13 = 0
Property(S): NewProperty14 = 0
Property(S): NewProperty15 = 0
Property(S): NewProperty16 = 0
Property(S): NewProperty17 = 0
Property(S): NewProperty18 = 0
Property(S): NewProperty19 = 0
Property(S): NewProperty2 = 0
Property(S): NewProperty20 = 0
Property(S): NewProperty21 = 0
Property(S): NewProperty22 = 0
Property(S): NewProperty23 = 0
Property(S): NewProperty24 = 0
Property(S): NewProperty25 = 0
Property(S): NewProperty26 = 0
Property(S): NewProperty27 = 0
Property(S): NewProperty28 = 0
Property(S): NewProperty29 = 0
Property(S): NewProperty3 = 0
Property(S): NewProperty30 = 0
Property(S): NewProperty31 = 0
Property(S): NewProperty32 = 0
Property(S): NewProperty33 = 0
Property(S): NewProperty34 = 0
Property(S): NewProperty35 = 0
Property(S): NewProperty36 = 0
Property(S): NewProperty37 = 0
Property(S): NewProperty38 = 0
Property(S): NewProperty39 = 0
Property(S): NewProperty4 = 0
Property(S): NewProperty40 = 0
Property(S): NewProperty41 = 0
Property(S): NewProperty42 = 0
Property(S): NewProperty43 = 0
Property(S): NewProperty44 = 0
Property(S): NewProperty45 = 0
Property(S): NewProperty46 = 0
Property(S): NewProperty47 = 0
Property(S): NewProperty48 = 0
Property(S): NewProperty49 = 0
Property(S): NewProperty5 = 0
Property(S): NewProperty50 = 0
Property(S): NewProperty51 = 0
Property(S): NewProperty52 = 0
Property(S): NewProperty53 = 0
Property(S): NewProperty54 = 0
Property(S): NewProperty55 = 0
Property(S): NewProperty56 = 0
Property(S): NewProperty57 = 0
Property(S): NewProperty58 = 0
Property(S): NewProperty59 = 0
Property(S): NewProperty6 = 0
Property(S): NewProperty60 = 0
Property(S): NewProperty61 = 0
Property(S): NewProperty62 = 0
Property(S): NewProperty63 = 0
Property(S): NewProperty64 = 0
Property(S): NewProperty65 = 0
Property(S): NewProperty67 = 0
Property(S): NewProperty68 = 0
Property(S): NewProperty69 = 0
Property(S): NewProperty7 = 0
Property(S): NewProperty70 = 0
Property(S): NewProperty71 = 0
Property(S): NewProperty72 = 0
Property(S): NewProperty8 = 0
Property(S): NewProperty9 = 0
Property(S): Option_Four = Option Four
Property(S): Option_Four1 = Option Four
Property(S): Option_Four2 = Option Four
Property(S): Option_Four3 = Option Four
Property(S): Option_One = Option One
Property(S): Option_One1 = Option One
Property(S): Option_One2 = Option One
Property(S): Option_One3 = Option One
Property(S): Option_Three = Option Three
Property(S): Option_Three1 = Option Three
Property(S): Option_Three2 = Option Three
Property(S): Option_Three3 = Option Three
Property(S): Option_Two = Option Two
Property(S): Option_Two1 = Option Two
Property(S): Option_Two2 = Option Two
Property(S): Option_Two3 = Option Two
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_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...
Property(S): REBOOT = Suppress
Property(S): STANDARD_USE_SETUPEXE = This installation cannot be run by directly launching the MSI package. You must run setup.exe.
Property(S): SecureCustomProperties = ISALWAYSINSTALLELEVATED;ISSETUPDRIVEN;ARPSYSTEMCOMPONENT;ARPNOMODIFY;ARPNOREMOVE;INSTALLDIR;IISROOTFOLDER;IS_SQLSERVER_LIST;IS_SQLSERVER_DATABASE;IS_SQLSERVER_AUTHENTICATION;IS_SQLSERVER_USERNAME;IS_SQLSERVER_SERVER;IS_SQLSERVER_PASSWORD;IS_NET_API_LOGON_USERNAME;IS_NET_API_LOGON_PASSWORD;IS_NEW_USER_CONFIRM_TEXT;IS_NEW_USER_SERVER_TEXT;IS_NEW_USER_GROUP_TEXT;IS_NEW_USER_NAME_TEXT;IS_NET_API_NEW_USER_PASSWORD;IS_NET_API_NEW_USER_NAME;IS_NET_API_NEW_USER_CONFIRM;IS_NEW_USER_PASSWORD_TEXT;IS_NET_API_NEW_USER_SERVER;IS_NET_API_NEW_USER_GROUP;IS_NET_API_GROUP_LIST;IS_NET_API_SERVER_LIST;IS_NET_API_SERVER_NEW_USER_LIST;IS_NET_API_USER_LIST;IS_NET_API_LOGON_DOMAIN_TOKEN;IS_NET_API_LOGON_USERNAME_TOKEN;SUPPORTDIR;IIS_VERSION
Property(S): ISReleaseFlags = release
Property(S): SETUPEXENAME = setup.exe
Property(S): ARPINSTALLLOCATION = C:\Program Files\Jacada\Jacada WinFuse 5.6\
Property(S): ProductLanguage = 1033
MSI (s) (38:8C) [22:45:01:827]: Note: 1: 1708
MSI (s) (38:8C) [22:45:01:827]: Product: Jacada WinFuse -- Installation operation failed.

MSI (s) (38:8C) [22:45:01:827]: Windows Installer installed the product. Product Name: Jacada WinFuse. Product Version: 5.6. Product Language: 1033. Installation success or error status: 1603.

MSI (s) (38:8C) [22:45:01:843]: Deferring clean up of packages/files, if any exist
MSI (s) (38:8C) [22:45:01:843]: MainEngineThread is returning 1603
MSI (s) (38:54) [22:45:01:843]: RESTART MANAGER: Session closed.
MSI (s) (38:54) [22:45:01:843]: No System Restore sequence number for this installation.
=== Logging stopped: 2/3/2010 22:45:01 ===
MSI (s) (38:54) [22:45:01:843]: User policy value 'DisableRollback' is 0
MSI (s) (38:54) [22:45:01:843]: Machine policy value 'DisableRollback' is 0
MSI (s) (38:54) [22:45:01:843]: Incrementing counter to disable shutdown. Counter after increment: 0
MSI (s) (38:54) [22:45:01:843]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollback\Scripts 3: 2
MSI (s) (38:54) [22:45:01:843]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollback\Scripts 3: 2
MSI (s) (38:54) [22:45:01:843]: Decrementing counter to disable shutdown. If counter >= 0, shutdown will be denied. Counter after decrement: -1
MSI (s) (38:54) [22:45:01:843]: Restoring environment variables
MSI (s) (38:54) [22:45:01:843]: Destroying RemoteAPI object.
MSI (s) (38:A4) [22:45:01:843]: Custom Action Manager thread ending.
MSI (c) (24:88) [22:45:01:843]: Decrementing counter to disable shutdown. If counter >= 0, shutdown will be denied. Counter after decrement: -1
MSI (c) (24:88) [22:45:01:858]: MainEngineThread is returning 1603
=== Verbose logging stopped: 2/3/2010 22:45:01 ===

Thanks again !
0 Kudos
Atopol
Level 3

The installed application is an ASP.NET website, if I don't include the web.config file in the package, I found that the installation works fine.

Off course I need this file...I wouldn't want to copy it after the virtual directory is created unless there is no other soloution.

Adi.
0 Kudos
joshstechnij
Level 10 Flexeran
Level 10 Flexeran

The attached log information is mostly the property dump at the end of the execute sequence and unfortunately doesn't provide much information to troubleshoot this issue.

If you are seeing this issue when installing a web.config file, here are some possible reasons why the installation might be failing:
- The web.config is marked read-only when it is installed, and IIS is unable to write to the file because of this.
- The web.config contains XML namespaces, which IIS 7 on Windows Vista/Server 2008 does not understand correctly (see http://forums.iis.net/t/1147731.aspx, it appears a fix for this is available from Microsoft product support); this behavior is resolved in IIS 7.5 on Windows 7/Server 2008 R2.
0 Kudos