I have found a serious bug in IA12. Creating IIS applications changes the root path of the whole Web Site if the given application already exists.
The bug must have been introduced in IA10/IA11 since in IA9 it works good.
The result of this behavior is a completely broken Web Site / IIS.
How to reproduce the bug:
Preconditions:
- IIS7, with Web Site index 1. I haven't tested it with IIS6 yet.
- physical directory: c:\InstallAwareTest (or any else you choose)
1. Create a simple project with just two commands or use the project I attach to the ticket :
- Code: Select all
Create Virtual Folder "InstallAwareTest" in IIS Site #1, pointing to physical location c:\InstallAwareTest
Terminate Installation
UPDATE: the code below updated to create IIS application and not IIS virtual directory
- Code: Select all
~InstallAware Clipboard Data~
~Terminate Install~
~{ED83046B-83B4-4BFD-8210-1B3B82E437E7}~
~Create Virtual Folder~
~{FA9CDDEE-AB0A-451C-96E4-C7DDCE7188E5}~
~InstallAwareTest~
~c:\InstallAwareTest~
~FALSE~
~TRUE~
~FALSE~
~FALSE~
~TRUE~
~TRUE~
~2|~
~1|0~
~TRUE~
~Default.htm,Default.asp,index.htm,Default.aspx~
~~
~TRUE~
~TRUE~
~FALSE~
~~
~1~
2. Run the installer once - the InstallAwareTest application will be created
3. Run the installer second time - the root path of the whole Web Site will be changed to c:\InstallAwareTest. This completely ruins the Web Site. In my case we have broken two productive servers this way.
Attached three screen shots demonstrating the bug.
The state before the second run:
The state after the second run:
How soon can you fix this bug?
Best regards,
adi
