I'm using IA 7, and I'm having trouble with the Register Assembly command. My assemblies require .NET 2.0
I am installing the dlls using Install Files (also tried install assembly) because they are NOT going into the GAC, and then I call Register Assembly after Apply Install.
If I install on my Vista machine, my assemblies get registered no problem. On my Server 2003 test machine, they do NOT get registered. I even tried calling regasm directly to make sure it was using the 2.0 regasm and not the 1.1 version (in case that matters). No help. If I call regasm manually from the command prompt, it works fine and my program works fine.
This test machine has had a lot of security related settings done to it (military requirements) which may be affecting this (I'm just guessing here). I'm curious, during install, what user context will programs be run in when I use Run Program or when the Register Assembly command runs? Whichever user launched the install (administrator in my case)? Local System?
Oh yeah, using my old installer built as a Visual Studio Setup project, there is no problem installing on this locked-down system. It works perfectly.
Register Assembly does not work reliably
-
- Posts: 36
- Joined: Tue Aug 07, 2007 11:25 am
Never had any luck with installing/uninstall .NET2 assemblies with IA6. I manage assembly installation/uninstallation into the GAC and NGEN via a batch file (ugly but works). The other problem is that some of our DLLs are loosly bound so they don't get picked up via the built in NGEN. Hence, all I do is install the assembly into the TARGETDIR and then NGEN into the GAC.
I've just got IA7 ... and havn't tested it yet.
I've just got IA7 ... and havn't tested it yet.
FireDaemon Technologies Limited
http://www.firedaemon.com
http://www.firedaemon.com
Who is online
Users browsing this forum: No registered users and 19 guests