Hi,

Would it be possible to have the Windows Setup package register the following 
information in the registry on install :

- SdkInstallRoot (would point to the root of the mono "sdk", eg. c:\mono-0.20\install)

- InstallRoot (would point to the lib directory, eg. c:\mono-0.20\install)

There are two separate values to allow the runtime to be separated from the additional 
tools (like monoresgen) in the future.  This is how Microsoft does the packaging.

Each mono version should register itself (using the setup package), by creating a 
subkey (named after the version) in HKEY_LOCAL_MACHINE\Software\Mono and adding the 
two values mentioned above under this subkey.

For the 0.20 version, you would end up with the following registry entries :

HKEY_LOCAL_MACHINE\
   SOFTWARE\
      Mono\
          0.20\
             SdkInstallRoot = c:\mono-0.20\install
             InstallRoot = c:\mono-0.20\install

When Mono 0.21 is released and installed later on, you'd get :

HKEY_LOCAL_MACHINE\
   SOFTWARE\
      Mono\
          0.20\
             SdkInstallRoot = c:\mono-0.20\install
             InstallRoot = c:\mono-0.20\install
          0.21\
             SdkInstallRoot = c:\mono-0.21\install
             InstallRoot = c:\mono-0.21\install

This will allow tools (like NAnt) to discover the availability (and the location) of 
mono runtimes on Windows.

Who creates the Windows setup packages ?  Do you agree that this could be useful ?

Thanks,

Gert

_______________________________________________
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to