Skip to content

Commit db3243b

Browse files
author
kiddailey
committed
- Added pause statements to register and unregister batch file samples
- Added blurb about upgrading existing install of ASPNetImage - Referenced path to release build of DLL in readme file
1 parent e98e8d7 commit db3243b

File tree

4 files changed

+29
-3
lines changed

4 files changed

+29
-3
lines changed

ASPNetImage.suo

0 Bytes
Binary file not shown.

ASPNetImage/Resource/ASPNetImage.txt

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,8 @@ Deployment
105105

106106
To deploy the DLL as a replacement, simply perform the following steps:
107107

108-
1. Copy the DLL to the server in a location where it will reside,
108+
1. Copy ASPNetImage.dll (located in the ASPNetImage/bin/Release folder)
109+
to the server in a location where it will reside,
109110
ie. c:\Windows\System32
110111

111112
2. Register the DLL with the server using the .NET register utility
@@ -126,6 +127,29 @@ becomes:
126127

127128

128129

130+
Upgrading
131+
====================================================================
132+
133+
To upgrade your copy of ASPNetImage:
134+
135+
1. Unregister your existing DLL from its current location using the
136+
RegAsm.exe utility. See the enclosed "unregister.bat" for an example.
137+
138+
2. Remove the old DLL and TLB files.
139+
140+
3. Copy the new ASPNetImage.dll (located in the ASPNetImage/bin/Release
141+
folder) to the server in a location where it will reside,
142+
ie. c:\Windows\System32
143+
144+
4. Register the DLL with the server using the .NET register utility
145+
RegAsm.exe. This utility is located in the .NET framework folder.
146+
You must specify the /tlb and /codebase parameters. See the enclosed
147+
"register.bat" file for an example.
148+
149+
5. Restart IIS
150+
151+
152+
129153
Additional notes:
130154
--------------------------------------------------------------------
131155

ASPNetImage/Resource/register.bat

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
@echo off
2-
c:\Windows\Microsoft.NET\Framework\v2.0.50727\regasm.exe ..\bin\release\ASPNetImage.dll /tlb /codebase
2+
c:\Windows\Microsoft.NET\Framework\v2.0.50727\regasm.exe ..\bin\release\ASPNetImage.dll /tlb /codebase
3+
pause
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
@echo off
2-
c:\Windows\Microsoft.NET\Framework\v2.0.50727\regasm.exe ..\bin\release\ASPNetImage.dll /unregister /tlb
2+
c:\Windows\Microsoft.NET\Framework\v2.0.50727\regasm.exe ..\bin\release\ASPNetImage.dll /unregister /tlb
3+
pause

0 commit comments

Comments
 (0)