Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

.NET Framework


2 replies to this topic

gligi

gligi
  • Full Members
  • 7 posts

Posted 14 May 2007 - 11:51

Hi.

I am using InstallShiled 12 Express version. Is there any way to make requirement for the .net framework (as e.g. proceed only if at least version 2.0 is installed)?

Tnx
gligi

sreenathk

sreenathk
  • Full Members
  • 11 posts

Posted 15 May 2007 - 07:44

U can try this in OnBegin Function

Change the version name from 1.1 to 2.0 and see if the registry contains such value in ur local system and then write the code

U can go to the registry by RUn->Regedit

if (! MAINTENANCE) then
RegDBSetDefaultRoot(HKEY_LOCAL_MACHINE);
if (RegDBKeyExist ("\\SOFTWARE\\Microsoft\\.NETFramework\\policy\\v1.1") < 0) then
MessageBox ("Kindly Install .NET FrameWork 1.1 before attempting eTouch Installation \n Installation will now abort.", SEVERE);
abort;
endif;
endif;


Hope this helps

Thanks
Sreenath

gligi

gligi
  • Full Members
  • 7 posts

Posted 05 June 2007 - 10:57

tnx i'll try this... laugh.gif