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

Upgrade InstallSHield 2018 R2 to 2020 R2 - prerequisite issue

Hi, 

I tried to upgrade IS 18 R2 with .Net 4.8 prerequisite to IS 20 R2 with the same prerequisite settings (except the prq "path" and the prq "execute file") and now i'm unable to build the project anymore, i'm getting the following error:

"ISDEV : error -7378: Failed to load selected pre-requisite file:Microsoft .NET Framework 4.8 Web.prq. Check prerequisite file for valid content".

----------------------------------------------------

--------------------------

"Microsoft .NET Framework 4.8 Web.prq" content (used by IS 18 R2):

 

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<SetupPrereq>
<conditions>
<condition Type="2" Comparison="2" Path="HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full" FileName="Release" ReturnValue="528040"/>
</conditions>
<operatingsystemconditions>
<operatingsystemcondition MajorVersion="6" MinorVersion="1" PlatformId="2" CSDVersion="" ServicePackMajorMin="1"/>
<operatingsystemcondition MajorVersion="6" MinorVersion="3" PlatformId="2" CSDVersion=""/>
<operatingsystemcondition MajorVersion="10" MinorVersion="0" PlatformId="2" CSDVersion="" ProductType="2|3"/>
<operatingsystemcondition MajorVersion="10" MinorVersion="0" PlatformId="2" CSDVersion=""/>
<operatingsystemcondition MajorVersion="6" MinorVersion="2" PlatformId="2" CSDVersion="" ProductType="2|3"/>
</operatingsystemconditions>
<files>
<file LocalFile="&lt;ISProductFolder&gt;\SetupPrerequisites\Microsoft .net\4.8\Web\ndp48-web.exe" URL="https://download.visualstudio.microsoft.com/download/pr/7afca223-55d2-470a-8edc-6a1739ae3252/c9b8749dd99fc0d4453b2a3e4c37ba16/ndp48-web.exe" CheckSum="86482F2F623A52B8344B00968ADC7B43" FileSize="0,1486376"/>
</files>
<execute file="ndp48-web.exe" cmdline="/showrmui /passive " cmdlinesilent="/q /norestart" returncodetoreboot="1641,3010" requiresmsiengine="1"/></execute>
<properties Id="{6EBE6E72-7E5E-4632-A7BB-C8E0387308D0}" Description="This prerequisite installs the .NET Framework 4.8 Web Installer package." AltPrqURL="http://saturn.installshield.com/is/prerequisites/Microsoft .NET Framework 4.8 Web.prq"/>
<behavior Reboot="2"/>
</SetupPrereq>

----------------------------------------------------

--------------------------

"Microsoft .NET Framework 4.8 Web.prq" content (used by IS 20 R2):

 

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<SetupPrereq>
<conditions>
<condition Type="2" Comparison="2" Path="HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full" FileName="Release" ReturnValue="528040"/>
</conditions>
<operatingsystemconditions>
<operatingsystemcondition MajorVersion="6" MinorVersion="1" PlatformId="2" CSDVersion="" ServicePackMajorMin="1"/>
<operatingsystemcondition MajorVersion="6" MinorVersion="3" PlatformId="2" CSDVersion=""/>
<operatingsystemcondition MajorVersion="10" MinorVersion="0" PlatformId="2" CSDVersion="" ProductType="2|3"/>
<operatingsystemcondition MajorVersion="10" MinorVersion="0" PlatformId="2" CSDVersion=""/>
<operatingsystemcondition MajorVersion="6" MinorVersion="2" PlatformId="2" CSDVersion="" ProductType="2|3"/>
</operatingsystemconditions>
<files>
<file LocalFile="&lt;ProgramFilesFolder&gt;\InstallShield\2020 SAB\SetupPrerequisites\Microsoft .net\4.8\Web\ndp48-web.exe" URL="https://download.visualstudio.microsoft.com/download/pr/7afca223-55d2-470a-8edc-6a1739ae3252/c9b8749dd99fc0d4453b2a3e4c37ba16/ndp48-web.exe" CheckSum="86482F2F623A52B8344B00968ADC7B43" FileSize="0,1486376"/>
</files>
<execute file="ndp48-web.exe" cmdline="/showrmui /passive " cmdlinesilent="/q /norestart" returncodetoreboot="1641,3010" requiresmsiengine="1"/>
<properties Id="{6EBE6E72-7E5E-4632-A7BB-C8E0387308D0}" Description="This prerequisite installs the .NET Framework 4.8 Web Installer package." AltPrqURL="http://saturn.installshield.com/is/prerequisites/Microsoft .NET Framework 4.8 Web.prq"/>
<behavior Reboot="2"/>
</SetupPrereq>

----------------------------------------------------

--------------------------

Questions:

does the content of the prq file that i'm using in IS 20 valid?

Should I change the "<file LocalFile=" path in IS 20 prq ?? (see below current path in the build server)

Should I add the "</execute>" at the end of the "<execute file" ?

----------------------------------------------------

--------------------------

This is the current path in the build server contains "ndp48-web.exe": 

 

"C:\Program Files (x86)\InstallShield\2020 SAB\SetupPrerequisites\Microsoft .net\4.8\Web\ndp48-web.exe"

----------------------------------------------------

--------------------------

IS 20 R2 ism file: ISSetupPrerequisites:

 

<table name="ISSetupPrerequisites">
<col key="yes" def="s72">ISSetupPrerequisites</col>
<col def="S255">ISBuildSourcePath</col>
<col def="I2">Order</col>
<col def="I2">ISSetupLocation</col>
<col def="S255">ISReleaseFlags</col>
<row><td>_6EBE6E72_7E5E_4632_A7BB_C8E0387308D0_</td><td>Microsoft .NET Framework 4.8 Web.prq</td><td/><td>2</td><td/></row>
</table>

 

Question: does the ID in the prq file: "{6EBE6E72-7E5E-4632-A7BB-C8E0387308D0}"
must be equal to ISSetupPrerequisites: "_6EBE6E72_7E5E_4632_A7BB_C8E0387308D0_"
???

----------------------------------------------------

--------------------------

IS 18 R2 ism file: ISSetupPrerequisites:

<table name="ISSetupPrerequisites">
<col key="yes" def="s72">ISSetupPrerequisites</col>
<col def="S255">ISBuildSourcePath</col>
<col def="I2">Order</col>
<col def="I2">ISSetupLocation</col>
<col def="S255">ISReleaseFlags</col>
<row><td>_0864955B_57CE_449C_948B_AA8423F075D4_</td>
<td>Microsoft .NET Framework 4.8 Web.prq</td><td/><td>2</td><td/></row>
</table>

----------------------------------------------------

Labels (1)
0 Kudos
(0) Replies