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

.NET 4.8 Offline installation takes 15 mins

Hello,

I'm trying to solve an issue we are noticing with InstallShield installing 4.8 framework. 

When we do a clean/fresh install of our product, the pre-req (.net 4.8) installs in about 5 mins (as expected).

But when we do an upgrade of our product and a previous version of our product is on the machine, the .net 4.8 framework takes about 15 mins to install. It then usually causes a reboot (we don't want that also).

I'm running some tests now to see if 4.7.2 has the same issues. If not we'll be rolling back to 4.7.2

Any thoughts on what's going on, or even how to debug this issue?

Labels (1)
0 Kudos
(4) Replies
Jenifer
Flexera Alumni

Hi @twunky ,

 

Can you try running the commandline 

Setup.exe /v"/l*v c:\test.log" for both the scenarios for comparison purposes?As well upload here.

 

" It then usually causes a reboot (we don't want that also)."

Hope you had added .Net 4.8 as pre-requisite,if so you can control the reboot behavior using behavior tab of Pre-Requisite editor.

 

 

Thanks,

Jenifer

0 Kudos

The main installer is calling a subinstall, and that contains the 4.8 pre-req. I looked at the log files and it just shows the subinstall taking a long time to complete: Clean Install: Action 17:26:52: SetupCompleteSuccess. Dialog created MSI (c) (04:B8) [17:26:57:369]: PROPERTY CHANGE: Adding LAUNCHPROGRAM property. Its value is '1'. MSI (c) (04:B8) [17:26:59:119]: PROPERTY CHANGE: Adding ISSHOWMSILOG property. Its value is '1'. MSI (c) (04:B8) [17:27:22:743]: Doing action: LaunchWorkStation Action 17:27:22: LaunchWorkStation. Action start 17:27:22: LaunchWorkStation. Action ended 17:42:03: LaunchWorkStation. Return value 1. MSI (c) (04:B8) [17:42:03:195]: Doing action: ShowMsiLog Action 17:42:03: ShowMsiLog. Action start 17:42:03: ShowMsiLog. Updated Installer: MSI (c) (84:0C) [16:41:53:725]: PROPERTY CHANGE: Adding LAUNCHPROGRAM property. Its value is '1'. MSI (c) (84:0C) [16:41:56:135]: PROPERTY CHANGE: Adding ISSHOWMSILOG property. Its value is '1'. MSI (c) (84:0C) [16:41:58:260]: Doing action: LaunchWorkStation Action 16:41:58: LaunchWorkStation. Action start 16:41:58: LaunchWorkStation. MSI (c) (84:0C) [16:56:10:950]: Doing action: ShowMsiLog Action 16:56:10: ShowMsiLog. Action start 16:56:10: ShowMsiLog. I'll see what I can do to get a log of the subinstaller
0 Kudos

Hi @twunky ,

You can enable log functionality by using an option under General Information->Create MSI logs->Yes,

if it is of Basic MSI project.If you could attach both the log files here that would be great!!

Have you given commandline in pre-requisite as  "/q /norestart"?

Can you try with the attached pre-requisite file?

As well i would suggest you to check the same behavior by running the offline .Net Framework 4.8  installer alone in an already installed scenario.

Thanks,

Jenifer

0 Kudos

When installing donet framework 4,8, using a device created on installshiel, it is taking over 30 minutes. Is there any way of narrowing that amount of time down?

0 Kudos