IA NX .NET 2.0 SP 2 does not install in Win 8

Got a problem you cannot solve? Try here.
stenvaag
Posts: 7
Joined: Thu Feb 03, 2011 1:33 am

IA NX .NET 2.0 SP 2 does not install in Win 8

Postby stenvaag » Wed Aug 29, 2012 6:26 am

The page with changes in IA NX states:

"The runtimes for Microsoft .NET Framework 2.0, 2.0 with Service Pack 1, and 2.0 with Service Pack 2 have been updated to enable installation on Windows 8 and Windows Server 2012.".

I got an error trying this on WIN 8 RTM created with IA NX (same error I got using IA 10.10). I have tried to create a new setup project and included only .NET 2.0 SP 2 (and VC++ 9.0 runtime), but no luck. Same error.

Can someone verify that this is (still) not working?

Regards,

Tor Stenvaag
Norway

FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: IA NX .NET 2.0 SP 2 does not install in Win 8

Postby FrancescoT » Wed Aug 29, 2012 10:55 am

Dear Tor,

let me try it and I will be back.

Regards
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE

FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: IA NX .NET 2.0 SP 2 does not install in Win 8

Postby FrancescoT » Thu Aug 30, 2012 10:25 am

Dear Tor,

I have personally verified it with my test environment and the NET Framework 2.0 with Service Pack 2 installs fine.

Regards
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE

stenvaag
Posts: 7
Joined: Thu Feb 03, 2011 1:33 am

Re: IA NX .NET 2.0 SP 2 does not install in Win 8

Postby stenvaag » Mon Sep 03, 2012 1:48 am

Dear Francesco,

I still can not get this to work.

- I tried this on a clean Win 8 RTM install in VmWare Workstation 8.

- When running the installer I get the message "Application requirements .... Microsoft .NET Framework 2.0 Service Pack 2" as expected.

- Pressing next the installer tries to install .NET 2.0 SP 2.

- I get an error message "Microsoft .NET Framework 2.0 Service Pack 2 could not be installed. Please use Windows Update to manually install this update on your system. <my installer name> Setup cannot continue."

Even if you have verified the above install process, I get the error!

If I use the Control Panel and "Turn Windows features on or off" turning on the ".NET Framework 3.5 (includes .NET 2.0 and 3.0), the install does not need to install .NET 2.0 SP 2 and thus works fine.

Do you have any suggestions to an solution of the problem?

Regards,

Tor Stenvaag
Norway

stenvaag
Posts: 7
Joined: Thu Feb 03, 2011 1:33 am

Re: IA NX .NET 2.0 SP 2 does not install in Win 8

Postby stenvaag » Mon Sep 24, 2012 1:53 am

This is on Windows 8 64 bit(!)

Using code posted on this forum I managed to change the setup script to include check for 64 bit Windows 8 and put the installer in 64 bit mode before executing the dism command. (The dism command does not work when the installer are in 32 bits mode on a 64 bits windows 8 machine.) You should change the scripts that are using dism on Windows 8 to check for 64 bits OS.

Tor Stenvaag

FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: IA NX .NET 2.0 SP 2 does not install in Win 8

Postby FrancescoT » Wed Sep 26, 2012 7:33 am

Dear Tor,

Readng your last reply, I have not very clear what really was your target .... probably I missed something.

I have repeated my test in order to verify if any problem exist with IA Net Runtime 2.0 sp2 over Win 8.
Doing this I haven't found any problem installing the x86 or x64 runtime respectively with, x86 and x64 Windows 8 platform.

It is also true, that Windows 8 setup procedure downloads files from the Internet and this may sometimes fail over poor bandwidth conditions on the first try (and succeed on a second or later try). There appear to be no guarantees and no foolproof method to work around this.

Of course, if your last intent was to manage Windows 8 x64 feature installation using DISM.EXE ... for sure you need to switch your installation package to 64 bit mode.

Have I missed something?

Regards
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE

stenvaag
Posts: 7
Joined: Thu Feb 03, 2011 1:33 am

Re: IA NX .NET 2.0 SP 2 does not install in Win 8

Postby stenvaag » Fri Sep 28, 2012 6:56 am

Try creating a (win32) setup with Application runtimes checked for "Microsoft .NET Framework 2.0 with Service Pack 2". Install on Windows 8 64 bit. In the original code for setupnet2sp2.mia there was no switch to 64 bit mode prior to calling dism. In this case dism will fail with a code (11, if I remember correct) that tells running 32 bit dism under 64 bit OS is not supported.

Regards,
Tor Stenvaag

FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: IA NX .NET 2.0 SP 2 does not install in Win 8

Postby FrancescoT » Fri Sep 28, 2012 8:49 am

Dear Tor,

Now it is clear!
The error stay in the fact, that you have to use x64 edition of "Microsoft .NET Framework 2.0 with Service Pack 2" IA runtimes with an x64 OS and not the native 32 bit version.

