.NET 3.5 installation on Windows 10 without internet - Advanced Installer Community
Helan
Posts: 19
Joined: Thu Mar 16, 2017 2:32 pm

.NET 3.5 installation on Windows 10 without internet

I have created a separate MSI for the .NET 3.5 installation using the approach suggested in this thread:

http://www.advancedinstaller.com/forums ... 43&p=93078

My application needs both .NET 3.5 and 4.6.2. On a Windows 10 machine with internet access everything seems to work, but as expected the 3.5 installation fails without internet access.

Some questions:

1. The 4.6.2 installation starts after 3.5 installation fails. Is it possible to stop the entire installation after a prereq installation fails?

2. When the 3.5 installation fails I get the messagebox below. I would like to show a custom messagebox where I can direct the user to our technical documentation.
Capture.PNG
Capture.PNG (16.02 KiB) Viewed 18998 times
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: .NET 3.5 installation on Windows 10 without internet

Dear Helan,
The 4.6.2 installation starts after 3.5 installation fails. Is it possible to stop the entire installation after a prereq installation fails?
Yes it should be, do you have "Continue with main installation if the prerequisite is not installed" option selected from the Properties tab in Prerequisites page?
When the 3.5 installation fails I get the messagebox below. I would like to show a custom messagebox where I can direct the user to our technical documentation.
Go to Translation page > Default Strings tab and find Error.4153. There you should be able to change the text but I'm pretty sure you can't add hyperlinks.

Hope this helps,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Helan
Posts: 19
Joined: Thu Mar 16, 2017 2:32 pm

Re: .NET 3.5 installation on Windows 10 without internet

mihai.petcu wrote:Yes it should be, do you have "Continue with main installation if the prerequisite is not installed" option selected from the Properties tab in Prerequisites page?
No, I do not. That condition does not seem to be evaluated until both prereqs have been installed.
Capture2.PNG
Capture2.PNG (36.83 KiB) Viewed 18965 times
mihai.petcu wrote:Go to Translation page > Default Strings tab and find Error.4153. There you should be able to change the text but I'm pretty sure you can't add hyperlinks.
I tried that, but this is a generic prerequisite string and I also want to avoid handling dictionaries. I have posted a related question here instead:

http://www.advancedinstaller.com/forums ... =2&t=34150
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: .NET 3.5 installation on Windows 10 without internet

Dear Helan,
That condition does not seem to be evaluated until both prereqs have been installed.
In my test project I have two two prerequisites and the option is enabled for the first in the list. I tested this by manually cancelling the first prerequisite's installation and another way by simulating an error as part of its installation. In both cases the second prerequisite installation never started, instead the main installation was stopped as expected.

Regards,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”