eWorld.UI - Matt Hawley

Ramblings of Matt

New Install Package

January 16, 2004 03:56 by matthaw
I've decided to abandon VS.NET's MSI package and venture out and try to use NSIS. After a bit of researching, trying different things, and searching the archives for examples, I've finally got my first install script for my custom controls. I'm starting to like NSIS, and the executable it builds for installation runs, installs, and uninstalls so much faster than the MSI that is produced from the Setup Projects. I'm still learning how to do some stuff, but if you've had some experience with installing .NET assemblies & using NSIS, drop me a line, I should would appreciate some help.

Categories: General
Actions: E-mail | Permalink | Comments (4) | Comment RSSRSS comment feed

Comments

January 16. 2004 17:43

File "gacutil.exe"

File "ngen.exe"

File "msvcr71.dll"



ExecWait '"$INSTDIR\gacutil.exe" /i "$INSTDIR\your.dll"'

ExecWait '"$INSTDIR\ngen.exe" "$INSTDIR\your.dll"'



Delete "$INSTDIR\gacutil.exe"

Delete "$INSTDIR\ngen.exe"

Delete "$INSTDIR\msvcr71.dll"



Should make a simple plugin for that tbh Smile



http://

January 16. 2004 17:47

Thats a lot easier than what I was trying to do, and also I thought gacutil was a lot more than 60KB ... thats miniscule.



Thanks alot, thats helped me a TON!

Matt Hawley

February 17. 2004 11:26

Woohoooo!!!! Thanks.

http://

June 1. 2004 19:30

I've been considering using a similar method to install COM interop controls using NSIS.  But is this wise? (see next paragraph) I'm stuck between using /codebase with regasm or using a trick like this. :-S





Note:   Gacutil.exe is only for development purposes and should not be used to install production assemblies into the global assembly cache.



msdn.microsoft.com/.../...oglobalassemblycache.asp">msdn.microsoft.com/.../...oglobalassemblycache.asp

http://

Comments are closed

Copyright © 2000 - 2024 , Excentrics World