InstallShield with .NET 4.5 nested installation -


my installer needs redistribute .net framework, don't want have setup.exe wrapper i've written custom action launch web installer .net if end-users machine not have it. works fine .net 4.0 , .net 3.5 .net 4.5 .net installer reports "waiting install complete" , fails - error msg correct if custom action in exec sequence, placed in ui sequence allow nested installation.

the exact same installshield configuration/code works fine .net 3.5 , .net 4.0 fails .net 4.5, i'm using standard web installer microsoft: http://www.microsoft.com/en-ca/download/details.aspx?id=30653

does know of solution or workaround problem ?

here's code custom action:

if ( hasdotnet45 = false )     messagebox( "missing .net 4.5 framework!", information );     laaw_shellexecuteverb = "runas";     launchapplication( szsupportdir^"\\dotnetfx45_full_setup.exe", "", "", sw_shownormal, 100000, laaw_option_use_shellexecute | laaw_option_wait_incl_child );     delay( 333 ); endif; 

i'm surprised .net 4 , 3.5 work this; launching installer uses msi under hood custom action in msi installer bad idea.

if want make sure .net4.5 (or other piece of software) present either need chain before start installer ala setup / feature prerequisites in installshield or use launchcondition table prevent installer continuing if environment not meet requirements.


Comments

Popular posts from this blog

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -

Trying to import CSV file to a SQL Server database using asp.net and c# - can't find what I'm missing -