cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
darylo
Level 2

Post IIS installation of a service on D drive

We use installshield to install a .net IIS service and as part of the installation Installshield triggers the installation of IIS if it is not on the computer already.

The problem we encounter is that when install shield triggers the installation of IIS the subsequent installation of our service is done on the D drive not to the wwwroot directory. Is there a way of getting Installshield to install it in the correct directory? The result of this is that we need to manually set up the directory where the service was installed as a virtual directory in wwwroot which as you can imagine is not desirable.

If we manually install IIS before starting our installer there is no problem Installshield installs our service correctly. We presume that Installshield is reading the registry before and not after the installation of IIS for the for the PathWWWRoot and is defaulting to D:/ when it is not found but obviously we do not know this for sure.

Any ideas would be very helpful.

Regards,
Daryl
Labels (1)
0 Kudos
(1) Reply
darylo
Level 2

It would seem that it is the IISROOTFOLDER that is being read when IS starts (at which point it does not exist) and is being set by the Windows Component Installer when it installs IIS.
If we were able to force a re-read of the variables after IS triggerd the IIS install it would resolve the problem for us, we think, but we do not know how to do so.

Any ideas?
0 Kudos