I prefer to create self-installing services: http://staff.develop.com/candera/selfinstall.htm
Dave
Paulo Sacramento wrote:
I had the exact same problem because I didn't want to use that Installer thing with VisualStudio and wanted to make a command line installer that invoked installutil.exe . At the time I sticked with a not very portable solution but now I found a set of Registry Keys that can help you:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NetFramework
Here you can find an "InstallRoot" key that will be something like "c:\Windows\Microsoft.Net\Framework" and you can build the rest of the folder name by parsing some of the other keys I guess. In my system it would be:
"c:\Windows\Microsoft.Net\Framework\v1.1.4322\InstallUtil.exe"
Good luck
=================================== This list is hosted by DevelopMentor� http://www.develop.com Some .NET courses you may be interested in:
NEW! Guerrilla ASP.NET, 17 May 2004, in Los Angeles http://www.develop.com/courses/gaspdotnetls
View archives and manage your subscription(s) at http://discuss.develop.com
