Opened 15 years ago

Closed 15 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)

mginstall_iis7_webpoolfix.patch (1.9 KB ) - added by jbirch 15 years ago.
iis7_set.log (5.7 KB ) - added by jbirch 15 years ago.

Download all attachments as: .zip

Change History (8)

by jbirch, 15 years ago

comment:1 by jng, 15 years ago

Applied patch in r3741

comment:2 by jbirch, 15 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 jbirch, 15 years ago

Attachment: iis7_set.log added

comment:3 by jng, 15 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 jbirch, 15 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:5 by jbirch, 15 years ago

Partial work done in r3812

comment:6 by jbirch, 15 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.