Opened 16 years ago
Closed 16 years ago
#912 closed defect (fixed)
Installer: IIS7 Custom Action contains defects
Reported by: | jbirch | Owned by: | |
---|---|---|---|
Priority: | medium | Milestone: | 2.1 |
Component: | Installer | Version: | |
Severity: | major | Keywords: | |
Cc: | jng | External ID: |
Description
Currently, the IIS7 custom action:
- Does not associate the MapGuide virtual directories / applications with the correct app pool
- Does not set up handler mappings for the mapagent or PHP correctly
Patch for the first defect forthcoming; am looking at the second now.
Attachments (2)
Change History (8)
by , 16 years ago
Attachment: | mginstall_iis7_webpoolfix.patch added |
---|
comment:1 by , 16 years ago
comment:2 by , 16 years ago
Gah... I'm attaching a log of what's happening to me. No matter what I do, the script does not seem to create the web.config files properly. Run as admin, etc, etc. I did find some defects in the CA, and I'll be checking those in shortly.
by , 16 years ago
Attachment: | iis7_set.log added |
---|
comment:3 by , 16 years ago
I haven't *really* had a thorough read of the code in the IIS7 action module, but it looks like just a series of appcmd.exe calls.
If that is the case, I'm in favour of scrapping the existing C++ code and going for the simpler wix CA approach.
comment:4 by , 16 years ago
I think I've puzzled out in my head why this isn't working.
The current CAs are being executed in immediate mode because in deferred mode the installer properties (such as the install location) are not available. However, in immediate mode the files haven't been copied to the destination yet so the IIS config tool can't create web.config files in those directories.
I believe that using type 51 CAs is the only way of dealing with this without hard-coding the parameters, so I'll go ahead and make those changes to use the WiX built-in CAs and remove the IIS7 custom action project from the build, etc.
comment:6 by , 16 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Applied patch in r3741