spothuri
Flexera beginner

Issues while migrating from InstallShield 2016 to 2019 R2

Hi,


We are now migrating projects from Installshiled 2016  premier comp to InstallShield 2019 R2PremierComp version.

 

We have one issue while creating IIS sites through the InstallShield. During IIS site creation, “System.web” section is being added to the server’s “applicationhost.config” file during the installation process. With this section, IIS sites are going to stopped state and we are unable to start them back because of this system.web section.

 

We have identified from where this “system.web” section coming, there is a new entry(Forms authentication) added in the authentication access section of IIS properties for Installshield 2019.

If I set forms authentication to “NO” then the tool is updating the applicationhost.config file as follows:

 

<location path="website">
        <system.web>
            <authentication mode="windows" />
        </system.web>
        <system.webServer>
            <handlers accessPolicy="Read, Script" />
            <directoryBrowse enabled="false" />
            <asp>
                <session timeout="00:20:00" />
                <limits scriptTimeout="00:01:30" />
            </asp>
            <security>
                <authentication>
                    <anonymousAuthentication enabled="true" />
                    <basicAuthentication enabled="false" />
                    <windowsAuthentication enabled="true" />
                </authentication>
            </security>
            <httpLogging dontLog="false" />
        </system.webServer>
    </location>

If forms authentication is YES then tool updating as :

 

 <location path="website">
        <system.web>
            <authentication mode="Forms" />
        </system.web>
        <system.webServer>
            <handlers accessPolicy="Read, Script" />
            <directoryBrowse enabled="false" />
            <asp>
                <session timeout="00:20:00" />
                <limits scriptTimeout="00:01:30" />
            </asp>
            <security>
                <authentication>
                    <anonymousAuthentication enabled="true" />
                    <basicAuthentication enabled="false" />
                    <windowsAuthentication enabled="true" />
                </authentication>
            </security>
            <httpLogging dontLog="false" />
        </system.webServer>
    </location>

 

My problem now is that the below section is being added to my IIS applicatiohost.config file, sites are not starting and application installation is failing.

 

          <system.web>
            <authentication mode="Forms" />
        </system.web> 

 

If I remove manually the above section, I'm able to start the IIS site without any issues.

 

In earlier versions, we never saw this issue.

 

We have compared our IIS website settings with 2016, everything seems the same except the new feature (Farms authentication) added in 2019  InstallShield.

 

 

spothuri_0-1574668416639.jpeg

 

Could you please provide your inputs on this issue?

 

Thanks.

Labels (1)
0 Kudos
11 Replies
spothuri
Flexera beginner

Re: Issues while migrating from InstallShield 2016 to 2019 R2

Hello Team,

Any update on this request?

Thanks.
0 Kudos
tanasico
Flexera beginner

Re: Issues while migrating from InstallShield 2016 to 2019 R2

Hello,

I have the same problem after upgrade projects to IS2019. Did you find a solution for this?

0 Kudos
spothuri
Flexera beginner

Re: Issues while migrating from InstallShield 2016 to 2019 R2

Hi,


We didn't get a reply back yet from Flexera support. We still have the same issue.

 

Thanks.

0 Kudos
tanasico
Flexera beginner

Re: Issues while migrating from InstallShield 2016 to 2019 R2

Hello, after 3 days of work, i found a solution. It's seems that it is a problem with what is wrote in web.config file because with another web.config file it's works and doesn't create the <system.web> node in 

c:\Windows\System32\inetsrv\Config\applicationHost.config

So, to avoid this, i moved ISIInstall custom action after CreateFolders and before InstallFIles so web.config will not be available when msi configure webApplication and everything it's works in my case. The node will not be written in applicationHost.config

0 Kudos
spothuri
Flexera beginner

Re: Issues while migrating from InstallShield 2016 to 2019 R2

Hi, 

Thanks for sharing your findings.

We have tried it but no luck, still have the same issue.

Can you check the Execute sequence from the below screenshot, is I'm doing correctly? 

spothuri_0-1576834620493.png

Thanks.

0 Kudos
tanasico
Flexera beginner

Re: Issues while migrating from InstallShield 2016 to 2019 R2

yes,  it is ok. For me works.  It is upgrade or clean install? Did you check that no web.config already exists when ISIInstall executed? Try to put a dumy web.config to see if you have the same behaviour. In my case, ai have 3 webApp, and only 1 had the problem, it's seems to be something  special in web.config

0 Kudos
banna_k
Flexera
Flexera

Re: Issues while migrating from InstallShield 2016 to 2019 R2

Hi @tanasico@spothuri ,

Thanks for reporting this issue.

This has been addressed in the upcoming release, InstallShield 2020.  

0 Kudos
tanasico
Flexera beginner

Re: Issues while migrating from InstallShield 2016 to 2019 R2

Thanks for the update.

Do you know when Installshield 2020 will be released? I searched but i didn't find anything.

0 Kudos
AlexCaldas
Flexera beginner

Re: Issues while migrating from InstallShield 2016 to 2019 R2

I have the same issue, migrated from 2016 to 2019.

Now, I migrated the project from 2019 to 2020 R1 and still the same issue.

Is there an additional step to perform in 2020 R1 to fix this issue?

0 Kudos