Deploying .NET 4.0.2

Got a problem you cannot solve? Try here.

Deploying .NET 4.0.2

Postby pokr2 » Wed Jan 25, 2012 6:07 pm

Hi,

We're studying the possibility of using the new SQL Server 2012 Express LocalDB local database engine (part of SQL Server 2012, announced for March 7th 2012) as the default database engine for our .NET application (which of course, we deploy using InstallAware :-)).
MS will supply out-of-the-box a single-file MSI executable for installing LocalDB. Also, .NET apps using LocalDB will need to work against .NET 4.0.2, so we would need to deploy the corresponding patch on top of .NET 4.0.
Does IA have any plans to supply runtimes for those technologies?

Thanks, regards,

Octavio
pokr2
 
Posts: 14
Joined: Fri Feb 11, 2011 12:40 pm

Re: Deploying .NET 4.0.2

Postby giaviv » Thu Jan 26, 2012 2:45 am

Dear Octavio,

It would actually not be complicated to extend the existing .NET 4 runtime script to install 4.02 as well.
First, download the .NET 4.02 update file and put it in the binary folder of the runtime (for example: \Program Files\InstallAware\InstallAware 2012\runtimes\netfx_core_x86).
Open the setup* script of your runtime and add the following code at the bottom:
Code: Select all
~InstallAware Clipboard Data~
~End~
~{D63721FF-72DF-4E50-B222-E447376CF8FE}~
~Terminate Install~
~{A3089332-4292-4CF2-956B-7183E33ABE54}~
~MessageBox~
~{628ABE53-7C82-401C-837F-FB8B5AEF9E50}~
~$TITLE$ Setup~
~Microsoft .NET Framework Client 4.0 could not be installed. $DOTNET40CLIENT_ERROR_X86$$NEWLINE$$NEWLINE$Please use Windows Update to manually install this update on your system.$NEWLINE$$NEWLINE$$TITLE$ Setup cannot continue.~
~3~
~1~
~~
~If~
~{20230913-FAA1-49F6-8F27-210015C5D9F8}~
~DOTNET40CLIENT_RESULT_X86~
~0~
~ERROR~
~FALSE~
~Run Program~
~{5DC0174F-6CF6-405C-8A69-009956FC05BA}~
~$DOTNET40CLIENT_FILEBAG_X86$\NDP40-KB2544514-x86-x64.exe~
~TRUE~
~/q~
~TRUE~
~DOTNET40CLIENT_RESULT_X86~
Aviv Giladi
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
giaviv
 
Posts: 2039
Joined: Fri Dec 17, 2010 1:39 pm


Return to Technical Support

Who is online

Users browsing this forum: No registered users and 5 guests