DISM.EXE is supported as native 32 bit with x64 OS without any problem ... but it fails in this case, because you are trying to install a Window package (the NET runtimes) that refers to a Native 64 bit version.
So, if you execute DISM in 32 bit mode it will fails ... because the package you are refering to it is not available as 32 bit.

Regards
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE

stenvaag
Posts: 7
Joined: Thu Feb 03, 2011 1:33 am

Re: IA NX .NET 2.0 SP 2 does not install in Win 8

Postby stenvaag » Mon Oct 01, 2012 6:48 am

The fact is that the only OS that needs the included .NET files is WIn xp. In my customer base there are not many Win XP 64 bits OS users, but I think there will be a lot of 64 bits win 7 and win 8 users. I want an single installer that works on xp, vista, 7 and 8 both in 32 bit and 64 bit OS. My system (application) is 32 bit and is working fine under 64 bits OS. My original installer failed! under 64 bits win 8. I have solved this by changing the standard scripts for .NET installation (setup...). Now I have a single installer that works on all mentioned platforms. I do not understand that you would not change the 32 bits .NET setup scripts to include a check for 64 bits os.

Regards,

Tor Stenvaag
Norway

FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: IA NX .NET 2.0 SP 2 does not install in Win 8

Postby FrancescoT » Mon Oct 01, 2012 8:47 am

Dear Tor,

I do not understand that you would not change the 32 bits .NET setup scripts to include a check for 64 bits os.

Because it is an error ... on x64 platform you must use the x64 version of InstallAware Net Runtime.
This worked in your case ... very probably, because you only tested with Win 8 x64 OS ... try with an earlier OS and then tell me what happens.

Regards
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE

tofutim
Posts: 176
Joined: Thu Mar 01, 2012 1:16 pm

Re: IA NX .NET 2.0 SP 2 does not install in Win 8

Postby tofutim » Mon Nov 05, 2012 7:16 pm

Dear Francesco,

Installing the IA15 .NET Framework 2.0 SP2 (x64) on a 64-bit Windows 8 Pro (release) machine for me gives the following message:

XXX Setup
Microsoft .NET Framework 2.0 Service Pack 2 (x64) could not be installed.
Please use Windows Update to manually install this update on your system.
XXX Setup cannot continue.

FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: IA NX .NET 2.0 SP 2 does not install in Win 8

Postby FrancescoT » Tue Nov 06, 2012 9:24 am

Dear Tofutim,

I just tested and it works fine.

Please verify that your project is not using an old version of the net installer script.
If so, uncheck those runtimes in your project, remove the corresponding the net scripts from the project folder and then add once again the runtimes.

Please don't use different topic for the same question.

Regards
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE

MartinIW
Posts: 70
Joined: Thu Feb 10, 2011 8:35 am
Location: Germany

Re: IA NX .NET 2.0 SP 2 does not install in Win 8

Postby MartinIW » Wed Mar 06, 2013 4:23 am

Hello together,
we have the same problem here. Even when i create a new setup and only check the .NET 3.5 SP1 as prerequisite (including 2.0,3.0...) i get the error.
I watched the script and saw, that there was a NET2SP2_IS8_X64 check without doing anything when it is set to true? And none of our installer scripts contain a DISM.EXE call?
So my assumption is that we dont have the newest runtimes? Or do we need to change the installer scripts all and do the DISM.EXE call in the missing "else" instance?

We use IA 15 Studio Admin.

Thanks in advice,
Martin

FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: IA NX .NET 2.0 SP 2 does not install in Win 8

Postby FrancescoT » Wed Mar 06, 2013 12:28 pm

Dear Martin,

Honestly, I don't know if there is something wrong with your project.

I have personally verified this possible issue several times ... and for me works fine.
Net 3.5 runtimes are installed correctly on Win8.

Please, have a look at the attached project. Just recompile it and verify by your self.
The project includes x86 Net runtimes edition and should be verified on x86 edition of Win8.

PS
... I have also tested the x64 edition as well (with a saperate project & including the x64 Net runtimes edition) and works fine.

Regards
Attachments
Win8Net35test.rar
(756.19 KiB) Downloaded 690 times
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE

MartinIW
Posts: 70
Joined: Thu Feb 10, 2011 8:35 am
Location: Germany

Re: IA NX .NET 2.0 SP 2 does not install in Win 8

Postby MartinIW » Thu Mar 07, 2013 8:29 am

Hello Francesco,
thanks for the fast reply. I verified the project you sent and got an error that the internet connection doesnt work. For me it looks like our firwall blocks the windows 8 update service, so we cant download any feature. For that I have to ask our administrators if that may be the reason.
So what I wanted to ask next is:
Is there no way in windows 8 to deliver the offline filescontent and install it without internet connection? It looks like Microsoft does not allow manual installation of any Framework. The only way is to activate the feature and download it or the hard way to call the DISM.EXE from CMD in admin mode (what needs the windows 8 sources in CD-Drive).

http://msdn.microsoft.com/en-us/library/hh506443.aspx

Thanks,
Martin


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 90 guests